Friday, 2021-03-12

TheJuliamnaser: hmm... crash on initial boot on one of the VMs00:11
*** diurnalist has quit IRC00:18
TheJuliasubnode networking seems to be down in one of them00:19
*** ociuhandu has joined #openstack-ironic00:33
*** ociuhandu has quit IRC00:37
*** tosky has quit IRC00:51
*** rh-jelabarre has quit IRC00:52
*** xinliang has joined #openstack-ironic00:57
*** trandles has quit IRC01:04
openstackgerritJulia Kreger proposed openstack/ironic master: Mark multinode non-voting due to high failure rate  https://review.opendev.org/c/openstack/ironic/+/78013301:06
TheJuliamnaser: fyi^01:09
*** rloo has quit IRC01:10
*** diurnalist has joined #openstack-ironic01:12
*** diurnalist has quit IRC01:17
*** bfournie has joined #openstack-ironic01:24
*** rh-jelabarre has joined #openstack-ironic01:29
TheJulialbragstad: Mar 12 00:58:33.721482 ubuntu-focal-ovh-bhs1-0023448869 nova-compute[113633]: ERROR nova.virt.ironic.driver [None req-06ae772a-081a-4315-930f-74e7a5adb043 None None] An unknown error has occurred when trying to get the list of nodes from the Ironic inventory. Error: Expecting to find domain in user. The server could not comply with the request since it is either malformed or otherwise incorrect.01:38
TheJuliaThe client is assumed to be in error. (HTTP 400) (Request-ID: req-d8dd6bc3-a918-4694-a9d0-34b71f744f4a): keystoneauth1.exceptions.http.BadRequest: Expecting to find domain in user. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-d8dd6bc3-a918-4694-a9d0-34b71f744f4a)01:38
TheJulialbragstad: that appears to be coming out of keystone, so maybe I've got the wrong config for nova?01:42
*** k_mouza has joined #openstack-ironic02:07
*** k_mouza has quit IRC02:12
*** rh-jelabarre has quit IRC02:16
*** ociuhandu has joined #openstack-ironic02:21
lbragstadTheJulia oh - let me check quick02:23
TheJulialbragstad: so, nova uses openstacksdk to pull the nodes list. While it doesn't *appear* to be detonating deep inside of the keystoneauth1 library, it does seem to not like the config that is getting passed02:24
TheJulia*but* it looks like successful auths have passed a user-domain-id02:24
TheJuliaof default02:24
TheJuliaso I just edited the devstack patch02:25
TheJuliatriggering recheck02:25
lbragstadTheJulia yeah - its the missing user domain ID02:26
*** ociuhandu has quit IRC02:26
lbragstadi just left a comment02:26
lbragstadbut - domains are containers for projects and users02:26
TheJuliaThats what I thought02:27
lbragstadbut keystone doesn't guarantee project and users to have unique names across domains02:27
TheJuliaso its a keystone constraint ultimately?02:27
lbragstadyes02:27
TheJuliaokay02:27
lbragstadif you supply a user name for authentication - you also need to supply the domain of the user, so keystone can namespace it02:27
lbragstadthe same constraint applies to projects02:27
TheJuliaexcept of course, if there is any hint of a project in the request, system-scope gets ignored02:27
lbragstadbut - if you use IDs, for either projects or users, you don't need to supply the domain since they're globally unique02:28
TheJuliawhich makes sense02:28
TheJuliainteresting02:28
lbragstadwell - yeah, that's confusing02:28
TheJuliavery much so02:28
lbragstadso username + user_domain_id == user_id02:28
lbragstadproject_name + project_domain_id == project_id02:28
TheJuliawell, we'll see since user domain id got preserved in base -> patch 302:30
TheJulia1 hour to go02:30
* TheJulia goes and foods the corgi overlord02:30
*** tzumainn has quit IRC02:38
*** diurnalist has joined #openstack-ironic02:46
*** diurnalist has quit IRC02:51
TheJulialbragstad: good news \o/ https://8211ecf8fed6b0b51c88-2d35d76e65f9afb322cf96e46e6932b6.ssl.cf2.rackcdn.com/778957/12/check/ironic-inspector-tempest-secure-rbac/6169b47/controller/logs/screen-n-cpu.txt03:04
TheJulia*looks* like we've got glance issues now, but that can be for tomorrow03:04
*** ianychoi_ has joined #openstack-ironic03:27
iurygregory+W in https://review.opendev.org/c/openstack/ironic/+/780133 to unblock (since we have the random failures =( )03:30
iurygregorynow time to sleep o/03:30
*** ianychoi__ has quit IRC03:30
*** jamesdenton has quit IRC03:33
*** jamesdenton has joined #openstack-ironic03:33
*** xinliang has quit IRC03:47
*** rcernin has quit IRC03:48
*** diurnalist has joined #openstack-ironic03:58
*** diurnalist has quit IRC04:03
*** rcernin has joined #openstack-ironic04:15
*** rcernin has quit IRC04:19
*** rcernin has joined #openstack-ironic04:19
*** lifeless has quit IRC04:42
*** k_mouza has joined #openstack-ironic04:45
*** k_mouza has quit IRC04:50
openstackgerritMerged openstack/ironic master: Mark multinode non-voting due to high failure rate  https://review.opendev.org/c/openstack/ironic/+/78013305:16
*** stevebaker has quit IRC05:18
*** stevebaker has joined #openstack-ironic05:23
*** ociuhandu has joined #openstack-ironic05:58
*** ociuhandu has quit IRC06:02
*** AndreyK has quit IRC06:33
*** diurnalist has joined #openstack-ironic06:35
*** rcernin has quit IRC06:47
*** lifeless has joined #openstack-ironic06:49
*** k_mouza has joined #openstack-ironic06:54
*** rcernin has joined #openstack-ironic06:58
*** k_mouza has quit IRC06:59
*** ociuhandu has joined #openstack-ironic07:03
*** diurnalist has quit IRC07:03
*** ociuhandu has quit IRC07:07
openstackgerritDhuldev Valekar proposed x/sushy-oem-idrac master: Add resources to put iDRAC in known good state  https://review.opendev.org/c/x/sushy-oem-idrac/+/72159607:22
openstackgerritDhuldev Valekar proposed x/sushy-oem-idrac master: Add resources to put iDRAC in known good state  https://review.opendev.org/c/x/sushy-oem-idrac/+/72159607:32
*** rcernin has quit IRC07:33
*** rcernin has joined #openstack-ironic07:34
arne_wiebalckGood morning, ironic!07:36
*** rcernin has quit IRC07:40
*** rcernin has joined #openstack-ironic07:42
*** ociuhandu has joined #openstack-ironic07:45
*** ociuhandu has quit IRC07:45
*** rcernin has quit IRC07:47
*** diurnalist has joined #openstack-ironic07:50
*** diurnalist has quit IRC07:55
*** jamesdenton has quit IRC07:55
*** jamesdenton has joined #openstack-ironic07:56
*** ociuhandu has joined #openstack-ironic07:57
*** ociuhandu has quit IRC07:57
*** ociuhandu has joined #openstack-ironic07:58
*** gryf is now known as gryf_07:58
*** _gryf is now known as gryf07:59
*** rcernin has joined #openstack-ironic08:06
*** zzzeek has quit IRC08:07
*** zzzeek has joined #openstack-ironic08:11
*** gyee has quit IRC08:11
*** rcernin has quit IRC08:11
openstackgerritAija Jauntēva proposed x/sushy-oem-idrac master: Update export system configuration  https://review.opendev.org/c/x/sushy-oem-idrac/+/75942508:15
openstackgerritAija Jauntēva proposed x/sushy-oem-idrac master: Add import system configuration  https://review.opendev.org/c/x/sushy-oem-idrac/+/77061408:15
*** rcernin has joined #openstack-ironic08:23
openstackgerritAija Jauntēva proposed x/sushy-oem-idrac master: Add import system configuration  https://review.opendev.org/c/x/sushy-oem-idrac/+/77061408:26
*** ociuhandu has quit IRC08:26
*** ociuhandu has joined #openstack-ironic08:27
*** rcernin has quit IRC08:28
arne_wiebalckdtantsur|afk: Are there plans to tag/release ironic-lib any time soon, on stable/ussuri and upwards? Having the "clean EBRs" patch in a release would spare me rebuilding the RPM downstream ... and IIRC others were interested in this specific patch as well (e.g. kaifeng).08:31
* arne_wiebalck is obviously unclear on the mechanics08:31
*** ianychoi_ has quit IRC08:32
*** rcernin has joined #openstack-ironic08:33
*** rcernin has quit IRC08:35
*** ociuhandu has quit IRC08:50
*** tosky has joined #openstack-ironic08:51
openstackgerritDevendra Kulkarni proposed x/sushy-oem-idrac master: Update virtual media boot related constants  https://review.opendev.org/c/x/sushy-oem-idrac/+/77384808:53
*** diurnalist has joined #openstack-ironic09:01
*** lucasagomes has joined #openstack-ironic09:03
*** ociuhandu has joined #openstack-ironic09:06
*** derekh has joined #openstack-ironic09:07
*** diurnalist has quit IRC09:07
*** ociuhandu has quit IRC09:16
*** stevebaker has quit IRC09:17
*** ociuhandu has joined #openstack-ironic09:23
jandersgood morning arne_wiebalck o/09:43
openstackgerritsonali bhausaheb borkar proposed x/sushy-oem-idrac master: Add export system configuration  https://review.opendev.org/c/x/sushy-oem-idrac/+/71032709:46
*** anuradha1904 has joined #openstack-ironic09:46
*** dtantsur|afk is now known as dtantsur09:51
dtantsurmorning ironic09:51
jandershey dtantsur :)09:51
jandersHappy Friday09:51
dtantsurarne_wiebalck: master has been released, feel welcome to request stable releases09:51
dtantsuris anyone up for SPUC today?09:51
*** diurnalist has joined #openstack-ironic09:54
*** k_mouza has joined #openstack-ironic09:56
jandersdtantsur sure!09:58
*** diurnalist has quit IRC09:59
jandersarne_wiebalck?10:00
jandersajya?10:01
arne_wiebalckdtantsur: I hereby request! :-D10:02
arne_wiebalckdtantsur: srsly, how do I request?10:02
dtantsurarne_wiebalck: https://docs.openstack.org/ironic/latest/contributor/releasing.html#how-to-propose-a-release10:03
arne_wiebalckSPUC link?10:03
dtantsurarne_wiebalck: https://bluejeans.com/772893798/10:03
openstackgerritsonali bhausaheb borkar proposed x/sushy-oem-idrac master: Add export system configuration  https://review.opendev.org/c/x/sushy-oem-idrac/+/71032710:15
openstackgerritsonali bhausaheb borkar proposed x/sushy-oem-idrac master: Add export system configuration  https://review.opendev.org/c/x/sushy-oem-idrac/+/71032710:29
jandersback to... Android app development - that's my "other projects" idea10:43
dtantsurI always have https://github.com/dtantsur/rust-osauth/ to hack on :)10:45
openstackgerritMoshiur Rahman proposed openstack/ironic-python-agent-builder master: Fix: IPA image building with OpenSuse.  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/77872610:47
openstackgerritRotan proposed openstack/ironic-inspector master: There is a MismatchError when the test_without_root_disk function has been tested.  https://review.opendev.org/c/openstack/ironic-inspector/+/78021910:50
openstackgerritRotan proposed openstack/ironic-inspector master: Fix the MismatchError  https://review.opendev.org/c/openstack/ironic-inspector/+/78021910:54
jandersdtantsur nice!10:55
*** ociuhandu_ has joined #openstack-ironic11:18
*** ociuhandu has quit IRC11:21
*** ociuhandu_ has quit IRC11:22
openstackgerritsonali bhausaheb borkar proposed x/sushy-oem-idrac master: Add get PXE port macs for BIOS mode  https://review.opendev.org/c/x/sushy-oem-idrac/+/77090411:32
openstackgerritAija Jauntēva proposed openstack/ironic master: Add Redfish RAID interface to idrac HW type  https://review.opendev.org/c/openstack/ironic/+/77443311:32
iurygregorygood morning arne_wiebalck janders dtantsur and Ironic o/ happy friday!11:40
dtantsuro/11:42
jandersgood morning iurygregory o/11:42
jandersHappy Friday11:42
*** jamesdenton has quit IRC11:50
*** jamesdenton has joined #openstack-ironic11:52
arne_wiebalckhey iurygregory o/11:53
arne_wiebalckdtantsur: do we have a policy to request stable releases without "holes", i.e. if I request one for ussuri (which then has a certain fix), should I also request one for victoria, so that the newer release has at least the same fixes?11:56
iurygregoryarne_wiebalck, afaik we don't have this =)12:01
iurygregorybut if you can request the release for victoria also it would be good =)12:01
iurygregory(I would say it's ok to have in the same patch since you will release the same project... but I would check with release team)12:02
arne_wiebalckiurygregory: I think it would make sense to not have fixes only in older releases as this could lead to some surprises12:03
iurygregoryyeah12:04
*** ociuhandu has joined #openstack-ironic12:09
*** ociuhandu has quit IRC12:15
openstackgerritDevendra Kulkarni proposed x/sushy-oem-idrac master: Updated RETRY_COUNT for virtual media boot  https://review.opendev.org/c/x/sushy-oem-idrac/+/78024012:15
dtantsurarne_wiebalck: not necessary, but desired12:16
openstackgerritDevendra Kulkarni proposed x/sushy-oem-idrac master: Updated RETRY_COUNT for virtual media boot  https://review.opendev.org/c/x/sushy-oem-idrac/+/78024012:18
janderssee you on Monday Ironic12:18
jandershave a great weekend everyone o/12:18
dtantsurenjoy your weekend12:18
iurygregorybye janders o/12:19
iurygregoryI'm surprised by https://review.opendev.org/c/x/sushy-oem-idrac/+/780240 O.o (I had the feeling we did a workaround in Ironic because of this.. - retry in insert media..)12:21
openstackgerritDevendra Kulkarni proposed x/sushy-oem-idrac master: Updated RETRY_COUNT for virtual media boot  https://review.opendev.org/c/x/sushy-oem-idrac/+/78024212:25
arne_wiebalckdtantsur: thanks, I requested releases for both now12:47
*** tkajinam has quit IRC12:54
*** rh-jelabarre has joined #openstack-ironic12:55
TheJuliagood morning13:13
dtantsurmorning TheJulia13:16
dtantsurthank you arne_wiebalck, I'll check them a bit later13:16
*** ociuhandu has joined #openstack-ironic13:28
openstackgerritMoshiur Rahman proposed openstack/ironic-python-agent-builder master: Fix: IPA image building with OpenSuse.  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/77872613:35
openstackgerritAija Jauntēva proposed x/sushy-oem-idrac master: Add real-time status check to Lifecycle service  https://review.opendev.org/c/x/sushy-oem-idrac/+/77622413:36
openstackgerritsonali bhausaheb borkar proposed x/sushy-oem-idrac master: Add export system configuration  https://review.opendev.org/c/x/sushy-oem-idrac/+/71032713:48
openstackgerritJulia Kreger proposed openstack/ironic stable/ussuri: Stable-CI: Disable ansible testing on ussuri  https://review.opendev.org/c/openstack/ironic/+/78006214:06
TheJulia^^ iurygregory, dtantsur, also marks the multinode non-voting due to limestone issues14:07
dtantsurle sigh14:07
TheJuliayup14:07
dtantsurwhat's wrong with limestone?14:07
*** diurnalist has joined #openstack-ironic14:07
TheJuliabasically on every job I've looked at, the subnode can't get packets through on vxlan to the controller. We think it might be MTU, but we're going to need to actually get into a failed setup and dig around/try to reproduce it14:07
TheJuliafungi is happy to setup the auto-hold once someone has time to look at it.14:08
*** rloo has joined #openstack-ironic14:09
fungiyep14:09
fungijust let me know14:09
TheJulia<314:09
* TheJulia sighs with gerrit's ui14:12
*** diurnalist has quit IRC14:12
openstackgerritAija Jauntēva proposed x/sushy-oem-idrac master: Add export system configuration  https://review.opendev.org/c/x/sushy-oem-idrac/+/71032714:12
TheJulialbragstad: I see our issue with tempest. I guess we can't see the images that got uploaded... when lib/tempest tries to run.  Is that right?14:15
*** jamesdenton has quit IRC14:24
*** jamesdenton has joined #openstack-ironic14:24
*** diurnalist has joined #openstack-ironic14:33
openstackgerritMerged x/sushy-oem-idrac master: Add export system configuration  https://review.opendev.org/c/x/sushy-oem-idrac/+/71032714:35
*** diurnalist has quit IRC14:38
lbragstadTheJulia you can't see the images? is glance in enforcing mode?14:38
lbragstador enforcing secure rbac/14:38
TheJuliaOnly ironic14:39
TheJuliaI think it is because we're uploading as system-admin14:39
lbragstadoh - you're uploading the image as a system-admin...14:40
TheJuliayup, I can tone that back on the command line, but I guess these are the quarks we need to find14:41
TheJuliaThat way it should pickup admin project instead14:41
lbragstadok - i don't think glance scrubs the owner id from system-scoped tokens14:41
lbragstadyeah - you might be able to pass in the owner on the image and set it to a "project" as a workaround for now14:41
TheJuliainteresting14:42
*** tzumainn has joined #openstack-ironic14:42
TheJuliaThat is going to be a stumbling point for many I think14:42
lbragstadcc dansmith - something to think about14:42
dansmithI'm not sure I get the problem14:43
dansmithyou create a private image and it's only visible to you yeah?14:43
TheJuliaI don't know off the top of my head, I thought they were public in the config, but I guess not14:44
* TheJulia is juggling multiple things at the moment14:44
lbragstadiiuc - the problem is that glance still allows system-admins to create images14:45
lbragstadbut the owner attribute/project attribute isn't set properly?14:45
dansmithwhy wouldn't it be?14:45
lbragstadso - project-admin (who are still technically system-administrators in glance) can't view the image added by a system-scoped admin user14:45
TheJuliacould be, could also just be wrong14:46
dansmithdoes a system-scoped admin not have a project_id or something?14:46
TheJuliait does not14:46
TheJuliaany project_id presence makes it an project scoped request14:47
dansmithoh, I can see that breaking lots of stuff14:47
dansmithI mean, all over14:47
dansmithwhen anyone goes to create a resource and tries to set the field of an object that requires a project_id, what do they get?14:47
dansmithI mean, like nova instances have a project_id and it's fairly important :)14:47
lbragstadi think i just confirmed that - http://paste.openstack.org/raw/803510/14:48
openstackgerritDmitry Tantsur proposed openstack/ironic master: Trivial: add a missing argument to an exception  https://review.opendev.org/c/openstack/ironic/+/78027014:48
dansmithlbragstad: so, I'm not really sure what to say.. that seems like it's going to be a problem everywhere right?14:49
dansmithother than just not letting you create anything as a system-admin, I'm not sure what to do about that14:49
dansmithif a resource requires a project_id, then a system admin shouldn't be able to create those things yeah?14:50
dansmiththat's a little more complicated because lots of actions create resources with a project id, like instance actions if you go to shut down an instance, etc14:50
lbragstadunless they have an alternate way of passing that in14:50
lbragstadlike this,14:50
lbragstadhttp://paste.openstack.org/raw/803511/14:51
lbragstadso - as a system-admin, i can explicitly set the project_id for a private image14:52
dansmithbut, you don't want every project to have to start taking a project_id in every API right?14:52
TheJuliaI guess the lack of the owner is also why tempest fails on install because it doesn't see images that were uploaded at all14:52
lbragstaddansmith yeah - i don't think so14:52
dansmithlbragstad: so for nova, system-admin will not be able to create instances, or really do anything with them,14:52
dansmithand glance just needs to fail if you don't provide the actual owner on an image create14:53
dansmiths/fail/refuse/14:53
lbragstadthat seems reasonable14:53
lbragstadif the service requires a project ID, but doesn't have a reasonable thing to use, then giving a 400 seems like the right thing14:53
dansmithlbragstad: I guess the alternative is to have a config option for "default_project" which (shudder) is what we use if you show up with a system token and we need a project_id14:53
*** rloo has quit IRC14:54
lbragstadyeah - that's an option14:54
dansmithlbragstad: that's likely going to be a death by a thousand cuts kind of thing, I expect14:54
*** rloo has joined #openstack-ironic14:54
dansmithyou might get pretty far down the rabbit hole before you break14:54
lbragstadagree - i think it'll just prolong clients from using the right behavior14:54
dansmithlike you've shut down the instance and are going to record the action in the db, and.. oopsie, well, now I have to report failure, but I've already done stuff14:54
TheJuliare: just failing if not supplied or available, makes tons of sense. That is the path ironic is ending up in to an extent with physical node allocations, except our views allow for pure system level use/interaction/allocations too. *joy*14:56
lbragstadi know we said we weren't going to implement system-scope support for glance in Wallaby, but maybe a patch that does determines if glance is dealing with a system-scoped token is worth it to fail early14:56
TheJulia+100000000014:56
TheJuliafail if we can't right now because that seems like the best course of action to provide the feedback loop14:56
TheJuliaas opposed to ending up with support cases down the road14:57
dansmithwell, I'd phrase it differently14:57
dansmithsounds like we've kinda created a regression that needs a mitigation :)14:57
TheJuliaIt all comes down to perspective :)14:57
dansmithperspective matters in rc phase :)14:58
TheJuliaBut, it seems kind of reasonable to me that an system-admin shouldn't be able to upload an image unless there is a defined project_id they are doing it on behalf of. It is not a regression that they don't ahve a project id, it is intentional in order to create the necessary separation and be able to apply the delineating logic to enable rbac14:59
dansmithlbragstad: have you tried doing some nova stuff with a system token? might want to see if it needs the same treatment14:59
dansmithTheJulia: well, I'm calling it a regression because glance claims to support some of this experimentally in wallaby, but I'm mostly just trying to help lbragstad phrase this in a way that doesn't have to wait until X :)15:00
TheJuliaAhh15:00
TheJuliaYeah, still seems like a reasonable change to merge in before or even after release since it is providing a guard rail15:01
lbragstadhttp://paste.openstack.org/raw/803513/15:02
lbragstadnova ^ isn't enforcing scope15:02
lbragstadand that's a system-scoped token15:03
lbragstadwait... hold on15:03
dansmithalso,15:04
dansmithhow would nova ask neutron for networks that it can attach, and then ports and things need ownership too15:04
lbragstadERROR nova.api.openstack.wsgi ValueError: Field `project_id' cannot be None15:06
dansmithlikely because our objects are very strict15:06
lbragstadi had an environment variable for OS_PROJECT_ANME set, even though i was trying to use --os-cloud devstack-system-admin15:06
lbragstadthat error returns a 50015:06
dansmithyeah, so the API should prevent us getting that far and return a 40015:07
lbragstadyeah, agreed15:07
dansmithI guess that's already a bug because I could have shot a request at the api manually with no project and hit that eh?15:07
dansmithi.e. not a regression in wallaby15:07
lbragstadhttp://paste.openstack.org/raw/803514/15:08
*** anuradha1904 has quit IRC15:08
lbragstadcorrect - and nova implemented this stuff in victoria i think15:08
lbragstadso - this particular 500 using system-scoped tokens has been around for at least a cycle15:08
dansmithbut is this a result of that? probably not I'd guess15:08
lbragstadwell - i need to find where nova gets the project id from15:09
lbragstadif it relies on the context object, then this would be been introduced when nova started adopting system-scoped tokens15:09
lbragstads/adopting/adding support for/15:10
dansmithokay15:10
lbragstadsince ctx.project_id = None when a token is system-scoped15:10
lbragstadunless nova has another method for supplying a project ID that i'm not aware of?15:10
dansmithokay so maybe we had some inbuilt protection from that before oslo changes?15:11
lbragstadwhich oslo changes?15:12
*** k_mouza has quit IRC15:13
dansmithI assume there's some stuff in oslo_policy or context that parses the request and token and such and fills those fields based on you saying this would have come in during the system-scope stuff15:13
*** k_mouza has joined #openstack-ironic15:14
dansmithI thought you mean that project_id=None happens when we get a system-scoped token and create a context for it, which I assume is not nova code15:14
dansmithbut obviously I don't know how this works :)15:14
*** diurnalist has joined #openstack-ironic15:15
lbragstadoh - i think i'm following no15:15
lbragstadnow*15:15
lbragstadyeah - nova implements this in middleware using oslo.context15:15
lbragstadwhich pulls the token attributes from ksm based on the headers it sets in the request environment15:16
lbragstadthe context object is created from those headers and then stuff back into the request environment for the nova api to fetch later15:16
dansmithyeah15:16
lbragstadfwiw - i just tested with a domain-admin and the same 500 exists15:16
dansmithso is nova doing req.get('project', None) or passing req to oslo something?15:17
lbragstadhttps://github.com/openstack/nova/blob/master/nova/api/auth.py#L9015:18
dansmithyeah, that's what I was expecting :)15:18
lbragstadso - iiuc, nova api code is expecting to see ctx.project_id to use it for ownership, and it's failing15:19
dansmithoh, that's nova_context not oslo_context (yet)15:19
lbragstadi think nova subclasses the oslo.context request context object15:19
dansmithyeah15:19
lbragstadi don't see a from_environ subclass in nova's implementation https://github.com/openstack/nova/blob/master/nova/context.py15:20
dansmithack, so,15:21
dansmithwhat I was getting at before is,15:21
lbragstadfull nova log http://paste.openstack.org/raw/803516/15:21
dansmithI would have expected that early on before system-scope, project_id was always required, so something in that from_environ() would object if it didn't find it, and that was preventing us from ever getting this prior to the system-scope stuff?15:22
lbragstadyeah - potentially15:23
lbragstadfwiw - that log was using a domain-scoped token, which have been around for years15:23
lbragstadsystem-scoped tokens are just susceptible to the same problem15:24
dansmithyeah, so that's nova's RPC layer being more strict than the REST one15:24
* dansmith takes pride15:24
dansmithack15:24
lbragstadshould the api layer be handling that exception and returning a 400?15:24
lbragstador - an alternative would be to short-circuit earlier in the API layer so that validation it's doing is consistent with the RPC layer?15:25
dansmithno, I think it probably needs to explicitly check the project_id earlier and never get that far15:25
lbragstadyeah, ok15:25
dansmiththis isn't even getting to RPC, it's trying to write to the DB, but the same object is used for that before it makes the rpc call15:26
lbragstadah15:26
*** ociuhandu has quit IRC15:32
*** eagereagle1 has quit IRC15:43
*** ociuhandu has joined #openstack-ironic15:47
*** ociuhandu has quit IRC15:53
*** k_mouza has quit IRC15:58
*** ociuhandu has joined #openstack-ironic16:07
openstackgerritAija Jauntēva proposed x/sushy-oem-idrac master: Add import system configuration  https://review.opendev.org/c/x/sushy-oem-idrac/+/77061416:11
*** k_mouza has joined #openstack-ironic16:11
*** dhellmann has quit IRC16:12
*** dhellmann has joined #openstack-ironic16:13
arne_wiebalckdtantsur: from reading the "how to release" docs I think there is not much left to do for me for the stable ironic-lib releases than to wait for good things to happen ... or do I miss anything?16:14
dtantsurthis is correct16:14
arne_wiebalckdtantsur: nice, thanks!16:16
*** ociuhandu has quit IRC16:17
TheJuliaarne_wiebalck: thanks!16:18
openstackgerritOpenStack Release Bot proposed openstack/sushy-cli stable/wallaby: Update .gitreview for stable/wallaby  https://review.opendev.org/c/openstack/sushy-cli/+/78028916:32
openstackgerritOpenStack Release Bot proposed openstack/sushy-cli stable/wallaby: Update TOX_CONSTRAINTS_FILE for stable/wallaby  https://review.opendev.org/c/openstack/sushy-cli/+/78029016:32
openstackgerritOpenStack Release Bot proposed openstack/sushy-cli master: Update master for stable/wallaby  https://review.opendev.org/c/openstack/sushy-cli/+/78029116:32
openstackgerritOpenStack Release Bot proposed openstack/sushy-cli master: Add Python3 xena unit tests  https://review.opendev.org/c/openstack/sushy-cli/+/78029216:33
openstackgerritAija Jauntēva proposed x/sushy-oem-idrac master: Update export system configuration  https://review.opendev.org/c/x/sushy-oem-idrac/+/75942516:38
openstackgerritOpenStack Release Bot proposed openstack/python-ironic-inspector-client stable/wallaby: Update .gitreview for stable/wallaby  https://review.opendev.org/c/openstack/python-ironic-inspector-client/+/78029416:39
openstackgerritOpenStack Release Bot proposed openstack/python-ironic-inspector-client stable/wallaby: Update TOX_CONSTRAINTS_FILE for stable/wallaby  https://review.opendev.org/c/openstack/python-ironic-inspector-client/+/78029516:39
openstackgerritOpenStack Release Bot proposed openstack/python-ironic-inspector-client master: Update master for stable/wallaby  https://review.opendev.org/c/openstack/python-ironic-inspector-client/+/78029616:40
openstackgerritOpenStack Release Bot proposed openstack/python-ironic-inspector-client master: Add Python3 xena unit tests  https://review.opendev.org/c/openstack/python-ironic-inspector-client/+/78029816:40
openstackgerritJulia Kreger proposed openstack/ironic master: Allocation support for project scoped RBAC  https://review.opendev.org/c/openstack/ironic/+/77834016:47
openstackgerritJulia Kreger proposed openstack/ironic master: WIP Scoped RBAC Devstack Plugin support  https://review.opendev.org/c/openstack/ironic/+/77895716:47
TheJulianow to see *if* tempest will install :)16:48
JayFanyone coming to spuc in 10m?16:49
dtantsurI can if anyone is interested16:50
openstackgerritAija Jauntēva proposed x/sushy-oem-idrac master: Add get PXE port macs for BIOS mode  https://review.opendev.org/c/x/sushy-oem-idrac/+/77090416:50
openstackgerritDmitry Tantsur proposed openstack/ironic master: Trivial: add a missing argument to an exception  https://review.opendev.org/c/openstack/ironic/+/78027016:50
JayFI'll be there :)16:50
TheJuliayeah, I can join in16:52
*** lucasagomes has quit IRC16:57
TheJuliaspuc?17:00
dtantsuromw17:01
openstackgerritJulia Kreger proposed openstack/ironic master: Deprecate legacy policies, update project scoped docs  https://review.opendev.org/c/openstack/ironic/+/77876717:09
openstackgerritRichard G. Pioso proposed x/sushy-oem-idrac master: Add get PXE port MACs for BIOS mode  https://review.opendev.org/c/x/sushy-oem-idrac/+/77090417:09
*** ociuhandu has joined #openstack-ironic17:11
openstackgerritJulia Kreger proposed openstack/ironic master: Increment API version for Secure RBAC  https://review.opendev.org/c/openstack/ironic/+/77894717:11
openstackgerritMerged x/sushy-oem-idrac master: Add get PXE port MACs for BIOS mode  https://review.opendev.org/c/x/sushy-oem-idrac/+/77090417:38
*** ociuhandu has quit IRC17:43
*** ociuhandu has joined #openstack-ironic17:44
*** k_mouza has quit IRC17:48
*** ociuhandu has quit IRC17:49
openstackgerritAija Jauntēva proposed x/sushy-oem-idrac master: Add resources to put iDRAC in known good state  https://review.opendev.org/c/x/sushy-oem-idrac/+/72159617:53
*** gyee has joined #openstack-ironic17:59
dtantsurTheJulia, do we need a release with https://opendev.org/openstack/sushy/commit/f52aac46cd0a77f9282591f4d888a241b6eb0a39 now? we're near the freeze, I guess we'll need an exception18:04
TheJuliaohh yes18:05
*** derekh has quit IRC18:07
*** dtantsur is now known as dtantsur|afk18:10
dtantsur|afko/18:10
*** ociuhandu has joined #openstack-ironic18:10
TheJulialbragstad: oh, I think I see what is going on with glance. We're enforcing scope in the job config and then tempest tries to check the image and still can't see them because it is apparently trying something $else18:14
openstackgerritJulia Kreger proposed openstack/ironic master: WIP Scoped RBAC Devstack Plugin support  https://review.opendev.org/c/openstack/ironic/+/77895718:14
TheJuliaoh The service catalog is empty.18:23
*** ociuhandu has quit IRC18:41
*** ociuhandu has joined #openstack-ironic18:43
*** diurnalist has quit IRC18:43
*** ociuhandu has quit IRC18:47
*** diurnalist has joined #openstack-ironic18:59
*** ociuhandu has joined #openstack-ironic19:12
*** ociuhandu has quit IRC19:17
TheJuliaoh, its because we unset env vars for project19:18
openstackgerritJulia Kreger proposed openstack/ironic master: WIP Scoped RBAC Devstack Plugin support  https://review.opendev.org/c/openstack/ironic/+/77895719:25
*** jamesdenton has quit IRC19:26
*** jamesdenton has joined #openstack-ironic19:26
*** zzzeek has quit IRC19:45
*** ociuhandu has joined #openstack-ironic19:46
*** zzzeek has joined #openstack-ironic19:46
*** mraineri has joined #openstack-ironic19:47
*** k_mouza has joined #openstack-ironic19:49
mraineriTheJulia: I have a topic I'd like to bring up at a future meeting; the Redfish Forum has a public facing forum to take feedback, answer questions, etc. I'd like to socialize it so it can be used by anyone to get in touch with folks in the DMTF.19:54
*** k_mouza has quit IRC19:54
TheJuliamraineri: that or possibly the BareMetal SIG could work?19:55
mraineriYeah, I think that should work19:55
rpiosomraineri, TheJulia: How about both?19:56
mraineriThat works too19:56
TheJuliaThis could also work!19:56
rpiosoTheJulia: May we add it to Monday's agenda?19:57
TheJuliasure20:00
*** ociuhandu has quit IRC20:01
*** ociuhandu has joined #openstack-ironic20:01
zer0c00lIf i have to add a new library for requirements.txt , is there a process/tool?20:02
rpiosoTheJulia: Thank you :-)20:02
zer0c00lthe library in question is pycdlib - LGPLv2 (according to docs, this license is fine)20:02
zer0c00lhttps://pypi.org/project/pycdlib/20:02
zer0c00lAt the top requirements.txt says - the order of things in there matter.20:03
iurygregoryzer0c00l, you need to check if the library is in openstack/requirements (if it's not you need to add there before adding in Ironic)20:07
zer0c00liurygregory: thanks20:08
zer0c00liurygregory: https://github.com/openstack/requirements/blob/master/global-requirements.txt?20:08
iurygregoryzer0c00l, https://docs.openstack.org/project-team-guide/dependency-management.html#adding-a-new-dependency this doc would explain the process20:09
iurygregoryyeah20:10
openstackgerritMerged openstack/ironic master: Allow users to configure priority for {create,delete}_configuration  https://review.opendev.org/c/openstack/ironic/+/77814520:16
rpiosoTheJulia: May we remove the stuffs presently on the Ironic Project Team Meeting agenda? I believe it's from this past Monday's meeting.20:25
openstackgerritMerged openstack/networking-generic-switch stable/train: Remove grenade jobs from old stable branches  https://review.opendev.org/c/openstack/networking-generic-switch/+/77333520:26
iurygregorymnaser, now you can celebrate =)20:46
*** ociuhandu has quit IRC20:47
*** ociuhandu has joined #openstack-ironic20:48
rpiosoTheJulia: I removed the old agenda content and mraineri added a discussion topic about the  Redfish public forum.20:50
iurygregoryquestion about redfish, it's possible that /redfish/v1/Systems will return 404 or 0 members? =)20:51
*** ociuhandu has quit IRC20:53
mraineriDepending on the type of product, it's very possible20:54
mraineriThings like rack PDUs that implement Redfish for management would return 404 for /redfish/v1/Systems20:54
mraineriComposable infrastructures might start off with an empty collection, members are populated when clients request systems to be created20:54
mraineriIf you're focused on more of a general server, then no, I would not expect that to happen20:56
iurygregorytks =)20:57
*** zzzeek has quit IRC21:04
*** zzzeek has joined #openstack-ironic21:05
JayFzer0c00l: there already exists code in Ironic to create ISO images21:14
JayFzer0c00l: I wonder if it21:14
JayF**if it's possible to use that code as a library instead of introducing a new lib21:14
zer0c00lJayF: can you give me pointers towards it?21:15
zer0c00lAFAIK it directly uses genisoimage (utils.execute)21:16
JayFprobably somewhere in virtual media code21:16
JayFyeah; if that's what it does why shouldn't you do the same?21:16
zer0c00lthe code i am writing actually "reads" iso image21:16
rpiosomraineri: What would the value of the Systems property in the service root resource be for those types of products?21:16
JayFzer0c00l: oooh21:16
JayFzer0c00l: in that case, perhaps ignore my input? lol. I don't think we do much ISO *reading*21:16
zer0c00lbasically i am looking at https://github.com/clalancette/pycdlib21:17
JayFI will warn you not to underestimate the amounto f effort it can take to get something added to g-r21:17
zer0c00llooks well maintained and LGPLv221:17
zer0c00lgosh i know21:17
zer0c00l:(21:17
zer0c00li don't know if i have a choice21:17
rpiosomraineri: /redfish/v1 > Systems21:17
JayFWhat is the "x" for this? Why do you want to read iso images?21:18
*** ociuhandu has joined #openstack-ironic21:19
mrainerirpioso: In the cases where a product doesn't support /redfish/v1/Systems, I would expect the "Systems" property in service root to not be present21:21
mraineriGenerally speaking, properties are not implemented if the functionality doesn't exist21:21
rpiosomraineri: Thank you :-)21:21
rpiosoiurygregory: ^^^21:22
iurygregoryoh I see!21:22
iurygregoryso redfish/v1/ wouldn't have the info sor redfish/v1/Systems21:23
mraineriBingo!21:23
rpiosoiurygregory: Generally for things like rack PDUs :)21:23
zer0c00lhttps://docs.openstack.org/project-team-guide/dependency-management.html#adding-a-new-dependency is this generate-constraints command right?21:23
*** ociuhandu has quit IRC21:23
zer0c00lanyone ran this recently?21:23
iurygregoryrpioso, yeah, I'm adding some tests for gofish client in metal3 since we will check if virtual media is available for the nodes =)21:24
JayFthe inclusion of only py2.7/py3.6 indicates to me there's no way that command is right21:24
iurygregoryhttps://github.com/metal3-io/baremetal-operator/pull/720/21:24
mraineriiurygregory: I actually added some virtual media stuff to the Tacklebox project in Redfish; it's been working well against the different systems I have available to me21:25
mrainerihttps://github.com/DMTF/Redfish-Tacklebox21:25
mraineriCheck out scripts/rf_virtual_media.py21:26
JayFzer0c00l: I'd try running it against py3.6/3.7/3.821:26
JayFzer0c00l: or I think there's an IRC for just the requirements project?21:26
mraineriAt the very least it might give you some ideas for how I thought about solving some day to day virtual media tasks21:26
JayFyep, #openstack-requirements21:26
zer0c00lthanks JayF21:26
iurygregorymraineri, tks for sharing!21:27
*** diurnali1t has joined #openstack-ironic21:27
*** diurnalist has quit IRC21:27
*** ociuhandu has joined #openstack-ironic21:46
*** hoonetorg has joined #openstack-ironic21:49
*** ociuhandu has quit IRC21:50
*** ociuhandu has joined #openstack-ironic21:54
*** ociuhandu has quit IRC21:59
*** ociuhandu has joined #openstack-ironic22:05
*** ociuhandu has quit IRC22:09
*** ociuhandu has joined #openstack-ironic22:22
*** ociuhandu has quit IRC22:36
TheJuliarpioso: Thanks, I'll put back the appropriate reminders later today or over the weekend22:55
rpiosoTheJulia: Thanks!22:55
* TheJulia goes and starts dinner since it needs about 1.5 hours to cook22:56
*** diurnali1t has quit IRC23:05
zer0c00lwhat?23:16
zer0c00l1.5 hrs?23:16
zer0c00lwhat are you cooking?23:16
TheJuliazer0c00l: manicotti23:33
*** tzumainn has quit IRC23:36
openstackgerritJay Faulkner proposed openstack/ironic-specs master: No Conductor to IPA Communication spec  https://review.opendev.org/c/openstack/ironic-specs/+/77717223:37
*** rloo has quit IRC23:39
JayFthat would sound good TheJulia if I wasn't hoping the answer was one of your pizzas I get to eat with my eyes on FB all the time lol23:42
TheJuliaIf the restaurant business was not brutal, I'd go into it.23:50
*** diurnalist has joined #openstack-ironic23:52
*** diurnalist has quit IRC23:56
*** bfournie has quit IRC23:58

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