yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49928
[Bug 1574694] [NEW] Port dns_name is updated when dns-integration extension is disabled
Public bug reported:
When a port is attached to and instance its dns_name is updated even if
dns-integration extension is not enabled:
$:~/devstack$ neutron port-create private
Created a new port:
+-----------------------+---------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+---------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| created_at | 2016-04-25T14:42:57 |
| description | |
| device_id | |
| device_owner | |
| dns_name | |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "32ba7468-e4c2-4feb-9e0f-de983f7ced52", "ip_address": "10.0.0.5"} |
| id | 3a7facc6-cda5-46d8-bc67-c880406e338e |
| mac_address | fa:16:3e:6a:25:37 |
| name | |
| network_id | adc6b713-a44d-43c9-9366-4564c32ff41a |
| port_security_enabled | True |
| security_groups | a61295bf-6751-42ed-ab70-73c0b42a09c9 |
| status | DOWN |
| tenant_id | 801a523213aa4168adba27231095c535 |
| updated_at | 2016-04-25T14:42:57 |
+-----------------------+---------------------------------------------------------------------------------+
$:~/devstack$ nova interface-attach --port-id 3a7facc6-cda5-46d8-bc67-c880406e338e test
$:~/devstack$ neutron port-show 3a7facc6-cda5-46d8-bc67-c880406e338e
+-----------------------+---------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+---------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | eezhova-devstack-2 |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| created_at | 2016-04-25T14:42:57 |
| description | |
| device_id | a251a60a-e98d-4f46-8288-d45c986874a1 |
| device_owner | compute:None |
| dns_name | test |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "32ba7468-e4c2-4feb-9e0f-de983f7ced52", "ip_address": "10.0.0.5"} |
| id | 3a7facc6-cda5-46d8-bc67-c880406e338e |
| mac_address | fa:16:3e:6a:25:37 |
| name | |
| network_id | adc6b713-a44d-43c9-9366-4564c32ff41a |
| port_security_enabled | True |
| security_groups | a61295bf-6751-42ed-ab70-73c0b42a09c9 |
| status | ACTIVE |
| tenant_id | 801a523213aa4168adba27231095c535 |
| updated_at | 2016-04-25T14:43:45 |
+-----------------------+---------------------------------------------------------------------------------+
Expected result: dns_name=''
Actual result: dns_name='test'
Meanwhile this is not the case when a port is created on instance boot.
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1574694
Title:
Port dns_name is updated when dns-integration extension is disabled
Status in neutron:
New
Bug description:
When a port is attached to and instance its dns_name is updated even
if dns-integration extension is not enabled:
$:~/devstack$ neutron port-create private
Created a new port:
+-----------------------+---------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+---------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| created_at | 2016-04-25T14:42:57 |
| description | |
| device_id | |
| device_owner | |
| dns_name | |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "32ba7468-e4c2-4feb-9e0f-de983f7ced52", "ip_address": "10.0.0.5"} |
| id | 3a7facc6-cda5-46d8-bc67-c880406e338e |
| mac_address | fa:16:3e:6a:25:37 |
| name | |
| network_id | adc6b713-a44d-43c9-9366-4564c32ff41a |
| port_security_enabled | True |
| security_groups | a61295bf-6751-42ed-ab70-73c0b42a09c9 |
| status | DOWN |
| tenant_id | 801a523213aa4168adba27231095c535 |
| updated_at | 2016-04-25T14:42:57 |
+-----------------------+---------------------------------------------------------------------------------+
$:~/devstack$ nova interface-attach --port-id 3a7facc6-cda5-46d8-bc67-c880406e338e test
$:~/devstack$ neutron port-show 3a7facc6-cda5-46d8-bc67-c880406e338e
+-----------------------+---------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+---------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | eezhova-devstack-2 |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| created_at | 2016-04-25T14:42:57 |
| description | |
| device_id | a251a60a-e98d-4f46-8288-d45c986874a1 |
| device_owner | compute:None |
| dns_name | test |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "32ba7468-e4c2-4feb-9e0f-de983f7ced52", "ip_address": "10.0.0.5"} |
| id | 3a7facc6-cda5-46d8-bc67-c880406e338e |
| mac_address | fa:16:3e:6a:25:37 |
| name | |
| network_id | adc6b713-a44d-43c9-9366-4564c32ff41a |
| port_security_enabled | True |
| security_groups | a61295bf-6751-42ed-ab70-73c0b42a09c9 |
| status | ACTIVE |
| tenant_id | 801a523213aa4168adba27231095c535 |
| updated_at | 2016-04-25T14:43:45 |
+-----------------------+---------------------------------------------------------------------------------+
Expected result: dns_name=''
Actual result: dns_name='test'
Meanwhile this is not the case when a port is created on instance
boot.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1574694/+subscriptions
Follow ups