When I try to create a snapshot from an instance it creates standard snapshot instead of RBD snapshot.
I get the following error in nova-compute.log:
2017-06-01 18:54:21.501 5940 INFO nova.compute.manager [req-7603f0a8-1178-466c-9b5e-903c7ff7bbcb ec0ffcafc20244029d090e7e98aa0461 9b05738c81444d5e8ba74669c058f53a - - -] [instance: a5eeeaf7-7d0b-4348-b84f-f009d57703b9] instance snapshotting
2017-06-01 18:54:21.746 5940 INFO nova.compute.manager [req-5bb61737-13af-4c66-af8f-7072b6611d71 - - - - -] [instance: a5eeeaf7-7d0b-4348-b84f-f009d57703b9] VM Paused (Lifecycle Event)
2017-06-01 18:54:22.287 5940 INFO nova.compute.manager [req-5bb61737-13af-4c66-af8f-7072b6611d71 - - - - -] [instance: a5eeeaf7-7d0b-4348-b84f-f009d57703b9] During sync_power_state the instance has a pending task (image_snapshot). Skip.
2017-06-01 18:54:23.287 5940 INFO nova.virt.libvirt.driver [req-7603f0a8-1178-466c-9b5e-903c7ff7bbcb ec0ffcafc20244029d090e7e98aa0461 9b05738c81444d5e8ba74669c058f53a - - -] [instance: a5eeeaf7-7d0b-
4348-b84f-f009d57703b9] Beginning cold snapshot process
2017-06-01 18:54:28.283 5940 WARNING nova.virt.libvirt.driver [req-7603f0a8-1178-466c-9b5e-903c7ff7bbcb ec0ffcafc20244029d090e7e98aa0461 9b05738c81444d5e8ba74669c058f53a - - -] Performing standard snapshot because direct snapshot failed: no write permission on storage pool images
2017-06-01 18:54:31.380 5940 INFO nova.compute.manager [req-5bb61737-13af-4c66-af8f-7072b6611d71 - - - - -] [instance: a5eeeaf7-7d0b-4348-b84f-f009d57703b9] VM Started (Lifecycle Event)
2017-06-01 18:54:32.080 5940 INFO nova.virt.libvirt.driver [req-7603f0a8-1178-466c-9b5e-903c7ff7bbcb ec0ffcafc20244029d090e7e98aa0461 9b05738c81444d5e8ba74669c058f53a - - -] [instance: a5eeeaf7-7d0b-4348-b84f-f009d57703b9] Snapshot extracted, beginning image upload
2017-06-01 18:54:32.157 5940 INFO nova.compute.manager [req-5bb61737-13af-4c66-af8f-7072b6611d71 - - - - -] [instance: a5eeeaf7-7d0b-4348-b84f-f009d57703b9] During sync_power_state the instance has a pending task (image_pending_upload). Skip.
2017-06-01 18:54:32.158 5940 INFO nova.compute.manager [req-5bb61737-13af-4c66-af8f-7072b6611d71 - - - - -] [instance: a5eeeaf7-7d0b-4348-b84f-f009d57703b9] VM Resumed (Lifecycle Event)
2017-06-01 18:54:32.340 5940 INFO nova.compute.manager [req-5bb61737-13af-4c66-af8f-7072b6611d71 - - - - -] [instance: a5eeeaf7-7d0b-4348-b84f-f009d57703b9] During sync_power_state the instance has a pending task (image_uploading). Skip.
2017-06-01 18:54:35.973 5940 INFO nova.virt.libvirt.driver [req-7603f0a8-1178-466c-9b5e-903c7ff7bbcb ec0ffcafc20244029d090e7e98aa0461 9b05738c81444d5e8ba74669c058f53a - - -] [instance: a5eeeaf7-7d0b-4348-b84f-f009d57703b9] Snapshot image upload complete
MOS 9.0 Mitaka
Possible related issues:
https://bugs.launchpad.net/openstack-manuals/+bug/1538244
https://disqus.com/home/discussion/sebastienhan/openstack_nova_snapshots_on_ceph_rbd_sebastien_han/#comment-3025636092
The problem was reproduced only on 'clean' MOS9.0 environment, when an environment was deployed with all MU - the issue was not reproduced.
In upstream similar problem was solved by this patch: /review. openstack. org/#/c/ 407410/
https:/
This one was backported to fuel-infra: /review. fuel-infra. org/gitweb? p=openstack/ fuel-library. git;a=commit; h=7cb1801e00547 2fe4dc33fd45bdf d639d352b5b4 /review. fuel-infra. org/gitweb? p=openstack/ fuel-library. git;a=commit; h=d891b4fd30677 acb112e7e6b26e3 6e5c267028cf
https:/
https:/