Tuesday, 2021-07-27

opendevreviewTakashi Kajinami proposed openstack/glance master: Replace deprecated assertDictContainsSubset  https://review.opendev.org/c/openstack/glance/+/80241100:36
brtknrhey all, anyone know why the glance API is returning 500? ++ functions:_upload_image:121              :   openstack --os-cloud=devstack-admin --os-region-name=RegionOne image create Fedora-Cloud-Base-33-1.2.x86_64 --public --container-format bare --disk-format qcow2 --property hw_rng_model=virtio08:19
brtknrHttpException: 502: Server Error for url: https://213.32.76.37/image/v2/images/240cc09b-faaa-434a-ad1a-029679875ede/file, Bad Gateway: response from an upstream server.: 502 Bad Gateway: The proxy server received an invalid: Apache/2.4.41 (Ubuntu) Server at 213.32.76.37 Port 8008:19
brtknrthis is on CI devstack08:19
abhishekkbrtknr, can you provide more information form glance api logs and which version of openstack you are using10:32
brtknrabhishekk: its master branch on CI: https://zuul.opendev.org/t/openstack/build/b6e10b26b2a84102b381d0fea59f51d610:33
abhishekklooking10:33
brtknrIts been happening 100% of the time as of 1 week10:33
abhishekkbrtknr, give me sometime, will have a look10:36
brtknrabhishekk: thanks10:37
abhishekkbrtknr, no problem10:37
abhishekkbrtknr, can you verify that it is working before this patch, https://review.opendev.org/c/openstack/devstack/+/788056 ?10:41
abhishekkone way to verify it is;10:44
brtknrabhishekk: https://zuul.opendev.org/t/openstack/builds?job_name=magnum-tempest-plugin-tests-api&project=openstack/magnum10:44
brtknrbased on that history, things stopped working 100% of the time after 19 July10:45
brtknrthat patch got merged on 17th July10:45
abhishekksubmit test patch in https://github.com/openstack/magnum-tempest-plugin/blob/master/.zuul.yaml#L1410:45
abhishekkadd GLANCE_ENABLE_QUOTAS=False there10:45
abhishekkand then make your https://review.opendev.org/c/openstack/magnum/+/802409/ depends on test patch10:46
brtknrhttps://review.opendev.org/c/openstack/magnum-tempest-plugin/+/80245310:58
brtknrabhishekk: ^ hopefully that will do the trick, thank you11:01
abhishekkbrtknr, looking, facing some network issues :/11:02
brtknrabhishekk: do you have a intuition for why this is causing problems?11:02
brtknrlooks quite benign to me11:02
abhishekkI think this is something related to registering quotas using limits11:03
akekane_brtknr, If this confirms the issue, kindly report it on launchpad as well11:05
brtknrglance's launchpad?11:06
akekane_devstack11:06
*** diablo_rojo__ is now known as diablo_rojo11:21
*** diablo_rojo is now known as Guest242411:22
*** Guest2424 is now known as diablo_rojo11:23
brtknrabove failed due to a Cinder issue12:26
brtknrwhy do all CI breakages come at the same time12:26
akekane_:/12:28
akekane_brtknr, if you have local resources, then you can setup devstack using GLANCE_ENABLE_QUOTAS=True and check it is failing or not12:29
akekane_unfortunately I don't have anything spare at the moment, but I can check it tomorrow (hopefully)12:30
brtknrThe cinder issue is related to v2 API removal12:30
brtknrakekane_:  i am already testing here: https://review.opendev.org/c/openstack/magnum/+/80241312:31
akekane_brtknr, ack12:31
*** akekane_ is now known as abhishekk12:31
opendevreviewAbhishek Kekane proposed openstack/glance master: Refactor gateway auth layer for member APIs  https://review.opendev.org/c/openstack/glance/+/80252513:32
opendevreviewAbhishek Kekane proposed openstack/glance master: PoC Move member policy checks to API layer  https://review.opendev.org/c/openstack/glance/+/80252613:32
abhishekkdansmith, may be once your get_image patch is final then I can reabse these (member patch) on top of that and open for reviews13:37
dansmithack, I'm looking at comments now13:37
abhishekkack13:46
brtknrabhishekk: It seems to have address the issue: https://review.opendev.org/c/openstack/magnum/+/80241313:57
brtknrThere is a circular dependency so I have hard coded some config there13:58
dansmithakekane_: on that test base, you created that file as v2/test_ where I had it in v2/api/test_ which is why I didn't see the conflict.. did you want me to subclass that and add my tests in your file, or import that in my file where I had it?14:06
*** akekane_ is now known as abhishekk14:19
abhishekki think former will be more specific way14:20
abhishekkdansmith, 14:20
abhishekkbrtknr, ack14:20
dansmithack14:20
abhishekkdansmith, do you have any idea about launchpad licensing terms ?14:54
abhishekkhttps://launchpad.net/glance-tempest-plugin14:54
dansmithheh, no idea.. fungi ^ ?14:55
fungilicensing? that "commercial subscription" thing?14:57
fungiif so, i've never seen that on any of our projects before14:57
dansmithI didn't realize anyone had to (or would) pay for launchpad14:57
fungithey have commercial options, mainly for companies wanting to use it for proprietary/internal thnigs14:58
fungithings14:58
fungii'm going to temporarily add myself to ~glance-release in lp so i can poke around in the project settings for glance-tempest-plugin14:59
fungilooks like that project was just now created?14:59
abhishekkyes15:00
abhishekkit wasn't there earlier15:00
fungithe project settings look like what i would expect, normally it only requires a commercial subscription if the project doesn't have an open source license. maybe it just adds a free corporate subscription on initial creation, or maybe you initially didn't select a license when creating the project and added it after?15:02
fungii would just ignore it since there is an open source license set on the project now15:03
abhishekkI set it to Apache from the start15:04
abhishekkfungi, ack15:04
fungialso don't forget, if you want bug integration with gerrit changes you need to drop the glance group from the openstack/glance-tempest-plugin project entry at https://opendev.org/openstack/project-config/src/branch/master/gerrit/projects.yaml#L3202-L3205 since right now it still expects bugs for openstack/glance-tempest-plugin to be filed against the glance project in lp15:06
abhishekkack15:06
abhishekkwill submit a change for the same15:07
* abhishekk going for dinner15:11
opendevreviewArnaud Morin proposed openstack/glance master: Figure out backend from URI  https://review.opendev.org/c/openstack/glance/+/80254615:31
dansmithabhishekk: are you thinking that the existing property protection functional tests somehow don't cover us here? It seems to me that they're doing lots of poking at the api with various policies set and different roles already16:24
whoami-rajatabhishekk, dansmith Hey, can you also take a look at another patch related to a cinder feature i did last release, it's the last patch to complete that feature https://review.opendev.org/c/openstack/glance_store/+/796577 16:25
abhishekkI think we might uncover something there 16:25
abhishekkwhoami-rajat, ack16:26
whoami-rajatthanks16:27
abhishekkwhoami-rajat, https://review.opendev.org/c/openstack/glance_store/+/796577/2/glance_store/_drivers/cinder.py16:29
abhishekkwhy removed attachment_delete call ?16:29
whoami-rajatabhishekk, i realized it is done anyway in the finally block on L#772 so removed it16:30
abhishekkwhoami-rajat, may be a note in commit message will be useful or you can submit a separate patch as enhancement for the same16:32
whoami-rajatabhishekk, i can update the commit message if it's ok?16:33
abhishekkwait a minute16:33
abhishekkanother question16:33
abhishekkwhat is difference between line 709 and 71516:33
opendevreviewRajat Dhasmana proposed openstack/glance_store master: WIP: Add multiattach handling  https://review.opendev.org/c/openstack/glance_store/+/78641016:33
whoami-rajatabhishekk, from cinder side, the format is only exposed in attachment get call, so we don't have in connection_info of attachment object before https://review.opendev.org/c/openstack/cinder/+/761152/12/cinder/api/v3/attachments.py16:36
whoami-rajati will add a note to state it clearly16:37
abhishekkyeah, that will be helpful16:38
*** diablo_rojo is now known as Guest245917:24
abhishekkwhoami-rajat, I am assuming you are going to push new patch so not reviewing current one17:26
whoami-rajatabhishekk, yes, i went for dinner, maybe i will submit tomorrow17:49
abhishekkack17:50
opendevreviewRajat Dhasmana proposed openstack/glance_store master: Glance cinder nfs: Block creating qcow2 volumes  https://review.opendev.org/c/openstack/glance_store/+/79657718:05
whoami-rajatabhishekk, ^^ updated18:05
abhishekkwhoami-rajat, ack18:06
* abhishekk signing out for the day18:28
opendevreviewDan Smith proposed openstack/glance master: Add api_patch() to SynchronousAPIBase  https://review.opendev.org/c/openstack/glance/+/80111918:34
opendevreviewDan Smith proposed openstack/glance master: Remove dead 403->404 code  https://review.opendev.org/c/openstack/glance/+/79969918:34
opendevreviewDan Smith proposed openstack/glance master: Refactor gateway get_repo auth layer  https://review.opendev.org/c/openstack/glance/+/78991318:34
opendevreviewDan Smith proposed openstack/glance master: Make image update check policy at API layer  https://review.opendev.org/c/openstack/glance/+/78991518:34
opendevreviewDan Smith proposed openstack/glance master: Check get_image(s) in the API  https://review.opendev.org/c/openstack/glance/+/79606718:34
opendevreviewDan Smith proposed openstack/glance master: POC: Add a member field to Image when appropriate  https://review.opendev.org/c/openstack/glance/+/79606618:34
opendevreviewDan Smith proposed openstack/glance master: POC: Check delete_image policy in the API  https://review.opendev.org/c/openstack/glance/+/79807318:34
opendevreviewDan Smith proposed openstack/glance master: POC: Check deactivate, reactivate policy in the API  https://review.opendev.org/c/openstack/glance/+/79826618:34

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