Monday, 2024-07-22

*** geguileo is now known as Guest93608:04
opendevreviewyuval proposed openstack/cinder master: Create multiple snapshots from same volume  https://review.opendev.org/c/openstack/cinder/+/90453108:54
yuvalAgain I am asking for you support in review the patch request ^08:55
opendevreviewJosephine Seifert proposed openstack/cinder master: Add volume type metadata table to database  https://review.opendev.org/c/openstack/cinder/+/91831609:12
opendevreviewyuval proposed openstack/cinder master: Create multiple snapshots from same volume  https://review.opendev.org/c/openstack/cinder/+/90453109:33
lajoskatonaHi, I would like to ask about the backports for https://bugs.launchpad.net/nova/+bug/205980911:34
lajoskatonaI checked the unmaintained/yoga patch: https://review.opendev.org/c/openstack/cinder/+/923873/1 , and as I see the issue is around that bionic is used for even py36 execution and the qemu-img create .... commands fail (in my local env I have the same if I used py36 on bionic)11:36
lajoskatonaI am not sure if there is precedence for such issue in Cinder, and what should be the preferred way of moving forward11:50
fricklerlajoskatona: I can't speak for the cinder team, but from what I'm seeing, they are struggling to even keep up with reviews on master, I very much expect them to treat unmaintained branches as a do-not-care item12:39
lajoskatonafrickler: ack, I had the same feeling, but writing it down and let people think about it makes it more visible12:59
opendevreviewyuval proposed openstack/cinder master: Create multiple snapshots from same volume  https://review.opendev.org/c/openstack/cinder/+/90453113:28
yuvallajoskatona what error do you see?13:33
lajoskatonayuval: Hi, https://a72cfe21c2592d86f1a0-632ff0f5bf18f30fe81cecd4fd5ff676.ssl.cf1.rackcdn.com/923873/1/check/openstack-tox-py36/29cf766/testr_results.html13:53
rosmaitalajoskatona: looks to me like the qemu-img on that operating system is old enough that it doesn't understand how to create a qcow2 with external datafile13:54
rosmaitathe failure is happening when the unit test creates a "bad" image for the format inspector to reject13:54
opendevreviewEric Harney proposed openstack/cinder master: Pass with mypy 1.11.0  https://review.opendev.org/c/openstack/cinder/+/92463113:55
lajoskatonarosmaita, yuval: yes qemu version was my suspect also, I executed blindly the command in the exception in my env: $ qemu-img create -f qcow2 -o data_file=/tmp/tmpvfuo30p0/data9kz_8ou5,data_file_raw=on /tmp/tmpvfuo30p0/glance-unittest-formatinspector-4j8phcm6.qcow2 524288013:55
lajoskatonaqemu-img: Invalid parameter 'data_file'13:55
lajoskatonaqemu-img: /tmp/tmpvfuo30p0/glance-unittest-formatinspector-4j8phcm6.qcow2: Invalid options for file format 'qcow2'13:55
rosmaitayeah, that's it13:55
rosmaitai think  maybe just skip that test13:55
rosmaitashort term, i mean13:56
lajoskatonarosmaita: ack, I check it, another thing in my mind to add a small image sample to the repo for this test and skip qemu-img create just use the sample image file13:57
rosmaitalajoskatona: that was my thought, too, but i got some pushback about committing non-code artefacts to the repo13:58
rosmaitabut i am not an unmaintained core ... it might make sense to do that for the unmaintained branches13:59
lajoskatonaromsata: ahh, ok, that is always a question what to store under git :-)13:59
rosmaitai think you have a good case for the unmaintained branches, because (q) you want to know that the code works, and (b) if someone updated qemu-img, the skipped tests would suddenly become relevant14:00
yuvalshouldnt you mock the qemu-img? in the unittests?14:01
yuvalor its a tempest?14:01
rosmaitayuval: ordinarily yes, but we're calling qemu-img to create the image to run the tests on14:01
lajoskatonayuval it is unit tests, in master: https://opendev.org/openstack/cinder/src/commit/8a6ffb36c90379984836b3d04406277020b72445/cinder/tests/unit/image/test_format_inspector.py#L54-L8214:02
yuvalI see14:05
opendevreviewBrian Rosmaita proposed openstack/cinder master: Enhance mypy job  https://review.opendev.org/c/openstack/cinder/+/92466016:29
*** geguileo is now known as Guest97016:37
opendevreviewMerged openstack/cinder master: Pass with mypy 1.11.0  https://review.opendev.org/c/openstack/cinder/+/92463118:19
opendevreviewYosi Ben Shimon proposed openstack/cinder-tempest-plugin master: Add functions to srbac base file  https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/92016819:26

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