Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I found the problem, when i launch the introspection on the nodes, the attributes are written in the ironic database :

Introspection :
openstack overcloud node introspect --all-manageable

MariaDB [ironic-inspector]> select * from attributes;
MariaDB [ironic-inspector]> select * from attributes;
+-------------+-------------------+--------------------------------------+--------------------------------------+
| name        | value             | uuid                                 | node_uuid                            |
+-------------+-------------------+--------------------------------------+--------------------------------------+
| mac         | 38:68:dd:04:cb:48 | 5ef09caa-e378-4ab8-8c55-3dee65d9ba04 | cf5fe0f1-b001-4222-8afb-43e3229bffbc |
| mac         | b0:26:28:3e:63:c0 | 7c493187-730b-426c-bb7c-f1051df095f9 | 7353679f-3fc7-4b06-ae12-ad3530ae0230 |
| bmc_address | 10.64.100.11      | d8e03fb6-b3a8-4cba-a746-f91b402c4984 | 7353679f-3fc7-4b06-ae12-ad3530ae0230 |
| bmc_address | 10.64.100.62      | dbb38df3-841a-43c3-85f6-67ecfb8d930e | cf5fe0f1-b001-4222-8afb-43e3229bffbc |
+-------------+-------------------+--------------------------------------+--------------------------------------+

At the end of introspection, the table attributes are erased.

MariaDB [ironic-inspector]> select * from attributes;
Empty set (0,00 sec)

When i start the deployment of the overcloud, they are nothing in the ironic database, and stop the deployment with the error :

Look up error: Could not find a node for attributes {'bmc_address': u'10.64.100.62', 'mac': [u'38:68:dd:04:cb:4b', u'38:68:dd:04:cb:4a', u'38:68:dd:04:cb:49', u'b0:26:28:38:74:31', u'b0:26:28:38:74:30', u'38:68:dd:04:cb:48']}

Do you know if the validate node are correct ?

(undercloud) [stack@srvmassf101 ~]$ openstack baremetal node validate SRVCTRSF101
+------------+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Interface  | Result | Reason                                                                                                                                                                                                                                                                    |
+------------+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| bios       | False  | Driver ipmi does not support bios (disabled or not implemented).                                                                                                                                                                                                          |
| boot       | False  | Cannot validate image information for node 7353679f-3fc7-4b06-ae12-ad3530ae0230 because one or more parameters are missing from its instance_info and insufficent information is present to boot from a remote volume. Missing are: ['ramdisk', 'kernel', 'image_source'] |
| console    | False  | Missing 'ipmi_terminal_port' parameter in node's driver_info.                                                                                                                                                                                                             |
| deploy     | False  | Cannot validate image information for node 7353679f-3fc7-4b06-ae12-ad3530ae0230 because one or more parameters are missing from its instance_info and insufficent information is present to boot from a remote volume. Missing are: ['ramdisk', 'kernel', 'image_source'] |
| inspect    | True   |                                                                                                                                                                                                                                                                           |
| management | True   |                                                                                                                                                                                                                                                                           |
| network    | True   |                                                                                                                                                                                                                                                                           |
| power      | True   |                                                                                                                                                                                                                                                                           |
| raid       | False  | Driver ipmi does not support raid (disabled or not implemented).                                                                                                                                                                                                          |
| rescue     | False  | Cannot validate image information for node 7353679f-3fc7-4b06-ae12-ad3530ae0230 because one or more parameters are missing from its instance_info and insufficent information is present to boot from a remote volume. Missing are: ['ramdisk', 'kernel', 'image_source'] |
| storage    | True   |                                                                                                                                                                                                                                                                           |
+------------+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Have you an idea to investigate ?

Thank you for your help

I found the problem, when i launch the introspection on the nodes, the attributes are written in the ironic database :

Introspection :
openstack overcloud node introspect --all-manageable

MariaDB [ironic-inspector]> select * from attributes;
MariaDB [ironic-inspector]> select * from attributes;
+-------------+-------------------+--------------------------------------+--------------------------------------+
| name        | value             | uuid                                 | node_uuid                            |
+-------------+-------------------+--------------------------------------+--------------------------------------+
| mac         | 38:68:dd:04:cb:48 | 5ef09caa-e378-4ab8-8c55-3dee65d9ba04 | cf5fe0f1-b001-4222-8afb-43e3229bffbc |
| mac         | b0:26:28:3e:63:c0 | 7c493187-730b-426c-bb7c-f1051df095f9 | 7353679f-3fc7-4b06-ae12-ad3530ae0230 |
| bmc_address | 10.64.100.11      | d8e03fb6-b3a8-4cba-a746-f91b402c4984 | 7353679f-3fc7-4b06-ae12-ad3530ae0230 |
| bmc_address | 10.64.100.62      | dbb38df3-841a-43c3-85f6-67ecfb8d930e | cf5fe0f1-b001-4222-8afb-43e3229bffbc |
+-------------+-------------------+--------------------------------------+--------------------------------------+

At the end of introspection, the table attributes are erased.

MariaDB [ironic-inspector]> select * from attributes;
Empty set (0,00 sec)

When i start the deployment of the overcloud, they are nothing in the ironic database, and stop the deployment with the error :

Look up error: Could not find a node for attributes {'bmc_address': u'10.64.100.62', 'mac': [u'38:68:dd:04:cb:4b', u'38:68:dd:04:cb:4a', u'38:68:dd:04:cb:49', u'b0:26:28:38:74:31', u'b0:26:28:38:74:30', u'38:68:dd:04:cb:48']}

Do you know if the validate node are correct ?

(undercloud) [stack@srvmassf101 ~]$ openstack baremetal node validate SRVCTRSF101
+------------+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Interface  | Result | Reason                                                                                                                                                                                                                                                                    |
+------------+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| bios       | False  | Driver ipmi does not support bios (disabled or not implemented).                                                                                                                                                                                                          |
| boot       | False  | Cannot validate image information for node 7353679f-3fc7-4b06-ae12-ad3530ae0230 because one or more parameters are missing from its instance_info and insufficent information is present to boot from a remote volume. Missing are: ['ramdisk', 'kernel', 'image_source'] |
| console    | False  | Missing 'ipmi_terminal_port' parameter in node's driver_info.                                                                                                                                                                                                             |
| deploy     | False  | Cannot validate image information for node 7353679f-3fc7-4b06-ae12-ad3530ae0230 because one or more parameters are missing from its instance_info and insufficent information is present to boot from a remote volume. Missing are: ['ramdisk', 'kernel', 'image_source'] |
| inspect    | True   |                                                                                                                                                                                                                                                                           |
| management | True   |                                                                                                                                                                                                                                                                           |
| network    | True   |                                                                                                                                                                                                                                                                           |
| power      | True   |                                                                                                                                                                                                                                                                           |
| raid       | False  | Driver ipmi does not support raid (disabled or not implemented).                                                                                                                                                                                                          |
| rescue     | False  | Cannot validate image information for node 7353679f-3fc7-4b06-ae12-ad3530ae0230 because one or more parameters are missing from its instance_info and insufficent information is present to boot from a remote volume. Missing are: ['ramdisk', 'kernel', 'image_source'] |
| storage    | True   |                                                                                                                                                                                                                                                                           |
+------------+--------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Have you an idea to investigate ? Do you know if it's normal that the introspection start during the deployment ?

Thank you for your help