Tuesday, 2021-07-06

opendevreviewTakashi Kajinami proposed openstack/cinder stable/train: Use context manager to manage access to rbd images  https://review.opendev.org/c/openstack/cinder/+/79954600:59
opendevreviewXuan Yandong proposed openstack/cinder-specs master: Support revert any snapshot to the volume  https://review.opendev.org/c/openstack/cinder-specs/+/73611106:31
alexe9191Good day everyone :) I was wondering if there is a way to create an image from a volume without having to upload the image? It does not seem that this feature is implemented.06:46
alexe9191Both cinder and glance are using ceph as a backend and are using the rbd driver.06:47
opendevreviewTushar Trambak Gite proposed openstack/cinder-tempest-plugin master: Dropping explicit unicode literal  https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/79956407:37
masterpe[m]You can create a image based on a volume.08:27
masterpe[m]alexe9191: You need to enable the image_upload_use_cinder_backend setting08:29
alexe9191masterpe: Yes. However cinder will upload the volume 08:45
alexe9191Using ceph for both glance and cinder seems that a synergie can exist. 08:45
alexe9191A volume can be cloned from an image for instance without having to import/export the data from ceph. But it does not work the otherway around? 08:46
masterpe[m]yes it first creates a snapshot from the volume and then a image. This can all be done without copy'ing the data. If you enable rbd_flatten_volume_from_snapshot it will flatten the snapshot first08:48
alexe9191aaaah!! let me test that08:49
alexe9191Would that work if you want to create an Image from a volume? If you create a volume snapshot first?08:53
alexe9191My interest is creating an image from a volume not a volume from an image :) 08:53
alexe9191This actually https://specs.openstack.org/openstack/cinder-specs/specs/liberty/optimze-rbd-copy-volume-to-image.html08:54
JohnnyWHi, just a question about cinder backup functionality, I have a backup configured for ceph backend, everything was working fine in Rocky, but after upgrade I have a failure when I'm trying to create a volume backup. It says that pool None doesn't exist, but actually I have defined backup_ceph_pool defined to value backup. It says about backend API,09:28
JohnnyWso I'm wondering if something new pop up in stein(but I don't see a difference, I was comparing cinder.confs and everything looks OK to sample stein file) or there is some wrong configuration or there is a bug? My paste is here: http://paste.openstack.org/show/F29h1VFn4PxWxMITQvPV/ 09:28
JohnnyWSo from logs it looks like parameter is taken(backup_ceph_pool) correctly, but then it is trying to hit pool None...so I don't get it why it's trying to hit None. Any ideas? Thanks in advance for help, maybe you already faced such issue09:29
*** bhagyashris_ is now known as bhagyashris|ruck09:50
whoami-rajatJohnnyW: Hi, see the second upgrade note https://docs.openstack.org/releasenotes/cinder/stein.html#relnotes-14-0-0-stable-stein-upgrade-notes10:21
JohnnyWwhoami-rajat: thanks for hint, but I already did a change in my config to backup_driver = cinder.backup.drivers.ceph.CephBackupDriver but problem is still visible10:39
opendevreviewTushar Trambak Gite proposed openstack/cinder master: Dropping explicit unicode literal  https://review.opendev.org/c/openstack/cinder/+/79963110:50
opendevreviewXuan Yandong proposed openstack/cinder-specs master: Support revert any snapshot to the volume  https://review.opendev.org/c/openstack/cinder-specs/+/73611111:24
opendevreviewTakashi Kajinami proposed openstack/cinder master: Use the json format on oslo_utils.imageutils.QemuImgInfo  https://review.opendev.org/c/openstack/cinder/+/79966312:51
opendevreviewTakashi Kajinami proposed openstack/cinder master: Use the json format output of qemu-img info  https://review.opendev.org/c/openstack/cinder/+/79966312:52
zenkurohi, is there any bug with current devstack neutron? Im having issues with running volume tests12:53
opendevreviewFernando Ferraz Silva proposed openstack/cinder master: NetApp ONTAP: Add storage assisted migration support  https://review.opendev.org/c/openstack/cinder/+/79966813:16
opendevreviewFernando Ferraz Silva proposed openstack/cinder master: [WIP] NetApp ONTAP: Add storage assisted migration support  https://review.opendev.org/c/openstack/cinder/+/79966813:17
*** osmanlicilegi is now known as Guest413:34
JohnnyWIs somewhere any action flow how volume backup is triggered?13:37
opendevreviewHelen Walsh proposed openstack/cinder master: PowerMax Driver - Improve error handling around deletes  https://review.opendev.org/c/openstack/cinder/+/79628615:15
opendevreviewMerged openstack/cinder-tempest-plugin master: zuul: pin cinder-tempest-plugin/stein-last on stein  https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/79834415:22
whoami-rajatJohnnyW:  I didn't get much time to look into it but basically your error trace points at while fetching the backup_device (i.e. volume) is failing because of pool being passed as None15:44
JohnnyWwhoami-rajat can it be because normally volume is attached to iscsi storage while backup storage is a ceph? The error just before previously copied print is: http://paste.openstack.org/show/zurmIKqBRmR6bh8Kt3mj/ But strange thing is that it was working before(I mean in Rocky/Queens etc.). I know that new code is in python3 vs python2 before, so it16:07
JohnnyWcan be somehow linked16:07
whoami-rajatJohnnyW:  what is the volume backend?16:11
JohnnyWhuawei dorado16:16
JohnnyWwhoami-rajat: that is my backend config from cinder: http://paste.openstack.org/show/9nE3InvSWrIp9myvDf8g/16:18
whoami-rajatJohnnyW: I see you also have a ceph volume backend, does backing up ceph volumes give the same error?16:25
JohnnyWgive me 5 minutes, I will test it16:27
JohnnyWwhoami-rajat: it works with volume at ceph backend. But strange, as it was working previously from dorado to ceph16:44
opendevreviewSimon Dodsley proposed openstack/cinder master: Add Pure Storage NVMe driver  https://review.opendev.org/c/openstack/cinder/+/79970318:16
opendevreviewSimon Dodsley proposed openstack/cinder master: [WIP] Pure Storage - Adds new NVMe-RoCE driver for the FlashArray  https://review.opendev.org/c/openstack/cinder/+/79970418:16

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!