Tuesday, 2020-08-18

TheJuliabdodd: Question for you. I'm looking at a report of issues with reauthenticating sessions with a redfish bmc, and wondering if you've heard of or are aware of any issues00:12
bdoddTheJulia I'm not aware of any session re-authentication issues.00:14
TheJuliabdodd: ack, I looked through the code and the only thing I can think is that the bmc is just flat out rejecting the new session as well00:15
TheJuliaI need to add more debug logging or something though00:16
bdoddCould be. I'm just taking a look at what the spec says for session lifetime, etc.00:16
TheJuliaI think the bmc in question ships with a default super-low session lifetime in the range of minutes00:18
bdoddTheJulia It looks like the sessions terminates if there is no activity for longer than the session timeout period.00:18
TheJuliaAnd that is kind of what looksl ike is happening, and then another forbidden seems to get logged in that entire sequence of events to retry00:19
bdoddIf it does time out the session is terminated. A new session would need to be created in that case.00:19
TheJuliaYeah, unfortunately our logging in all of that is extremely sparse00:20
TheJuliaread: empty00:20
*** rloo has quit IRC00:24
bdoddTheJulia That's too bad. Sounds like more debug logging is the next best step.00:24
TheJuliaYeah :(00:26
*** janders has quit IRC00:28
*** janders has joined #openstack-ironic00:42
openstackgerritSteve Baker proposed openstack/ironic master: New argument validate decorator  https://review.opendev.org/74279500:55
openstackgerritSteve Baker proposed openstack/ironic master: Add status_code argument to @method.expose  https://review.opendev.org/74367700:55
openstackgerritSteve Baker proposed openstack/ironic master: Add @method.body decorator  https://review.opendev.org/74367800:55
openstackgerritSteve Baker proposed openstack/ironic master: Duplicate trait validation with jsonschema  https://review.opendev.org/74577800:55
openstackgerritSteve Baker proposed openstack/ironic master: Convert allocation endpoint to plain JSON  https://review.opendev.org/74367900:55
openstackgerritSteve Baker proposed openstack/ironic master: Convert bios endpoint to plain JSON  https://review.opendev.org/74547500:55
openstackgerritSteve Baker proposed openstack/ironic master: Convert chassis endpoint to plain JSON  https://review.opendev.org/74547600:55
openstackgerritSteve Baker proposed openstack/ironic master: Convert conductor endpoint to plain JSON  https://review.opendev.org/74577900:55
openstackgerritSteve Baker proposed openstack/ironic master: Convert deploy_templates endpoint to plain JSON  https://review.opendev.org/74578000:55
openstackgerritSteve Baker proposed openstack/ironic master: Convert drivers endpoint to plain JSON  https://review.opendev.org/74186500:55
openstackgerritSteve Baker proposed openstack/ironic master: Convert event endpoint to plain JSON  https://review.opendev.org/74662300:55
stevebakerspam alert00:55
*** ricolin has quit IRC01:17
*** alexmcleod has quit IRC01:24
*** alexmcleod has joined #openstack-ironic01:25
*** cdearborn has quit IRC01:29
*** gyee has quit IRC01:49
*** tzumainn has quit IRC01:52
*** ijw has quit IRC02:16
*** ijw has joined #openstack-ironic02:25
*** mkrai has joined #openstack-ironic02:25
*** mkowalski has quit IRC03:29
*** ricolin has joined #openstack-ironic03:33
*** mkowalski has joined #openstack-ironic03:36
openstackgerritXinliang Liu proposed openstack/ironic master: Add uefi pxe iscsi boot  https://review.opendev.org/74662803:37
openstackgerritXinliang Liu proposed openstack/ironic master: Add uefi pxe iscsi boot  https://review.opendev.org/74662803:39
*** xinliang has joined #openstack-ironic03:41
*** mkrai has quit IRC03:47
*** mkrai has joined #openstack-ironic03:55
*** xinliang has quit IRC04:04
openstackgerritJacob Anders proposed openstack/ironic master: [WIP]Generic way to configure clean step priorites  https://review.opendev.org/74411704:27
openstackgerritJacob Anders proposed openstack/ironic master: [WIP]Generic way to configure clean step priorites  https://review.opendev.org/74411704:49
*** gudrutis has joined #openstack-ironic04:50
*** gudrutis0 has quit IRC04:52
*** strigazi has quit IRC04:52
*** strigazi has joined #openstack-ironic04:54
*** gudrutis9 has joined #openstack-ironic05:08
*** abdysn has joined #openstack-ironic05:11
*** strigazi has quit IRC05:12
*** gudrutis has quit IRC05:12
*** gudrutis9 is now known as gudrutis05:12
*** janders0 has joined #openstack-ironic05:21
*** janders has quit IRC05:21
*** janders has joined #openstack-ironic05:21
*** gudrutis5 has joined #openstack-ironic05:23
*** gudrutis has quit IRC05:23
*** gudrutis5 is now known as gudrutis05:23
*** ijw has quit IRC05:25
*** ijw has joined #openstack-ironic05:25
*** ijw has quit IRC05:30
*** ijw has joined #openstack-ironic05:33
*** ijw has quit IRC05:37
*** ociuhandu has joined #openstack-ironic05:43
*** ociuhandu has quit IRC05:47
*** gudrutis has quit IRC05:52
*** belmoreira has joined #openstack-ironic05:56
*** gudrutis has joined #openstack-ironic05:57
*** ijw has joined #openstack-ironic06:04
*** ijw has quit IRC06:09
*** xinliang has joined #openstack-ironic06:25
*** ijw has joined #openstack-ironic06:36
*** ijw has quit IRC06:40
openstackgerritNisha Agarwal proposed openstack/ironic master: Adds few of the security dashboard parameters to capabilities  https://review.opendev.org/74641606:42
*** rcernin has quit IRC07:02
*** rcernin has joined #openstack-ironic07:03
*** ijw has joined #openstack-ironic07:07
*** ijw has quit IRC07:11
*** ijw has joined #openstack-ironic07:38
*** ijw has quit IRC07:43
rpittaugood morning ironic! o/07:56
gudrutishello ironic07:57
iurygregorygood morning rpittau gudrutis and Ironic o/07:58
jandersgood morning rpittau07:58
janderso/07:58
jandershey iurygregory07:58
iurygregoryhey janders o/07:58
rpittauhey iurygregory janders gudrutis :)07:58
*** ociuhandu has joined #openstack-ironic08:06
*** ijw has joined #openstack-ironic08:09
*** ociuhandu has quit IRC08:11
*** lucasagomes has joined #openstack-ironic08:12
*** mkowalski has quit IRC08:12
*** Lucas_Gray has joined #openstack-ironic08:13
*** ijw has quit IRC08:14
*** mkowalski has joined #openstack-ironic08:21
openstackgerritJacob Anders proposed openstack/ironic master: [WIP]Generic way to configure clean step priorites  https://review.opendev.org/74411708:24
*** Qianbiao has joined #openstack-ironic08:32
*** rcernin has quit IRC08:34
*** priteau has joined #openstack-ironic08:35
*** ociuhandu has joined #openstack-ironic08:37
*** ijw has joined #openstack-ironic08:40
*** ijw has quit IRC08:45
*** k_mouza has joined #openstack-ironic08:55
iurygregoryIt's funny that 3/4 jobs works with privsep on ironic-lib =(08:58
* iurygregory cries08:58
jandersI've been looking through my clean-steps patch with iurygregory and this came up: https://review.opendev.org/#/c/744117/8/ironic/conf/conductor.py@27608:59
patchbotpatch 744117 - ironic - [WIP]Generic way to configure clean step priorites - 8 patch sets08:59
janderswhat do you think? Is it better to use None or empty dict as the default config value?09:00
*** ijw has joined #openstack-ironic09:00
openstackgerritJacob Anders proposed openstack/ironic master: [WIP]Generic way to configure clean step priorites  https://review.opendev.org/74411709:05
openstackgerritJacob Anders proposed openstack/ironic master: [WIP]Generic way to configure clean step priorites  https://review.opendev.org/74411709:07
rpittaujanders: IMHO empty dict, in python they're evaluated as False anyway09:19
jandersthanks rpittau :)09:19
jandersyou are right (I tested this earlier out of curiosity )09:19
rpittau:)09:20
iurygregory=D09:20
rpittauiurygregory: I promise I'll get to your privsep patches today09:23
iurygregoryrpittau, no worries I just have the feeling we will probably need something on ironic first...09:23
iurygregorysince I'm getting "Could not link image ... "09:24
*** mkrai_ has joined #openstack-ironic09:26
*** mkrai has quit IRC09:29
jandersi'm again trying to figure out how to use bifrost developer mode to fetch a specific gerrit patch09:33
jandersdo you guys have any experience with this?09:33
*** ijw has quit IRC09:34
iurygregoryjanders, I think you need to set the git folder of the repository and have source_install true09:37
iurygregoryfor example, by default ironic folder is on /opt/stack/ironic so you would need to apply the patch there and run bifrost09:39
jandersis source_install a flag passed to the install step?09:40
iurygregoryor maybe change the ironic_git_url...09:40
iurygregoryhttps://opendev.org/openstack/bifrost/src/branch/master/playbooks/roles/bifrost-ironic-install/defaults/main.yml09:40
jandersI tried what you described without any additional config and bifrost happily cloned the latest master over the top of my fetched patch09:40
jandersso I think I need to get the options you referenced just right09:41
iurygregorysource install https://opendev.org/openstack/bifrost/src/branch/master/playbooks/roles/bifrost-pip-install/defaults/main.yml09:41
*** ijw has joined #openstack-ironic09:41
jandersthis looks good09:42
jandersiurygregory do you think if I change this and reinstall, this will make bifrost use ironic source in /opt/stack/ironic?09:43
jandersor do I do this *and* set the git_url as well?09:43
* janders is grepping for ironic_git_url09:43
iurygregoryI'm still trying to fully understand hehe09:44
jandersI will try run a little test and report back09:44
jandersI think this looks good:09:45
janders./doc/source/install/offline-install.rst:    ironic_git_url: file:///vagrant/git/ironic09:45
jandersI think it could be used to point to a fetched patch09:45
* janders is opening this doc in the web browser :)09:45
jandershttps://opendev.org/openstack/bifrost/src/branch/master/doc/source/install/offline-install.rst09:47
jandersmaybe just a local ironic_git_url override will suffice09:47
iurygregoryyeah09:47
jandersI will try that... iurygregory thanks heaps for the pointer09:47
iurygregoryfingers crossed here =)09:48
janderswill report back09:48
*** tkajinam has quit IRC09:58
*** janders0 has joined #openstack-ironic10:03
*** janders has quit IRC10:06
*** janders0 is now known as janders10:06
jandersnot having a lot of luck so far10:07
jandersmy override got ignored10:07
jandersI've got some more clues, still working on it10:08
*** ijw has quit IRC10:14
iurygregoryok10:16
*** ociuhandu has quit IRC10:17
iurygregoryrpittau, do you have any idea on the failure in the privsep patch?10:17
*** ociuhandu has joined #openstack-ironic10:18
iurygregorythe problem seems to me when we try to execute the os.link https://opendev.org/openstack/ironic/src/branch/master/ironic/drivers/modules/image_cache.py#L16810:18
*** xinliang has quit IRC10:28
*** Qianbiao has quit IRC10:30
jandersiurygregory rpittau this seems promising10:30
jandershttp://paste.openstack.org/show/796903/10:31
janders(context: getting bifrost to use a specific patch)10:31
jandersthere is probably a slicker way of doing this but hey this is a start10:31
*** Qianbiao has joined #openstack-ironic10:31
jandersI haven't had any luck without disabling force_update_repos10:31
*** Qianbiao has quit IRC10:32
jandersit was overriding my checkout anyway10:32
*** Qianbiao has joined #openstack-ironic10:32
iurygregoryI'm wondering if you dont need the developer_mode set10:33
iurygregorydoing this testenv worksfine with the changes?10:34
jandersI'm just waiting for the second install to finish10:34
jandersbut first one had the code from my patch10:34
iurygregorycool10:35
janders(bifrost) [janders@host15 bifrost]$ grep CONF.conductor.clean_step_priority_overrides /opt/stack/bifrost/lib/python3.6/site-packages/ironic/conductor/steps.py10:37
janders    if CONF.conductor.clean_step_priority_overrides:10:37
jandersit's alive10:37
jandersnow - time for a quick test10:37
iurygregoryalive?!10:37
iurygregoryrun!10:37
iurygregorysudo shutdown -P now10:37
jandershaha :)10:38
iurygregoryI couldn't resist sorry =)10:38
jandersboom!10:40
jandersdidn't get through enrollment10:40
jandershttp://paste.openstack.org/show/796904/10:40
* janders is scratching his head10:41
* janders is rerunning with -vvv10:42
*** ijw has joined #openstack-ironic10:42
jandershttp://paste.openstack.org/show/796905/10:44
jandersstill puzzled10:44
iurygregoryAuthorization required is a bit strange10:44
iurygregory'-'10:44
jandersI suppose I can rollback the patch and retry see if it's related, it shouldn't be... I haven't spotted anything interesting in the logs10:45
janderstime to make late dinner - depending how long this takes the authorization problem might be tomorrow's problem10:45
iurygregoryit shouldn't be related...10:46
*** ijw has quit IRC10:47
*** mkrai_ has quit IRC11:05
*** Qianbiao has quit IRC11:06
*** ijw has joined #openstack-ironic11:14
*** ijw has quit IRC11:19
jandersZuul is happy with the revisions of my patch - great11:28
jandersI shall figure out what is not working in my lab setup tomorrow11:29
janderssee you later Ironic o/11:29
*** Lucas_Gray has quit IRC11:32
*** ijw has joined #openstack-ironic11:45
*** ijw has quit IRC11:50
*** Qianbiao has joined #openstack-ironic12:00
*** ijw has joined #openstack-ironic12:16
*** zzzeek has quit IRC12:19
openstackgerritRiccardo Pittau proposed openstack/ironic-python-agent master: Use ubuntu focal for ipa src  https://review.opendev.org/72579412:20
*** ijw has quit IRC12:21
rpittauiurygregory: where are you seeing that error ?12:22
iurygregoryrpittau, https://zuul.opendev.org/t/openstack/build/18b0f829505c474d8035206b934a4ec5/log/controller/logs/screen-ir-cond.txt12:22
*** zzzeek has joined #openstack-ironic12:23
rpittauiurygregory: ok, did you see my comment in the patch ?12:23
iurygregoryrpittau, about having the 2 CAPS you mentioned?12:23
rpittauyeah12:23
iurygregoryyou think that would solve?12:23
iurygregoryor "it's necessary" ?12:24
rpittauiurygregory: well that is the way to have the context as close as possible to sudo rights, so I would start from there anyway12:25
iurygregoryrpittau, I had in the past, Julia was a bit worried since it was too open (at least I understood like that)12:27
rpittauiurygregory: this could be a little overwhelming, but can give a lot of knowledge in understanding how privsep works: https://man7.org/linux/man-pages/man7/capabilities.7.html12:27
iurygregoryrpittau, yeah I have this page open12:28
rpittauok, cool12:28
iurygregoryhttps://review.opendev.org/#/c/745536/4..6/ironic_lib/privsep/__init__.py it was on patch set 412:28
patchbotpatch 745536 - ironic-lib - Add initial privsep structure - 6 patch sets12:28
rpittauiurygregory: if you look at nova nd cinder implementation, they both adopt the caps I told you12:29
iurygregoryrpittau, yup! I was looking when I started the implementation12:29
iurygregorythats why my initial patch had hehe12:30
rpittauconsider that qemu and dd require kind of high privileges12:31
iurygregorythe error seems to be because we executed qemu with privilege and os.link is not executed with privilege...12:34
iurygregoryth interesting part is that it only happened in one job12:34
openstackgerritIury Gregory Melo Ferreira proposed openstack/ironic-lib master: Add initial privsep structure  https://review.opendev.org/74553612:35
rpittauI wonder why we hard link instead of soft12:37
*** Lucas_Gray has joined #openstack-ironic12:42
rpittaummm ok maybe because otherwise the cache doesn't get updated12:43
*** ijw has joined #openstack-ironic12:47
*** Goneri has joined #openstack-ironic12:50
*** tzumainn has joined #openstack-ironic12:52
*** ijw has quit IRC12:52
openstackgerritVishal Manchanda proposed openstack/ironic-ui master: [goal] Migrate testing to ubuntu focal  https://review.opendev.org/74470812:52
*** rloo has joined #openstack-ironic12:54
*** priteau has quit IRC13:06
*** Qianbiao has quit IRC13:07
*** Qianbiao has joined #openstack-ironic13:07
openstackgerritRiccardo Pittau proposed openstack/ironic-inspector master: Replace retrying with tenacity  https://review.opendev.org/74566713:11
openstackgerritRiccardo Pittau proposed openstack/ironic-inspector master: Replace retrying with tenacity  https://review.opendev.org/74566713:11
*** ijw has joined #openstack-ironic13:15
TheJuliagood morning13:28
iurygregorygood morning TheJulia =)13:28
openstackgerritRiccardo Pittau proposed openstack/ironic-inspector stable/ussuri: Fix URL parsing to enable redfish_address matching  https://review.opendev.org/74671813:31
*** ijw has quit IRC13:31
rpittaugood morning TheJulia :)13:31
*** ijw has joined #openstack-ironic13:31
iurygregoryrpittau, same error =)13:39
rpittaummmmm13:39
iurygregoryhttps://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_45c/745536/7/check/ironic-lib-wholedisk-bios-ipmi-iscsi-src/45c90fc/13:40
iurygregoryzuul hasn't finished the other jobs yet13:40
iurygregoryif the flavor and the baremetal node has specific property capabilites is there something we also need to pass for the nova instance?13:45
*** ijw has quit IRC13:45
*** tkajinam has joined #openstack-ironic13:50
*** k_mouza has quit IRC13:51
*** k_mouza has joined #openstack-ironic13:53
*** ntt_ has joined #openstack-ironic13:59
*** abdysn has quit IRC14:04
*** ntt_ has quit IRC14:04
rpittauit *could* be that the qemu-img filter in ironic-lib conflicts with the one in ironic14:05
rpittauactually I'm not sure we need the filter in ironic14:08
rpittauall the qemu-img used in images.py come from disk_utils under ironic-lib14:09
openstackgerritRiccardo Pittau proposed openstack/ironic master: Remove qemu-img rootwrap filter  https://review.opendev.org/74673114:13
rpittaulet's see if zuul likes it14:13
iurygregoryyeah it comes from ironic-lib, the only think weird is the link falling14:14
rpittauthat could be an issue with the owner of the final image14:15
iurygregoryyeah14:16
rpittauif the patch passes we can try rebasing yours on that, see if the conflict goes away14:16
iurygregoryyup =D14:16
iurygregoryIf zuul is happy I will push with Depends-On on yours14:16
rpittauonw thing you could try is adding some logs, like ownership of the images/dirs for example14:16
rpittauoh yeah, depends-on, not rebase :)14:17
*** hjensas is now known as hjensas|afk14:29
*** ijw has joined #openstack-ironic14:37
openstackgerritMerged openstack/ironic stable/train: DRAC: Drives conversion from raid to jbod  https://review.opendev.org/73850814:37
*** Qianbiao has quit IRC14:47
*** Qianbiao has joined #openstack-ironic14:47
*** mkrai has joined #openstack-ironic14:57
*** belmoreira has quit IRC14:57
*** priteau has joined #openstack-ironic15:04
*** mkrai has quit IRC15:10
*** mkrai_ has joined #openstack-ironic15:10
*** gyee has joined #openstack-ironic15:16
*** ijw_ has joined #openstack-ironic15:21
*** ijw has quit IRC15:24
dkingIs there a way to have all the clean steps executed manually that would be executed by the automated clean process, without having to send each in "clean_steps"?15:25
*** Qianbiao has quit IRC15:44
*** lucasagomes has quit IRC16:02
*** hjensas|afk is now known as hjensas16:17
*** ricolin has quit IRC16:19
TheJuliaI feel like there is supposed to be16:24
TheJuliabut maybe not16:24
openstackgerritIury Gregory Melo Ferreira proposed openstack/ironic-lib master: Add initial privsep structure  https://review.opendev.org/74553616:25
*** ricolin has joined #openstack-ironic16:29
JayFTheJulia: is there a reason I'm unaware of we don't explicitly call `eventlet.monkey_patch()` early in IPA's lifetime, and instead wait until a library that needs it does it? I think this is the root-cause of my SSL bug, but wanted to ensure nobody was aware of a specific reason it wouldn't be.16:30
JayFTBH I also wonder if that is part of the performance stuff that was done recently to change  eventlet.sleep(0) -> eventlet.sleep(0.1) to prevent IPA eating up CPU, but that's more hopeful than understanding16:31
JayFI'm talking a code change as "simple" as https://gist.github.com/jayofdoom/6e0826e5644cff7dc919ef21cfc388d716:34
*** mkrai_ has quit IRC16:34
*** Lucas_Gray has quit IRC16:43
openstackgerritRiccardo Pittau proposed openstack/ironic-python-agent master: [WIP] Prepare to move ipa-builder jobs  https://review.opendev.org/74676616:48
openstackgerritRiccardo Pittau proposed openstack/ironic-python-agent-builder master: [DNM] Test CI  https://review.opendev.org/74676716:49
openstackgerritJulia Kreger proposed openstack/sushy master: Remove auth token header completely when error occurs  https://review.opendev.org/74676816:57
TheJuliabdodd: ^^^16:58
TheJuliaJayF: eventlet doesn't play well with one of the other libraries16:58
JayFTheJulia: do you know which one or have any details? This is almost guaranteed to be a real bug at a certain level and I'd like to get an upstreamable fix for it16:59
TheJuliaJayF: interesting... because I think it was the wsgi code that things were going sideways on16:59
JayFoslo.service 100% monkey_patches eventlet, just too late to save us from ssl errors16:59
JayFso I am highly suspect that has underlying issues, except perhaps tranient bugs in eventlet (believe me, I've read a metric crapton of wsgi/ssl/eventlet bugs in the last 3 days)17:00
JayF*transient17:00
TheJuliaso socket would hang... I wonder if it was the same issue with ssl when we tried to monkey patch there. I also wonder if it was the greendns code too....17:01
bnemecYou should definitely monkey patch as early as possible. Preferrably at a top-level __init__.py so nothing else gets imported first.17:01
TheJuliaif the unit tests pass, then I say toss it up17:01
JayFbnemec: that's what my proposed patch would do17:02
JayFTheJulia: do you want me to do that /as part of/ a feature to expose SSL? Or independently?17:02
TheJuliaJayF: independent please17:02
JayFack; will-do17:02
*** ociuhandu has quit IRC17:03
*** k_mouza has quit IRC17:04
TheJuliaI don't remember where anymore but there was some fundimental incompatability and it is really bothering me now17:08
JayFI wonder if it was the old built-in wsgi server which is gone now.17:14
JayFEither way, eventlet is there, and we need to use it properly, and fix incompatibilites if they exist.17:14
JayFRather than relying on being lucky that we're monkey_patching late (via libraries) and things aren't breaking17:15
*** mkrai has joined #openstack-ironic17:15
*** ociuhandu has joined #openstack-ironic17:17
*** ociuhandu has quit IRC17:22
openstackgerritJay Faulkner proposed openstack/ironic-python-agent master: Eventlet should be monkey patched as early as possible  https://review.opendev.org/74677417:24
JayFTheJulia: I think rloo unearthed it, I'm going to adjust my patch to take this into account https://opendev.org/openstack/ironic/commit/556b1d0871d01ab17715955bef566c99bcf6bedc17:37
* JayF also wonders if we need os=false in IPA, like we have in Ironic17:41
JayFtempted to cargo cult that since we'd already have `os` imported there...17:41
bdoddTheJulia I reviewed the re-authentication changes. LGTM17:43
*** mkrai has quit IRC17:54
openstackgerritJulia Kreger proposed openstack/ironic-lib master: Additional testing for Metal3 string cases  https://review.opendev.org/74678117:59
*** trandles has joined #openstack-ironic18:37
*** johnhaan has quit IRC19:00
*** arne_wiebalck has quit IRC19:01
*** rajinir has quit IRC19:01
*** johnhaan has joined #openstack-ironic19:08
*** rajinir has joined #openstack-ironic19:08
*** arne_wiebalck has joined #openstack-ironic19:09
*** k_mouza has joined #openstack-ironic19:14
*** k_mouza has quit IRC19:17
*** dustinc has joined #openstack-ironic19:39
*** priteau has quit IRC19:44
*** ociuhandu has joined #openstack-ironic19:58
*** ociuhandu has quit IRC20:02
*** zbitter has joined #openstack-ironic20:04
*** zaneb has quit IRC20:04
*** hjensas has quit IRC20:11
openstackgerritJulia Kreger proposed openstack/ironic-python-agent master: Add basic retries for inspection  https://review.opendev.org/74559820:28
openstackgerritOpenStack Release Bot proposed openstack/ironic-python-agent bugfix/6.3: Update .gitreview for bugfix/6.3  https://review.opendev.org/74679420:42
openstackgerritOpenStack Release Bot proposed openstack/ironic-python-agent bugfix/6.3: Update TOX_CONSTRAINTS_FILE for bugfix/6.3  https://review.opendev.org/74679520:42
stevebakermorning20:46
openstackgerritOpenStack Release Bot proposed openstack/ironic bugfix/15.2: Update .gitreview for bugfix/15.2  https://review.opendev.org/74679620:47
openstackgerritOpenStack Release Bot proposed openstack/ironic bugfix/15.2: Update TOX_CONSTRAINTS_FILE for bugfix/15.2  https://review.opendev.org/74679720:47
*** Lucas_Gray has joined #openstack-ironic21:03
TheJuliagood morning stevebaker21:03
*** hjensas has joined #openstack-ironic21:07
JayFTheJulia: if you're interested, found the eventlet "catch". select.poll doesn't exist in eventlet, which is how we time heartbeats in IPA today21:16
JayFTheJulia: I'm highly suspicious that could be a cause of the high cpu usage that https://opendev.org/openstack/ironic-python-agent/commit/952489020ea36aced3737079fa17eff2e37b4da7 worked around21:16
JayFI have two paths I can go:21:16
JayF1) monkey_patch(select=false)21:16
JayF2) try to find a replacement for select.poll there -- eventlet has a few options.21:16
JayFI think I'll timebox #2 and fallback to #1 if needed21:17
TheJuliaI wonder if tenacity could replace it21:17
JayFHmm, that's not one I had considered, I'll keep that in mind21:18
*** rcernin has joined #openstack-ironic21:18
TheJuliaand I too was curious about the high cpu usage. There IS a case where it is possible if memory serves, but blarg21:18
JayFI was more wondering why it's just not a pure oslo.concurrency periodic task21:18
TheJuliagood question21:18
JayFthe move to select.poll was to keep it from using wall-clock-time https://opendev.org/openstack/ironic-python-agent/commit/4f57590b2e41863770b764a8b84b8b81830ad57721:19
JayFbecause when we were resetting clocks, heartbeats started getting missed because the wall-time changed21:19
TheJulia*sigh*21:20
iurygregoryTheJulia, if I want to set the capabilite of a node that was created would be http://paste.openstack.org/show/796926/ right?21:20
TheJuliaiurygregory: what are you still doing up?21:21
iurygregoryit's only 2321:21
JayFI'm not her but that looks right :)21:21
JayF23 is beer:thirty, not work:thirty :D21:21
TheJuliaiurygregory: heh21:21
TheJuliaIt does look right21:21
TheJuliaAnd what JayF said!21:21
iurygregoryhehehe21:24
iurygregorywell yesterday I had 5 beers21:25
iurygregoryto forget about the problems since I didn't sleep from sunday to monday21:25
iurygregoryand I had headache21:25
iurygregorytoday I'm like 85% better21:25
iurygregoryseems like tempest didn't like the patch to update the node capabilities21:31
TheJuliahow so?21:33
iurygregorytempest doesn't show any attempt to update the node setting boot_option...21:34
iurygregorysome type of magic since it's tempest hehehe21:34
TheJuliahmm21:35
*** rcernin has quit IRC21:35
TheJuliaverified that there is no PATCH operation in the api log?21:35
iurygregorylet me check21:35
iurygregorynope .-.21:37
TheJuliaiurygregory: link to patch?21:37
iurygregoryhttps://review.opendev.org/#/c/741886/21:37
patchbotpatch 741886 - ironic - Add tempest default_boot_option and altflavor - 9 patch sets21:37
TheJuliawhere are you not seeing it run21:41
TheJuliameaning like what job?21:41
iurygregoryall jobs with nova that failed21:41
iurygregoryI was debugging on https://zuul.opendev.org/t/openstack/build/65e4cb538b7149d48f0942e8639b9bb321:44
TheJuliahmm21:46
TheJuliahmm21:48
iurygregoryaccording to sean on nova I need to set the capabilities before creating the nova instance o.o21:48
iurygregorylike on line 183 on tempest https://review.opendev.org/#/c/741445/23/ironic_tempest_plugin/tests/scenario/baremetal_manager.py@19021:48
patchbotpatch 741445 - ironic-tempest-plugin - Update basic_ops - 23 patch sets21:48
*** rcernin has joined #openstack-ironic21:52
iurygregoryok, there is probably a better way to do it, since we set the cababilities with https://github.com/openstack/ironic/blob/master/devstack/lib/ironic#L2293-L230721:52
TheJuliayour setting capabiliteis way too late21:52
iurygregoryyeah21:52
TheJuliayour doing it after create_server21:52
TheJuliaif you want nova to pick it up at all, it needs to be well before21:53
iurygregoryother way I see now is doing something on devstack/lib/ironic...21:53
iurygregorywe can do some magic and say "node0 will have this" "node1 will have this other option"21:53
TheJuliayou likely have to since you don't know what node you'll be scheduled on21:54
TheJulia your trying to influence it and the resulting behavior21:54
iurygregoryyeah, but since we will have > 2 nodes it should be fine21:54
TheJuliaas long as we don't create a condition where we need 4 nodes21:55
iurygregoryI will update things tomorrow morning21:55
iurygregoryand see how it goes =)21:55
iurygregoryalmost midnight and now at least a have a plan on how to make it work \o/21:56
openstackgerritMerged openstack/ironic-python-agent-builder master: Update name of ipa job  https://review.opendev.org/74304321:57
TheJuliagoodnight21:57
TheJuliaI'm going to go exercise21:57
iurygregory++21:57
*** rcernin has quit IRC21:57
*** rcernin has joined #openstack-ironic22:09
*** rcernin has quit IRC22:09
*** dking has quit IRC22:24
*** rcernin has joined #openstack-ironic22:33
*** pas-ha has quit IRC22:42
*** sri_ has quit IRC22:42
*** ildikov has quit IRC22:43
*** rpioso has quit IRC22:43
*** trandles has quit IRC22:47
*** sri_ has joined #openstack-ironic22:51
*** rpioso has joined #openstack-ironic22:53
*** ildikov has joined #openstack-ironic22:55
*** pas-ha has joined #openstack-ironic22:55
*** Lucas_Gray has quit IRC23:05
*** JamesBenson has joined #openstack-ironic23:10
*** hjensas has quit IRC23:33
jandersgood morning Ironic o/23:33
stevebakerjanders: good morning!23:37
jandershey stevebaker how is it going?23:40
stevebakerjanders: pretty good thanks, and you?23:40
jandersI'm good, thank you! :) Slowly getting back to my outdoor routine, which is great.23:41
stevebakerI went for the first run in 3 weeks yesterday, which was real nice23:43
jandersgreat! :)23:46
jandersdo you run for fun, or are you working towards some goal and/or event?23:47
jandersI used to do duathlons and triathlons before fires and then COVID shut me down, so hoping to get back to that23:48

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