Ask Your Question

Adri's profile - activity

2019-05-22 02:48:00 -0500 received badge  Popular Question (source)
2019-05-16 02:44:05 -0500 answered a question Problem deployment overcloud : Could not find a node for attributes bmc_address

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

2019-05-16 02:26:49 -0500 received badge  Enthusiast
2019-05-14 08:37:49 -0500 commented answer Problem deployment overcloud : Could not find a node for attributes bmc_address

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.

2019-05-14 03:04:10 -0500 received badge  Notable Question (source)
2019-05-14 02:16:43 -0500 asked a question Problem deployment overcloud : Could not find a node for attributes bmc_address

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

2019-05-14 02:10:57 -0500 answered a question Problem deployment Overcloud - Cannot attach VIF not enough free physical ports

Hello, i have find the problem. When i have registered the node i put "physical network" = ctlplane-subnet instead of ctlplane only.

Regards

2019-05-14 02:06:27 -0500 received badge  Popular Question (source)
2019-05-13 07:50:52 -0500 received badge  Editor (source)
2019-05-13 07:45:26 -0500 asked a question Problem deployment Overcloud - Cannot attach VIF not enough free physical ports

Hello

When i launch the deployment of Overcloud on two nodes (one compute and one controller). I had this error :

2019-05-13 11:03:21.708 8 INFO nova.compute.claims [req-64c0110f-f526-4bb4-bd27-be771f3dc75d 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] [instance: bde43871-3249-4695-9138-475f433a7088] Total vcpu: 80 VCPU, used: 0.00 VCPU
2019-05-13 11:03:21.708 8 INFO nova.compute.claims [req-64c0110f-f526-4bb4-bd27-be771f3dc75d 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] [instance: bde43871-3249-4695-9138-475f433a7088] vcpu limit not specified, defaulting to unlimited
2019-05-13 11:03:21.709 8 INFO nova.compute.claims [req-64c0110f-f526-4bb4-bd27-be771f3dc75d 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] [instance: bde43871-3249-4695-9138-475f433a7088] Claim successful on node 1ffae6d0-cec0-4da0-9868-62fb8aa73351
2019-05-13 11:03:22.179 8 WARNING ironicclient.client [req-64c0110f-f526-4bb4-bd27-be771f3dc75d 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] The argument "ironic_url" passed to get_client is deprecated and will be removed in Stein release, please use "endpoint" instead.
2019-05-13 11:03:24.286 8 WARNING ironicclient.client [req-bc839a5b-bafe-4512-8092-e7865789c9d7 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] The argument "ironic_url" passed to get_client is deprecated and will be removed in Stein release, please use "endpoint" instead.
2019-05-13 11:03:24.931 8 WARNING ironicclient.client [req-64c0110f-f526-4bb4-bd27-be771f3dc75d 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] The argument "ironic_url" passed to get_client is deprecated and will be removed in Stein release, please use "endpoint" instead.
**2019-05-13 11:03:27.863 8 ERROR nova.virt.ironic.driver [req-64c0110f-f526-4bb4-bd27-be771f3dc75d 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] Cannot attach VIF a14e6457-690a-47df-a13e-4a74cb1846c7 to the node 1ffae6d0-cec0-4da0-9868-62fb8aa73351 due to error: Unable to attach VIF a14e6457-690a-47df-a13e-4a74cb1846c7, not enough free physical ports. (HTTP 400): BadRequest: Unable to attach VIF a14e6457-690a-47df-a13e-4a74cb1846c7, not enough free physical ports. (HTTP 400)**
2019-05-13 11:03:27.864 8 ERROR nova.virt.ironic.driver [req-64c0110f-f526-4bb4-bd27-be771f3dc75d 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] [instance: bde43871-3249-4695-9138-475f433a7088] Error preparing deploy for instance bde43871-3249-4695-9138-475f433a7088 on baremetal node 1ffae6d0-cec0-4da0-9868-62fb8aa73351.: VirtualInterfacePlugException: Cannot attach VIF a14e6457-690a-47df-a13e-4a74cb1846c7 to the node 1ffae6d0-cec0-4da0-9868-62fb8aa73351 due to error: Unable to attach VIF a14e6457-690a-47df-a13e-4a74cb1846c7, not enough free physical ports. (HTTP 400)
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [req-64c0110f-f526-4bb4-bd27-be771f3dc75d 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] [instance: bde43871-3249-4695-9138-475f433a7088] Failure prepping block device: VirtualInterfacePlugException: Cannot attach VIF a14e6457-690a-47df-a13e-4a74cb1846c7 to the node 1ffae6d0-cec0-4da0-9868-62fb8aa73351 due to error: Unable to attach VIF a14e6457-690a-47df-a13e-4a74cb1846c7, not enough free physical ports. (HTTP 400)
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088] Traceback (most recent call last):
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2306, in _build_resources
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     instance, network_info)
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]   File "/usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py", line 1888, in prepare_networks_before_block_device_mapping
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     instance=instance)
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     self.force_reraise()
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in ...
(more)
2019-05-13 07:26:42 -0500 answered a question Problem to install my overcloud with trippleO - No valid host was d

