← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1574694] Re: Port dns_name is updated when dns-integration extension is disabled

 

Reviewed:  https://review.openstack.org/311640
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=56962922cc439409bcecd808a1e9bbec2c3756f7
Submitter: Jenkins
Branch:    master

commit 56962922cc439409bcecd808a1e9bbec2c3756f7
Author: Miguel Lavalle <malavall@xxxxxxxxxx>
Date:   Sun May 1 23:51:23 2016 +0000

    Don't load DNS integration in l3_router_plugin
    
    In this patchset we stop the l3_router_plugin from loading the DNS integration
    extension. The DNS integration extension should only be configured by the
    operator by adding 'dns' to the 'extension_driver' list in ml2_conf.ini
    
    Change-Id: I1321d9821973fe918005a8c2f3dd751af9affe38
    Closes-Bug: #1574694


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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


References