Ask Your Question
0

Why can I not boot an instance when using ceph? [closed]

asked 2017-10-25 06:12:01 -0500

mickt gravatar image

updated 2017-10-25 08:36:00 -0500

I cannot boot an instance when using ceph with Oracle VM server release 3.4.4 compute host.

I see the following in nova-compute.log

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [req-ae75f8b0-6c67-4829-86cc-3d07fb97ded1 ff7938552f984bcc865648df072bbbcd 6ce207968e2b46a6b2a485f329affedb - default default] [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574] Instance failed to spawn: libvirtError: Secret not found: rbd no secret matches uuid '7596eb15-cb51-403d-8a4b-3808131686a2'

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574] Traceback (most recent call last):

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 2211, in _build_resources

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]     yield resources

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 2026, in _build_and_run_instance

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]     block_device_info=block_device_info)

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2829, in spawn

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]     destroy_disks_on_failure=True)

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5302, in _create_domain_and_network

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]     destroy_disks_on_failure)

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]     self.force_reraise()

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]     six.reraise(self.type_, self.value, self.tb)

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5272, in _create_domain_and_network

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]     post_xml_callback=post_xml_callback)

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5190, in _create_domain

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]     guest.launch(pause=pause)

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 144, in launch

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]     self._encoded_xml, errors='ignore')

2017-10-25 11:24:11.700 1 ERROR nova.compute.manager [instance: 21c2742d-d2f7-49ff-8687-39e264b6d574]   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mickt
close date 2017-10-25 10:18:08.739546

Comments

Hi, Ensure all openstack services and Ceph services are up..Restart the libvirt service once and then try to launch the instance.

Praveen N gravatar imagePraveen N ( 2017-10-25 06:28:18 -0500 )edit

All services are up. I came across that link before but it doesn't help in this case.

mickt gravatar imagemickt ( 2017-10-25 08:07:20 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-10-25 09:45:39 -0500

mickt gravatar image

Copied keys to /etc/libvirt/secrets

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-10-25 06:12:01 -0500

Seen: 508 times

Last updated: Oct 25 '17