Cinder can't handle changed {volume,snapshot,backup}_name_template configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
Creating an instance from Horizon, specifying to create a volume from an image results in the following:
----- s n i p -----
==> /var/log/
2016-07-13 12:44:10.235 22376 DEBUG oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.316 22376 ERROR oslo_messaging.
2016-07-13 12:44:10.321 22376 ERROR oslo_messaging.
----- s n i p -----
This is Cinder v2:8.0.0-4 from Debian GNU/Linux Sid/Unstable.
My cinder.conf (at the time of the tests): https:/
description: | updated |
Changed in cinder: | |
assignee: | nobody → Cao ShuFeng (caosf-fnst) |
The question mark in the title of the issue is because some time earlier to this, I get:
----- s n i p ----- cinder/ cinder- api.log <== 82a2-4bec- 97fb-9de89ae34c b4 4b0e25c70d2b4ad 6ba4c50250f2f0b 0b 04ee0e71babe4fd 7aa16c3f64a8fca 89 - - -] Volume created successfully.
==> /var/log/
2016-07-13 12:41:19.825 21657 INFO cinder.volume.api [req-49a10918-
==> /var/log/ cinder/ cinder- volume. log <== image.image_ utils [req-49a10918- 82a2-4bec- 97fb-9de89ae34c b4 4b0e25c70d2b4ad 6ba4c50250f2f0b 0b 04ee0e71babe4fd 7aa16c3f64a8fca 89 - - -] Converted 8192.00 MB image at 57.62 MB/s y.processutils [req-49a10918- 82a2-4bec- 97fb-9de89ae34c b4 4b0e25c70d2b4ad 6ba4c50250f2f0b 0b 04ee0e71babe4fd 7aa16c3f64a8fca 89 - - -] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/ rootwrap. conf env LC_ALL=C qemu-img info /dev/mapper/ blade_center- 18e456ab- -f71e-- 476e--aeb7- -f5f1c87cca3b execute /usr/lib/ python2. 7/dist- packages/ oslo_concurrenc y/processutils. py:344 y.processutils [req-49a10918- 82a2-4bec- 97fb-9de89ae34c b4 4b0e25c70d2b4ad 6ba4c50250f2f0b 0b 04ee0e71babe4fd 7aa16c3f64a8fca 89 - - -] CMD "sudo cinder-rootwrap /etc/cinder/ rootwrap. conf env LC_ALL=C qemu-img info /dev/mapper/ blade_center- 18e456ab- -f71e-- 476e--aeb7- -f5f1c87cca3b" returned: 0 in 0.153s execute /usr/lib/ python2. 7/dist- packages/ oslo_concurrenc y/processutils. py:374 volume. flows.manager. create_ volume [req-49a10918- 82a2-4bec- 97fb-9de89ae34c b4 4b0e25c70d2b4ad 6ba4c50250f2f0b 0b 04ee0e71babe4fd 7aa16c3f64a8fca 89 - - -] Downloaded image e6b5d0b2- 50ad-4f98- b4df-4b78386090 bb ((None, None)) to volume 18e456ab- f71e-476e- aeb7-f5f1c87cca 3b successfully. _copy_image_ to_volume /usr/lib/ python2. 7/dist- packages/ cinder/ volume/ flows/manager/ create_ volume. py:546 image.image_ utils [req-49a10918- 82a2-4bec- 97fb-9de89ae34c b4 4b0e25c70d2b4ad 6ba4c50250f2f0b 0b 04ee0e71babe4fd 7aa16c3f64a8fca 89 - - -] Temporary image e6b5d0b2- 50ad-4f98- b4df-4b78386090 bb for user 4b0e25c70d2b4ad 6ba4c50250f2f0b 0b is deleted. fetch /usr/lib/ python2. 7/dist- packages/ cinder/ image/image_ utils.py: 543 volume. flows.manager. create_ volume [req-49a10918- 82a2-4bec- 97fb-9de89ae34c b4 4b0e25c70d2b4ad 6ba4c50250f2f0b 0b 04ee0e71babe4fd 7aa16c3f64a8fca 89 - - -] Marking volume 18e456ab- f71e-476e- aeb7-f5f1c87cca 3b as bootable. _enable_ bootable_ flag /usr/lib/ python2. 7/dist- packages/ cinder/ volume/ flows/manager/ create_ volume. py:468 volume. flows.manager. create_ volume [req-49a10918- 82a2-4bec- 97fb-9de89ae34c b4 4b0e25c70d2b4ad 6ba4c50250f2f0b 0b 04ee0e71babe4fd 7aa16c3f64a8fca 89 - - -] Copying metadata from image e6b5d0b2- 50ad-4f98- b4df-4b78386090 bb to 18e456ab- f71e-476e- aeb7-f5f1c87cca 3b. _handle_ bootable_ volume_ glance_ meta /usr/lib/ python2. 7/dist- packages/ cinder/ volume/ flows/manager/ create_ volume. py:425 volume. flows.manager. create_ volume [req-49a10918- 82a2-4bec- 97fb-9de89ae34c b4 4b0e25c70d2b4ad 6ba4c50250f2f0b 0b 04ee0e71babe4fd 7aa16c3f64a8fca ...
2016-07-13 12:44:05.914 22376 INFO cinder.
2016-07-13 12:44:05.916 22376 DEBUG oslo_concurrenc
2016-07-13 12:44:06.068 22376 DEBUG oslo_concurrenc
2016-07-13 12:44:06.070 22376 DEBUG cinder.
2016-07-13 12:44:06.241 22376 DEBUG cinder.
2016-07-13 12:44:06.243 22376 DEBUG cinder.
2016-07-13 12:44:06.334 22376 DEBUG cinder.
2016-07-13 12:44:06.335 22376 DEBUG cinder.