Reviewed: https://review.opendev.org/c/openstack/neutron/+/946549 Committed: https://opendev.org/openstack/neutron/commit/99a9470da551310fd24ded3476a1ad36eeab3f95 Submitter: "Zuul (22348)" Branch: master
commit 99a9470da551310fd24ded3476a1ad36eeab3f95 Author: yatinkarel <yka...@redhat.com> Date: Mon Apr 7 17:16:24 2025 +0530 [Doc] Add NOTE for external dns requirement for Floating IPs For Floating IPs dns attributes, in addition to dns extensions external DNS service is also required. Just adding a NOTE in the main internal dns doc. Closes-Bug: #1617219 Change-Id: I7b3c59191afd21384e6f8871b2453e5ccc0b7bae ** 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/1617219 Title: dns_domain and dns_name values not getting set while making request to create floating ip Status in neutron: Fix Released 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 : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp