Dear Openstack community,

 

I am having huge problems setting up baremetal port group:

 

PROBLEM: VIF DOWN

 

Environment:

Openstack Rocky

Deployment: kolla-ansible 7.0.0

Provider network

 

# SERVER AND NEUTRON PORTS

##########################

 

[root@openstack-deployment ~]# openstack server list

+--------------------------------------+------------+--------+-----------------+-------------------+---------------------+

| ID                                   | Name       | Status | Networks        | Image             | Flavor              |

+--------------------------------------+------------+--------+-----------------+-------------------+---------------------+

| ce8e10ab-12b4-476e-8990-b2aeda8510a0 | demo1      | ACTIVE | hpc=10.0.32.103 | centos7.5-image   | my-baremetal-flavor |

...

+--------------------------------------+------------+--------+-----------------+-------------------+---------------------+

[root@openstack-deployment ~]# openstack port list

+--------------------------------------+------+-------------------+----------------------------------------------------------------------------+--------+

| ID                                   | Name | MAC Address       | Fixed IP Addresses                                                         | Status |

+--------------------------------------+------+-------------------+----------------------------------------------------------------------------+--------+

| 1e1c3f40-1ee0-46d1-8e38-0b0617893ccf |      | 7c:fe:90:12:1f:f0 | ip_address='10.0.32.103', subnet_id='506af593-659b-4c58-a180-897dd0b04957' | DOWN   |

...

+--------------------------------------+------+-------------------+----------------------------------------------------------------------------+--------+

 

 

# BAREMETAL PORT GROUP

######################

 

[root@openstack-deployment ~]# openstack baremetal port group show 2de8c1ae-a5bf-418e-b07a-1c0fbf676f36

+----------------------------+------------------------------------------------------------------------------------+

| Field                      | Value                                                                              |

+----------------------------+------------------------------------------------------------------------------------+

| address                    | 7c:fe:90:12:1f:f0                                                                  |

| created_at                 | 2018-12-20T14:27:53+00:00                                                          |

| extra                      | {}                                                                                 |

| internal_info              | {u'tenant_vif_port_id': u'1e1c3f40-1ee0-46d1-8e38-0b0617893ccf'}                   |

| mode                       | 802.3ad                                                                            |

| name                       | zeus-54-hpc-bond                                                                   |

| node_uuid                  | e30e76a4-a39e-4560-9bff-d3d9af66c503                                               |

| properties                 | {u'downdelay': 0, u'miimon': 110, u'xmit_hash_policy': u'layer2+3', u'updelay': 0} |

| standalone_ports_supported | False                                                                              |

| updated_at                 | 2018-12-20T14:28:57+00:00                                                          |

| uuid                       | 2de8c1ae-a5bf-418e-b07a-1c0fbf676f36                                               |

+----------------------------+------------------------------------------------------------------------------------+

 

 

# BAREMETAL PORTS

##################

 

[root@openstack-deployment ~]# openstack baremetal port show 4a00e6fa-a7c1-4916-b540-01fef95c90c1

+-----------------------+--------------------------------------+

| Field                 | Value                                |

+-----------------------+--------------------------------------+

| address               | 7c:fe:90:12:1f:f0                    |

| created_at            | 2018-12-20T14:28:09+00:00            |

| extra                 | {}                                   |

| internal_info         | {}                                   |

| local_link_connection | {}                                   |

| node_uuid             | e30e76a4-a39e-4560-9bff-d3d9af66c503 |

| physical_network      | physnet1                             |

| portgroup_uuid        | 2de8c1ae-a5bf-418e-b07a-1c0fbf676f36 |

| pxe_enabled           | True                                 |

| updated_at            | None                                 |

| uuid                  | 4a00e6fa-a7c1-4916-b540-01fef95c90c1 |

+-----------------------+--------------------------------------+

[root@openstack-deployment ~]# openstack baremetal port show 4510e849-ed21-46f8-bf4c-ca91c7e6b648

+-----------------------+--------------------------------------+

| Field                 | Value                                |

+-----------------------+--------------------------------------+

| address               | 7c:fe:90:12:1f:f1                    |

| created_at            | 2018-12-20T14:28:14+00:00            |

| extra                 | {}                                   |

| internal_info         | {}                                   |

| local_link_connection | {}                                   |

| node_uuid             | e30e76a4-a39e-4560-9bff-d3d9af66c503 |

