Port dns_name is updated when dns-integration extension is disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Miguel Lavalle |
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_
| 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-
| id | 3a7facc6-
| mac_address | fa:16:3e:6a:25:37 |
| name | |
| network_id | adc6b713-
| port_security_
| security_groups | a61295bf-
| status | DOWN |
| tenant_id | 801a523213aa416
| updated_at | 2016-04-25T14:42:57 |
+------
$:~/devstack$ nova interface-attach --port-id 3a7facc6-
$:~/devstack$ neutron port-show 3a7facc6-
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| 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-
| device_owner | compute:None |
| dns_name | test |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "32ba7468-
| id | 3a7facc6-
| mac_address | fa:16:3e:6a:25:37 |
| name | |
| network_id | adc6b713-
| port_security_
| security_groups | a61295bf-
| status | ACTIVE |
| tenant_id | 801a523213aa416
| 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.
Changed in neutron: | |
assignee: | nobody → Elena Ezhova (eezhova) |
Changed in neutron: | |
status: | New → In Progress |
tags: | added: neutron-proactive-backport-potential |
tags: | removed: neutron-proactive-backport-potential |
Silly question, but can you show ext-list? In DevStack-based installs DNS extension (except the DNS ML2's extension driver) is loaded up automatically. Besides, without DNS extension enabled I'd expect dns_name not to show up entirely.