Hide Forgot
Description of problem: When you have to cancel an Introspection, it's not obvious that you need to run the following 2 commands to get the nodes back into an "Available" state: 1. ironic node-set-provision-state <uuid> provide 2. ironic node-set-power-state <uuid> off The nodes went from it went from Manageable to Available after that: openstack baremetal introspection status <uuid> It's not obvious that you first need to set the state to "provide" and then set the power state to off. This could be improved by having the unified OpenStack CLI (the openstack command) handle these 2 commands. Perhaps it could be something like: openstack baremetal introspection reset
Hi Julie, Is this something you are already working on?
Hi Beth, no it's not something I'm currently working on. A couple of thoughts: - It sounds like making cancelling introspection easier, should be something specifically for Ironic / Ironic Inspector to consider? - If not, then the component should probably be moved to python-tripleoclient, which owns some of the baremetal introspection commands... though we've been deprecating them [1] and aim to move away from using the 'baremetal' keyword in the tripleo cli from what I understand. - I'm not convinced by the Priority being set to High, since there it's possible to do this already with the commands provided in comment 0 (if I understand correctly) and I'm not sure how frequent "cancelling introspection" is as an operation. Perhaps it should be in the Inspector docs [2] as well. [1] e.g. https://review.openstack.org/#/c/416229/ [2] https://docs.openstack.org/ironic-inspector/latest/user/usage.html
Moving to HardProv due to introspection-related questions. Still uncertain what the component should be - inspector client? ironic client? tripleo client? The commands for the workaround all seem to use the ironic client but the start/status commands to do with the actual introspection apparently live in python-ironic-inspector-client so moving it there for now. Thanks!
We can abort an introspection but don't plan on making the changes requested here.