Ask Your Question
0

Can't launch instance in secondary compute node

asked 2014-12-21 05:29:21 -0500

Hi all,

I had 1 Controller node and 1 Compute node with Juno and recently i add other Compute node, both use nova-network, all nodes use ubuntu 14.04.1, the problem is when i try launch one instance in new server, i have this error in nova-compute log:

2014-12-21 12:21:21.882 15317 AUDIT nova.compute.manager [req-0482429d-52f4-4100-9eed-76a9864b9d62 None] [instance: a8000f54-3b54-4edf-8104-eda25b266a91] Starting instance...
2014-12-21 12:21:21.974 15317 AUDIT nova.compute.claims [-] [instance: a8000f54-3b54-4edf-8104-eda25b266a91] Attempting claim: memory 512 MB, disk 8 GB
2014-12-21 12:21:21.974 15317 AUDIT nova.compute.claims [-] [instance: a8000f54-3b54-4edf-8104-eda25b266a91] Total memory: 7969 MB, used: 512.00 MB
2014-12-21 12:21:21.975 15317 AUDIT nova.compute.claims [-] [instance: a8000f54-3b54-4edf-8104-eda25b266a91] memory limit: 11953.50 MB, free: 11441.50 MB
2014-12-21 12:21:21.975 15317 AUDIT nova.compute.claims [-] [instance: a8000f54-3b54-4edf-8104-eda25b266a91] Total disk: 9 GB, used: 0.00 GB
2014-12-21 12:21:21.975 15317 AUDIT nova.compute.claims [-] [instance: a8000f54-3b54-4edf-8104-eda25b266a91] disk limit not specified, defaulting to unlimited
2014-12-21 12:21:21.987 15317 AUDIT nova.compute.claims [-] [instance: a8000f54-3b54-4edf-8104-eda25b266a91] Claim successful
2014-12-21 12:21:22.137 15317 INFO nova.scheduler.client.report [-] Compute_service record updated for ('ftbhost3.ftb.local', 'ftbhost3.ftb.local')
2014-12-21 12:21:22.257 15317 ERROR nova.compute.manager [-] [instance: a8000f54-3b54-4edf-8104-eda25b266a91] Failed to allocate network(s)
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91] Traceback (most recent call last):
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2196, in _build_resources
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]     requested_networks, security_groups)
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1689, in _build_networks_for_instance
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]     requested_networks, macs, security_groups, dhcp_options)
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1723, in _allocate_network
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]     instance.save(expected_task_state=[None])
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 189, in wrapper
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]     ctxt, self, fn.__name__, args, kwargs)
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]   File "/usr/lib/python2.7/dist-packages/nova/conductor/rpcapi.py", line 351, in object_action
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]     objmethod=objmethod, args=args, kwargs=kwargs)
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 152, in call
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91]     retry=self.retry)
2014-12-21 12:21:22.257 15317 TRACE nova.compute.manager [instance: a8000f54-3b54-4edf-8104-eda25b266a91 ...
(more)
edit retag flag offensive close merge delete

Comments

Try adding this if not in nova.conf (compute1) yet vif_plugging_is_fatal = False and vif_plugging_timeout=0. Run ovs-vsctl show share the result.

splucena gravatar imagesplucena ( 2014-12-21 23:55:10 -0500 )edit

Thanks, i found where is the problem, it's the last version of nova-compute for ubuntu 14.04, i was install the version 1:2014.2.1-0ubuntu1~cloud0 and i must downgrade to 1:2014.2-0ubuntu1~cloud0

Jorge Martinez gravatar imageJorge Martinez ( 2014-12-22 02:36:00 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-01-08 19:51:08 -0500

Instead of downgrading, take a look at https://bugs.launchpad.net/nova/+bug/1405741 (Bug #1405741).

edit flag offensive delete link more
0

answered 2015-03-12 05:51:37 -0500

binou gravatar image

hi , please i need a help

i cannot create instance after installing trove.there is not a nova compute when i do nova-manage service list et get this

Binary Host Zone Status State Updated_At nova-conductor ubuntu-VirtualBox internal enabled :-) 2015-03-10 14:16:57 nova-cert ubuntu-VirtualBox internal enabled :-) 2015-03-10 14:16:56 nova-scheduler ubuntu-VirtualBox internal enabled :-) 2015-03-10 14:17:00 nova-consoleauth ubuntu-VirtualBox internal enabled :-) 2015-03-10 14:17:01

i tried to install the nova compute packages but was not be able to do it.

how can i fix it?

edit flag offensive delete link more
0

answered 2014-12-22 06:53:35 -0500

TomCat gravatar image

Stupid question, but how did you downgraded ?? I have the same problem, and i used the dpkg from repository ...

edit flag offensive delete link more

Comments

I have a copy of old version in /var/cache/apt/archives directory, try find in your servers, if not find it i can upload for you. You mast find this files: nova-common nova-compute nova-compute-kvm nova-compute-libvirt python-nova

Jorge Martinez gravatar imageJorge Martinez ( 2014-12-23 06:22:41 -0500 )edit

I do not have-it in the archives, can you please upload-it somewhere ?? I'm a little desparate, i have 10 compute nodes and ca use only one because of this problem.. And i can see , so far there are no updates...

TomCat gravatar imageTomCat ( 2015-01-05 05:01:41 -0500 )edit

TomCat, it may also help to upgrade controller, or upgrade compute to some newest developer version available. Btw I posted it as a bug, not sure whether it is but anyway check it out:

https://bugs.launchpad.net/nova/+bug/1408636 (https://bugs.launchpad.net/nova/+bug/...)

mazur gravatar imagemazur ( 2015-01-12 02:17:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-12-21 05:29:21 -0500

Seen: 978 times

Last updated: Mar 12 '15