That's ok it's a mistake thank you

2019-05-08 18:48:50 -0500 received badge  Popular Question (source)
2019-05-06 21:01:37 -0500 received badge  Student (source)
2019-05-06 05:03:07 -0500 asked a question Problem to install my overcloud with trippleO - No valid host was d

Hello,

I need help to resolve my issue. I have installed my undercloud successfully but i have an error when i deploy my overcloud, i tried to deploy one compute and one controller :

overcloud-C64.Controller.0.**Controller**: resource_type: OS::TripleO::ControllerServer   physical_resource_id: 1f9673fb-82ab-46a6-834d-bd091188f040   status: CREATE_FAILED   status_reason: |
    ResourceInError: resources.Controller: Went to status ERROR due to "Message: **No valid host was found. There are not enough hosts available., Code: 500**" overcloud-C64.Compute.0.NovaCompute:   resource_type: OS::TripleO::**ComputeServer**   physical_resource_id: 44f70d75-0fdd-4741-a3af-9df5ade67620   status: CREATE_FAILED   status_reason: |
    ResourceInError: resources.NovaCompute: Went to status ERROR due to "Message: No valid host was found. There are not enough hosts available., Code: 500"

In the Nova logs, there are a detailed error that describes a problem with the ComputeCapabilitiesFilter :

