device_id and device_owner information are lost after disabling a port.
Issue
- When I disabled a port on Horizon (OpenStack Dashboard) by making
Admin StateDOWNvia [Admin] -> [Networks] -> Choose a network -> Choose [Ports] Tab, theAttached Devicefield becameDetachedstate. After the port'sAdmin StateisUP, however the ports cannot be usable. -
device id and device type information are lost after disabling a port.
- Example
# neutron port-show bceedfb3-8505-43c3-b7bb-98a8298c53b8 +-----------------------+---------------------------------------------------------------------------------------+ | Field | Value | +-----------------------+---------------------------------------------------------------------------------------+ | admin_state_up | True | | allowed_address_pairs | | | binding:host_id | rhosp7.example.com | | binding:profile | {} | | binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} | | binding:vif_type | ovs | | binding:vnic_type | normal | | device_id | | <--- missing | device_owner | | <--- missing | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "c00350a9-c18b-4cb5-9a69-741b1d37e210", "ip_address": "192.168.130.10"} | | id | bceedfb3-8505-43c3-b7bb-98a8298c53b8 | | mac_address | fa:16:3e:26:15:42 | | name | | | network_id | f25fecbd-03ec-4951-bc77-ebe8ef140895 | | security_groups | | | status | ACTIVE | | tenant_id | | +-----------------------+---------------------------------------------------------------------------------------+On the other hand, the router which has the proper external network information.
- After this issue occurs, assigning floating IPs on the router's network to VMs fails.
- How do I recover this situation without deleting port?
Environment
- Red Hat OpenStack Platform 7
- Red Hat OpenStack Platform 8
- Red Hat OpenStack Platform 9
- Red Hat OpenStack Platform 10
- horizon(OpenStack Dashboard)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
