Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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 force_reraise
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     six.reraise(self.type_, self.value, self.tb)
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 1881, 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]     self.plug_vifs(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 1533, in plug_vifs
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     self._plug_vifs(node, 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 1503, in _plug_vifs
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     self._plug_vif(node, port_id)
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 1485, in _plug_vif
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     raise exception.VirtualInterfacePlugException(msg)
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088] 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]
2019-05-13 11:03:27.894 8 ERROR nova.virt.ironic.driver [req-bc839a5b-bafe-4512-8092-e7865789c9d7 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] Cannot attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94 to the node 95c42297-c06a-4e73-9d61-d8586cef74c1 due to error: Unable to attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94, not enough free physical ports. (HTTP 400): BadRequest: Unable to attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94, not enough free physical ports. (HTTP 400)

If i try to associate a vif on a node, i have the same error.

openstack port list
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+
| ID                                   | Name               | MAC Address       | Fixed IP Addresses                                                           | Status |
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+
| 38af015d-74a2-4108-b5d0-22e3f43ddcf5 | control_virtual_ip | fa:16:3e:f7:d5:3f | ip_address='10.64.200.107', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| 6a70a027-617a-4824-9c28-f83bf132cefa | redis_virtual_ip   | fa:16:3e:c9:82:66 | ip_address='10.64.200.103', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| 8b7cf58f-34c5-4b79-96e9-643bbdc0fc68 | Controller-port-0  | fa:16:3e:99:5f:80 | ip_address='10.64.200.125', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| cf43f18f-718c-4ddf-90c6-9961672d91f7 |                    | fa:16:3e:ec:16:e9 | ip_address='10.64.200.100', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | ACTIVE |
| d441a364-659c-4203-ade6-eecbe8a9ab62 | NovaCompute-port-0 | fa:16:3e:df:83:04 | ip_address='10.64.200.104', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+

openstack baremetal node list
+--------------------------------------+-------------+---------------+-------------+--------------------+-------------+
| UUID                                 | Name        | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+-------------+---------------+-------------+--------------------+-------------+
| 95c42297-c06a-4e73-9d61-d8586cef74c1 | SRVCTRSF101 | None          | power off   | available          | False       |
| 1ffae6d0-cec0-4da0-9868-62fb8aa73351 | SRVCPUSF103 | None          | power off   | available          | False       |
+--------------------------------------+-------------+---------------+-------------+--------------------+-----------

The node compute don't have a vif associated :

openstack baremetal node vif list 1ffae6d0-cec0-4da0-9868-62fb8aa73351
[blank


openstack baremetal node vif attach SRVCPUSF103 d441a364-659c-4203-ade6-eecbe8a9ab62
Unable to attach VIF d441a364-659c-4203-ade6-eecbe8a9ab62, not enough free physical ports. (HTTP 400)

Have you an idea to resolv it ? Thank you in advance.

Regards

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 **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)
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 force_reraise
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     six.reraise(self.type_, self.value, self.tb)
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 1881, 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]     self.plug_vifs(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 1533, in plug_vifs
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     self._plug_vifs(node, 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 1503, in _plug_vifs
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     self._plug_vif(node, port_id)
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 1485, in _plug_vif
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     raise exception.VirtualInterfacePlugException(msg)
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088] 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]
2019-05-13 11:03:27.894 8 ERROR nova.virt.ironic.driver [req-bc839a5b-bafe-4512-8092-e7865789c9d7 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] Cannot attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94 to the node 95c42297-c06a-4e73-9d61-d8586cef74c1 due to error: Unable to attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94, not enough free physical ports. (HTTP 400): BadRequest: Unable to attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94, not enough free physical ports. (HTTP 400)

If i try to associate a vif on a node, i have the same error.