(undercloud) [stack ~]$ sudo tail -f /var/log/containers/nova/nova-scheduler.log.1
2019-05-06 09:49:33.292 26 INFO nova.filters [req-0c8c94e5-41e5-472f-82ea-5796430630e8 f5ace48b1f154c12832b5f5265b0894e 1d301d5be47a49e7b70036bc70a0d501 - default default] Filter ComputeCapabilitiesFilter returned 0 hosts
2019-05-06 09:49:33.292 26 INFO nova.filters [req-0c8c94e5-41e5-472f-82ea-5796430630e8 f5ace48b1f154c12832b5f5265b0894e 1d301d5be47a49e7b70036bc70a0d501 - default default] Filtering removed all hosts for the request with instance ID '79868181-1bef-4894-8495-867f15e9f1dd'. Filter results: ['RetryFilter: (start: 3, end: 3)', 'TripleOCapabilitiesFilter: (start: 3, end: 3)', 'ComputeCapabilitiesFilter: (start: 3, end: 0)']
2019-05-06 09:49:56.411 33 INFO nova.filters [req-b315fd10-2a94-4dcb-90a4-ed2a1900685b f5ace48b1f154c12832b5f5265b0894e 1d301d5be47a49e7b70036bc70a0d501 - default default] Filter ComputeCapabilitiesFilter returned 0 hosts
2019-05-06 09:49:56.411 33 INFO nova.filters [req-b315fd10-2a94-4dcb-90a4-ed2a1900685b f5ace48b1f154c12832b5f5265b0894e 1d301d5be47a49e7b70036bc70a0d501 - default default] Filtering removed all hosts for the request with instance ID '2548725d-d606-4368-b5d4-4dde2c075522'. Filter results: ['RetryFilter: (start: 3, end: 3)', 'TripleOCapabilitiesFilter: (start: 3, end: 3)', 'ComputeCapabilitiesFilter: (start: 3, end: 0)']
2019-05-06 09:49:56.677 31 INFO nova.filters [req-680c8344-246a-4e64-a615-5e23bac13a4d f5ace48b1f154c12832b5f5265b0894e 1d301d5be47a49e7b70036bc70a0d501 - default default] Filter ComputeCapabilitiesFilter returned 0 hosts
2019-05-06 09:49:56.677 31 INFO nova.filters [req-680c8344-246a-4e64-a615-5e23bac13a4d f5ace48b1f154c12832b5f5265b0894e 1d301d5be47a49e7b70036bc70a0d501 - default default] Filtering removed all hosts for the request with instance ID 'daeb351b-cc8f-436d-99fe-7afd9462c68a'. Filter results: ['RetryFilter: (start: 6, end: 6)', 'TripleOCapabilitiesFilter: (start: 6, end: 6)', 'ComputeCapabilitiesFilter: (start: 6, end: 0)']
2019-05-06 09:50:36.039 27 INFO nova.filters [req-c42aef86-20f6-4e1b-a894-331a01341ee3 f5ace48b1f154c12832b5f5265b0894e 1d301d5be47a49e7b70036bc70a0d501 - default default] Filter ComputeCapabilitiesFilter returned 0 hosts
2019-05-06 09:50:36.040 27 INFO nova.filters [req-c42aef86-20f6-4e1b-a894-331a01341ee3 f5ace48b1f154c12832b5f5265b0894e 1d301d5be47a49e7b70036bc70a0d501 - default default] Filtering removed all hosts for the request with instance ID '44f70d75-0fdd-4741-a3af-9df5ade67620'. Filter results: ['RetryFilter: (start: 3, end: 3)', 'TripleOCapabilitiesFilter: (start: 3, end: 3)', 'ComputeCapabilitiesFilter: (start: 3, end: 0)']
2019-05-06 09:50:36.292 35 INFO nova.filters [req-cced7e26-a81a-408c-b2a6-e04dfe80e169 f5ace48b1f154c12832b5f5265b0894e 1d301d5be47a49e7b70036bc70a0d501 - default default] Filter ComputeCapabilitiesFilter returned 0 hosts
2019-05-06 09:50:36.293 35 INFO nova.filters [req-cced7e26-a81a-408c-b2a6-e04dfe80e169 f5ace48b1f154c12832b5f5265b0894e 1d301d5be47a49e7b70036bc70a0d501 - default default] Filtering removed all hosts for the request with instance ID '1f9673fb-82ab-46a6-834d-bd091188f040'. Filter results: ['RetryFilter: (start: 6, end: 6)', 'TripleOCapabilitiesFilter: (start: 6, end: 6)', 'ComputeCapabilitiesFilter: (start: 6, end: 0)']

Status of Nova :

(undercloud) [stack@srvmassf101 ~]$ nova service-list +--------------------------------------+----------------+--------------------------------------+----------+---------+-------+----------------------------+-----------------+-------------+ | Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | Forced down | +--------------------------------------+----------------+--------------------------------------+----------+---------+-------+----------------------------+-----------------+-------------+ | 6348986d-1177-4dc6-9b51-170978c3cbe7 | nova-scheduler | | internal | enabled | up | 2019-05-06T08:14:23.000000 | - | False | | f7bb2147-91de-47e1-8446-764b8b7f5f3e | nova-conductor | | internal | enabled | up | 2019-05-06T08:14:24.000000 | - | False | | 8747934e-8661-4782-af8f-7d3336f898b2 | nova-compute | | nova | enabled | up | 2019-05-06T08:14:20.000000 | - | False | +--------------------------------------+----------------+--------------------------------------+----------+---------+-------+----------------------------+-----------------+-------------+

Node registration and introspection works fine :

(undercloud) [stack@srvmassf101 ~]$ openstack baremetal node list ... (more)