Tuesday, 2023-02-07

opendevreviewAtsushi Kawai proposed openstack/cinder master: Hitachi: support extending volume with snapshot  https://review.opendev.org/c/openstack/cinder/+/85083003:39
*** shoffmann is now known as Guest397207:39
*** shoffmann1 is now known as shoffmann07:39
opendevreviewAtsushi Kawai proposed openstack/cinder master: Hitachi: Support retype to another pool for VSP driver  https://review.opendev.org/c/openstack/cinder/+/84290508:10
Kumar_KanishkaHi all, please review my patch 08:36
Kumar_Kanishkahttps://review.opendev.org/c/openstack/cinder/+/86930508:36
geguileowhoami-rajat: fyi Cinder's DB unit tests are horribly broken... The MySQL tests are actually run on SQLite10:48
whoami-rajatgeguileo, oh, that's bad news ...10:50
whoami-rajatcan we see it run on mysql somewhere? or we need to run it locally?10:50
geguileowhoami-rajat: I'm running it locally to reproduce this gate failure: https://zuul.opendev.org/t/openstack/build/a217b74a44f14ab6b77ccde6525c2cd110:51
geguileowhoami-rajat: I couldn't tell looking at upstream logs that that was the problem10:52
geguileowhoami-rajat: sfinucan is on PTO  :-(10:55
whoami-rajatgeguileo, I'm also not able to understand why the groups table is missing there but i didn't dig enough10:59
whoami-rajatstephenfin, when you're around, please take a look at ^10:59
whoami-rajathopefully he will see the message tomorrow or we can ping him again10:59
geguileowhoami-rajat: he's on PTO until the 13th10:59
whoami-rajatoh ...10:59
geguileowhoami-rajat: oh, that's the misleading thing, the problem is not the groups table!11:00
geguileowhoami-rajat: so the migration thinks it's going to mysql, but only the DB creation is going there11:00
geguileowhoami-rajat: all the migration commands are going to sqlite11:00
geguileowhoami-rajat: and because the migration thinks it's going to mysql, it runs a command that only works on mysql but fails on sqlite11:01
geguileowhoami-rajat: and that's the failure, running a non supported feature in sqlite11:01
geguileoit took me a while to get there...11:01
whoami-rajatgeguileo, oh ok, I'm still thinking about what changed that triggered this issue in our gates11:06
whoami-rajati see oslo.db was recently released https://pypi.org/project/oslo.db/#history11:06
geguileowhoami-rajat: oh, this is NOT something "new"11:06
whoami-rajatand that is used in our gate 11:06
whoami-rajat2023-02-06 18:28:00.591945 | ubuntu-jammy |   Downloading https://mirror.bhs1.ovh.opendev.org/pypifiles/packages/b4/45/eaabc90bfc62ef41af24b869dee0e556624bfe6211da1e5653015c8a9cc4/oslo.db-12.3.1-py3-none-any.whl (177 kB)11:06
geguileowhoami-rajat: this is most likely to do with the alembic migration changes, but I'm not 100% sure11:07
geguileowhoami-rajat: if this was a problem with packages, then Ironic whould be failing11:07
whoami-rajatgeguileo, i understand it could be an old issue but we didn't face it in the gate before, maybe a random behavior?11:08
geguileowhoami-rajat: no, no, the behavios is only triggering now because I'm using in that patch a new function11:08
geguileowhoami-rajat: https://review.opendev.org/c/openstack/cinder/+/819669/4/cinder/db/migrations/versions/daa98075b90d_add_resource_indexes.py11:09
geguileowhoami-rajat: L4411:09
whoami-rajatgeguileo, oh got it11:10
whoami-rajatso cinder gate isn't broken but our UTs are that we need to fix11:11
geguileowhoami-rajat: correct, I think I figured out how to fix it11:25
whoami-rajatwow, that was quick!11:27
geguileowhoami-rajat: not quick, I've been at it a while... And it doesn't solve all the problems...11:29
geguileoso I have to keep digging11:29
whoami-rajatgeguileo, sure, let me know if i can help anywhere11:31
whoami-rajatthough I'm not very familiar with how alembic really works11:31
geguileowhoami-rajat: I'm not familiar with it either, that's why I'm stumbling a lot11:33
geguileowhoami-rajat: from what I can gather our current UT setup is a CF11:33
geguileowhoami-rajat: we have parts that read from an INI file that has hardcoded the sqlalchemy.url location11:34
geguileoour main context manager doesn't get properly configured...11:35
whoami-rajatgeguileo, i see similar hardcoded url in nova as well https://github.com/openstack/cinder/blob/a803c275c177fe005f3963a85b8688663101be85/cinder/db/alembic.ini#L3811:41
geguileowhoami-rajat: probably ok depending on how other things are handled...11:42
whoami-rajatsorry wrong url : https://github.com/openstack/nova/blob/master/nova/db/api/alembic.ini#L4211:43
whoami-rajatyep, just trying to eliminate places where our code is similar to nova11:43
geguileowhoami-rajat: ok, I have found a way to solve it11:56
geguileowhoami-rajat: at least for the migration tests...11:56
whoami-rajatso there are more places to be fixed?11:59
geguileowhoami-rajat: Ooooooooh, I think we've had this bug since FOREVER!!!!12:00
geguileorofl rofl rofl12:00
geguileoand here I was about to complain to stephenfin when it had nothing to do will his work...12:00
opendevreviewGorka Eguileor proposed openstack/cinder master: Improve resource listing efficiency  https://review.opendev.org/c/openstack/cinder/+/81966912:18
opendevreviewGorka Eguileor proposed openstack/cinder master: Fix Migrations UTs using wrong DB  https://review.opendev.org/c/openstack/cinder/+/87290712:18
geguileowhoami-rajat: ^12:18
geguileo3 hours to write 3 LOC... not very efficient12:19
whoami-rajatgeguileo, but the learning involved to get to those 3 LOC might be worth it :D13:51
opendevreviewSofia Enriquez proposed openstack/cinder master: WIP Create clone from luks inside qcow2 volume  https://review.opendev.org/c/openstack/cinder/+/87205213:59
whoami-rajatrosmaita, enriquetaso jungleboyj and other cores, can you take a look at this change? it's blocking a feature I've done on glance side https://review.opendev.org/c/openstack/cinder/+/86905114:15
rosmaitawhoami-rajat: ack, may be a little while though14:26
whoami-rajatsure, there's time but wanted to prioritize it (else i might miss FF)14:35
*** shoffmann is now known as Guest402215:56
*** shoffmann1 is now known as shoffmann15:56
*** chuanm1 is now known as chuanm16:42
opendevreviewEvelina Shames proposed openstack/cinder-tempest-plugin master: WIP - Test srbac on snapshots  https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/87298617:35
opendevreviewGorka Eguileor proposed openstack/cinder master: Improve resource listing efficiency  https://review.opendev.org/c/openstack/cinder/+/81966918:11
opendevreviewMerged openstack/os-brick master: Support separate privsep logging levels  https://review.opendev.org/c/openstack/os-brick/+/87183518:53

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