Friday, 2021-10-29

*** pmannidi is now known as pmannidi|brb01:19
*** pmannidi|brb is now known as pmannidi01:52
MikeCTZAmorning ironic, going to try and get back to trying to get my setup working today ... yell if anyone is around as I have a few basic questions I'd like to bounce off someone (I could just type them I guess)05:27
MikeCTZAin my setup I currently have 2 openstack controllers and 1 controller for ironic (just to split things), the ironic contoller has vlan 505 (just our VLANID) as native, as does the BM node I'm trying to use. I can PXE ok then I have troubles in the IPA.  So ... the IP the BIOS sees and then the IP the IPA ramdisk gets is the same correct? that seems to then set it's gateway to be the ironic controller box itself05:34
arne_wiebalckGood morning, Ironic!06:34
MikeCTZAmorning arne_wiebalck - it's FriYAY !!!06:36
MikeCTZAtaking another stab at my setup today after a week of other distractions06:36
arne_wiebalckMikeCTZA: Friday \o/06:37
* arne_wiebalck has half a day off on top :)06:37
MikeCTZAnice, we have Monday as a holiday here as it is local elections06:38
arne_wiebalckMikeCTZA: The IPA needs to talk to the conductor, it will use the information you passed via PXE (callback URL, it should be a kernel parameter for the image the IPA is using)06:39
MikeCTZAOK, let me see what IP the conductor is bound to and that the IPA can reach it, I'm slowly understanding how this all fits together, far from easy (for me anyway)06:40
*** pmannidi is now known as pmannidi|AFK06:44
iurygregorygood morning MikeCTZA arne_wiebalck and Ironic o/ TGIF!06:54
MikeCTZAarne_wiebalck: I've changed the ipa-inspection-callback-url to make sure it has the IP of the conductor as it was bound to the wrong IP, I also changed the DEFAULT my_ip to be the same in ironic.conf of conductor06:57
MikeCTZAso when the box PXE boots and loads the IPA, should it just sit at a prompt or does it then power off or what? I could be looking/trying to see something that I shouldn't see06:58
MikeCTZAor how do I know that process has worked and there isn't some problem there?06:58
arne_wiebalckMikeCTZA: on the console of the baremetal node you should see the output of the IPA07:09
arne_wiebalckMikeCTZA: you can also log into the baremetal node and follow its journal to see what it is doing07:10
MikeCTZAI suspect I still have something not quite right as still getting moans about DNS07:10
arne_wiebalckMikeCTZA: once the inspection is done the node will (usually) switch off07:10
MikeCTZAI have enabled a password so I can ssh in to the IPA so can look a bit there with limited commands or course07:11
arne_wiebalckMikeCTZA: why limited commands?07:11
MikeCTZAwell ... not ones I was trying anyway like dig etc. to see what I could do ... this is the RAM disk boot thing 07:12
MikeCTZAhttps://www.irccloud.com/pastebin/16RxKcv1/07:12
arne_wiebalckMikeCTZA: right, it seem this is the config inside the IPA image07:13
* arne_wiebalck has a meeting now, ttyl07:13
MikeCTZAyeah I'm in there via SSH from the controller, "enjoy" meeting07:13
arne_wiebalckheh07:14
iurygregorymeetings on friday OMG =( (stay alive arne_wiebalck )07:14
arne_wiebalckMikeCTZA: I think the next step should be to make sure the IPA can connect to the inspector (if this is introspection).07:49
MikeCTZAso I've got a bit futher I disabled dns then I saw it cant talk back to the IP which was wrong  so fixed that07:50
MikeCTZAit now does inspection but fails (which I ran in debug)07:50
MikeCTZAhttps://www.irccloud.com/pastebin/DdCO5HBP/07:50
rpittaugood morning ironic! o/07:51
arne_wiebalckMikeCTZA: this is on the server I would think, so have a look at the inspector logs on the controller07:51
arne_wiebalckhey rpittau o/07:52
MikeCTZAarne_wiebalck: I am there now already looking, ironic_inspector.main Look up error: Could not find a node for attributes {'bmc_address': ['10.102.30.31'], 'mac': ['a0:36:9f:66:53:52', 'ec:f4:bb:d5:a6:14', 'ec:f4:bb:d5:a6:10', 'a0:36:9f:66:53:50', 'ec:f4:bb:d5:a6:15', 'ec:f4:bb:d5:a6:12']}07:52
MikeCTZAso that explains a bit 07:52
arne_wiebalckyes: the inspector tries to find your node, but fails07:52
arne_wiebalckIIRC, the inspector needs to be configured to add it (the port), or the port needs to be added manually 07:53
rpittauhey arne_wiebalck :)07:53
MikeCTZAyeah ive got that so just checking it all matches up07:53
arne_wiebalckin our deployment, the inspector adds ports07:53
MikeCTZA$ openstack baremetal port list -f value07:54
MikeCTZA985ab1dd-6121-463d-89a0-97ebe4afe57e ec:f4:bb:d5:a6:1007:54
MikeCTZAchecking that my node and port match each other and I'm not "out of sync"07:55
iurygregorymorning rpittau o/08:01
rpittauhey iurygregory :)08:01
MikeCTZAso when you create the node with openstack node create, you then get the UUID and link that up to the port with openstack port create, I assume thats what the inspector is checking then to match up and find the bmc_address and mac when the inspection call back happens?08:42
arne_wiebalckThe inspector manages its own DB with the ongoing inspections, I am not fully sure where this failing check is done.08:50
opendevreviewRiccardo Pittau proposed openstack/ironic-python-agent-builder master: Associate pip version to python version in DIB based images  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/81594408:50
MikeCTZAI guess the info from inspector then gets passed back to openstack and would update values in the openstack hypervisor show command, I can see the node is a hypervisor but with 0 in hardware related values09:17
dtantsurrpittau: great to see the arm64 build passing :) have you checked with infra if they have enough capacity to run this job for us?09:38
dtantsur200 MiB is not even too large09:39
dtantsuriurygregory: morning! could you maybe check https://review.opendev.org/c/openstack/sushy/+/815103 https://review.opendev.org/c/openstack/sushy/+/815107 and https://review.opendev.org/c/openstack/sushy/+/815475 since they're potentially merge conflict bombs?09:42
rpittaudtantsur: it looks like the arm64 image is also smaller than the x86_64 one :)10:03
rpittauI haven't  checked with infra yet, wanted to see what we want to do first, just the check job for now or the build too ?10:03
iurygregorydtantsur, looking now10:04
arne_wiebalckbye everyone, see you next week o/10:20
dtantsurrpittau: if they have the capacity, it probably makes sense to build the image10:25
dtantsurthen we can start looking towards a bifrost job10:25
rpittaualright10:48
opendevreviewMerged openstack/sushy master: Prepare the ground to use enums instead of strings  https://review.opendev.org/c/openstack/sushy/+/81510311:07
*** dviroel|rover|afk is now known as dviroel|rover11:11
Mahnoor_Asghar[Outreachy] Hey guys! A question related to python-ironiccient: I am trying to change help text in baremetal node show --help, but the changes I am making in my repo arent visible on my CLI. I think I am invoking the pip package I installed (python-ironicclient). I cant seem to find instructions on how to get the changes there - Can someone point me in the right direction?12:02
Mahnoor_AsgharI think i'm missing an obvious doc page, but can't seem to find it somehow 12:02
ajyaMahnoor_Asghar: uninstall the version and check how to install from local folder/your source with pip12:08
ajyaor use virtual environments and install there from your source12:08
Mahnoor_Asgharokayyyy12:08
rpittauMahnoor_Asghar: probably installing in a virtualenv is the best choice as you can keep your system installed copy12:10
rpittauif you need it12:10
Mahnoor_Asgharso I run the virtualenv via tox, and then it should run the CLI as well?12:11
Mahnoor_AsgharThe landing page on python-ironiclient recommends installing keystone and ironic too..Do I need those 2 components as well?12:12
rpittauMahnoor_Asghar: create the virtualenv first and activate it, install ironicclient in the virtualenv from your local repo with pip, then you can run the baremetal command from there12:19
Mahnoor_Asgharokay, I will do that12:20
Mahnoor_AsgharThank you, that worked! :D 12:25
rpittauglad that helped :)12:25
Mahnoor_Asghar^-^12:25
dtantsurmraineri: hey! was there any particular reasoning behind having both CertificateLocations and CertificateCollection?12:27
* dtantsur is trying to understand the difference12:27
opendevreviewMerged openstack/sushy master: Migrate common constants to enums  https://review.opendev.org/c/openstack/sushy/+/81510712:33
opendevreviewDmitry Tantsur proposed openstack/sushy master: WIP certificate collection  https://review.opendev.org/c/openstack/sushy/+/81547912:54
dtantsurleaving for an extended weekend, see you on Tuesday folks!12:59
iurygregoryenjoy the long weekend dtantsur =)13:06
rpittaubye dtantsur, enjoy! :)13:10
opendevreviewMerged openstack/ironic bugfix/18.1: Minor updates to anaconda doc  https://review.opendev.org/c/openstack/ironic/+/81587213:36
opendevreviewMerged openstack/ironic stable/wallaby: Minor updates to anaconda doc  https://review.opendev.org/c/openstack/ironic/+/81587313:39
rpittaubank holiday for me too on Monday, see you on Tuesday, have a great weekend!14:23
opendevreviewMerged openstack/sushy master: Migrate Protocol constants to enums  https://review.opendev.org/c/openstack/sushy/+/81547514:25
opendevreviewRuby Loo proposed openstack/ironic stable/wallaby: Fix various issues in the anaconda deploy interface  https://review.opendev.org/c/openstack/ironic/+/81587014:39
iurygregorybye rpittau o/14:43
opendevreviewVerification of a change to openstack/ironic stable/xena failed: Fix various issues in the anaconda deploy interface  https://review.opendev.org/c/openstack/ironic/+/81580815:11
opendevreviewRuby Loo proposed openstack/ironic stable/wallaby: Fix various issues in the anaconda deploy interface  https://review.opendev.org/c/openstack/ironic/+/81587015:33
opendevreviewRuby Loo proposed openstack/ironic bugfix/18.1: Fix various issues in the anaconda deploy interface  https://review.opendev.org/c/openstack/ironic/+/81587115:38
opendevreviewVerification of a change to openstack/ironic stable/xena failed: Fix various issues in the anaconda deploy interface  https://review.opendev.org/c/openstack/ironic/+/81580815:55
opendevreviewVerification of a change to openstack/ironic stable/xena failed: Fix various issues in the anaconda deploy interface  https://review.opendev.org/c/openstack/ironic/+/81580819:01
opendevreviewVerification of a change to openstack/ironic stable/xena failed: Fix various issues in the anaconda deploy interface  https://review.opendev.org/c/openstack/ironic/+/81580819:27
*** dviroel|rover is now known as dviroel|rover|afk20:57
opendevreviewVerification of a change to openstack/ironic stable/xena failed: Fix various issues in the anaconda deploy interface  https://review.opendev.org/c/openstack/ironic/+/81580822:56
*** dviroel|rover|afk is now known as dviroel|out23:49

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