Friday, 2024-07-12

opendevreviewRafal Lewandowski proposed openstack/kolla-ansible master: [WIP] Enable ML2/OVN and distributed FIP by default.  https://review.opendev.org/c/openstack/kolla-ansible/+/90495907:55
opendevreviewMatt Crees proposed openstack/kolla stable/2023.1: Move apt_prefs pins to respective images  https://review.opendev.org/c/openstack/kolla/+/91897308:16
opendevreviewMatt Crees proposed openstack/kolla stable/2023.1: Build RabbitMQ 3.11, 3.12 and 3.13 in 2023.1  https://review.opendev.org/c/openstack/kolla/+/91897408:16
opendevreviewWill Szumski proposed openstack/kolla-ansible master: WIP: Try overriding docker collection  https://review.opendev.org/c/openstack/kolla-ansible/+/92404308:57
opendevreviewWill Szumski proposed openstack/kayobe master: WIP: Use community.docker  https://review.opendev.org/c/openstack/kayobe/+/92397809:04
mnasiadkajovial: any idea why it's not failing in kolla-ansible CI? :)09:08
jovialmnasiadka, I'll take a look. I've not fully investigated that yet. Possibly you are pinning requests in your kolla-ansible venv?09:20
mnasiadkaNo - we're not using anything from community.docker :)09:20
mnasiadka(only in the kolla publish jobs)09:21
jovialHit it on: "Fetch fluentd Docker image labels"09:22
jovialhttps://github.com/openstack/kolla-ansible/blob/362cf2bbe324b16d7a7f63db4dac7026d70c567e/ansible/roles/common/tasks/config.yml#L5809:22
jovialHere is the log: https://45ab50c71482ae2fd55d-f5b371aed546eed3ac03c77e9adc0c03.ssl.cf5.rackcdn.com/923978/1/check/kayobe-overcloud-rocky9/a5af761/primary/ansible/overcloud-deploy09:23
mnasiadkais that master?09:26
jovialIn theory, yes09:27
opendevreviewWill Szumski proposed openstack/kayobe master: WIP: Use community.docker  https://review.opendev.org/c/openstack/kayobe/+/92397809:35
jovialmnasiadka, Do you think it would be better just to pin requests and wait for the ansible bump to bring in a new community.docker?09:38
mnasiadkaI'm not convinced we're pinning in k-a09:39
mnasiadkaso question why it works in k-a CI :)09:39
jovialI'll do a bit more digging there now :)09:40
sylvrHello #openstack-kolla !09:50
jovialMorning sylvr 09:51
opendevreviewWill Szumski proposed openstack/kayobe master: Pin requests to workaround bug in community.docker  https://review.opendev.org/c/openstack/kayobe/+/92026909:51
sylvrjovial: Do you have any news about the regression on the IPMI driver I told you about ? The datacenter is powered on again and I can run tests on my nodes !09:52
sylvrOn my deployment I can see that nodes are registered into Bifrost but their missing all their driver_info (no IPMI cred' at all)09:58
jovialsylvr: Can you do a baremetal introspection data save <node> on one of them. I'm curious to see if it collected the info, but failed to set the property on the node.09:59
sylvrjovial : Introspection data not found for node 23b422ae-2184-405e-99b9-4ea3fd402851, processed=True10:00
sylvrI had to build my own IPA (using kayobe) to enable devuser on the nodes, this is unrelated right?10:01
jovialsylvr, building your own IPA shouldn't hurt10:02
jovialLet me check the defaults for Ironic storing the introspection data10:02
sylvrbtw, node are stuck in enroll state (as far as I understand, this is "normal" as their driver isn't properly configured)10:03
jovialCorrect, it won't let you transition to manageable if it fails validation10:04
jovialsylvr: This is the relevant option: https://github.com/openstack/bifrost/blob/stable/2024.1/playbooks/roles/bifrost-ironic-install/templates/ironic-inspector.conf.j2#L8810:05
jovialCould you check ironic-inspector.conf inside your bifrost container?10:05
sylvryep, the line is present10:07
jovialAnd `baremetal introspection status <node>` doesn't show an error?10:08
sylvrjovial : Could not find node 23b422ae-2184-405e-99b9-4ea3fd402851 in cache10:08
jovialI'm wondering if inspector errored out for some reason when processing the introspection data10:08
jovialfunky10:09
jovialCould you check for errors in the ironic-inspector logs?10:09
sylvrmaybe I should power cycle my nodes ?10:09
sylvryep!10:09
jovialAlso see if there are any messages when you grep for the node uuid in the logs10:09
sylvron the seed there's nothing in /var/lob/ironic-inspector/ramdisk/10:10
jovialAny did you explicitly register the nodes in bifrost via baremetal node create?10:11
jovialand*10:11
sylvrnop10:11
sylvrthe plan is to use autodiscovery10:11
jovialYeah, I thought so. Just wanted to check my assumptions.10:11
sylvrI know that sometimes there's issue when redeploying the seed-bifrost10:11
jovialI would delete that node and get it to PXE again. Just see if you get the same behaviour.10:12
sylvrand I know that my nodes are sometimes a bit capricious and I have to log on the webgui of the iDRAC to reset to PXEboot10:12
sylvron it right now10:12
jovialsylvr, Also check: /var/log/kolla/ironic-inspector/ironic-inspector.log10:14
sylvrjovial : the logs : https://pastebin.com/gJvdgPN710:17
PrzemekKDo You know when new kolla images for glance will be updated to 28.1.0 ? Currentlly cat /glance-base-source/glance-28.0.2.dev27/glance/async_/flows/plugins/image_conversion.py | grep -i 'QCOW images with data-file set are not allowed'                 'QCOW images with data-file set are not allowed') patch for 2024.1 https://launchpadlibrarian.net/737116834/glance-2024.1-2059809.patch10:18
sylvrjovial : hum... it seems I have nodes in duplicate10:21
sylvrif I delete them all and then power cycle them, they should register themself again correctly right ?10:21
jovialslyvr, yep, that should work10:29
sylvrjovial : my node register themself into bifrost, but nothing in the cache and still no ramdisk logs10:41
jovialsylvr: Any errors in /var/log/kolla/ironic-inspector/ironic-inspector.log?10:51
sylvrjovial : yes (sample : https://pastebin.com/6mD7NrPi )10:53
sylvrjovial : https://pastebin.com/0ekcTuK3 (INFO & DEBUG)10:54
kevkoanybody to allow https://review.opendev.org/c/openstack/kolla-ansible/+/923859 backport to be merged ? 10:56
kevkomnasiadka ^^ frickler ^^ 10:56
sylvrjovial : saw that in a node logs : Jul 12 06:35:34 localhost ironic-python-agent[1362]: 2024-07-12 06:35:34.243 1362 WARNING root [-] Executable 'biosdevname' not found: FileNotFoundError: [Errno 2] No such file or directory: 'biosdevname'11:10
sylvrit seems that the node introspect, enroll and have the heartbeat OK, but not data is saved from the introspection11:14
sylvrno data*11:15
opendevreviewRafal Lewandowski proposed openstack/kolla-ansible master: [WIP] Enable ML2/OVN and distributed FIP by default.  https://review.opendev.org/c/openstack/kolla-ansible/+/90495911:37
sylvrjovial: well the good news is that if manually provided with the correct credentials, the node can be managed using ironic11:38
jovialslyvr: That sounds like a good workaround. There is definitely a bug somewhere though :D11:42
jovialI didn't see anything problematic in the logs11:43
sylvrjovial: what else can I do found this bug ? can it be a configuration issue ?11:46
sylvrto find*11:46
jovialIts hard to say why it isn't storing the introspection data without seeing an obvious in the logs. The other thing you can try is setting `always_store_ramdisk_logs` in ironic-inspector.conf and debug=True. Would have restart the bifrost container for those changes to be picked up.11:50
jovialIt seems to me that the data is being sent back, but inspector is failing to process it properly11:51
sylvrI pushed my current config to my repo11:52
sylvris it necessary if I can directly log on the ramdisk ?11:52
jovialsylvr: No, just checking journalctl -u ironic-python-agent is probably enough. Did we get any errors on the client side?11:53
sylvryes11:53
sylvr Jul 12 06:35:34 localhost ironic-python-agent[1362]: 2024-07-12 06:35:34.243 1362 WARNING root [-] Executable 'biosdevname' not found: FileNotFoundError: [Errno 2] No such file or directory: 'biosdevname'11:53
jovialThat one can largely be ignored, but you could install that package in your IPA image11:54
sylvrJul 12 06:35:04 localhost.localdomain ironic-python-agent[1362]: 2024-07-12 06:35:00.636 1362 DEBUG root [-] Get driver for interface lo fail11:55
sylvred. Error: Unexpected error while running command.11:55
sylvrJul 12 06:35:04 localhost.localdomain ironic-python-agent[1362]: 2024-07-12 06:35:00.648 1362 DEBUG root [-] No iscsi connection detected. Sk11:55
sylvripping iscsi. Error: Unexpected error while running command.11:55
sylvrJul 12 06:35:06 localhost.localdomain ironic-python-agent[1362]: 2024-07-12 06:35:00.879 1362 DEBUG ironic_lib.utils [-] Command failed: Unex11:55
sylvrpected error while running command.11:55
sylvrJul 12 06:35:06 localhost.localdomain ironic-python-agent[1362]: 2024-07-12 06:35:00.897 1362 WARNING root [-] Attempted to determine if mult11:55
sylvripath tools were present. Not detected. Error recorded: [Errno 2] No such file or directory: 'multipath': FileNotFoundError: [Errno 2] No suc11:55
sylvrh file or directory: 'multipath'11:55
jovialThose errors aren't fatal. It is just trying to collect as much information as possible. Of course if you are using multipathing, you may wish to install those packages11:56
jovialYou are more looking for an error after it posts the data to Ironic11:57
sylvrwell, the IPAs seem clean, let's go check the ironic server then :D11:58
jovialYeah, I think debug logs could help for that11:59
sylvrjovial : well /var/log doesn't contain the ironic directory on my seed, journalctl -xeu ironic return no logs (just start up service)12:02
jovialslyvr: its /var/log/kolla that you need to be looking in12:07
opendevreviewWill Szumski proposed openstack/kayobe master: WIP: Use community.docker  https://review.opendev.org/c/openstack/kayobe/+/92397812:10
sylvrjovial: got confused as there is a /var/log/ironic-inspector directory ^^ yeah there's lot of error, I'm preparing the pastebin with the full logs or just the error ? (grep -i error)12:10
sylvrjovial : grep -i error /var/log/kolla/ironic/ironic.log : https://pastebin.com/2U3H4irD12:12
jovialHmm, nothing particularly alarming12:14
jovialDo you transport_url=fake:// in your ironic-inspector.conf12:15
sylvryes12:16
sylvrwritten the same12:17
sylvrforgot to ask, do you want me to send the /etc/ironic-inspector/inspector.conf ?12:17
jovialI'm mostly out of ideas. You have more luck asking on the mailing list or in #openstack-ironic12:18
sylvrgoing to the IRC, thanks for everything, so the issue seems to be that the ironic server is unable to store the data from the inspection right ?12:19
jovialYeah, from what I can tell, and it might be more obvious with the full inspector logs, it is receiving the data posted from ironic-python-agent but failing to fully process it and store it12:21
sylvrokay, thanks, I'll keep you in touch with this issue12:21
jovialCheers, it would be good to update the bug you posted if you get it resolved. Worth commenting with the workaround of manually setting ipmi_address too.12:22
jovialsylvr: No errors like this one:https://github.com/openstack/ironic-inspector/blob/e96ee4b5ffc44c70ad601a7029c9cad20e93dc4b/ironic_inspector/process.py#L176 ?12:23
sylvrjovial: doesn't seems so, I'll update the bug report12:26
opendevreviewWill Szumski proposed openstack/kayobe master: WIP: Use community.docker  https://review.opendev.org/c/openstack/kayobe/+/92397812:50
jovialthanks :)12:50
opendevreviewMaximilian Sesterhenn proposed openstack/kolla master: Add ovn-bgp-agent / FRR / Horizon BGPVPN dashboard  https://review.opendev.org/c/openstack/kolla/+/89161713:18
opendevreviewMaximilian Sesterhenn proposed openstack/kolla-ansible master: WIP: Add ovn-bgp-agent / FRR / neutron-bgpvpn / Horizon BGPVPN dashboard support  https://review.opendev.org/c/openstack/kolla-ansible/+/89162213:22
jovialmnasiadka, To answer your earlier question, I found k-a has this: https://github.com/openstack/kolla-ansible/blob/master/requirements-core.yml and in CI, we install ansible-core only, so trigger this installation of these requirements with kolla-ansible install-deps14:41
jovialWas think that we should use install-deps in kayobe14:41
jovialthinking*14:41
opendevreviewWill Szumski proposed openstack/kayobe master: Use explicit version of community.docker  https://review.opendev.org/c/openstack/kayobe/+/92397815:17
opendevreviewWill Szumski proposed openstack/kayobe master: Pin requests to workaround bug in community.docker  https://review.opendev.org/c/openstack/kayobe/+/92026915:40
opendevreviewPetr Slavchenkov proposed openstack/kolla-ansible stable/2023.1: Add ca_path for module uri in opensearch role  https://review.opendev.org/c/openstack/kolla-ansible/+/92408016:21
opendevreviewPetr Slavchenkov proposed openstack/kolla-ansible stable/2023.1: Add ca_path for module uri in opensearch role  https://review.opendev.org/c/openstack/kolla-ansible/+/92408016:28
opendevreviewWill Szumski proposed openstack/kayobe master: Use explicit version of community.docker  https://review.opendev.org/c/openstack/kayobe/+/92397817:53
kevkojovial: i think we should add ansible>= some_version into kolla-ansible 18:07
kevkoi really don't know why we don't have this in requirements 18:07
kevkoas kolla-ansible has ansible also in the name :D 18:07
jovialIts certainly a bit odd not to install it in requirements. I guess it does allow you to choose between ansible-core and full fat ansible.18:11
jovialBut could we not just have ansible-core in there? Since that is a dependency of ansible?18:11
kevkojovial: i think you need to have ansible installed always ..18:26
kevkojovial: ansible-core is not too much 18:27
kevko*not enough18:27
kevkojovial: for example git module is from ansible not ansible-core , for example used in ansible/roles/nova-cell/tasks/clone.yml <<18:32
opendevreviewRafal Lewandowski proposed openstack/kolla-ansible master: [WIP] Enable ML2/OVN and distributed FIP by default.  https://review.opendev.org/c/openstack/kolla-ansible/+/90495922:19

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