This is not a bug. This is the expected behavior according to the spec. Please point 1 here: http://specs.openstack.org/openstack/nova- specs/specs/mitaka/implemented/internal-dns-resolution.html#proposed- change
If you have a valid use case for this, I invite you to submit a RFE following this process: http://docs.openstack.org/developer/neutron/policies/blueprints.html #neutron-request-for-feature-enhancements ** Changed in: neutron Status: New => Opinion -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1603918 Title: The port's dns_name is cleared while the instance boot failed,because the port's dns_name is not equal to the instance's hostname Status in neutron: Opinion Bug description: In Mitaka, The value assigned to the dns_name attribute of the port is not equal to the value that Compute service will assign to the instance’s hostname, the instance boot will fail,however,the port's dns_name is cleared Repetition steps are as follows: step 1:Create a port specifying 'my-port' to its dns_name attribute step 2:Boot an instance using the port,the hostname assigned to the instance is not equal to the port's dns_name step 3:The boot failed step 4:Show the port info created in step1 using neutron port-show command,the dns_name is cleared. [root@devstack218 devstack]# neutron port-update port2_net1 --dns-name my-port Updated port: port2_net1 [root@devstack218 devstack]# neutron port-show port2_net1 +-----------------------+----------------------------------------------------------------------------------------------------------------+ | 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-07-12T08:40:47 | | description | | | device_id | | | device_owner | | | dns_assignment | {"hostname": "my-port", "ip_address": "198.51.100.12", "fqdn": "my-port.example.org."} | | | {"hostname": "my-port", "ip_address": "2001:db8:80d2:c4d3:f816:3eff:fe44:f8d", "fqdn": "my-port.example.org."} | | dns_name | my-port | | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "481cadf6-fa52-4739-80b2-331a3b90d7b6", "ip_address": "198.51.100.12"} | | | {"subnet_id": "60f56f75-ce94-498f-b4ad-0383db2796a8", "ip_address": "2001:db8:80d2:c4d3:f816:3eff:fe44:f8d"} | | id | aa89b945-1806-4384-9771-25c44bf7f66d | | mac_address | fa:16:3e:44:0f:8d | | name | port2_net1 | | network_id | d885e8ed-5e70-478f-a279-fd6c00bbb2d7 | | port_security_enabled | True | | qos_policy_id | 2e7b351c-5579-4d34-9617-f7e95acbb56b | | security_groups | e5bd8e12-ea85-4801-acd2-a997df98053d | | status | DOWN | | tenant_id | d9cc08fe87ee49f08020baa95893e2ef | | updated_at | 2016-07-18T08:43:52 | +-----------------------+----------------------------------------------------------------------------------------------------------------+ [root@devstack218 neutron]# nova boot --flavor cgslv5 --image 940b2997-4dc0-4163-a7c2-c4836f25f709 --nic port-id=aa89b945-1806-4384-9771-25c44bf7f66d my-vm +--------------------------------------+------------------------------------------------------------------+ | Property | Value | +--------------------------------------+------------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | | | OS-EXT-SRV-ATTR:host | - | | OS-EXT-SRV-ATTR:hostname | my-vm | | OS-EXT-SRV-ATTR:hypervisor_hostname | - | | OS-EXT-SRV-ATTR:instance_name | instance-0000001e | | OS-EXT-SRV-ATTR:kernel_id | | | OS-EXT-SRV-ATTR:launch_index | 0 | | OS-EXT-SRV-ATTR:ramdisk_id | | | OS-EXT-SRV-ATTR:reservation_id | r-y6jorkya | | OS-EXT-SRV-ATTR:root_device_name | - | | OS-EXT-SRV-ATTR:user_data | - | | OS-EXT-STS:power_state | 0 | | OS-EXT-STS:task_state | scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | - | | OS-SRV-USG:terminated_at | - | | accessIPv4 | | | accessIPv6 | | | adminPass | MXuk5hDSrgmS | | config_drive | | | created | 2016-07-18T08:44:12Z | | description | - | | flavor | cgslv5 (12345) | | hostId | | | host_status | | | id | 2eb5e7a3-3d39-4919-a0f6-48deaa55bf2c | | image | cgslv5_iperf_macvtap_bond (940b2997-4dc0-4163-a7c2-c4836f25f709) | | key_name | - | | locked | False | | metadata | {} | | name | my-vm | | os-extended-volumes:volumes_attached | [] | | progress | 0 | | security_groups | default | | status | BUILD | | tags | [] | | tenant_id | d9cc08fe87ee49f08020baa95893e2ef | | updated | 2016-07-18T08:44:13Z | | user_id | 57ceaf0e698541d09ac09d676ee8838c | +--------------------------------------+------------------------------------------------------------------+ [root@devstack218 neutron]# nova list +--------------------------------------+------------------------+--------+------------+-------------+----------------------------------------------------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------------------------+--------+------------+-------------+----------------------------------------------------------------+ | 2eb5e7a3-3d39-4919-a0f6-48deaa55bf2c | my-vm | ERROR | - | NOSTATE | [root@devstack218 devstack]# neutron port-show port2_net1 +-----------------------+--------------------------------------------------------------------------------------------------------------------------+ | 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-07-12T08:40:47 | | description | | | device_id | | | device_owner | | | dns_assignment | {"hostname": "host-198-51-100-12", "ip_address": "198.51.100.12", "fqdn": "host-198-51-100-12.example.org."} | | | {"hostname": "host-2001-db8-80d2-c4d3-f816-3eff-fe44-f8d", "ip_address": "2001:db8:80d2:c4d3:f816:3eff:fe44:f8d", | | | "fqdn": "host-2001-db8-80d2-c4d3-f816-3eff-fe44-f8d.example.org."} | | dns_name | | | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "481cadf6-fa52-4739-80b2-331a3b90d7b6", "ip_address": "198.51.100.12"} | | | {"subnet_id": "60f56f75-ce94-498f-b4ad-0383db2796a8", "ip_address": "2001:db8:80d2:c4d3:f816:3eff:fe44:f8d"} | | id | aa89b945-1806-4384-9771-25c44bf7f66d | | mac_address | fa:16:3e:44:0f:8d | | name | port2_net1 | | network_id | d885e8ed-5e70-478f-a279-fd6c00bbb2d7 | | port_security_enabled | True | | qos_policy_id | 2e7b351c-5579-4d34-9617-f7e95acbb56b | | security_groups | e5bd8e12-ea85-4801-acd2-a997df98053d | | status | DOWN | | tenant_id | d9cc08fe87ee49f08020baa95893e2ef | | updated_at | 2016-07-18T08:44:18 | +-----------------------+--------------------------------------------------------------------------------------------------------------------------+ [root@devstack218 devstack]# To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1603918/+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

