[Kolla][Ironic] Ironic node validation failed
Hi All, I am following the below document for implementing Ironic in my Kolla-Ansible Cloud which is on yoga version. https://docs.openstack.org/kolla-ansible/yoga/reference/bare-metal/ironic-gu... I can add a baremetal node with this in the "baremetal node list" and make it available. But when I am trying to create a nova server it fails trying to find the host. I tried to troubleshoot and find that "openstack baremetal node validate <nodeid>" command shows 1. bios - Driver ipmi does not support bios (disabled or not implemented) 2. console - Driver ipmi does not support console (disabled or not implemented) 3. deploy - Node failed to validate deploy image info. Some parameters were missing. Missing are ['instance_info.image_source'] 4. inspect - Driver ipmi does not support inspect (disabled or not implemented) 5. raid - Driver ipmi does not support raid (disabled or not implemented) 6. rescue - Driver ipmi does not support rescue (disabled or not implemented) Can you please guide me with documentation for setting these options. Or correct me if I am missing anything. Also above documents show steps to create deploy-vmlinuz and deploy-initrd only. Please guide me for steps creating deploy_kernel and deploy_ramdisk. Thanks, Jayesh
it looks like there are some missing parameters when you're validating your bare metal nodes, right? Specifically, it seems like there's an issue with the deployment image information. This means that the source for your deployment images might not be set up correctly on your bare metal nodes. To fix this, you'll want to make sure you've got the deployment kernel (deploy-vmlinuz) and the deployment ramdisk (deploy-initrd) ready to go. These are usually provided by the Ironic project. Once you have them, you'll need to upload them to Glance, which is where OpenStack stores its images. You can do this using either the OpenStack command-line tools or through the Horizon dashboard. After you've uploaded the images, you'll need to tell your bare metal nodes where to find them. This involves setting some properties on the nodes. You can do this using the openstack baremetal node set command or by going through the Horizon dashboard. Now, about those missing features like BIOS, console, inspect, RAID, and rescue operations – it seems like the IPMI driver might not be fully configured or supported in your setup. You'll need to dive into your Ironic configuration files, like ironic.conf and ironic-inspector.conf, to make sure everything is enabled and set up correctly. Unfortunately, the specific steps for configuring these options might not be spelled out in the Kolla-Ansible documentation. However, you can always refer to the official OpenStack Ironic documentation for more detailed guidance. It's always a good idea to also check the documentation for your hardware, especially when dealing with IPMI-related configurations. If you're still running into issues after going through these steps, it might be time to do some troubleshooting. Your message is ready to be sent with the following file or link attachments: Rohit Sansiya https://sites.google.com/view/rpgcloud/research-india Note: To protect against computer viruses, e-mail programs may prevent sending or receiving certain types of file attachments. Check your e-mail security settings to determine how attachments are handled. On Thu, Feb 15, 2024 at 12:16 PM Jayesh Chaudhari < jayesh.chaudhari1990@gmail.com> wrote:
Hi All,
I am following the below document for implementing Ironic in my Kolla-Ansible Cloud which is on yoga version.
https://docs.openstack.org/kolla-ansible/yoga/reference/bare-metal/ironic-gu...
I can add a baremetal node with this in the "baremetal node list" and make it available. But when I am trying to create a nova server it fails trying to find the host. I tried to troubleshoot and find that "openstack baremetal node validate <nodeid>" command shows 1. bios - Driver ipmi does not support bios (disabled or not implemented) 2. console - Driver ipmi does not support console (disabled or not implemented) 3. deploy - Node failed to validate deploy image info. Some parameters were missing. Missing are ['instance_info.image_source'] 4. inspect - Driver ipmi does not support inspect (disabled or not implemented) 5. raid - Driver ipmi does not support raid (disabled or not implemented) 6. rescue - Driver ipmi does not support rescue (disabled or not implemented)
Can you please guide me with documentation for setting these options. Or correct me if I am missing anything. Also above documents show steps to create deploy-vmlinuz and deploy-initrd only. Please guide me for steps creating deploy_kernel and deploy_ramdisk.
Thanks, Jayesh
Greetings, The ipmi hardware is loaded based upon your enable_$INTERFACE-TYPE_interfaces parameters in ironic.conf. If not specifically configured, and only the hardware type is set, the result is a union of what is available based upon the configuration, unless an explicit default is set on the node. It is entirely possible to have a node without a console, bios, inspect, raid, or rescue interfaces. You need "boot", "deploy", and "management" interfaces in working order. In the case you noted, you don't have an image_source being populated from nova to signal what instance image to utilize. This is normal for an unscheduled node. So the question is, is nova-compute, which needs to be configured for ironic, able to see the node. I would consult nova-compute.log, and see if it sees the node. It might be that the node is lacking a "resource_class", which is an explicit requirement for nova to be aware of it. Hope that helps, -Julia On Wed, Feb 14, 2024 at 10:44 PM Jayesh Chaudhari < jayesh.chaudhari1990@gmail.com> wrote:
Hi All,
I am following the below document for implementing Ironic in my Kolla-Ansible Cloud which is on yoga version.
https://docs.openstack.org/kolla-ansible/yoga/reference/bare-metal/ironic-gu...
I can add a baremetal node with this in the "baremetal node list" and make it available. But when I am trying to create a nova server it fails trying to find the host. I tried to troubleshoot and find that "openstack baremetal node validate <nodeid>" command shows 1. bios - Driver ipmi does not support bios (disabled or not implemented) 2. console - Driver ipmi does not support console (disabled or not implemented) 3. deploy - Node failed to validate deploy image info. Some parameters were missing. Missing are ['instance_info.image_source'] 4. inspect - Driver ipmi does not support inspect (disabled or not implemented) 5. raid - Driver ipmi does not support raid (disabled or not implemented) 6. rescue - Driver ipmi does not support rescue (disabled or not implemented)
Can you please guide me with documentation for setting these options. Or correct me if I am missing anything. Also above documents show steps to create deploy-vmlinuz and deploy-initrd only. Please guide me for steps creating deploy_kernel and deploy_ramdisk.
Thanks, Jayesh
Hi Julia, Thank you for putting light on interfaces thing. To answer your question, yes my nova-compute can see my baremetal node. But all resource parameters are showing value set to 0. Also when I am trying to create nova server it was unable to pxeboot server, it stuck over ">>Start PXE over IPv4." In logs I can not see ironic-tftp log. I am following the below workflow. [image: ironic-workflow.png] Thanks, Jayesh On Thu, Feb 15, 2024 at 7:51 PM Julia Kreger <juliaashleykreger@gmail.com> wrote:
Greetings,
The ipmi hardware is loaded based upon your enable_$INTERFACE-TYPE_interfaces parameters in ironic.conf. If not specifically configured, and only the hardware type is set, the result is a union of what is available based upon the configuration, unless an explicit default is set on the node.
It is entirely possible to have a node without a console, bios, inspect, raid, or rescue interfaces. You need "boot", "deploy", and "management" interfaces in working order. In the case you noted, you don't have an image_source being populated from nova to signal what instance image to utilize. This is normal for an unscheduled node.
So the question is, is nova-compute, which needs to be configured for ironic, able to see the node. I would consult nova-compute.log, and see if it sees the node. It might be that the node is lacking a "resource_class", which is an explicit requirement for nova to be aware of it.
Hope that helps,
-Julia
On Wed, Feb 14, 2024 at 10:44 PM Jayesh Chaudhari < jayesh.chaudhari1990@gmail.com> wrote:
Hi All,
I am following the below document for implementing Ironic in my Kolla-Ansible Cloud which is on yoga version.
https://docs.openstack.org/kolla-ansible/yoga/reference/bare-metal/ironic-gu...
I can add a baremetal node with this in the "baremetal node list" and make it available. But when I am trying to create a nova server it fails trying to find the host. I tried to troubleshoot and find that "openstack baremetal node validate <nodeid>" command shows 1. bios - Driver ipmi does not support bios (disabled or not implemented) 2. console - Driver ipmi does not support console (disabled or not implemented) 3. deploy - Node failed to validate deploy image info. Some parameters were missing. Missing are ['instance_info.image_source'] 4. inspect - Driver ipmi does not support inspect (disabled or not implemented) 5. raid - Driver ipmi does not support raid (disabled or not implemented) 6. rescue - Driver ipmi does not support rescue (disabled or not implemented)
Can you please guide me with documentation for setting these options. Or correct me if I am missing anything. Also above documents show steps to create deploy-vmlinuz and deploy-initrd only. Please guide me for steps creating deploy_kernel and deploy_ramdisk.
Thanks, Jayesh
So resource parameters are generally 0 because you're consuming a whole baremetal node when you deploy one. In regards to pxe, Ironic does not set up a PXE server, it manages files in a folder which should be available by a PXE server you configure. Kolla should be doing that for you, as far as I'm aware. Generally it sounds like a networking issue, like maybe the baremetal node is not attached to the right interface or neutron namespace. I would likely start by trying to make sure you can see the PXE traffic being originated by the baremetal nodes from the neutron qrouter dhcp namespace, and then beginning to troubleshoot from that point of view since a machine hanging at a "Start PXE" prompt generally means it is not getting a DHCP response. -Julia On Thu, Feb 15, 2024 at 10:40 AM Jayesh Chaudhari < jayesh.chaudhari1990@gmail.com> wrote:
Hi Julia,
Thank you for putting light on interfaces thing. To answer your question, yes my nova-compute can see my baremetal node. But all resource parameters are showing value set to 0.
Also when I am trying to create nova server it was unable to pxeboot server, it stuck over ">>Start PXE over IPv4." In logs I can not see ironic-tftp log. I am following the below workflow.
[image: ironic-workflow.png]
Thanks, Jayesh
On Thu, Feb 15, 2024 at 7:51 PM Julia Kreger <juliaashleykreger@gmail.com> wrote:
Greetings,
The ipmi hardware is loaded based upon your enable_$INTERFACE-TYPE_interfaces parameters in ironic.conf. If not specifically configured, and only the hardware type is set, the result is a union of what is available based upon the configuration, unless an explicit default is set on the node.
It is entirely possible to have a node without a console, bios, inspect, raid, or rescue interfaces. You need "boot", "deploy", and "management" interfaces in working order. In the case you noted, you don't have an image_source being populated from nova to signal what instance image to utilize. This is normal for an unscheduled node.
So the question is, is nova-compute, which needs to be configured for ironic, able to see the node. I would consult nova-compute.log, and see if it sees the node. It might be that the node is lacking a "resource_class", which is an explicit requirement for nova to be aware of it.
Hope that helps,
-Julia
On Wed, Feb 14, 2024 at 10:44 PM Jayesh Chaudhari < jayesh.chaudhari1990@gmail.com> wrote:
Hi All,
I am following the below document for implementing Ironic in my Kolla-Ansible Cloud which is on yoga version.
https://docs.openstack.org/kolla-ansible/yoga/reference/bare-metal/ironic-gu...
I can add a baremetal node with this in the "baremetal node list" and make it available. But when I am trying to create a nova server it fails trying to find the host. I tried to troubleshoot and find that "openstack baremetal node validate <nodeid>" command shows 1. bios - Driver ipmi does not support bios (disabled or not implemented) 2. console - Driver ipmi does not support console (disabled or not implemented) 3. deploy - Node failed to validate deploy image info. Some parameters were missing. Missing are ['instance_info.image_source'] 4. inspect - Driver ipmi does not support inspect (disabled or not implemented) 5. raid - Driver ipmi does not support raid (disabled or not implemented) 6. rescue - Driver ipmi does not support rescue (disabled or not implemented)
Can you please guide me with documentation for setting these options. Or correct me if I am missing anything. Also above documents show steps to create deploy-vmlinuz and deploy-initrd only. Please guide me for steps creating deploy_kernel and deploy_ramdisk.
Thanks, Jayesh
participants (3)
-
Jayesh Chaudhari
-
Julia Kreger
-
Rohit Sansiya