Public bug reported:

Make sure in the ml2_conf.ini extension driver dns is configured.
Under neutron.conf domain is specified .
1. Create an external Network./subnet
2. Create tenant network with domain name.
neutron net-create --dns-domain ashish.com. n1
Created a new network:
---------------------------------------------------------------+
Field   Value

---------------------------------------------------------------+
admin_state_up  True
availability_zone_hints          
availability_zones       
created_at      2016-08-19T06:41:01
description      
dns_domain      ashish.com.
id      cdcd56d9-d4b9-4959-9a80-223d12106b11
ipv4_address_scope       
ipv6_address_scope       
mtu     1500
name    n1
port_security_enabled   True
provider:network_type   vlan
provider:physical_network       physnet2
provider:segmentation_id        1465
router:external         False
shared  False
status  ACTIVE
subnets          
tags     
tenant_id       d7ce7be3bd61442bbf5b556b54780320
updated_at      2016-08-19T06:41:02

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

3. Boot a VM onto the network.
neutron port-show 94164bf9-3e63-47e0-a8d8-0075f720e1fb
-----------------------------------------------------------------------------------------------------+
Field   Value

-----------------------------------------------------------------------------------------------------+
admin_state_up  True
allowed_address_pairs    
binding:host_id         ******-mgmt
binding:profile         {}
binding:vif_details     {"port_filter": true, "ovs_hybrid_plug": true}
binding:vif_type        ovs
binding:vnic_type       normal
created_at      2016-08-19T06:41:48
description      
device_id       24581b8a-968b-404d-b3a7-5d82efbf30e6
device_owner    compute:nova
dns_assignment  {"hostname": "test", "ip_address": "1.1.1.4", "fqdn": 
"test.ashish.com."}
dns_name        test
extra_dhcp_opts          
fixed_ips       {"subnet_id": "a54721a5-8b89-4fcb-80f1-11a516be0600", 
"ip_address": "1.1.1.4"}
id      94164bf9-3e63-47e0-a8d8-0075f720e1fb
mac_address     fa:16:3e:d8:86:51
name     
network_id      cdcd56d9-d4b9-4959-9a80-223d12106b11
port_security_enabled   True
security_groups         61f6c41e-d962-46c6-9109-c2165280faf3
status  ACTIVE
tenant_id       d7ce7be3bd61442bbf5b556b54780320
updated_at      2016-08-19T06:45:42

-----------------------------------------------------------------------------------------------------+
4. Make sure your vm got ip and you are able to ping the vm using the dns name.
login as 'cirros' user. default password: 'cubswin'. use 'sudo' for root.
cirros login: cirros
Password:
$ ifconfig

5. Create a floating ip with the domain and dns_name specified for the vm 
assocaited port.
neutron floatingip-create bdf9a179-04f9-4013-9859-0584093fbefa --port_id 
94164bf9-3e63-47e0-a8d8-0075f720e1fb --dns_domain ashish.com. --dns_name test
Created a new floatingip:
---------------------------------------------------------+
Field   Value

---------------------------------------------------------+
description      
dns_domain       
dns_name         
fixed_ip_address        1.1.1.4
floating_ip_address     20.10.82.14
floating_network_id     bdf9a179-04f9-4013-9859-0584093fbefa
id      e0e22ca1-a992-40a1-87c2-b507684ba6c7
port_id         94164bf9-3e63-47e0-a8d8-0075f720e1fb
router_id       e824fd2b-983b-4104-ab26-e41591419b36
status  DOWN
tenant_id       d7ce7be3bd61442bbf5b556b54780320

---------------------------------------------------------+
stack@hlm:~$ neutron floatingip-show e0e22ca1-a992-40a1-87c2-b507684ba6c7
---------------------------------------------------------+
Field   Value

---------------------------------------------------------+
description      
dns_domain       
dns_name         
fixed_ip_address        1.1.1.4
floating_ip_address     20.10.82.14
floating_network_id     bdf9a179-04f9-4013-9859-0584093fbefa
id      e0e22ca1-a992-40a1-87c2-b507684ba6c7
port_id         94164bf9-3e63-47e0-a8d8-0075f720e1fb
router_id       e824fd2b-983b-4104-ab26-e41591419b36
status  ACTIVE
tenant_id       d7ce7be3bd61442bbf5b556b54780320

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

ACtual : dns_name and dns_domain the floatingip_create is blank
Expected : DNS_name and dns_domain should be reflected in the created floating 
ip show.

** Affects: neutron
     Importance: Undecided
     Assignee: Atul Pandey (atul-4you)
         Status: New

** Summary changed:

- dns_domain and dns_name values not get set while making request to create 
floating ip
+ dns_domain and dns_name values not getting set while making request to create 
floating ip

** Changed in: neutron
     Assignee: (unassigned) => Atul Pandey (atul-4you)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1617219