openstack port list
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+
| ID                                   | Name               | MAC Address       | Fixed IP Addresses                                                           | Status |
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+
| 38af015d-74a2-4108-b5d0-22e3f43ddcf5 | control_virtual_ip | fa:16:3e:f7:d5:3f | ip_address='10.64.200.107', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| 6a70a027-617a-4824-9c28-f83bf132cefa | redis_virtual_ip   | fa:16:3e:c9:82:66 | ip_address='10.64.200.103', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| 8b7cf58f-34c5-4b79-96e9-643bbdc0fc68 | Controller-port-0  | fa:16:3e:99:5f:80 | ip_address='10.64.200.125', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| cf43f18f-718c-4ddf-90c6-9961672d91f7 |                    | fa:16:3e:ec:16:e9 | ip_address='10.64.200.100', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | ACTIVE |
| d441a364-659c-4203-ade6-eecbe8a9ab62 | NovaCompute-port-0 | fa:16:3e:df:83:04 | ip_address='10.64.200.104', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+

openstack baremetal node list
+--------------------------------------+-------------+---------------+-------------+--------------------+-------------+
| UUID                                 | Name        | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+-------------+---------------+-------------+--------------------+-------------+
| 95c42297-c06a-4e73-9d61-d8586cef74c1 | SRVCTRSF101 | None          | power off   | available          | False       |
| 1ffae6d0-cec0-4da0-9868-62fb8aa73351 | SRVCPUSF103 | None          | power off   | available          | False       |
+--------------------------------------+-------------+---------------+-------------+--------------------+-----------

The node compute don't have a vif associated :

openstack baremetal node vif list 1ffae6d0-cec0-4da0-9868-62fb8aa73351
[blank


openstack baremetal node vif attach SRVCPUSF103 d441a364-659c-4203-ade6-eecbe8a9ab62
Unable to attach VIF d441a364-659c-4203-ade6-eecbe8a9ab62, not enough free physical ports. (HTTP 400)

Have you an idea to resolv it ? Thank you in advance.

Regards

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 force_reraise
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     six.reraise(self.type_, self.value, self.tb)
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 1881, 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]     self.plug_vifs(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 1533, in plug_vifs
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     self._plug_vifs(node, 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 1503, in _plug_vifs
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     self._plug_vif(node, port_id)
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 1485, in _plug_vif
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     raise exception.VirtualInterfacePlugException(msg)
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088] 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]
2019-05-13 11:03:27.894 8 ERROR nova.virt.ironic.driver [req-bc839a5b-bafe-4512-8092-e7865789c9d7 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] Cannot attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94 to the node 95c42297-c06a-4e73-9d61-d8586cef74c1 due to error: Unable to attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94, not enough free physical ports. (HTTP 400): BadRequest: Unable to attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94, not enough free physical ports. (HTTP 400)

If i try to associate a vif on a node, i have the same error.

openstack port list
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+
| ID                                   | Name               | MAC Address       | Fixed IP Addresses                                                           | Status |
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+
| 38af015d-74a2-4108-b5d0-22e3f43ddcf5 | control_virtual_ip | fa:16:3e:f7:d5:3f | ip_address='10.64.200.107', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| 6a70a027-617a-4824-9c28-f83bf132cefa | redis_virtual_ip   | fa:16:3e:c9:82:66 | ip_address='10.64.200.103', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| 8b7cf58f-34c5-4b79-96e9-643bbdc0fc68 | Controller-port-0  | fa:16:3e:99:5f:80 | ip_address='10.64.200.125', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| cf43f18f-718c-4ddf-90c6-9961672d91f7 |                    | fa:16:3e:ec:16:e9 | ip_address='10.64.200.100', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | ACTIVE |
| d441a364-659c-4203-ade6-eecbe8a9ab62 | NovaCompute-port-0 | fa:16:3e:df:83:04 | ip_address='10.64.200.104', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+

