Thursday, 2025-04-24

opendevreviewYu Zou proposed openstack/ironic master: feat: add verify ca conf support for drivers  https://review.opendev.org/c/openstack/ironic/+/94754402:43
opendevreviewYu Zou proposed openstack/ironic master: feat: add verify ca conf support for drivers  https://review.opendev.org/c/openstack/ironic/+/94754402:44
arne_wiebalckGood morning, Ironic!06:47
rpittaugood morning ironic! o/07:01
queensly[m]Good morning07:03
freemanboss[m]Good morning 07:17
Ayo[m]Good morning07:18
abongaleGood morning Ironic!08:39
opendevreview雒海艇 proposed openstack/networking-generic-switch master: Remove H3C unit test temporarily due to netmiko dev branch dependency  https://review.opendev.org/c/openstack/networking-generic-switch/+/94804909:11
opendevreview雒海艇 proposed openstack/networking-generic-switch master: Add H3C switch support in supported-devices.rst  https://review.opendev.org/c/openstack/networking-generic-switch/+/94805009:11
Sandzwerg[m]Hello wonderful people of ironic. As always when I have time to look into this I have an issue. Can someone tell me if it's possible to have more than one capability on a node? For example boot_mode:uef and secure_boot: true. I tried to do it as json but that fails during deployment openstack baremetal node set --property capability={"boot_mode": "uefi", "secure_boot": "true"} that a dict object has no attribute split. Before I14:26
Sandzwerg[m]tried to add just the secure_boot but that overwrote the boot_mode and just adding a "," or ";" also looks wrong. I think I'm holding it wrong but I don't know how to hold it right14:26
JayFI think it'd be something like14:28
JayFopenstack baremetal node set --capability boot_mode=uefi --capability secure_boot=true14:28
Sandzwerg[m]ohhhh I didn't think of that, let me try it.14:29
dtantsurHmm, I don't think we actually have a reasonable command to do that..14:33
Sandzwerg[m]hmm no when I state multiple capabilities only the last one "wins"14:35
Sandzwerg[m]https://docs.openstack.org/ironic/queens/install/advanced.html mentions that I should quote the string and doing --property capabilities="boot_mode:uefi,secure_boot:true"  shows both as "capabilities": "bootmode:uefi,secure_boot:true" but that looks a bit odd to me (especially in the json output compared to e.g. the root device hint14:42
Sandzwerg[m]* https://docs.openstack.org/ironic/queens/install/advanced.html mentions that I should quote the string and doing --property capabilities="boot_mode:uefi,secure_boot:true"  shows both as "capabilities": "bootmode:uefi,secure_boot:true"´  but that looks a bit odd to me (especially in the json output compared to e.g. the root device hint14:42
Sandzwerg[m]* https://docs.openstack.org/ironic/queens/install/advanced.html mentions that I should quote the string and doing --property capabilities="boot_mode:uefi,secure_boot:true"  shows both as "capabilities": "bootmode:uefi,secure_boot:true"  but that looks a bit odd to me (especially in the json output compared to e.g. the root device hint`14:42
Sandzwerg[m]Let's see if it works14:43
Sandzwerg[m]OK, that indeed works and I no longer have a dict splitting error even when it's not intuitve to me. Thanks for rubber ducking that with me :) Is there any chance to note this in the documentation so that I can look it up next time instead of remebering it?14:47
dtantsurSandzwerg[m]: this, or we'll be extremely grateful if you could actually implement that --capability argument that JayF just made up :)14:54
dtantsur(and probably --instance-capability? a similar thing exists in instance_info, but it's a normal dict rather than... that)14:54
JayF"made up" is such a nasty term for my brainstorming ideation :P 14:59
Sandzwerg[m]I'm not sure my python is good enough to implement that yet (or have the time currently 🫠) but I could at least try to work on the documentation. Were would be a good place to add it? I think there is no generic "capabilities" section but it's only mentioned when it's used for something like local boot in the link above15:09
dtantsurJayF: I wanted to say hallucinated, but was afraid it wound sound just rude instead of a funny reference to AI :)15:13
dtantsurSandzwerg[m]: a capabilities section in the user guide would be a useful addition15:14
Sandzwerg[m]As it's own page or on that advanced page (or somewhere else)?16:14
TheJuliaI think I need to go find a beach and chill on it for a week or two16:15
Sandzwerg[m]Sounds like a good plan. May I suggest the addition of ice cream and drinks with little umbrellas?16:16
*** awb_ is now known as awb16:42
TheJuliaSandzwerg[m]: ++19:37
* JayF just got approval and will almost certainly be in Paris \o/21:58

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