dns_domain and dns_name values not getting set while making request to create floating ip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Confirmed
|
Undecided
|
Unassigned |
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_
availability_zones
created_at 2016-08-19T06:41:01
description
dns_domain ashish.com.
id cdcd56d9-
ipv4_address_scope
ipv6_address_scope
mtu 1500
name n1
port_security_
provider:
provider:
provider:
router:external False
shared False
status ACTIVE
subnets
tags
tenant_id d7ce7be3bd61442
updated_at 2016-08-19T06:41:02
-------
3. Boot a VM onto the network.
neutron port-show 94164bf9-
-------
Field Value
-------
admin_state_up True
allowed_
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-
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-
id 94164bf9-
mac_address fa:16:3e:d8:86:51
name
network_id cdcd56d9-
port_security_
security_groups 61f6c41e-
status ACTIVE
tenant_id d7ce7be3bd61442
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-
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-
id e0e22ca1-
port_id 94164bf9-
router_id e824fd2b-
status DOWN
tenant_id d7ce7be3bd61442
-------
stack@hlm:~$ neutron floatingip-show e0e22ca1-
-------
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-
id e0e22ca1-
port_id 94164bf9-
router_id e824fd2b-
status ACTIVE
tenant_id d7ce7be3bd61442
-------
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.
summary: |
- dns_domain and dns_name values not get set while making request to + dns_domain and dns_name values not getting set while making request to create floating ip |
Changed in neutron: | |
assignee: | nobody → Atul Pandey (atul-4you) |
tags: | added: dns |
@Atul,
I tried to replicate the issue in my development system. I couldn't replicate it. The software is working as expected in my system, which I built freshly for this test from the master branch. Here, I walk you through the steps that I followed: http:// paste.openstack .org/show/ 564019/. Notice that, even though I changed the name of the network and the dns domain (because my system is set up this way when I build it), I essentially did the same thing as you.
So I have a few questions:
1) Are you building your system from master or from Mitaka stable?
2) In your steps, you don't show the creation of the subnet, the creation of a router, the association of the external network with the router nor the association of network 'n1' with the same router. Did you carry out these steps properly?
3) Have you read through the documentation?: http:// docs.openstack. org/mitaka/ networking- guide/config- dns-int. html
Finally, I built the system I used for this test from this Vagrant configuration. Please feel free to clone it: https:/ /github. com/miguellaval le/allinonevagr ant. Please read through the README