openstack baremetal node list
+--------------------------------------+-------------+---------------+-------------+--------------------+-------------+
| UUID                                 | Name        | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+-------------+---------------+-------------+--------------------+-------------+
| 95c42297-c06a-4e73-9d61-d8586cef74c1 | SRVCTRSF101 | None          | power off   | available          | False       |
| 1ffae6d0-cec0-4da0-9868-62fb8aa73351 | SRVCPUSF103 | None          | power off   | available          | False       |
+--------------------------------------+-------------+---------------+-------------+--------------------+-----------

The node compute don't have a vif associated :

openstack baremetal node vif list 1ffae6d0-cec0-4da0-9868-62fb8aa73351
[blank


openstack baremetal node vif attach SRVCPUSF103 d441a364-659c-4203-ade6-eecbe8a9ab62
Unable to attach VIF d441a364-659c-4203-ade6-eecbe8a9ab62, not enough free physical ports. (HTTP 400)

The details of compute node :

openstack baremetal node show SRVCPUSF103
+------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                  | Value                                                                                                                                                                                                                                                                                                                                       |
+------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| bios_interface         | no-bios                                                                                                                                                                                                                                                                                                                                     |
| boot_interface         | pxe                                                                                                                                                                                                                                                                                                                                         |
| chassis_uuid           | None                                                                                                                                                                                                                                                                                                                                        |
| clean_step             | {}                                                                                                                                                                                                                                                                                                                                          |
| conductor_group        |                                                                                                                                                                                                                                                                                                                                             |
| console_enabled        | False                                                                                                                                                                                                                                                                                                                                       |
| console_interface      | ipmitool-socat                                                                                                                                                                                                                                                                                                                              |
| created_at             | 2019-05-10T16:23:07+00:00                                                                                                                                                                                                                                                                                                                   |
| deploy_interface       | iscsi                                                                                                                                                                                                                                                                                                                                       |
| deploy_step            | {}                                                                                                                                                                                                                                                                                                                                          |
| driver                 | ipmi                                                                                                                                                                                                                                                                                                                                        |
| driver_info            | {u'ipmi_username': u'manager', u'deploy_kernel': u'626a9952-6158-4cb5-912d-8e3251c98202', u'ipmi_address': u'10.64.100.62', u'deploy_ramdisk': u'6721c81e-c3d5-4835-bfc6-c928955fc2ea', u'ipmi_password': u'******', u'rescue_kernel': u'626a9952-6158-4cb5-912d-8e3251c98202', u'rescue_ramdisk': u'6721c81e-c3d5-4835-bfc6-c928955fc2ea'} |
| driver_internal_info   | {}                                                                                                                                                                                                                                                                                                                                          |
| extra                  | {u'hardware_swift_object': u'extra_hardware-1ffae6d0-cec0-4da0-9868-62fb8aa73351'}                                                                                                                                                                                                                                                          |
| fault                  | None                                                                                                                                                                                                                                                                                                                                        |
| inspect_interface      | inspector                                                                                                                                                                                                                                                                                                                                   |
| inspection_finished_at | None                                                                                                                                                                                                                                                                                                                                        |
| inspection_started_at  | None                                                                                                                                                                                                                                                                                                                                        |
| instance_info          | {}                                                                                                                                                                                                                                                                                                                                          |
| instance_uuid          | None                                                                                                                                                                                                                                                                                                                                        |
| last_error             | None                                                                                                                                                                                                                                                                                                                                        |
| maintenance            | False                                                                                                                                                                                                                                                                                                                                       |
| maintenance_reason     | None                                                                                                                                                                                                                                                                                                                                        |
| management_interface   | ipmitool                                                                                                                                                                                                                                                                                                                                    |
| name                   | SRVCPUSF103                                                                                                                                                                                                                                                                                                                                 |
| network_interface      | flat                                                                                                                                                                                                                                                                                                                                        |
| power_interface        | ipmitool                                                                                                                                                                                                                                                                                                                                    |
| power_state            | power off                                                                                                                                                                                                                                                                                                                                   |
| properties             | {u'cpu_arch': u'x86_64', u'root_device': {u'serial': u'600605b00e749590242e1443f8e8efdb'}, u'cpus': u'80', u'capabilities': u'profile:compute,cpu_vt:true,cpu_hugepages:true,boot_option:local,cpu_txt:true,cpu_aes:true,cpu_hugepages_1g:true,boot_mode:uefi', u'memory_mb': u'393216', u'local_gb': u'892', u'capabilites': u''}          |
| provision_state        | available                                                                                                                                                                                                                                                                                                                                   |
| provision_updated_at   | 2019-05-10T17:02:21+00:00                                                                                                                                                                                                                                                                                                                   |
| raid_config            | {}                                                                                                                                                                                                                                                                                                                                          |
| raid_interface         | no-raid                                                                                                                                                                                                                                                                                                                                     |
| rescue_interface       | agent                                                                                                                                                                                                                                                                                                                                       |
| reservation            | None                                                                                                                                                                                                                                                                                                                                        |
| resource_class         | baremetal                                                                                                                                                                                                                                                                                                                                   |
| storage_interface      | noop                                                                                                                                                                                                                                                                                                                                        |
| target_power_state     | None                                                                                                                                                                                                                                                                                                                                        |
| target_provision_state | None                                                                                                                                                                                                                                                                                                                                        |
| target_raid_config     | {}                                                                                                                                                                                                                                                                                                                                          |
| traits                 | []                                                                                                                                                                                                                                                                                                                                          |
| updated_at             | 2019-05-13T12:44:04+00:00                                                                                                                                                                                                                                                                                                                   |
| uuid                   | 1ffae6d0-cec0-4da0-9868-62fb8aa73351                                                                                                                                                                                                                                                                                                        |
| vendor_interface       | ipmitool                                                                                                                                                                                                                                                                                                                                    |
+------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Have you an idea to resolv it ? Thank you in advance.

Regards

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 force_reraise
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     six.reraise(self.type_, self.value, self.tb)
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 1881, 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]     self.plug_vifs(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 1533, in plug_vifs
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     self._plug_vifs(node, 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 1503, in _plug_vifs
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     self._plug_vif(node, port_id)
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 1485, in _plug_vif
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088]     raise exception.VirtualInterfacePlugException(msg)
2019-05-13 11:03:27.866 8 ERROR nova.compute.manager [instance: bde43871-3249-4695-9138-475f433a7088] 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]
2019-05-13 11:03:27.894 8 ERROR nova.virt.ironic.driver [req-bc839a5b-bafe-4512-8092-e7865789c9d7 6460f5dda02e45158b764c01d9150392 a4be8d28c1bb4a4494b25681722ce498 - default default] Cannot attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94 to the node 95c42297-c06a-4e73-9d61-d8586cef74c1 due to error: Unable to attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94, not enough free physical ports. (HTTP 400): BadRequest: Unable to attach VIF e39ae99b-baa2-49c9-a5e5-fa18e53c4e94, not enough free physical ports. (HTTP 400)

