Re: Adding a compute node and quantum configurations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Right, hit some problems.
After installing openvswitch, quantum, creating the int and ex bridges and following the instructions for a new compute node I can see it can successfully contacts the controller (nova-manage service list <- lists the new compute service), and it even attempts to build a VM but I'm getting the following:

/var/log/nova/compute.log

2012-11-20 16:49:22 INFO nova.compute.resource_tracker [-] Compute_service record updated for node2242 2012-11-20 16:49:22 ERROR nova.network.quantumv2 [-] _get_auth_token() failed 2012-11-20 16:49:22 TRACE nova.network.quantumv2 Traceback (most recent call last): 2012-11-20 16:49:22 TRACE nova.network.quantumv2 File "/usr/lib/python2.6/site-packages/nova/network/quantumv2/__init__.py", line 38, in _get_auth_token 2012-11-20 16:49:22 TRACE nova.network.quantumv2 httpclient.authenticate() 2012-11-20 16:49:22 TRACE nova.network.quantumv2 File "/usr/lib/python2.6/site-packages/quantumclient/client.py", line 199, in authenticate 2012-11-20 16:49:22 TRACE nova.network.quantumv2 raise exceptions.Unauthorized(message=body) 2012-11-20 16:49:22 TRACE nova.network.quantumv2 Unauthorized: [Errno 111] ECONNREFUSED
2012-11-20 16:49:22 TRACE nova.network.quantumv2
2012-11-20 16:47:16 TRACE nova.network.quantumv2
2012-11-20 16:47:33 INFO nova.virt.libvirt.driver [req-ffb7c7cf-8c40-4622-828e-7e6916f608cc 3c5b8ffd534347b2b30474b34f57dd3f 6cb0773ff31d480ab04ad9264bdb5f44] [instance: b0f4956b-6416-4270-8026-9c28ec927f42] Injecting key into image 727b6e19-988e-43b3-ba7c-014beafb6d29

Who refuses the connection to quantum? :-/

Then, also from compute log:

2012-11-20 16:47:58 ERROR nova.compute.manager [req-ffb7c7cf-8c40-4622-828e-7e6916f608cc 3c5b8ffd534347b2b30474b34f57dd3f 6cb0773ff31d480ab04ad9264bdb5f44] [instance: b0f4956b-6416-4270-8026-9c28ec927f42] Instance failed to spawn 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] Traceback (most recent call last): 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 743, in _spawn 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] block_device_info) 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] File "/usr/lib/python2.6/site-packages/nova/exception.py", line 117, in wrapped 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] temp_level, payload) 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__ 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] self.gen.next() 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] File "/usr/lib/python2.6/site-packages/nova/exception.py", line 92, in wrapped 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] return f(*args, **kw) 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1062, in spawn 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] block_device_info) 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1888, in _create_domain_and_network 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] domain = self._create_domain(xml) 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1867, in _create_domain 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] domain.createWithFlags(launch_flags) 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 187, in doit 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] result = proxy_call(self._autowrap, f, *args, **kwargs) 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 147, in proxy_call 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] rv = execute(f,*args,**kwargs) 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 76, in tworker 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] rv = meth(*args,**kwargs) 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] File "/usr/lib64/python2.6/site-packages/libvirt.py", line 650, in createWithFlags 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] libvirtError: Cannot get interface MTU on '': No such device 2012-11-20 16:47:58 TRACE nova.compute.manager [instance: b0f4956b-6416-4270-8026-9c28ec927f42] 2012-11-20 16:47:59 INFO nova.compute.resource_tracker [req-ffb7c7cf-8c40-4622-828e-7e6916f608cc 3c5b8ffd534347b2b30474b34f57dd3f 6cb0773ff31d480ab04ad9264bdb5f44] Aborting claim: [Claim b0f4956b-6416-4270-8026-9c28ec927f42: 512 MB memory, 0 GB disk, 1 VCPUS] 2012-11-20 16:47:59 ERROR nova.compute.manager [req-ffb7c7cf-8c40-4622-828e-7e6916f608cc 3c5b8ffd534347b2b30474b34f57dd3f 6cb0773ff31d480ab04ad9264bdb5f44] [instance: b0f4956b-6416-4270-8026-9c28ec927f42] Build error: ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 496, in _run_instance\n injected_files, admin_password)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 743, in _spawn\n block_device_info)\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 117, in wrapped\n temp_level, payload)\n', ' File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__\n self.gen.next()\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 92, in wrapped\n return f(*args, **kw)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1062, in spawn\n block_device_info)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1888, in _create_domain_and_network\n domain = self._create_domain(xml)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1867, in _create_domain\n domain.createWithFlags(launch_flags)\n', ' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 187, in doit\n result = proxy_call(self._autowrap, f, *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 147, in proxy_call\n rv = execute(f,*args,**kwargs)\n', ' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 76, in tworker\n rv = meth(*args,**kwargs)\n', ' File "/usr/lib64/python2.6/site-packages/libvirt.py", line 650, in createWithFlags\n if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', "libvirtError: Cannot get interface MTU on '': No such device\n"] 2012-11-20 16:48:18 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 2796 2012-11-20 16:48:18 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 225 2012-11-20 16:48:18 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 7 2012-11-20 16:48:18 INFO nova.compute.resource_tracker [-] Compute_service record updated for node2242.cumulus.coreix.net 2012-11-20 16:48:18 ERROR nova.network.quantumv2 [-] _get_auth_token() failed 2012-11-20 16:48:18 TRACE nova.network.quantumv2 Traceback (most recent call last): 2012-11-20 16:48:18 TRACE nova.network.quantumv2 File "/usr/lib/python2.6/site-packages/nova/network/quantumv2/__init__.py", line 38, in _get_auth_token 2012-11-20 16:48:18 TRACE nova.network.quantumv2 httpclient.authenticate() 2012-11-20 16:48:18 TRACE nova.network.quantumv2 File "/usr/lib/python2.6/site-packages/quantumclient/client.py", line 199, in authenticate 2012-11-20 16:48:18 TRACE nova.network.quantumv2 raise exceptions.Unauthorized(message=body) 2012-11-20 16:48:18 TRACE nova.network.quantumv2 Unauthorized: [Errno 111] ECONNREFUSED
2012-11-20 16:48:18 TRACE nova.network.quantumv2

/var/log/libvirt/libvirtd.log says:

2012-11-20 16:41:56.762+0000: 1497: info : libvirt version: 0.9.10, package: 21.el6_3.5 (CentOS BuildSystem <http://bugs.centos.org>, 2012-10-11-13:57:12, c6b9.bsys.dev.centos.org) 2012-11-20 16:41:56.762+0000: 1497: error : virNetDevBridgeCreate:224 : Unable to create bridge virbr0: Package not installed 2012-11-20 16:45:26.423+0000: 2488: info : libvirt version: 0.9.10, package: 21.el6_3.5 (CentOS BuildSystem <http://bugs.centos.org>, 2012-10-11-13:57:12, c6b9.bsys.dev.centos.org) 2012-11-20 16:45:26.423+0000: 2488: error : virNetDevBridgeSet:136 : Unable to set bridge virbr0 forward_delay: Operation not supported 2012-11-20 16:47:58.628+0000: 2482: error : virNetDevGetMTU:347 : Cannot get interface MTU on '': No such device 2012-11-20 16:47:58.653+0000: 2482: error : virNetDevGetIndex:657 : Unable to get index for interface vnet0: No such device

Selinux is in permissive mode.

What's wrong?

_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud



[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux