Friday, 2021-07-09

*** pmannidi is now known as pmannidi|brb01:51
*** pmannidi|brb is now known as pmannidi02:39
opendevreviewSteve Baker proposed openstack/ironic master: WIP Use cp to copy local images to preserve sparseness  https://review.opendev.org/c/openstack/ironic/+/80015203:33
*** pmannidi is now known as pmannidi|Away05:45
*** pmannidi|Away is now known as pmannidi05:48
*** pmannidi is now known as pmannidi|Away05:48
*** pmannidi|Away is now known as pmannidi05:54
*** pmannidi is now known as pmannidi|Away05:54
*** pmannidi|Away is now known as pmannidi05:55
*** pmannidi is now known as pmannidi|Away05:55
*** pmannidi|Away is now known as pmannidi05:58
*** pmannidi is now known as pmannidi|Away05:58
*** pmannidi|Away is now known as pmannidi05:59
*** pmannidi is now known as pmannidi|Away05:59
*** pmannidi|Away is now known as pmannidi06:08
iurygregoryTheJulia, tks!06:37
iurygregorygood morning janders and Ironic, happy friday06:37
arne_wiebalckGood morning iurygregory janders and Ironic!06:47
iurygregorymorning arne_wiebalck o/06:48
jssfrgood morning! where can I find documentation on how ironic tells ironic-python-agent to do a clean? in my lab, my nodes have suddenly stopped cleaning and I have no clue why (stuck in clean wait until they eventually fail; they do netboot into IPA though) and I’d like to walk the entire chain of command until I find out whats wrong.06:55
jssfrfirst stop is the kernel commandline passed to IPA and I’d like to validate it against documentation, assuming that’s how IPA learns that it should do some cleaning.06:55
arne_wiebalckjssfr: the kernel only tells the IPA where to call back to, the conductor then tells the IPA what to do06:56
arne_wiebalckjssfr: the most likely explanation for a node stuck in cleaning is that the node is in 'maintenance'06:57
arne_wiebalckjssfr: so check the maintenance state with a 'baremetal node show ...'06:57
jssfrohh07:00
jssfrso many misconceptions cleared in just a few sentences :D07:00
* jssfr goes reading up on what "maintenance" really means07:00
jssfrlook at that, cleared the maintenance flag and *boom* node cleaned07:01
jssfrthank you very much, arne_wiebalck :)07:02
jssfrnow I wonder how much of the "weirdness" I saw can be attributed to me not paying attention to the maintenance flag :(07:04
arne_wiebalckjssfr: this flag will become a good "friend" over time :-D07:07
arne_wiebalckzaneb: TheJulia: dtantsur: thanks for the patch and the backports of https://review.opendev.org/c/openstack/ironic-python-agent/+/788588, we just ran into this :)07:45
*** mgoddard- is now known as mgoddard08:40
jssfroooh boy. I think I found out the hard way that my hardware is of the kind which does not respond well to `ipmitool chassis bootdev foo` without the magic `0x00 0x08 0x03 0x08` incantation before.10:36
opendevreviewPierre Riteau proposed openstack/tenks master: [WIP] Fix 'The `libvirt` module is not importable' error  https://review.opendev.org/c/openstack/tenks/+/80019910:54
dtantsurgood afternoon ironic11:01
opendevreviewPierre Riteau proposed openstack/tenks master: [WIP] Fix 'The `libvirt` module is not importable' error  https://review.opendev.org/c/openstack/tenks/+/80019911:12
arne_wiebalckjssfr: doesn't Ironic send this (unless disabled)?11:24
opendevreviewPierre Riteau proposed openstack/tenks master: [WIP] Fix 'The `libvirt` module is not importable' error  https://review.opendev.org/c/openstack/tenks/+/80019911:28
dtantsurpriteau: hi! have you figured out what causes ^^?11:31
dtantsurwe have the same problem in bifrost (maybe somebody has already fixed it, dunno)11:32
iurygregorygood afternoon dtantsur 12:03
opendevreviewPierre Riteau proposed openstack/tenks master: Fix 'The `libvirt` module is not importable' error  https://review.opendev.org/c/openstack/tenks/+/80019912:12
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Install libvirt-python from source instead of a wheel  https://review.opendev.org/c/openstack/bifrost/+/80021412:16
dtantsurtrying the same workaround ^^^12:16
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Install libvirt-python from source instead of a wheel  https://review.opendev.org/c/openstack/bifrost/+/80021412:54
dtantsuriurygregory: if you have a second, this is upgrade-critical: https://review.opendev.org/c/openstack/ironic/+/79986912:56
iurygregorydtantsur, sure12:57
iurygregorydtantsur, done12:59
dtantsurthanks!12:59
iurygregorynp12:59
iurygregorygoing for lunch now (I totally forgot to order food early =X)13:00
dtantsurfood shall not be forgotten!13:01
opendevreviewPierre Riteau proposed openstack/tenks master: Fix 'The `libvirt` module is not importable' error  https://review.opendev.org/c/openstack/tenks/+/80019913:04
iurygregoryyeah, I forgot to order before 13:00 :D13:06
cennehappy lunch iurygregory 13:11
iurygregorytks cenne :D and congrats on the merged patch :D13:12
cenneyess! thank you!13:12
dtantsuryeah, good job cenne 13:13
cennethanks to all of you. thanks for guiding me through it. and helping me when I was stuck. ^^13:15
cennemerges feel good :) Triple green as opposed to single one on tests passing :p13:16
TheJuliagood morning13:17
dtantsurmorning TheJulia 13:17
iurygregorygood morning TheJulia 13:17
cennegood morning TheJulia :)13:19
dtantsurfg13:34
dtantsur:(13:34
cennefg/bg fg?13:40
dtantsurI keep forgetting which console I'm in :)13:40
opendevreviewMerged openstack/tenks master: Fix 'The `libvirt` module is not importable' error  https://review.opendev.org/c/openstack/tenks/+/80019913:41
dtantsuriurygregory: it seems that https://review.opendev.org/c/openstack/bifrost/+/800214/ will pass the CI, could you check it as well please?13:41
iurygregorydtantsur, sure!13:43
opendevreviewDmitry Tantsur proposed openstack/ironic master: Sanity check object version changes  https://review.opendev.org/c/openstack/ironic/+/80025213:43
dtantsurrloo: ^^^13:43
iurygregorydtantsur, fyi I would have changed "name: install libvirt-python, gunicorn and lxml" but I'm ok to +2 if CI is green =)13:47
dtantsurugh. lemme clean it up13:47
iurygregoryup to you, CI seems happy in the centos8 jobs13:48
dtantsurI'll add a release note while I'm here13:48
iurygregoryyou can do a follow-up or update the patch, up to you =)13:48
iurygregorydtantsur, awesome tks13:48
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Install libvirt-python from source instead of a wheel  https://review.opendev.org/c/openstack/bifrost/+/80021413:50
dtantsuriurygregory: here ^^^13:50
iurygregorydtantsur, tks!13:50
zanebarne_wiebalck: it's now fixed in RHEL btw. not sure if it made it into a release yet but I expect the fix should be in CentOS Stream13:51
arne_wiebalckzaneb: thanks!13:53
zanebno worries13:55
opendevreviewDmitry Tantsur proposed openstack/ironic master: Drop support for pre-Victoria RPC/object versions  https://review.opendev.org/c/openstack/ironic/+/80026114:11
dtantsurrloo: also ^^ please if you have minute (it will need a rebase soon, but I'd like your opinion)14:11
rloolooking...14:11
jssfrarne_wiebalck, ironic does, I did not when using ipmitool manually :)14:14
opendevreviewcenne proposed openstack/ironic master: [WIP] Add endpoint for setting node boot_mode on demand  https://review.opendev.org/c/openstack/ironic/+/80008414:16
rloodtantsur: the only reason I can think of (now, anyway) keeping those is that it might be possible to do db migrations from an old eg pike to xena using xena code with some tweaks to the 'only support upgrades from previous named release'. I think that's why nova left (or used to leave, haven't looked recently) the conversions in the code.14:20
rloodtantsur: am not sure where the community is going (if anywhere) wrt db migrations/upgrades beyond one release.14:21
dtantsuryeah, I guess the question is how long we should keep them14:22
dtantsurand how realistic it is to upgrade pike->xena without running dbsync/online migrations for all intermediate releases14:22
dtantsurcc TheJulia 14:22
rlootrue. i'm curious to know what the other openstack services do/support.14:23
dtantsurvery few even support rolling upgrade :)14:23
dtantsurand I think people settled down on fast-forward, not skip-version upgrades?14:24
rlooi'm somewhat unopinionated, so let me know what you all think and I'll review more :) leaving the code there doesn't hurt but might cause confusion.14:24
dtantsuryeah, I'm not even sure it's going to work if you pin Xena to 9.2. too many changes since then.14:25
rlooi'm also wondering why we left the code in, if it was cuz i thought it was useful or cuz i stopped working on the upgrade stuff or didn't think about it.14:25
* dtantsur votes for option #2 :)14:25
iurygregorydtantsur, for the Refish Implementation details do you think http://paste.openstack.org/show/807343/ would be enough?14:25
dtantsuriurygregory: why require Context?14:26
TheJuliaso, I recently had this whole discussion with someone regarding how frustrating the upgrade experience was14:27
opendevreviewVerification of a change to openstack/ironic failed: Add missing BIOSSettings version mapping for older releases  https://review.opendev.org/c/openstack/ironic/+/79986914:27
TheJuliaand how it really hails back to the days of when people did things manually14:27
TheJuliaThe newer experience/expectation really seems to be to "always just work, let the software sort it out database/content wise"14:27
TheJuliaso instead of running commands, the upgrade is starting a newer version of ironic14:27
TheJuliaand rolling forward14:27
TheJuliapike->xena should be fine, I think, we've not done much that requires transofrmations, we've used them to change things like iscsi->direct14:28
dtantsurthis is kinda what metal3 does (except that it starts with a fresh database)14:28
TheJuliaits not a difficult model reallly, and we already have most of the coding practices already, just not the actual "do the needful"14:29
dtantsurwe could run dbsync on start-up and online_data_migrations after starting, but it's going to be interesting in the presence of several conductors14:29
dtantsurnot sure it's related to the "remove pre-victoria" discussion though14:29
TheJuliaof course, but we *need* to add logic to be cognizent of some of those things14:29
dtantsurwe could use leader election for that. downside: some deployments don't want etcd/zookeeper14:30
TheJuliaWell, there are a lot of deployments still running older releases and they may wish to jump. But nova recently went in the direction of "stop on ?train?" and everything will be okay14:30
dtantsurWe don't support skip-version upgrades. Even if we have some code that may make it happen, all bets are off if you try.14:30
TheJuliadtantsur: eh, that is a technical detail and process detail14:30
TheJuliaWell, people do it... *shrug*14:30
dtantsurI'm not aware of anyone14:31
dtantsurwould be curious to hear any success stories about skip-version (NOT FFU)14:31
TheJuliaI've heard some discussion, we've had the occasional person come in and imply they've done it14:31
TheJuliatruthfully the thing that bites us is where we transform something with a migration14:32
dtantsurI'm against giving people a feel that you can upgrade N-2->N directly without anything actually backing (CI?)14:32
opendevreviewAija Jauntēva proposed openstack/sushy master: Fix OEM required attribute parsing  https://review.opendev.org/c/openstack/sushy/+/80026714:32
TheJuliaI can agree with that14:33
arne_wiebalckDownstream, I would probably never allow an automatic migration of the DB, like a conductor with version N+1 connects to the DB and starts migrating it ... if that is what you're discussing.14:34
TheJuliaThere is a model of use, also with versioned objects which allows for a non-rewrite the db model14:34
TheJuliathat is and the glue on startup is basically the parts of the interaction puzzle we miss14:35
opendevreviewAija Jauntēva proposed x/sushy-oem-idrac master: Add OEM Task extension  https://review.opendev.org/c/x/sushy-oem-idrac/+/80026914:37
iurygregorydtantsur, I added as required since the schema mentions that https://github.com/openstack/sushy/blob/master/sushy/resources/eventservice/eventdestination.py#L33 https://redfish.dmtf.org/schemas/v1/EventDestination.v1_0_0.json14:41
dtantsuriurygregory: oh, it was requiredOnCreate in 1.0.0? omg14:41
iurygregoryyeah14:41
dtantsurwhat should a user put there though?14:41
iurygregorycan be "" or any string14:41
TheJuliamore event forwarding headaches?14:41
dtantsuriurygregory: then let's provide this default14:41
iurygregorywe can ofc not ask and just say "Ironic" :D14:42
dtantsurempty string or "ironic" or whatever14:42
dtantsuryes, exactly\14:42
iurygregorysure14:42
dtantsurlet's make our API less painful than Redfish :D14:42
iurygregoryyeah, give us a destination url and that's it...14:42
TheJuliaindicating ironic may be useful if someone is trying to use multiple systems in a data center14:42
dtantsurif it's a free-form string - why not. we may even include the ironic version, just like a UserAgent :)14:43
iurygregoryI don't want to test how is the free-form string...14:43
iurygregoryI'm afraid the BMC will explode :D14:43
dtantsurpossible :)14:44
iurygregorywe can "add later" the support for context14:44
dtantsuriurygregory: what's it even for?14:46
dtantsurI mean, how is it used by the BMC?14:46
iurygregoryThis property shall contain a client supplied context that will remain with the connection through the connections lifetime14:46
iurygregorymraineri, do you have more info on how Context in EventDestination are used? 14:47
dtantsuryeah, it's a confusing definition14:49
dtantsurwhat I care about is whether it's sent back with the notifications14:50
dtantsurif not, we don't need to expose it probably14:50
mraineriContext is used by the event receiver to help assist it with how to direct incoming events14:50
mraineriSo, it's really a free-form string that a subscriber sets up to their liking, and the expectation is the service will simply echo the string back when publishing events14:51
mraineriThe reason it's required to be specified on create is it's expected all events published outbound by Redfish will have a Context string14:52
mraineriOtherwise you get inconsistencies in the event payloads14:53
iurygregorygotcha14:53
iurygregorydtantsur, I think it would be useful to require this from the operator, because the system that will receive the Event Alerts can make different choices based on the context for example14:54
dtantsurwhat if it's not?14:54
mraineriIf you have no use for doing any sort of top-level handling of events to direct them to different processes, then you could just statically use something like "Ironic" for your Context14:54
dtantsurthis ^^ means the field is actually optional :)14:54
dtantsuriurygregory: I vote for an optional field. It's logically optional, and may not be supported in all drivers.14:55
mraineriLooking at the schema history now... It's actually NOT required on create anymore14:55
mraineriBut it is required to be supported by the service14:56
dtantsuryeah, I also think it was required only in some Redfish versions14:56
dtantsur(which doesn't make anything easier tbh)14:56
dtantsurTheJulia: could you check https://review.opendev.org/c/openstack/bifrost/+/800214 please? fixes the bifrost CI.14:56
iurygregoryoptional defaults to "" or "Ironic" ?14:56
iurygregoryand if the user wants to set it will be possible14:57
dtantsuriurygregory: I think it makes more sense to default to an empty string if it's allowed by the standard14:57
dtantsuryep14:57
mraineriEmpty string is allowed14:57
iurygregoryawesome14:57
iurygregoryI will add this info in the spec14:57
dtantsur++14:59
opendevreviewVerification of a change to openstack/ironic failed: Add missing BIOSSettings version mapping for older releases  https://review.opendev.org/c/openstack/ironic/+/79986915:02
TheJuliadtantsur: can after my meeting in a little bit15:11
iurygregorydtantsur, since we are adding extra we need to let user update right?  asking because we are not considering PATCH in the API https://review.opendev.org/c/openstack/ironic-specs/+/785742/5/specs/approved/event-subscriptions.rst L27 and L16115:20
iurygregoryTheJulia, also if you have any insights on this ^ 15:26
iurygregorycan we just let the user set extra during create? :D15:26
dtantsurI'm fine with skipping patch for now15:26
iurygregoryack15:27
TheJuliaYeah, likely okay, but eventually someone will file a bug on not being able to update it for some reason15:27
dtantsurwe can always follow-up :) I think allocations also started as immutable..15:28
iurygregoryyeah :D15:28
dtantsurI have to leave a bit earlier today, have a great weekend!15:31
TheJuliahave a wondeful weekend!15:33
arne_wiebalckBye everyone o/15:45
cenneBye arne_wiebalck,  dtantsur 15:47
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic-specs master: Event Subscription Spec  https://review.opendev.org/c/openstack/ironic-specs/+/78574215:47
trandlesQuestion: Installing Bifrost from the master branch. In the "Validate API access and at least one conductor" task it's bombing out with a python traceback that it can't find the 'openstack' module.15:53
trandleswell done trandles there's not actually a question in that...Fridays...15:54
trandlesanyway, I've never seen a bifrost install crap out like that before15:55
trandlesshould I just activate the virtual env and install openstack using pip?15:55
trandlesthen re-run the bifrost install?15:55
opendevreviewMerged openstack/tenks master: Test idempotence of deploy and teardown in CI  https://review.opendev.org/c/openstack/tenks/+/66096416:03
TheJuliatrandles: so there is a known issue and a fix posted in CI16:08
TheJuliafor at least a breaking issue, just haven't looked at it yet16:08
trandlesTheJulia: where do I find that in CI? sorry, I've never accessed that before16:17
TheJuliareview.opendev.org search for project:openstack/bifrost and it might be the patch posted that he asked for reviews on16:18
trandlesah, gotcha, thanks!16:18
trandlesfound dtantsur's patch but that's for libvirt-python not the openstack module16:28
JayFspuc?17:01
opendevreviewcenne proposed openstack/ironic master: [WIP] Add api endpoint for setting boot_mode on live node  https://review.opendev.org/c/openstack/ironic/+/80008417:06
cenneTheJulia: For implementing setting boot mode from the api, I suppose I need to add another policy 'baremetal:node:set_boot_mode'17:06
cenneCan I skip the "deprecated_rule" because there never was? or do I need to back-add it?17:07
cenneooh, spuc  time.17:07
JayFNo deprecated rule, it's a new feature thy should use RBAC imo17:10
cenneOkie.  Thanks JayF17:12
cenneIs spuc still on?17:12
JayFwe're in there17:16
*** melwitt is now known as Guest32217:31
TheJuliaohhh17:44
TheJuliaawww, too late17:45
TheJuliathe fun of downstream meetings17:45
TheJuliacenne: you *can* skip the deprecated rule, or just use a legacy rule as fallback17:46
TheJuliajust not everyone nor devstack by default uses for access17:46
cenneYeah, spuc over unfortunately :(17:50
cenneYou were missed :)17:51
TheJulia:( I feel bad, but sometimes I can't escape meetings on Friday17:51
cennesorry :<17:57
*** melwitt_ is now known as melwitt17:57
*** melwitt is now known as jgwentworth17:58
TheJuliaahh, it is good old jgwentworth ;)18:03
*** TheJulia is now known as needssleep18:04
jgwentworthheh18:04
cenneheading out for the weekend folks. o/18:32
cenneHave a nice weekend everyone!18:33
cenneHope you get a very nice good sleep TheJulia18:36
cennebye.~ 18:37
JayFo/18:41
*** cenne is now known as cenn18:45
*** cenn is now known as cenne18:45
cenneo/ JayF18:46
*** cenne is now known as cenn18:46
opendevreviewJulia Kreger proposed openstack/ironic master: Add ipxe ramdisk kernel append param test  https://review.opendev.org/c/openstack/ironic/+/80029818:56
opendevreviewDerek Higgins proposed openstack/ironic master: Allow reboot to HD following iso ramdisk deploy.  https://review.opendev.org/c/openstack/ironic/+/80030019:07
opendevreviewMerged openstack/bifrost master: Install libvirt-python from source instead of a wheel  https://review.opendev.org/c/openstack/bifrost/+/80021419:25

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