Friday, 2022-12-23

zaitcevI have a small problem. I run:03:12
zaitcevcinder create --image-id 6413a4d1-c74f-41d1-b561-f2c936c0d979 403:12
zaitcevDec 22 04:49:11 zaitcev-cinder-5 cinder-volume[132138]: ERROR cinder.volume.flows.manager.create_volume [None req-11a0f805-da37-4b1c-9f0c-60a6b9c4258f demo None] Failed updating volume 1972b945-c120-4926-a537-132fd7945465 metadata using the provided image 6413a4d1-c74f-41d1-b561-f2c936c0d979 metadata: cinder.exception.GlanceMetadataExists: Glance metadata cannot be updated, key signature_verified exists for volume i03:13
zaitcev20-4926-a537-132fd79454603:13
zaitcevWhat in the world does this mean?03:14
whoami-rajatzaitcev, does the logs show that the initial create volume request failed and it was rescheduled?03:41
zaitcevThat error is the first relevant error.03:42
zaitcevI don't think it's re-scheduled, but I don't know.03:42
whoami-rajatzaitcev, i had a patch related to this https://review.opendev.org/c/openstack/cinder/+/80076803:43
whoami-rajati saw it when creating instance from BFV03:43
zaitcevoh, maybe it is similar. What happened here was, I created that image from an existing volume, by using "openstack image create --volume 801478a6-596f-486e-a3f7-f3c16cde65c2 test_1G2".03:46
zaitcevThen, I deleted the original volume, in cinder. That caused the underlying LVM volume get deleted, although not the cache.03:47
zaitcevBTW, when creating volume fails, cinder leaves two LVM volumes just laying around: the volume in question (in state "error") and an image cache volume.03:48
whoami-rajatbut the glance metadata is filtered out with volume_id so even if we are uploading volume as an image and again creating volume from it, the ID will be different and this error shouldn't appear03:52
whoami-rajatyeah the cleanup is a bit manual, you will need to reset-state for the volume and then delete it03:53
whoami-rajatreset-state to available03:53
zaitcevI thought so too. The "cinder create" command was exactly and completely as I quoted above, and I didn't provide volume_id.03:53
zaitcevoh, thanks03:53
whoami-rajatthe volume id is a random uuid generated so it should always be unique04:00
whoami-rajatthe case you mentioned can only error out if we're rescheduling the same volume for create and the first attempt was not properly cleaned up 04:02
whoami-rajathttps://github.com/openstack/cinder/blob/3f0f49bd8e9670da3588527329f35bf5dc40948f/cinder/volume/flows/manager/create_volume.py#L7304:02
*** bhagyashris is now known as bhagyashris|ruck07:06
*** akekane is now known as abhishekk07:38
*** dviroel|out is now known as dviroel11:02
opendevreviewJorge Merlino proposed openstack/cinder master: Increase size of volume image metadata values  https://review.opendev.org/c/openstack/cinder/+/86848512:53
whoami-rajathi rosmaita jungleboyj, can you take a look at this spec? https://review.opendev.org/c/openstack/cinder-specs/+/86671813:16
harshHello reviewers, i got two +2's on the review: https://review.opendev.org/c/openstack/cinder/+/853126 but after zuul is failing with tox errors.13:47
harshanyone has any idea on this?13:47
harshBefore the +2's zuul and CI passed successfully. 13:49
whoami-rajatharsh, looks like a tox4 issue14:19
harshyes. in the last wednesday cinder meeting we were discussing on this that how the tox4 change will result.14:23
harshnot sure how to resolve this though14:23
whoami-rajatthere is a patch up which I'm reviewing which should fix this14:24
harshok. 14:24
harshcan you share the patch link? i will also go through it14:24
whoami-rajathttps://review.opendev.org/c/openstack/cinder/+/86825314:25
harshthanks14:26
whoami-rajatnp14:27
whoami-rajatthe patch is merging now so gate should be fixed in some time (hopefully)14:27
harshyea this looks like might solve the issue because in the logs i can see the error:  whitespace in passenv values14:27
harshsure. thanks for the support whoami-rajat 14:28
whoami-rajatno worries14:28
sfv880_Hello reviewers, I addressed all the comments on https://review.opendev.org/c/openstack/cinder/+/852369 and https://review.opendev.org/c/openstack/cinder/+/864287 - our customers are waiting for these fixes to be merged. Also, these changes are required to pass the RHOSP certification. Could you please review it ? Thank you so much!15:10
*** dviroel is now known as dviroel|lunch15:28
opendevreviewMerged openstack/cinder master: Get ready for tox 4  https://review.opendev.org/c/openstack/cinder/+/86825316:04
opendevreviewMerged openstack/rbd-iscsi-client master: Get ready for tox 4  https://review.opendev.org/c/openstack/rbd-iscsi-client/+/86832416:27
*** dviroel|lunch is now known as dviroel16:41
opendevreviewMerged openstack/os-brick master: Get ready for tox 4  https://review.opendev.org/c/openstack/os-brick/+/86831517:25
opendevreviewJorge Merlino proposed openstack/cinder master: Increase size of volume image metadata values  https://review.opendev.org/c/openstack/cinder/+/86848518:34
*** dviroel is now known as dviroel|out19:28
opendevreviewJorge Merlino proposed openstack/cinder master: Increase size of volume image metadata values  https://review.opendev.org/c/openstack/cinder/+/86848522:16

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