If i try to associate a vif on a node, i have the same error.

openstack port list
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+
| ID                                   | Name               | MAC Address       | Fixed IP Addresses                                                           | Status |
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+
| 38af015d-74a2-4108-b5d0-22e3f43ddcf5 | control_virtual_ip | fa:16:3e:f7:d5:3f | ip_address='10.64.200.107', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| 6a70a027-617a-4824-9c28-f83bf132cefa | redis_virtual_ip   | fa:16:3e:c9:82:66 | ip_address='10.64.200.103', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| 8b7cf58f-34c5-4b79-96e9-643bbdc0fc68 | Controller-port-0  | fa:16:3e:99:5f:80 | ip_address='10.64.200.125', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
| cf43f18f-718c-4ddf-90c6-9961672d91f7 |                    | fa:16:3e:ec:16:e9 | ip_address='10.64.200.100', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | ACTIVE |
| d441a364-659c-4203-ade6-eecbe8a9ab62 | NovaCompute-port-0 | fa:16:3e:df:83:04 | ip_address='10.64.200.104', subnet_id='0c583166-6e75-426a-aa27-53e5cbb1ed38' | DOWN   |
+--------------------------------------+--------------------+-------------------+------------------------------------------------------------------------------+--------+

openstack baremetal node list
+--------------------------------------+-------------+---------------+-------------+--------------------+-------------+
| UUID                                 | Name        | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+-------------+---------------+-------------+--------------------+-------------+
| 95c42297-c06a-4e73-9d61-d8586cef74c1 | SRVCTRSF101 | None          | power off   | available          | False       |
| 1ffae6d0-cec0-4da0-9868-62fb8aa73351 | SRVCPUSF103 | None          | power off   | available          | False       |
+--------------------------------------+-------------+---------------+-------------+--------------------+-----------