Title:
  dns_domain and dns_name values not getting set while making request to
  create floating ip

Status in neutron:
  New

Bug description:
  Make sure in the ml2_conf.ini extension driver dns is configured.
  Under neutron.conf domain is specified .
  1. Create an external Network./subnet
  2. Create tenant network with domain name.
  neutron net-create --dns-domain ashish.com. n1
  Created a new network:
  ---------------------------------------------------------------+
  Field         Value

  ---------------------------------------------------------------+
  admin_state_up        True
  availability_zone_hints        
  availability_zones     
  created_at    2016-08-19T06:41:01
  description    
  dns_domain    ashish.com.
  id    cdcd56d9-d4b9-4959-9a80-223d12106b11
  ipv4_address_scope     
  ipv6_address_scope     
  mtu   1500
  name  n1
  port_security_enabled         True
  provider:network_type         vlan
  provider:physical_network     physnet2
  provider:segmentation_id      1465
  router:external       False
  shared        False
  status        ACTIVE
  subnets        
  tags   
  tenant_id     d7ce7be3bd61442bbf5b556b54780320
  updated_at    2016-08-19T06:41:02

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

  3. Boot a VM onto the network.
  neutron port-show 94164bf9-3e63-47e0-a8d8-0075f720e1fb
  
-----------------------------------------------------------------------------------------------------+
  Field         Value

  
-----------------------------------------------------------------------------------------------------+
  admin_state_up        True
  allowed_address_pairs          
  binding:host_id       ******-mgmt
  binding:profile       {}
  binding:vif_details   {"port_filter": true, "ovs_hybrid_plug": true}
  binding:vif_type      ovs
  binding:vnic_type     normal
  created_at    2016-08-19T06:41:48
  description    
  device_id     24581b8a-968b-404d-b3a7-5d82efbf30e6
  device_owner  compute:nova
  dns_assignment        {"hostname": "test", "ip_address": "1.1.1.4", "fqdn": 
"test.ashish.com."}
  dns_name      test
  extra_dhcp_opts        
  fixed_ips     {"subnet_id": "a54721a5-8b89-4fcb-80f1-11a516be0600", 
"ip_address": "1.1.1.4"}
  id    94164bf9-3e63-47e0-a8d8-0075f720e1fb
  mac_address   fa:16:3e:d8:86:51
  name   
  network_id    cdcd56d9-d4b9-4959-9a80-223d12106b11
  port_security_enabled         True
  security_groups       61f6c41e-d962-46c6-9109-c2165280faf3
  status        ACTIVE
  tenant_id     d7ce7be3bd61442bbf5b556b54780320
  updated_at    2016-08-19T06:45:42

  
-----------------------------------------------------------------------------------------------------+
  4. Make sure your vm got ip and you are able to ping the vm using the dns 
name.
  login as 'cirros' user. default password: 'cubswin'. use 'sudo' for root.
  cirros login: cirros
  Password:
  $ ifconfig

  5. Create a floating ip with the domain and dns_name specified for the vm 
assocaited port.
  neutron floatingip-create bdf9a179-04f9-4013-9859-0584093fbefa --port_id 
94164bf9-3e63-47e0-a8d8-0075f720e1fb --dns_domain ashish.com. --dns_name test
  Created a new floatingip:
  ---------------------------------------------------------+
  Field         Value

  ---------------------------------------------------------+
  description    
  dns_domain     
  dns_name       
  fixed_ip_address      1.1.1.4
  floating_ip_address   20.10.82.14
  floating_network_id   bdf9a179-04f9-4013-9859-0584093fbefa
  id    e0e22ca1-a992-40a1-87c2-b507684ba6c7
  port_id       94164bf9-3e63-47e0-a8d8-0075f720e1fb
  router_id     e824fd2b-983b-4104-ab26-e41591419b36
  status        DOWN
  tenant_id     d7ce7be3bd61442bbf5b556b54780320

  ---------------------------------------------------------+
  stack@hlm:~$ neutron floatingip-show e0e22ca1-a992-40a1-87c2-b507684ba6c7
  ---------------------------------------------------------+
  Field         Value

  ---------------------------------------------------------+
  description    
  dns_domain     
  dns_name       
  fixed_ip_address      1.1.1.4
  floating_ip_address   20.10.82.14
  floating_network_id   bdf9a179-04f9-4013-9859-0584093fbefa
  id    e0e22ca1-a992-40a1-87c2-b507684ba6c7
  port_id       94164bf9-3e63-47e0-a8d8-0075f720e1fb
  router_id     e824fd2b-983b-4104-ab26-e41591419b36
  status        ACTIVE
  tenant_id     d7ce7be3bd61442bbf5b556b54780320

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

  ACtual : dns_name and dns_domain the floatingip_create is blank
  Expected : DNS_name and dns_domain should be reflected in the created 
floating ip show.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1617219/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to