Sunday, 2022-06-05

opendevreviewLiZekun proposed openstack/ironic-inspector master: Remove unicode literal from code  https://review.opendev.org/c/openstack/ironic-inspector/+/84470901:08
opendevreviewLiZekun proposed openstack/ironic-inspector master: Remove unicode literal from code  https://review.opendev.org/c/openstack/ironic-inspector/+/84470901:09
opendevreviewMerged openstack/ironic-python-agent bugfix/8.3: Do not try to guess EFI partition path by its number  https://review.opendev.org/c/openstack/ironic-python-agent/+/84256306:38
opendevreview江治林 proposed openstack/ironic-python-agent master: Update python testing as per zed cycle testing runtime  https://review.opendev.org/c/openstack/ironic-python-agent/+/84473806:44
opendevreview江治林 proposed openstack/ironic-python-agent master: Update python testing as per zed cycle testing runtime  https://review.opendev.org/c/openstack/ironic-python-agent/+/84473806:44
waleedmHi guys, When implementing a clean_setp using ironic-python-agent hardware manager, Can't I pass an argements to that step ?12:25
waleedm@TheJulia, can you help please?12:28
TheJuliawaleedm: you should be able to, just mechanics of how are not in my brain at this time12:37
waleedmTheJulia, I defined something like this, https://github.com/wmousa/ironic-python-agent/blob/test/ironic_python_agent/hardware_managers/mlnx.py#L120-L14712:43
waleedmTheJulia, but it didn't work 12:44
TheJuliaDoes the step get populated agent wise when it runs? In automated cleaning at least, it calls the agent  to get the steps from all hardware managers and it returns it back12:45
waleedmTheJulia, I did a manual cleaning using this command "openstack baremetal node clean control-0 --clean-steps '[{"interface": "deploy", "step": "update_nvidia_fw", "args": {"bin_dir_url": "http://10.7.12.161/fw/", "yaml_config": "http://10.7.12.161/config.yaml"}}]'"12:48
waleedmit failed with this error "ERROR ironic.conductor.task_manager [req-1c0b3d93-f2dd-47e1-a7c0-c689dd961c76 - - - - -] Node 52625f69-5876-4671-9096-45fc9dbfc2ab moved to provision state "clean failed" from state "clean wait"; target provision state is "manageable": ironic.common.exception.InvalidParameterValue: clean step {'interface': 'deploy', 'step': 'update_nvidia_fw', 'args': {'bin_dir_url': 'http://10.7.12.161/fw/', 'yaml_config': 12:49
waleedm'http://10.7.12.161/config.yaml'}} has these unexpected arguments: yaml_config, bin_dir_url"12:49
TheJuliaHmmm12:49
TheJuliaBecause it is preflight checked12:49
TheJuliaHmmmmm12:49
TheJuliaSounds like we’re validating too early12:50
TheJuliaBefore the agent ramdisk is online, but I’m just guessing. I don’t have the code in front of me at the moment12:51
waleedmTheJulia, bur running the clean_Step without args is OK !12:56
ashinclouds[m]Weird… that sounds like a definite bug then12:56
TheJuliaErr, what I just said on my matrix client12:57
waleedmmmm so ?13:06
waleedmTheJulia, this https://github.com/wmousa/ironic-python-agent/blob/test/ironic_python_agent/hardware_managers/mlnx.py#L132  should be argsinfo ?14:11
TheJuliaI dont remember at the moment, just checked out a meeting location for the Summit14:26
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic-python-agent bugfix/8.3: Create fstab entry with appropriate label  https://review.opendev.org/c/openstack/ironic-python-agent/+/84448615:48
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic-python-agent bugfix/8.3: Collect a full lsblk output in the ramdisk logs  https://review.opendev.org/c/openstack/ironic-python-agent/+/84474718:01
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic-python-agent bugfix/8.3: Add `mount` and `parted -l` to the collected commands  https://review.opendev.org/c/openstack/ironic-python-agent/+/84474818:02
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic-python-agent bugfix/8.3: Multipath Hardware path handling  https://review.opendev.org/c/openstack/ironic-python-agent/+/84474918:03

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