Ask Your Question
0

Nova could not open disk image using Ceph Storage and Cinder

asked 2014-12-30 09:05:36 -0500

Santosh gravatar image

updated 2014-12-31 12:51:24 -0500

smaffulli gravatar image

As per the OpenStack official documentation, we have created 3 node OpenStack Juno cluster using Centos7.

Later integrated it with 3 node Ceph storage. Ceph status is health is OK.

[root@controller yum.repos.d]# ceph --version
ceph version 0.80.7 (6c0127fcb58008793d3c8b62d925bc91963672a3)
[root@controller yum.repos.d]# ceph status
    cluster 41bdadbf-2497-44d8-8993-87ace1fc5c2d
     health HEALTH_OK
     monmap e3: 3 mons at {node1=192.168.1.75:6789/0,node2=192.168.1.82:6789/0,node3=192.168.1.81:6789/0}, election epoch 170, quorum 0,1,2 node1,node3,node2
     mdsmap e88: 1/1/1 up {0=node1=up:active}
     osdmap e223: 3 osds: 3 up, 3 in
      pgmap v58386: 1110 pgs, 10 pools, 2239 MB data, 280 kobjects
            34020 MB used, 106 GB / 147 GB avail
                1110 active+clean

We have successfully configured the Glance and Cinder as per the documentation.

Now we could able to create a volume without issues, but while creating a instance, getting below error.

2014-12-30 18:31:58.810 15629 ERROR nova.compute.manager [-] [instance: 2d4e7118-97be-461b-987f-5a907a6771fa]  
Instance failed to spawn
  73339 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa] Traceback (        most recent call last):
  73340 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]   File "/us        r/lib/python2.7/site-packages/nova/compute/manager.py", line 2243, in  
_build_resources
  73341 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]     yield r        esources
  73342 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]   File "/us        r/lib/python2.7/site-packages/nova/compute/manager.py", line 2113, in  
_build_and_run_instance
  73343 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]     block_d        evice_info=block_device_info)
  73344 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]   File "/us        r/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2621, in  
spawn
  73345 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]     block_d        evice_info, disk_info=disk_info)
  73346 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]   File "/us        r/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4414, in  
_create_domain_and_network
  73347 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]     power_o        n=power_on)
  73348 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]   File "/us        r/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4338, in  
_create_domain
  73349 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]     LOG.err        or(err)
  73350 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]   File "/us        r/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 82, in  
__exit__
  73351 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]     six.rer        aise(self.type_, self.value, self.tb)
  73352 2014-12-30 18:31:58.810 15629 TRACE nova.compute.manager [instance: 2d4e7118-97be-461b-987f- 
5a907a6771fa]   File "/us        r ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-31 12:52:53 -0500

smaffulli gravatar image

Have a look at cinder logs and try to find out there why nova complains it **could not open disk image** rbd:volumes /volume-3d020597-acdf-442c-bf82-604156bc3ef4:

edit flag offensive delete link more

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

1 follower

Stats

Asked: 2014-12-30 09:05:36 -0500

Seen: 750 times

Last updated: Dec 31 '14