Ask Your Question
0

Problem deployment overcloud : Could not find a node for attributes bmc_address

asked 2019-05-14 02:16:43 -0500

Adri gravatar image

updated 2019-05-14 02:29:12 -0500

Hello,

I have a new error when i deploy my overcloud :

2019-05-13 19:11:13.811 8 INFO ironic_inspector.plugins.standard [req-1787d990-dfbb-4446-bd13-4a579473b033 - - - - -] [node: MAC 38:68:dd:04:cb:48 BMC 10.64.100.62] Using network interface(s): eth0 {'ip': u'10.64.200.140', 'mac': u'38:68:dd:04:cb:48', 'pxe': True, 'client_id': None}
2019-05-13 19:11:13.817 8 INFO ironic_inspector.utils [req-1787d990-dfbb-4446-bd13-4a579473b033 - - - - -] 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']}
2019-05-13 19:11:13.818 8 INFO ironic_inspector.process [req-1787d990-dfbb-4446-bd13-4a579473b033 - - - - -] [node: MAC 38:68:dd:04:cb:48 BMC 10.64.100.62] Ramdisk logs were stored in file unknown_20190513-171113.818246.tar.gz
2019-05-13 19:11:13.819 8 ERROR ironic_inspector.utils [req-1787d990-dfbb-4446-bd13-4a579473b033 - - - - -] [node: MAC 38:68:dd:04:cb:48 BMC 10.64.100.62] The following failures happened during running pre-processing hooks:
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']}

My instackenv.json :

{
  "nodes": [
    {
      "name": "SRVCTRSF101",
      "pm_type": "ipmi",
      "ports": [
        {
          "address": "7C:D3:0A:6A:6D:F8",
          "physical_network": "ctlplane"
        }
      ],
      "pm_user": "manager",
      "pm_password": "*",
      "pm_addr": "10.64.100.11",
      "capabilities": "profile:control",
      "_comment": "Controller #1"
    },
    {
      "name": "SRVCPUSF103",
      "pm_type": "ipmi",
      "ports": [
        {
          "address": "38:68:DD:04:CB:48",
          "physical_network": "ctlplane"
        }
      ],
      "pm_user": "manager",
      "pm_password": "*",
      "pm_addr": "10.64.100.62",
      "capabilities": "profile:compute",
      "_comment": "CPU #3"
    }
  ]
}

Do you know how to resolv it ?

Thanks in advance

Regards

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2019-05-14 03:01:04 -0500

ARatcliff gravatar image

A few ideas: Check that the "pm_addr" is a valid IPMI port, can you use those ip addresses to check the power state of the server with something like this.

ipmipower -s -h 10.64.100.11 -u manager -p "*"

Try removing the line that you don't need "physical_network": "ctlplane"

edit flag offensive delete link more

Comments

Hello, I have removing the line but i have the same error. I can't execute this command because i don't have ipmipower but i can execute this command :

ipmitool -I lanplus  -H 10.64.100.11 -U manager -P "*" chassis power status
Chassis Power is on

Thank you for your help.

Adri gravatar imageAdri ( 2019-05-14 08:37:49 -0500 )edit
0

answered 2019-05-16 02:44:05 -0500

Adri gravatar image

updated 2019-05-16 08:41:37 -0500

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-05-14 02:16:43 -0500

Seen: 28 times

Last updated: May 16