cinder rbd volume create error yet volume marked as available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have created a volume using incorrect cephx credentials. The RBD create failed as expected but the volume was still marked as available in the database by cinder.
2013-04-04 13:27:53 DEBUG [cinder.
2013-04-04 13:27:53 INFO [cinder.
2013-04-04 13:27:53 DEBUG [cinder.utils] Running cmd (subprocess): rbd --help
2013-04-04 13:27:53 DEBUG [cinder.utils] Running cmd (subprocess): rbd create --pool volumes --size 1024 volume-
2013-04-04 13:27:53 DEBUG [cinder.utils] Result was 1
2013-04-04 13:27:53 ERROR [cinder.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
cmd=' '.join(cmd))
ProcessExecutio
Command: rbd create --pool volumes --size 1024 volume-
Exit code: 1
Stdout: ''
Stderr: "2013-04-04 13:27:53.775829 7f9f4142d780 0 librados: client.cinder authentication error (1) Operation not permitted\nrbd: couldn't connect to the cluster!\n"
2013-04-04 13:27:54 DEBUG [cinder.utils] Running cmd (subprocess): rbd create --pool volumes --size 1024 volume-
2013-04-04 13:27:54 DEBUG [cinder.utils] Result was 1
2013-04-04 13:27:54 ERROR [cinder.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
cmd=' '.join(cmd))
ProcessExecutio
Command: rbd create --pool volumes --size 1024 volume-
Exit code: 1
Stdout: ''
Stderr: "2013-04-04 13:27:54.808940 7fe419195780 0 librados: client.cinder authentication error (1) Operation not permitted\nrbd: couldn't connect to the cluster!\n"
2013-04-04 13:27:58 DEBUG [cinder.utils] Running cmd (subprocess): rbd create --pool volumes --size 1024 volume-
2013-04-04 13:27:58 DEBUG [cinder.utils] Result was 1
2013-04-04 13:27:58 DEBUG [cinder.
2013-04-04 13:27:58 DEBUG [cinder.
2013-04-04 13:27:58 DEBUG [cinder.
2013-04-04 13:27:58 ERROR [cinder.
2013-04-04 13:27:58 DEBUG [cinder.
2013-04-04 13:27:58 INFO [cinder.
tags: | added: drivers |
tags: |
added: ceph removed: cephx cinder grizzly rbd |
This bug was raised on Ubuntu Precise 12.04 for cinder-volume 1:2013. 1~rc3-0ubuntu1~ cloud0