Thursday, 2019-08-08

*** ociuhandu has joined #openstack-ironic00:30
*** ociuhandu has quit IRC00:35
*** betherly has joined #openstack-ironic00:35
*** betherly has quit IRC00:39
*** gregoryo has joined #openstack-ironic00:49
*** gyee has quit IRC00:49
*** _mmethot_ has joined #openstack-ironic01:02
*** ricolin has joined #openstack-ironic01:03
*** mmethot_ has quit IRC01:07
*** betherly has joined #openstack-ironic01:30
*** betherly has quit IRC01:35
openstackgerritKaifeng Wang proposed openstack/ironic-inspector master: [TEST] Run inspector services in non-standalone mode  https://review.opendev.org/67503001:51
*** jhesketh has quit IRC01:53
*** rh-jelabarre has quit IRC02:00
*** betherly has joined #openstack-ironic02:01
*** betherly has quit IRC02:05
*** henriqueof has joined #openstack-ironic02:17
*** henriqueof has quit IRC02:21
*** jhesketh has joined #openstack-ironic02:22
*** early has quit IRC02:37
*** early has joined #openstack-ironic02:39
*** betherly has joined #openstack-ironic02:40
openstackgerritKaifeng Wang proposed openstack/ironic-inspector master: [TEST] Run inspector services in non-standalone mode  https://review.opendev.org/67503002:50
*** betherly has quit IRC02:53
*** early has quit IRC02:56
*** early has joined #openstack-ironic02:57
*** betherly has joined #openstack-ironic03:08
*** whoami-rajat has joined #openstack-ironic03:12
*** igordc has joined #openstack-ironic03:16
*** betherly has quit IRC03:21
*** iurygregory has quit IRC03:22
*** qhpc has quit IRC03:22
*** jhesketh has quit IRC03:29
*** gkadam has joined #openstack-ironic03:31
*** jhesketh has joined #openstack-ironic03:36
*** betherly has joined #openstack-ironic03:39
*** gkadam has quit IRC03:40
*** betherly has quit IRC03:44
*** mkrai has joined #openstack-ironic04:19
*** betherly has joined #openstack-ironic04:38
*** betherly has quit IRC04:42
*** henriqueof has joined #openstack-ironic04:56
*** lennyb has quit IRC05:26
*** betherly has joined #openstack-ironic05:29
*** betherly has quit IRC05:37
openstackgerritKaifeng Wang proposed openstack/ironic-inspector master: [TEST] Run inspector services in non-standalone mode  https://review.opendev.org/67503005:40
*** verma-varsha has joined #openstack-ironic05:41
*** yaawang has quit IRC05:43
*** yaawang has joined #openstack-ironic05:44
*** igordc has quit IRC05:59
*** betherly has joined #openstack-ironic06:01
*** betherly has quit IRC06:06
*** mkrai has quit IRC06:13
*** mkrai has joined #openstack-ironic06:15
*** rcernin has quit IRC06:18
openstackgerritMerged openstack/ironic master: Clean up RAID documentation  https://review.opendev.org/67514506:21
*** lennyb has joined #openstack-ironic06:26
*** betherly has joined #openstack-ironic07:00
*** ianychoi has quit IRC07:01
*** ianychoi has joined #openstack-ironic07:01
*** jtomasek has joined #openstack-ironic07:01
*** betherly has quit IRC07:05
*** devx has quit IRC07:07
*** devx has joined #openstack-ironic07:09
openstackgerritKaifeng Wang proposed openstack/ironic-inspector master: [TEST] Run inspector services in non-standalone mode  https://review.opendev.org/67503007:12
*** betherly has joined #openstack-ironic07:20
*** iurygregory has joined #openstack-ironic07:22
iurygregorygood morning Ironic07:22
*** tssurya has joined #openstack-ironic07:23
*** ianychoi has quit IRC07:24
*** betherly has quit IRC07:25
*** ianychoi has joined #openstack-ironic07:25
xXraphXxarne_wiebalck: sure, my pleasure. Softraid in the agent works well and is well designed overall.07:26
*** tesseract has joined #openstack-ironic07:31
*** dtantsur|afk is now known as dtantsur07:43
dtantsurmorning07:44
*** verma-varsha has quit IRC07:48
arne_wiebalckxXraphXx: cool, thx!07:50
dtantsurxXraphXx: could you fix two small things in the release note, and I can approve the patch: https://review.opendev.org/#/c/674803/3/releasenotes/notes/softraid-msdos-gpt-alternative.yaml07:55
patchbotpatch 674803 - ironic-python-agent - Software raid: mbr/gpt partition table alternative. - 3 patch sets07:55
*** lucasagomes has joined #openstack-ironic07:56
*** ociuhandu has joined #openstack-ironic07:56
*** rpittau|afk is now known as rpittau08:04
rpittaugood morning ironic! o/08:04
tssuryadtantsur: good morning, I have tried to address you comments in https://review.opendev.org/#/c/664842/ , could you take a look when you have time ? If the ironic side is ok I can try to get the nova side patch in08:09
patchbotpatch 664842 - ironic - Support power state change callbacks to nova using... - 11 patch sets08:09
dtantsurtssurya: I'm literally reviewing it right now :)08:09
tssuryathanks a lot ! :)08:09
*** dougsz has joined #openstack-ironic08:11
dtantsurdone08:13
iurygregorymorning dtantsur rpittau o/08:17
rpittauhey iurygregory :)08:17
*** betherly has joined #openstack-ironic08:22
xXraphXxdtantsur, hi, sorry for the lag. I saw you approved it, I could have updated the release note :)08:24
dtantsurxXraphXx: please propose a follow-up patch with an update08:24
*** verma-varsha has joined #openstack-ironic08:24
openstackgerritraphael.glon proposed openstack/ironic-python-agent master: Release note update  https://review.opendev.org/67527108:30
*** derekh has joined #openstack-ironic08:30
*** Lucas_Gray has joined #openstack-ironic08:34
*** alexmcleod has joined #openstack-ironic08:39
xXraphXxdtantsur, I'm not so confident anymore about this pull request (the gpt/mbr alternative). my doubts are about the fact that this changes the default partition table type based on the boot mode. works well for me but i do not know the root efi app capabilities of all users. so it might be relevant to keep the msdos by default, unless explicitely specified otherwise.08:41
*** verma-varsha has quit IRC08:41
xXraphXxthis way we are sure to control the impact08:41
xXraphXx(by root efi app, i mean the one supposed to find the grub efi app and chain on it)08:43
arne_wiebalckxXraphXx: dtantsur: I can test if that still works for us, but not before some time next week when I'm back in the office.08:43
*** verma-varsha has joined #openstack-ironic08:44
openstackgerritKaifeng Wang proposed openstack/ironic-inspector master: [TEST] Run inspector services in non-standalone mode  https://review.opendev.org/67503008:48
xXraphXxdtantsur, arne_wiebalck: I put the workflow to -1, I prefer we wait till next week then08:49
dtantsurxXraphXx: hmm, okay. let's plan on the safe side and keep msdos by default? we can always add the detection logic later.08:49
dtantsuri.e. let's split this patch into a safe and risky part08:49
xXraphXxsure sounds better08:49
xXraphXxdoing08:50
*** iurygregory has quit IRC08:58
*** Lucas_Gray has quit IRC09:00
*** gregoryo has quit IRC09:02
*** iurygregory has joined #openstack-ironic09:03
openstackgerritMerged openstack/ironic-prometheus-exporter master: Release note for timestamp metric  https://review.opendev.org/67484409:04
*** e0ne has joined #openstack-ironic09:04
*** verma-varsha has quit IRC09:05
openstackgerritraphael.glon proposed openstack/ironic-python-agent master: Software raid: mbr/gpt partition table alternative.  https://review.opendev.org/67527509:10
openstackgerritCHENGLEI proposed openstack/python-ironicclient master: add a hello.txt  https://review.opendev.org/67527809:16
iurygregoryhello.txt?09:18
iurygregoryo.o09:18
iurygregoryoh new contributor =D09:19
openstackgerritraphael.glon proposed openstack/ironic-python-agent master: Software raid: partition table type default change.  https://review.opendev.org/67480309:20
xXraphXxfixing i made a mistake on rebase09:26
*** henriqueof has quit IRC09:28
*** Lucas_Gray has joined #openstack-ironic09:28
openstackgerritraphael.glon proposed openstack/ironic-python-agent master: Software raid: default partition table type change.  https://review.opendev.org/67480309:29
openstackgerritMerged openstack/virtualbmc master: CI: clean up required projects  https://review.opendev.org/67344509:33
*** etingof has joined #openstack-ironic09:35
*** Lucas_Gray has quit IRC09:35
*** verma-varsha has joined #openstack-ironic09:37
*** Lucas_Gray has joined #openstack-ironic09:39
verma-varshaHey etingof! Could you please find some time to review the Storage emulation patches that I submitted for sushy-tools? :)09:41
*** diga has joined #openstack-ironic09:41
openstackgerritraphael.glon proposed openstack/ironic-python-agent master: Software raid: mbr/gpt partition table alternative  https://review.opendev.org/67527509:44
openstackgerritMerged openstack/ironic-prometheus-exporter master: Release note for ipmi Voltage metrics  https://review.opendev.org/67482309:51
*** dmellado has quit IRC09:53
*** dmellado has joined #openstack-ironic09:55
*** dsneddon has quit IRC09:55
openstackgerritMadhuri Kumari proposed openstack/ironic-specs master: Add support for manual deploy steps  https://review.opendev.org/67225209:58
*** Lucas_Gray has quit IRC10:01
openstackgerritraphael.glon proposed openstack/ironic-python-agent master: Softraid: refactor partitioning  https://review.opendev.org/67481910:02
mkraiHi mgoddard Can you please review the manual deployment spec whenever you've time https://review.opendev.org/672252 ?10:02
patchbotpatch 672252 - ironic-specs - Add support for manual deploy steps - 4 patch sets10:02
mgoddardmkrai: hi, it is on my TODO list. I've been away for 3 weeks, so still catching up :)10:07
mkraimgoddard, Thanks :)10:12
mkraimgoddard, Hope you had a wonderful vacation :)10:13
openstackgerritPradip Kadam proposed openstack/ironic master: DRAC : Fix issue for RAID-0 creation for multiple disks for PERC H740P  https://review.opendev.org/67476510:13
mgoddardmkrai: thanks10:13
*** verma-varsha has quit IRC10:16
*** ociuhandu has quit IRC10:26
*** Lucas_Gray has joined #openstack-ironic10:30
*** iurygregory has quit IRC10:43
*** ociuhandu has joined #openstack-ironic10:47
*** mkrai has quit IRC10:49
openstackgerritKaifeng Wang proposed openstack/ironic-inspector master: [TEST] Run inspector services in non-standalone mode  https://review.opendev.org/67503010:53
*** verma-varsha has joined #openstack-ironic11:06
*** yaawang has quit IRC11:08
*** yaawang has joined #openstack-ironic11:09
TheJuliaOkay, hello.txt is... interesting11:23
* TheJulia senses the next few weeks are going to be review heavy11:23
openstackgerritRiccardo Pittau proposed openstack/ironic-inspector master: [WIP] use openstacksdk for ironic module  https://review.opendev.org/67217911:49
*** tssurya has quit IRC11:50
*** tssurya has joined #openstack-ironic11:50
*** dsneddon has joined #openstack-ironic11:51
*** rh-jelabarre has joined #openstack-ironic11:53
*** verma-varsha has quit IRC11:55
*** verma-varsha has joined #openstack-ironic11:57
*** ricolin_ has joined #openstack-ironic12:05
*** cdearborn has joined #openstack-ironic12:05
*** ricolin has quit IRC12:07
*** verma-varsha has quit IRC12:09
*** bfournie has joined #openstack-ironic12:12
openstackgerritraphael.glon proposed openstack/ironic-python-agent master: List block devices: fixes related to md arrays and partitions  https://review.opendev.org/67530912:25
*** iurygregory has joined #openstack-ironic12:36
*** jcoufal has joined #openstack-ironic12:54
*** Lucas_Gray has quit IRC12:57
*** mrtmr has joined #openstack-ironic12:58
*** Lucas_Gray has joined #openstack-ironic12:58
*** jcoufal has quit IRC13:02
*** Lucas_Gray has quit IRC13:03
*** jcoufal has joined #openstack-ironic13:06
openstackgerritIlya Etingof proposed openstack/ironic master: Add Redfish Virtual Media Boot support  https://review.opendev.org/63845313:11
openstackgerritMerged openstack/ironic-python-agent master: Software raid: mbr/gpt partition table alternative  https://review.opendev.org/67527513:13
mrtmrHi everyone, in bifrost we can pass network_data.json file to cloud-init with configdrive, yes. Today I tried to pass a user_data file and I succeed it with biforst-configdrive-dynamic role, but there is a problem with cloud.cfg file I must to add resolv_conf module to in it otherwise my user_data is not working  at boot time. in my user data there13:13
mrtmr is a basic expamle for configure /etc/resolv.conf file do you have any idea how to i re-write cloud.cfg file13:13
*** Lucas_Gray has joined #openstack-ironic13:17
mnaseris it possible to use "flat" network model but with 2 nics on a server?13:24
mnaserone for the provisioning/cleaning network, one for the actual network where the instances live on?13:25
dtantsurmnaser: if you're fine with the fact that all NICs will still be connected to the physical network - yes13:26
mnaserdtantsur: well in this ase, 1 nic is connected to provisioning/cleaning network, and the other is connected to 'public' network13:29
mnaserand i dont really want the instances to spin up on the provisioning/cleaning network13:30
dtantsurmnaser: you may have issues around which neutron port will land on which physical NIC. it's kinda random.13:30
mnaserwell i was thinking for provisioning/cleaning, the machine will keep trying to pxe boot till it hits that port and boots up13:31
mnaserand then by the time its provisioned, the other port is gone, so dhcp stops responding for the cleaning network nic, and when the instance boots, dhcp will be there on the 'public' network13:31
dtantsurmnaser: how do you intend to create the instance? --port <port1> --port <port2> ?13:32
dtantsurI sense a problem in your approach, I cannot really put it in words13:33
mnaserdtantsur: nope, i dont want anything on port2, just 1 port connected to the public network13:33
openstackgerritraphael.glon proposed openstack/ironic-python-agent master: image extension, make_bootable improvements  https://review.opendev.org/67487913:33
mnaserso nic2 used for provisioning/cleaning, nic1 used for 'public' flat network13:33
dtantsurmnaser: aha. well, ironic will prefer the NIC that has PXE capability.13:33
mnaserso naturally when doing 1 port, itll do the one that is doing the pxe boot13:33
dtantsurso if you provide one port, it will probably get connected to the provisioning NIC13:33
mnaserah13:33
* dtantsur thinks13:34
mnaserit seems too simple to get neutron involved13:34
mnaser:<13:34
dtantsurmnaser: you may be fine if you use different neutron physical networks AND assign port.physical_network accordingly in ironic13:34
mnaserthere is two neutron physical networks13:35
dtantsurbut i don't think you can avoid having a VIF for the provisioning network (even without DHCP)13:35
mnaserdoes this mean moving to the 'neutron' driver isntead of 'flat?13:35
dtantsurusing the physical_network field doesn't require ^^13:35
jrollflat still uses neutron, fwiw13:36
mnaseryeah but i think neutron expects i run some sort of networking agent that does magic on switches13:36
jrollright right, ok13:37
dtantsurmnaser: not an agent, it expects an ML2 plugin that can do "baremetal" vnic_type binding by changing VLANs on switches13:37
dtantsurwhich depends on a switch model13:37
* mnaser will one day use the right term 'agent' vs 'plugin'13:37
mnaserbut yeah13:37
mnaseri was hoping avoiding that for this little poc-y thing13:37
jrollI thought you were trying to avoid running neutron at all, I'll shut up now :)13:37
mnaseroh nono, neutron is still being used, right now i can provision instances all on the same flat network, but would like to split it13:38
dtantsurmnaser: if your switch is supported by networking-generic-switch, you can use it for POC13:38
mnaseryeah i was hoping to avoid that because it means a whole lot more work =P13:38
dtantsurheh13:38
mnaserjust because we have to ansible-ify all of the bits to make it work13:38
dtantsurright13:38
dtantsurmnaser: then I'd suggest you to try two ports approach13:39
mnaserso two ports on each machine in ironic, map 'physical_network' to the appropriate one from neutron on each13:39
dtantsuryep13:43
* dtantsur tries to make his brain work13:43
mnaserdtantsur: ok so we'll try that, also i see `pxe_enabled` as a value too for ports13:43
dtantsuryep, this has to be correctly populated13:43
mnaserso we're going to try to set that to false for the one where `physical_network` is the external network13:43
mnaserso that it picks the right pxe boot thingamajig.13:44
dtantsuryou have to, otherwise ironic may try to boot from it13:44
* mnaser hopes things go well13:45
*** dsneddon has quit IRC13:50
*** ricolin_ is now known as ricolin13:55
*** jcoufal has quit IRC13:55
*** yaawang has quit IRC14:02
*** yaawang has joined #openstack-ironic14:03
*** dsneddon has joined #openstack-ironic14:11
openstackgerritIury Gregory Melo Ferreira proposed openstack/ironic-prometheus-exporter master: [WIP] Support for metrics description  https://review.opendev.org/67534514:14
*** dsneddon has quit IRC14:16
openstackgerritraphael.glon proposed openstack/ironic-python-agent master: Softraid: refactor partitioning  https://review.opendev.org/67481914:23
openstackgerritRiccardo Pittau proposed openstack/ironic-inspector master: [WIP] use openstacksdk for ironic module  https://review.opendev.org/67217914:24
openstackgerritraphael.glon proposed openstack/ironic-python-agent master: Software raid: default partition table type change  https://review.opendev.org/67480314:24
openstackgerritNisha Brahmankar proposed openstack/ironic master: Uses IPA-B to build in addition to CoreOS  https://review.opendev.org/67383414:30
*** ociuhandu has quit IRC14:30
*** dsneddon has joined #openstack-ironic14:30
*** ociuhandu has joined #openstack-ironic14:31
*** jcoufal has joined #openstack-ironic14:35
*** ociuhandu has quit IRC14:35
*** dsneddon has quit IRC14:35
openstackgerritSurya Seetharaman proposed openstack/ironic master: Support power state change callbacks to nova using ksa_adapter  https://review.opendev.org/66484214:58
*** ociuhandu has joined #openstack-ironic15:04
*** dsneddon has joined #openstack-ironic15:08
*** verma-varsha has joined #openstack-ironic15:09
*** jmelvin has joined #openstack-ironic15:12
jmelvinping mjturek, do you know how to get introspection to work using ipmi for power pc system?15:13
guilhermespdtantsur: we have created two ports, one poiting to the pxe network and another pointing to external network ( with pxe-disabled). But when we create an instance using the external network, seems that it is trying to use that external network to reach dhcp/tftp server and do the cleaning15:14
dtantsurguilhermesp: how do you create an instance? do you provide two ports?15:16
dtantsuror one port?15:16
guilhermesponly one port15:16
guilhermespthat is the external network15:16
dtantsurwait, I'm asking irrelevant questions probably.. have you configured hardware with the correct NIC boot order?15:16
dtantsuror rather: enable PXE only on the relevant NIC?15:17
guilhermespyeah, it is booting from nic1, which is the nic connected to the ipmi network and yeah, nic has pxe-enabled15:17
guilhermespand physical_network property poiting to external network15:17
guilhermespthe nic2 is with pxe disabled and poiting to the ipmi network in physical_network property15:18
dtantsurso, which one is enabled? and what do you mean by "ipmi network"?15:19
dtantsuris nic1 the correct or not? you said it's pxe-enabled.15:20
guilhermespok so nic1 is the network that has pxe enabled. Nic2 is the nic intended to boot the external network for end users15:21
dtantsurand in both BIOS and ironic you have PXE enabled for NIC1 and disabled for NIC2?15:22
openstackgerritSurya Seetharaman proposed openstack/ironic master: Support power state change callbacks to nova using ksa_adapter  https://review.opendev.org/66484215:25
*** Lucas_Gray has quit IRC15:27
*** verma-varsha1 has joined #openstack-ironic15:28
*** mriedem has joined #openstack-ironic15:28
*** verma-varsha1 has quit IRC15:28
openstackgerritRiccardo Pittau proposed openstack/ironic-inspector master: [WIP] use openstacksdk for ironic module  https://review.opendev.org/67217915:29
*** verma-varsha has quit IRC15:29
mriedemTheJulia: jroll: looking at https://review.opendev.org/#/c/523559/ i'm going to fix it up, but was wondering if we have any tempest ci testing with ironic + rebuild operations?15:30
patchbotpatch 523559 - nova - Fix rebuild of baremetal instance when vm_state is... - 7 patch sets15:30
mriedemlike, i don't see test_rebuild_server_in_error_state in https://logs.opendev.org/18/675218/1/check/ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa/8d3c1a0/job-output.txt.gz15:30
mriedemlooks like that job only runs https://opendev.org/openstack/ironic/src/branch/master/zuul.d/ironic-jobs.yaml#L2715:31
mriedemoops15:31
mriedemtempest_test_regex: ironic_tempest_plugin.tests.scenario15:31
mriedemi see https://github.com/openstack/ironic-tempest-plugin/blob/2ebfc15bf4424bf9fa32f5cfeb641b384c76b6c9/ironic_tempest_plugin/tests/scenario/test_baremetal_basic_ops.py#L78 but nothing calls it15:32
dtantsurmriedem: we have a job that does rebuild, but a standalone one (without nova, so not running on nova)15:34
mriedemso i guess https://github.com/openstack/ironic-tempest-plugin/blob/2ebfc15bf4424bf9fa32f5cfeb641b384c76b6c9/ironic_tempest_plugin/tests/scenario/test_baremetal_basic_ops.py#L42 is a lie15:34
mriedemdtantsur: ok that doesn't help me on the nova side :)15:34
dtantsursorry :)15:34
mriedemare there any issues with enabling rebuild in that scenario test?15:34
mriedemthe docstring says it does it, so presumably it was removed/disabled at some point15:34
dtantsurI think we removed rebuild because it increase the probability of random PXE failures15:34
dtantsurwhich keep haunting us, especially on slow nodes15:35
mriedemthere is a thing in tempest now which allows you to run tests without them failing the overall run15:35
dtantsurgood call15:35
mriedemhttps://github.com/openstack/tempest/blob/master/tempest/lib/decorators.py#L15915:36
dtantsuryeah, we can probably create a separate test and mark it as unstable15:36
mriedemok just opened https://storyboard.openstack.org/#!/story/2006380 for now15:39
dtantsurthx!15:40
*** tssurya has quit IRC15:43
*** gyee has joined #openstack-ironic15:43
*** ricolin_ has joined #openstack-ironic15:43
*** ricolin_ has quit IRC15:45
*** ricolin has quit IRC15:46
*** ricolin_ has joined #openstack-ironic15:46
*** ricolin_ is now known as ricolin15:47
*** sthussey has joined #openstack-ironic15:47
mbuilguys, I have just tried vbmc with python3. When using ipmitool to change the bootdev to pxe, I get a weird error (Set Chassis Boot Parameter 5 failed: Unspecified error). Any idea?15:49
mbuilsame error when running ironic-inspect-node : Execute node introspection - noauth_mode15:49
dtantsurjroll: hey, do you remember why https://review.opendev.org/#/c/602127/ wasn't backported to queens?15:56
patchbotpatch 602127 - nova - ironic: stop hammering ironic API in power sync loop (MERGED) - 2 patch sets15:56
*** diga has quit IRC15:57
jrolldtantsur: not sure, either I didn't think to, or it was a regression in rocky15:58
mriedemdtantsur: will see if this works https://review.opendev.org/#/c/675391/215:59
patchbotpatch 675391 - nova - WIP: run test_rebuild_server_in_error_state in iro... - 2 patch sets15:59
dtantsurjroll: ok, I'm suggesting our folks to try applying it and seeing if it improves anything16:00
dtantsurmriedem: thx!16:00
*** lucasagomes has quit IRC16:03
*** verma-varsha has joined #openstack-ironic16:04
*** Lucas_Gray has joined #openstack-ironic16:06
*** iurygregory has quit IRC16:08
*** beekneemech has joined #openstack-ironic16:16
*** e0ne has quit IRC16:16
*** beekneemech has quit IRC16:16
*** verma-varsha has quit IRC16:21
TheJuliambuil: it could be that your version pyghmi is oldish?16:21
*** mriedem has left #openstack-ironic16:29
*** verma-varsha has joined #openstack-ironic16:31
rpittaugoodnight all! o/16:36
*** rpittau is now known as rpittau|afk16:36
rpiosoGood morning16:37
*** verma-varsha has quit IRC16:38
openstackgerritBill Dodd proposed openstack/sushy master: Add Task Monitor support for async operations  https://review.opendev.org/67036016:42
openstackgerritRiccardo Pittau proposed openstack/ironic-inspector master: [WIP] use openstacksdk for ironic module  https://review.opendev.org/67217916:43
*** Lucas_Gray has quit IRC16:51
*** Lucas_Gray has joined #openstack-ironic16:51
*** brandor5 has joined #openstack-ironic16:56
*** dtantsur is now known as dtantsur|afk16:57
dtantsur|afkc u16:57
brandor5hello everyone: can someone point me to the code that ironic calls to power on/off and set boot mode, please?16:57
*** dougsz has quit IRC16:59
brandor5specifically i need the ipmi commands ironic is sending17:00
*** derekh has quit IRC17:00
mnaserso going back to the discussion this morning17:01
mnasersetup provisioning/cleaning net to be a specific network17:01
mnaserand then the network the instance lives on is different17:02
mnaserbut it seems like it's creating a port on the 'public' network instead of 'provisioning' network when deploying17:02
openstackgerritRiccardo Pittau proposed openstack/ironic-inspector master: [WIP] use openstacksdk for ironic module  https://review.opendev.org/67217917:03
rpiosobrandor5: Take a look at https://opendev.org/openstack/ironic/src/commit/b8db11279e8ac7db7858cdbe0d1c728237ba8071/ironic/drivers/modules/ipmitool.py#L87117:04
brandor5rpioso: thanks17:04
rpiosobrandor5: yw17:05
*** Lucas_Gray has quit IRC17:05
*** e0ne has joined #openstack-ironic17:05
mnaserok so looking at the code17:06
mnaserhttps://github.com/openstack/ironic/blob/3f2c04079da334b723e3c0cdb33be205f30b5c85/ironic/drivers/modules/network/flat.py#L96-L10917:06
mnaservs17:06
mnaserhttps://github.com/openstack/ironic/blob/3f2c04079da334b723e3c0cdb33be205f30b5c85/ironic/drivers/modules/network/flat.py#L111-L12717:06
mnaserso in this case, it isnt using the provisioning net ?17:07
*** igordc has joined #openstack-ironic17:13
*** ociuhandu has quit IRC17:14
*** ricolin_ has joined #openstack-ironic17:16
*** ricolin has quit IRC17:19
*** tesseract has quit IRC17:27
openstackgerritRiccardo Pittau proposed openstack/ironic-inspector master: [WIP] use openstacksdk for ironic module  https://review.opendev.org/67217917:28
*** brandor5 has left #openstack-ironic17:28
*** ricolin_ is now known as ricolin17:32
*** e0ne has quit IRC17:35
*** ociuhandu has joined #openstack-ironic17:36
*** ociuhandu has quit IRC17:40
*** ianychoi has quit IRC17:43
*** ianychoi has joined #openstack-ironic17:47
*** verma-varsha has joined #openstack-ironic17:48
openstackgerritNisha Brahmankar proposed openstack/ironic-python-agent-builder master: Updates the build file in DIB  https://review.opendev.org/67542717:49
*** ianychoi_ has joined #openstack-ironic17:54
*** ianychoi_ has quit IRC17:55
*** ianychoi_ has joined #openstack-ironic17:55
*** ianychoi has quit IRC17:58
*** verma-varsha1 has joined #openstack-ironic18:08
*** verma-varsha has quit IRC18:11
*** verma-varsha1 is now known as verma-varsha18:11
*** cmurphy has joined #openstack-ironic18:13
gyeeTheJulia, dtantsur, I ran into this error recently nova.virt.ironic.driver [req-0bed2d87-bf43-4768-a4ac-81053c419d91 None None] An unknown error has occurred when trying to get the list of nodes from the Ironic inventory. Error: StrictVersion instance has no attribute 'version'18:15
*** verma-varsha has quit IRC18:15
gyeeproblem occurred during version negotiation here https://github.com/openstack/python-ironicclient/blob/master/ironicclient/common/http.py#L16518:17
TheJuliagyee: it will go away once a connection is made18:17
TheJuliagyee: its not fatal18:17
gyeeit appears that max_version is None18:17
gyeeproblem is caused by ironicclient doing case-sensitive parsing of the version headers https://github.com/openstack/python-ironicclient/blob/master/ironicclient/common/http.py#L25618:18
TheJuliagyee: are you saying nova virt halts on that error?18:18
gyeeseem like something changed lately either in keystoneauth or python-requests which camelcased the HTTP headers18:19
gyeeTheJulia, with that error, the node didn't show up in Nova hypervisor list18:19
TheJuliagyee: even after 2 minutes?18:19
TheJuliagyee: and you can absolutely confirm that the ironic endpoint is up and running?18:19
gyeeyeah, I keep seeing that error repeated in nova-compute log18:20
gyeeyes, ironic is running, node is in "available" state18:20
TheJuliacan you confirm connectivity, i.e. curl ironic's api from the host running nova-compute?18:21
gyeeyes18:22
gyee< HTTP/1.1 200 OK18:22
gyee< X-Openstack-Ironic-Api-Minimum-Version: 1.118:22
gyee< X-Openstack-Ironic-Api-Maximum-Version: 1.4618:22
gyeethat's what I am getting back for those headers18:22
gyeethis is stable/rocky btw18:22
TheJuliahmm18:23
TheJuliaare your nova version is also stable rocky? along iwth python-ironicclient?18:23
gyeeyes18:23
gyeethis is our latest snapshot build, our GA build works fine18:24
gyeeso something has changed either in ironicclient, keystoneauth, or python-requests18:24
gyeeI haven't been able to pinpoint where the headers got camelcased18:25
TheJuliawhat version of keystoneauth/18:25
gyeekeystoneauth1-3.10.018:26
gyeeTheJulia, but regardless, shouldn't ironicclient be doing case-insensitive normalization of the headers first?18:26
gyeeper my understanding, the HTTP headers are supposed to be case-insensitive18:26
*** igordc has quit IRC18:28
*** verma-varsha has joined #openstack-ironic18:28
gyeelooks like someone else also ran into this https://bugs.launchpad.net/nova/+bug/179376618:29
openstackLaunchpad bug 1793766 in OpenStack Compute (nova) "An unknown error has occurred when trying to get the list of nodes from the Ironic inventory. Error: StrictVersion instance has no attribute 'version'" [Low,Confirmed]18:29
TheJuliagyee: no, because they are explicitly cased18:30
TheJuliaI've personally neve seen anything mandating headers be insensitive18:30
TheJuliayeah, that is what I think your hitting and once ironic is up, the error goes away18:31
gyeefor me, the node never got registered as a hyperisor18:32
gyeeaside from that error, I am not seeing any other errors in nova-compute logs18:34
TheJuliagyee: what version of python-requests do you have?18:34
gyeerequests-2.19.118:35
TheJuliacan we get a few more lines around the error, and any exception being reported?18:36
gyeeno other exceptions, just a couple of deprecation warnings18:38
*** trandles has joined #openstack-ironic18:39
TheJuliagyee: python-ironicclient 2.5.3?18:39
gyeeTheJulia: python_ironicclient-2.5.218:40
*** verma-varsha has quit IRC18:40
gyeeshould we be using 2.5.3 instead?18:40
*** verma-varsha has joined #openstack-ironic18:42
TheJuliaperhaps... are you using an endpoint_override?18:44
TheJulia2.5.3 was released june 3rd18:45
gyeeyes18:46
TheJuliaand does touch the endpoint override code in that there was a backport, and I think you had a prior patch as well, so... maybe that might just resolve it18:46
gyeeTheJulia: so looks like if get_node_list failed, nova will treat it as driver not ready https://github.com/openstack/nova/blob/master/nova/virt/ironic/driver.py#L63918:46
TheJuliagyee: indeed18:46
TheJuliaby design18:47
gyeeTheJulia, I still think we need to fix ironicclient to normalize the header names first18:47
gyeeotherwise, I can't see how version negotiation will ever going to work18:47
TheJuliaIt has worked for years18:48
gyeetill a underlying component camelcased them names for ya :-)18:48
TheJuliaseemingly, do you have an example of what is being receieved back to python-ironicclient?18:49
gyeelet me add a logging statement in the code, give me a few minutes18:49
TheJuliathanks18:49
*** jmelvin has quit IRC19:02
*** dsneddon has quit IRC19:11
*** e0ne has joined #openstack-ironic19:16
gyeeTheJulia, looks like the problem is with the endpoint override19:19
gyeeturns out we have a versioned endpoint in endpoint override, and version negotiation blindly append '/v1' to it19:20
gyeeso it was talking to https://host:6385/v1/v1 which yield HTTP 404, but ironicclient never check for it19:20
gyeeand still proceed to look for the version headers19:21
TheJuliagyee: sounds like the bug dmitry fixed in 2.5.319:21
gyeeafter removing the versioned endpoint and making it versionless, now the node showed up nova hypervisor list19:21
gyeeyeah19:22
gyeetime to update our playbook19:22
TheJulia\o/19:22
gyeeTheJulia, thanks for the help!19:22
gyeethough there may still be room for improvement in ironicclient, like checking for the HTTP code and make it a bit more robust19:23
TheJuliaThere is always room for improvement, the key question though is if we can backport it :)19:23
gyeeyeah, release management is hard19:24
*** jcoufal has quit IRC19:40
*** bfournie has quit IRC19:53
*** dsneddon has joined #openstack-ironic19:55
*** betherly has quit IRC20:27
*** verma-varsha has quit IRC20:29
*** jtomasek has quit IRC20:31
*** e0ne has quit IRC20:37
*** betherly has joined #openstack-ironic20:48
*** betherly has quit IRC20:52
*** jcoufal has joined #openstack-ironic20:53
*** whoami-rajat has quit IRC21:01
*** betherly has joined #openstack-ironic21:08
*** betherly has quit IRC21:12
*** igordc has joined #openstack-ironic21:13
*** dsneddon has quit IRC21:20
*** betherly has joined #openstack-ironic21:28
*** dsneddon has joined #openstack-ironic21:28
*** betherly has quit IRC21:33
*** betherly has joined #openstack-ironic21:36
*** jtomasek has joined #openstack-ironic21:36
*** dsneddon has quit IRC21:39
*** betherly has quit IRC21:40
*** dsneddon has joined #openstack-ironic21:48
*** betherly has joined #openstack-ironic21:57
*** betherly has quit IRC22:01
*** jcoufal has quit IRC22:02
*** dsneddon has quit IRC22:03
*** betherly has joined #openstack-ironic22:18
*** betherly has quit IRC22:23
*** dsneddon has joined #openstack-ironic22:23
*** whoami-rajat has joined #openstack-ironic22:24
*** dsneddon has quit IRC22:29
*** ociuhandu has joined #openstack-ironic22:30
*** trandles has quit IRC22:35
*** ociuhandu has quit IRC22:35
*** dsneddon has joined #openstack-ironic22:51
*** rcernin has joined #openstack-ironic22:53
openstackgerritSteve Baker proposed openstack/metalsmith master: Set useful port name when hostname is provided  https://review.opendev.org/67549523:00
*** betherly has joined #openstack-ironic23:01
*** ricolin_ has joined #openstack-ironic23:02
*** ricolin has quit IRC23:05
*** betherly has quit IRC23:06
*** alexmcleod has quit IRC23:09
*** cdearborn has quit IRC23:19
*** etingof has quit IRC23:22
*** betherly has joined #openstack-ironic23:54
*** sthussey has quit IRC23:57
*** betherly has quit IRC23:59

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!