Hello all,
I'm hoping someone can help me out on a ceph and openstack cinder. I followed the documentation on ceph to add cinder and glance on openstack. Glance is working fine. Cinder appears to work when creating a volume. I see in the ceph server the volume that is created, however when I create a bootable volume it errors out when creating the instance. Creating the bootable volume is fine, but when i create the instance this is when it errors out. I can confirm that the virsh secret is correct by using the nova with ceph is working fine. I checked on someone elses cinder.conf that somone posted on another thread and added the extra config he added. This is my cinder.conf: [DEFAULT] rpc_backend = cinder.openstack.common.rpc.impl_qpid qpid_hostname = 10.192.100.65 volume_driver = cinder.volume.drivers.rbd.RBDDriver rbd_pool = nova rbd_ceph_conf = /etc/ceph/ceph.conf rbd_flatten_volume_from_snapshot = false rbd_max_clone_depth = 5 glance_api_version = 2 rbd_user = cinder api_paste_confg = /etc/cinder/api-paste.ini iscsi_helper = tgtadm volume_name_template = volume-%s volume_group = cinder-volumes verbose = True state_path = /var/lib/cinder lock_path = /var/lock/cinder volumes_dir = /var/lib/cinder/volumes auth_strategy=keystone [database] connection = mysql://cinder:notcinder@localhost/cinder I started tgtd service I do NOT have any dir or PV, or VG called cinder-volumes - not sure if i need to I added include /etc/cinder/volumes/* to /etc/tgt/targets.conf I see nothing alarming in the cinder logs I do see errors in nova compute: File injection into a boot from volume instance is not supported 2013-12-30 05:58:53.863 1469 ERROR nova.compute.manager [req-0e8e9f67-5d6c-4d8c-b94c-6030054b69eb 0889af39b0dd4837815540dc9f7c9e3e 9ca58e5c52ad41efae313a5a0b477b22] [instance: 9d53ab2e-52d6-4a2e-811f-7426631a1caf] Instance failed to spawn nova-scheduler logs show: 2013-12-30 05:55:01.919 845 WARNING nova.scheduler.driver [req-97d23860-e6d5-4be6-b12b-713a4627b8b3 0889af39b0dd4837815540dc9f7c9e3e 9ca58e5c52ad41efae313a5a0b477b22] [instance: 1a28dd9e-d199-43cb-b858-a3c7c2909767] Setting instance to ERROR state. 2013-12-30 05:58:55.368 845 ERROR nova.scheduler.filter_scheduler [req-0e8e9f67-5d6c-4d8c-b94c-6030054b69eb 0889af39b0dd4837815540dc9f7c9e3e 9ca58e5c52ad41efae313a5a0b477b22] [instance: 9d53ab2e-52d6-4a2e-811f-7426631a1caf] Error from last host: controller.ed.com (node controller.ed.com): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1037, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1420, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1417, in _spawn\n block_device_info)\n', u' File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2067, in spawn\n write_to_disk=True)\n', u' File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3061, in to_xml\n xml = conf.to_xml()\n', u' File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/config.py", line 68, in to_xml\n root = self.format_dom()\n', u' File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/config.py", line 1138, in format_dom\n self._format_devices(root)\n', u' File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/config.py", line 1115, in _format_devices\n devices.append(dev.format_dom())\n', u' File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/config.py", line 521, in format_dom\n uuid=self.auth_secret_uuid))\n', u' File "lxml.etree.pyx", line 2809, in lxml.etree.Element (src/lxml/lxml.etree.c:61393)\n', u' File "apihelpers.pxi", line 123, in lxml.etree._makeElement (src/lxml/lxml.etree.c:13824)\n', u' File "apihelpers.pxi", line 111, in lxml.etree._makeElement (src/lxml/lxml.etree.c:13698)\n', u' File "apihelpers.pxi", line 264, in lxml.etree._initNodeAttributes (src/lxml/lxml.etree.c:15356)\n', u' File "apihelpers.pxi", line 1342, in lxml.etree._utf8 (src/lxml/lxml.etree.c:24770)\n', u"TypeError: Argument must be bytes or unicode, got 'NoneType'\n"] Thanks in advance!! |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com