The node compute don't have a vif associated :

openstack baremetal node vif list 1ffae6d0-cec0-4da0-9868-62fb8aa73351
[blank


openstack baremetal node vif attach SRVCPUSF103 d441a364-659c-4203-ade6-eecbe8a9ab62
Unable to attach VIF d441a364-659c-4203-ade6-eecbe8a9ab62, not enough free physical ports. (HTTP 400)

The details of compute node :

openstack baremetal node show SRVCPUSF103
+------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                  | Value                                                                                                                                                                                                                                                                                                                                       |
+------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| bios_interface         | no-bios                                                                                                                                                                                                                                                                                                                                     |
| boot_interface         | pxe                                                                                                                                                                                                                                                                                                                                         |
| chassis_uuid           | None                                                                                                                                                                                                                                                                                                                                        |
| clean_step             | {}                                                                                                                                                                                                                                                                                                                                          |
| conductor_group        |                                                                                                                                                                                                                                                                                                                                             |
| console_enabled        | False                                                                                                                                                                                                                                                                                                                                       |
| console_interface      | ipmitool-socat                                                                                                                                                                                                                                                                                                                              |
| created_at             | 2019-05-10T16:23:07+00:00                                                                                                                                                                                                                                                                                                                   |
| deploy_interface       | iscsi                                                                                                                                                                                                                                                                                                                                       |
| deploy_step            | {}                                                                                                                                                                                                                                                                                                                                          |
| driver                 | ipmi                                                                                                                                                                                                                                                                                                                                        |
| driver_info            | {u'ipmi_username': u'manager', u'deploy_kernel': u'626a9952-6158-4cb5-912d-8e3251c98202', u'ipmi_address': u'10.64.100.62', u'deploy_ramdisk': u'6721c81e-c3d5-4835-bfc6-c928955fc2ea', u'ipmi_password': u'******', u'rescue_kernel': u'626a9952-6158-4cb5-912d-8e3251c98202', u'rescue_ramdisk': u'6721c81e-c3d5-4835-bfc6-c928955fc2ea'} |
| driver_internal_info   | {}                                                                                                                                                                                                                                                                                                                                          |
| extra                  | {u'hardware_swift_object': u'extra_hardware-1ffae6d0-cec0-4da0-9868-62fb8aa73351'}                                                                                                                                                                                                                                                          |
| fault                  | None                                                                                                                                                                                                                                                                                                                                        |
| inspect_interface      | inspector                                                                                                                                                                                                                                                                                                                                   |
| inspection_finished_at | None                                                                                                                                                                                                                                                                                                                                        |
| inspection_started_at  | None                                                                                                                                                                                                                                                                                                                                        |
| instance_info          | {}                                                                                                                                                                                                                                                                                                                                          |
| instance_uuid          | None                                                                                                                                                                                                                                                                                                                                        |
| last_error             | None                                                                                                                                                                                                                                                                                                                                        |
| maintenance            | False                                                                                                                                                                                                                                                                                                                                       |
| maintenance_reason     | None                                                                                                                                                                                                                                                                                                                                        |
| management_interface   | ipmitool                                                                                                                                                                                                                                                                                                                                    |
| name                   | SRVCPUSF103                                                                                                                                                                                                                                                                                                                                 |
| network_interface      | flat                                                                                                                                                                                                                                                                                                                                        |
| power_interface        | ipmitool                                                                                                                                                                                                                                                                                                                                    |
| power_state            | power off                                                                                                                                                                                                                                                                                                                                   |
| properties             | {u'cpu_arch': u'x86_64', u'root_device': {u'serial': u'600605b00e749590242e1443f8e8efdb'}, u'cpus': u'80', u'capabilities': u'profile:compute,cpu_vt:true,cpu_hugepages:true,boot_option:local,cpu_txt:true,cpu_aes:true,cpu_hugepages_1g:true,boot_mode:uefi', u'memory_mb': u'393216', u'local_gb': u'892', u'capabilites': u''}          |
| provision_state        | available                                                                                                                                                                                                                                                                                                                                   |
| provision_updated_at   | 2019-05-10T17:02:21+00:00                                                                                                                                                                                                                                                                                                                   |
| raid_config            | {}                                                                                                                                                                                                                                                                                                                                          |
| raid_interface         | no-raid                                                                                                                                                                                                                                                                                                                                     |
| rescue_interface       | agent                                                                                                                                                                                                                                                                                                                                       |
| reservation            | None                                                                                                                                                                                                                                                                                                                                        |
| resource_class         | baremetal                                                                                                                                                                                                                                                                                                                                   |
| storage_interface      | noop                                                                                                                                                                                                                                                                                                                                        |
| target_power_state     | None                                                                                                                                                                                                                                                                                                                                        |
| target_provision_state | None                                                                                                                                                                                                                                                                                                                                        |
| target_raid_config     | {}                                                                                                                                                                                                                                                                                                                                          |
| traits                 | []                                                                                                                                                                                                                                                                                                                                          |
| updated_at             | 2019-05-13T12:44:04+00:00                                                                                                                                                                                                                                                                                                                   |
| uuid                   | 1ffae6d0-cec0-4da0-9868-62fb8aa73351                                                                                                                                                                                                                                                                                                        |
| vendor_interface       | ipmitool                                                                                                                                                                                                                                                                                                                                    |
+------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+


openstack baremetal port list
+--------------------------------------+-------------------+
| UUID                                 | Address           |
+--------------------------------------+-------------------+
| 00ec9f36-b1f4-436f-bafc-2a35c28941fe | 7c:d3:0a:6a:6d:f8 |
| eca55aba-7fbb-4288-ad20-cd5dcfc80338 | 38:68:dd:04:cb:48 |
+--------------------------------------+-------------------+


openstack baremetal port show eca55aba-7fbb-4288-ad20-cd5dcfc80338
+-----------------------+--------------------------------------------------------------+
| Field                 | Value                                                        |
+-----------------------+--------------------------------------------------------------+
| address               | 38:68:dd:04:cb:48                                            |
| created_at            | 2019-05-10T16:23:07+00:00                                    |
| extra                 | {}                                                           |
| internal_info         | {}                                                           |
| local_link_connection | {u'port_id': u'Gi1/0/9', u'switch_id': u'f4:8e:38:01:06:20'} |
| node_uuid             | 1ffae6d0-cec0-4da0-9868-62fb8aa73351                         |
| physical_network      | ctlplane-subnet                                              |
| portgroup_uuid        | None                                                         |
| pxe_enabled           | True                                                         |
| updated_at            | 2019-05-10T16:33:38+00:00                                    |
| uuid                  | eca55aba-7fbb-4288-ad20-cd5dcfc80338                         |
+-----------------------+--------------------------------------------------------------+

Have you an idea to resolv it ? Thank you in advance.

Regards