我用7台物理机(control节点,neutron节点,compute节点2台,ceph节点3台)测试环境
scheduler.log日志有写日志,实在看不出来是哪里错了
麻烦大家了!
[root@controller nova]# neutron net-list
+--------------------------------------+----------+-------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+----------+-------------------------------------------------------+
| 91aeba1e-a0ed-4db9-bad7-fdc3d021312f | ext-net | 5955793d-2d37-487a-a55a-e28f3f2bd77e 192.168.100.0/24 |
| a321fd56-0976-4dae-b725-75016c302365 | demo-net | a86cf5df-3b9f-4c0b-978c-380db3e884fd 172.32.16.0/24 |
+--------------------------------------+----------+-------------------------------------------------------+
[root@controller nova]# nova boot --flavor m1.tiny --image cirros-0.3.2-x86_64 --nic net-id=a321fd56-0976-4dae-b725-75016c302365 --security-group default --key-name demo-key vm-cirros-vol
[root@controller nova]# nova list
+--------------------------------------+---------------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+---------------+--------+------------+-------------+----------+
| 79ea5c38-5114-4c86-8c5a-2d4110b37290 | vm-cirros-vol | ERROR | - | NOSTATE | |
+--------------------------------------+---------------+--------+------------+-------------+----------+
[root@controller nova]# tail scheduler.log
2015-04-01 09:53:25.136 30605 ERROR nova.scheduler.filter_scheduler [req-28a57de2-4c53-4634-b732-0ee50fa39c2e 07ca03740fef4388b0b1407ad0a1bbe1 9b807b0dd7de4bba87c3e4704d9fa5e9] [instance: 79ea5c38-5114-4c86-8c5a-2d4110b37290] Error from last host: computer02 (node computer02): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1328, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 393, in decorated_function\n return function(self, context, *args, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1740, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1737, in _spawn\n block_device_info)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2294, in spawn\n block_device_info)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3695, in _create_domain_and_network\n power_on=power_on)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3596, in _create_domain\n domain.XMLDesc(0))\n', u' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3591, in _create_domain\n domain.createWithFlags(launch_flags)\n', u' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 179, in doit\n result = proxy_call(self._autowrap, f, *args, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 139, in proxy_call\n rv = execute(f,*args,**kwargs)\n', u' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 77, in tworker\n rv = meth(*args,**kwargs)\n', u' File "/usr/lib64/python2.6/site-packages/libvirt.py", line 716, in createWithFlags\n if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', u'libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/2\n2015-04-01T01:53:23.645919Z qemu-kvm: -drive file=rbd:volumes/79ea5c38-5114-4c86-8c5a-2d4110b37290_disk:id=volumes:key=AQBLz/9UKHBIHxAAAz+GlsSBCHd897MNdA/wIQ==:auth_supported=cephx\\;none:mon_host=10.0.1.153\\:6789,if=none,id=drive-virtio-disk0,format=raw,cache=none: could not open disk image rbd:volumes/79ea5c38-5114-4c86-8c5a-2d4110b37290_disk:id=volumes:key=AQBLz/9UKHBIHxAAAz+GlsSBCHd897MNdA/wIQ==:auth_supported=cephx\\;none:mon_host=10.0.1.153\\:6789: No such file or directory\n\n']
2015-04-01 09:53:37.749 30605 ERROR nova.scheduler.filter_scheduler [req-28a57de2-4c53-4634-b732-0ee50fa39c2e 07ca03740fef4388b0b1407ad0a1bbe1 9b807b0dd7de4bba87c3e4704d9fa5e9] [instance: 79ea5c38-5114-4c86-8c5a-2d4110b37290] Error from last host: computer01 (node computer01): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1328, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 393, in decorated_function\n return function(self, context, *args, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1740, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1737, in _spawn\n block_device_info)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2294, in spawn\n block_device_info)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3695, in _create_domain_and_network\n power_on=power_on)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3596, in _create_domain\n domain.XMLDesc(0))\n', u' File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3591, in _create_domain\n domain.createWithFlags(launch_flags)\n', u' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 179, in doit\n result = proxy_call(self._autowrap, f, *args, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 139, in proxy_call\n rv = execute(f,*args,**kwargs)\n', u' File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 77, in tworker\n rv = meth(*args,**kwargs)\n', u' File "/usr/lib64/python2.6/site-packages/libvirt.py", line 716, in createWithFlags\n if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', u'libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/2\n2015-04-01T01:53:36.128238Z qemu-kvm: -drive file=rbd:volumes/79ea5c38-5114-4c86-8c5a-2d4110b37290_disk:id=volumes:key=AQBLz/9UKHBIHxAAAz+GlsSBCHd897MNdA/wIQ==:auth_supported=cephx\\;none:mon_host=10.0.1.153\\:6789,if=none,id=drive-virtio-disk0,format=raw,cache=none: could not open disk image rbd:volumes/79ea5c38-5114-4c86-8c5a-2d4110b37290_disk:id=volumes:key=AQBLz/9UKHBIHxAAAz+GlsSBCHd897MNdA/wIQ==:auth_supported=cephx\\;none:mon_host=10.0.1.153\\:6789: No such file or directory\n\n']
2015-04-01 09:53:37.755 30605 WARNING nova.scheduler.driver [req-28a57de2-4c53-4634-b732-0ee50fa39c2e 07ca03740fef4388b0b1407ad0a1bbe1 9b807b0dd7de4bba87c3e4704d9fa5e9] [instance: 79ea5c38-5114-4c86-8c5a-2d4110b37290] Setting instance to ERROR state.
|
|