| physical_network      | physnet1                             |

| portgroup_uuid        | 2de8c1ae-a5bf-418e-b07a-1c0fbf676f36 |

| pxe_enabled           | True                                 |

| updated_at            | None                                 |

| uuid                  | 4510e849-ed21-46f8-bf4c-ca91c7e6b648 |

+-----------------------+--------------------------------------+

 

 

# NETWORK AND SUBNET CONFIG

###############################

 

[root@openstack-deployment ~]# openstack network show hpc

+---------------------------+--------------------------------------+

| Field                     | Value                                |

+---------------------------+--------------------------------------+

| admin_state_up            | UP                                   |

| availability_zone_hints   |                                      |

| availability_zones        | nova                                 |

| created_at                | 2018-12-17T02:07:46Z                 |

| description               |                                      |

| dns_domain                | None                                 |

| id                        | f630b54b-2b07-44a3-8196-5a0ea9cc7969 |

| ipv4_address_scope        | None                                 |

| ipv6_address_scope        | None                                 |

| is_default                | None                                 |

| is_vlan_transparent       | None                                 |

| location                  | None                                 |

| mtu                       | 1500                                 |

| name                      | hpc                                  |

| port_security_enabled     | True                                 |

| project_id                | b91520cff5bd45c59a8de07c38641582     |

| provider:network_type     | flat                                 |

| provider:physical_network | physnet1                             |

| provider:segmentation_id  | None                                 |

| qos_policy_id             | None                                 |

| revision_number           | 3                                    |

| router:external           | Internal                             |

| segments                  | None                                 |

| shared                    | True                                 |

| status                    | ACTIVE                               |

| subnets                   | 506af593-659b-4c58-a180-897dd0b04957 |

| tags                      |                                      |

| updated_at                | 2018-12-20T12:21:09Z                 |

+---------------------------+--------------------------------------+

[root@openstack-deployment ~]# openstack subnet show hpc_subnet

+-------------------+--------------------------------------+

| Field             | Value                                |

+-------------------+--------------------------------------+

| allocation_pools  | 10.0.32.100-10.0.32.150              |

| cidr              | 10.0.0.0/16                          |

| created_at        | 2018-12-17T02:07:49Z                 |

| description       |                                      |

| dns_nameservers   | 8.8.8.8                              |

| enable_dhcp       | True                                 |

| gateway_ip        | 10.0.32.1                            |

| host_routes       |                                      |

| id                | 506af593-659b-4c58-a180-897dd0b04957 |

| ip_version        | 4                                    |

| ipv6_address_mode | None                                 |

| ipv6_ra_mode      | None                                 |

| location          | None                                 |

| name              | hpc_subnet                           |

| network_id        | f630b54b-2b07-44a3-8196-5a0ea9cc7969 |

| project_id        | b91520cff5bd45c59a8de07c38641582     |

| revision_number   | 2                                    |

| segment_id        | None                                 |

| service_types     |                                      |

| subnetpool_id     | None                                 |

| tags              |                                      |

| updated_at        | 2018-12-20T12:21:09Z                 |

+-------------------+--------------------------------------+

 

 

# BONUS: THIS IS THE NIC CONFIGURATION THAT WORKS ON A SERVER

##############################################################

 

[root@zeus-52 ~]# cat /etc/sysconfig/network-scripts/ifcfg-Bond_connection_1

BONDING_OPTS="downdelay=0 miimon=110 mode=802.3ad updelay=0"

TYPE=Bond

BONDING_MASTER=yes

MTU=9000

PROXY_METHOD=none

BROWSER_ONLY=no

BOOTPROTO=none

IPADDR=10.0.32.52

PREFIX=16

GATEWAY=10.0.32.1

DNS1=8.8.8.8

DEFROUTE=yes

IPV4_FAILURE_FATAL=no

IPV6INIT=yes

IPV6_AUTOCONF=yes

IPV6_DEFROUTE=yes

IPV6_FAILURE_FATAL=no

IPV6_PRIVACY=no

IPV6_ADDR_GEN_MODE=stable-privacy

NAME="Bond connection 1"

UUID=5153a698-46ca-4234-a71b-7c88e4c92b91

DEVICE=bond0

ONBOOT=yes

 

Any thought about what am I doing wrong or what to do next?

 

Thank you very much

NOTICE
Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright information. If you are not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability for the distribution of viruses or similar in electronic communications. This notice should not be removed.