Some Port Properties Cannot Be Set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
Some port properties like dns-name cannot be set. We got mismatch error in some tempest tests as below. I debugged it and i saw that the dns-name properties cannot be set when creating a port. I checked with openstack cli commands and i saw dns-name properties cannot be set. I can set this properties in wallaby version.
Openstack version: Zed
Openstack cli version: 6.4.0
Some Tempest Tests:
neutron_
neutron_
neutron_
neutron_
'''
$ openstack port show b976b4c3-
+------
| Field | Value |
+------
| admin_state_up | UP |
| allowed_
| binding_host_id | |
| binding_profile | |
| binding_vif_details | |
| binding_vif_type | unbound |
| binding_vnic_type | normal |
| created_at | 2024-01-
| data_plane_status | None |
| description | |
| device_id | |
| device_owner | |
| device_profile | None |
| dns_assignment | fqdn='host-
| dns_domain | |
| dns_name | |
| extra_dhcp_opts | |
| fixed_ips | ip_address=
| hints | |
| id | b976b4c3-
| ip_allocation | None |
| mac_address | fa:16:3e:2c:02:19 |
| name | tempest-
| network_id | 3c83b6d4-
| numa_affinity_
| port_security_
| project_id | 348a7b15194c478
| propagate_
| resource_request | None |
| revision_number | 1 |
| qos_network_
| qos_policy_id | None |
| security_group_ids | 83fe2642-
| status | DOWN |
| tags | |
| trunk_details | None |
| updated_at | 2024-01-
+------
$ openstack port set --dns-name testdns b976b4c3-
...
REQ: curl -g -i -X PUT https:/
https:/
RESP: [200] content-length: 980 content-type: application/json date: Wed, 17 Jan 2024 11:52:45 GMT x-openstack-
RESP BODY: {"port"
PUT call to network for https:/
clean_up SetPort:
END return value: 0
...
Regards,
tags: |
added: dns removed: dns-name network neutron neutron-plugin openstack port properties set wallaby zed |
Hi,
These tests pass in our gate. Do you have your system configured correctly? For example, have you defined a dns_domain value in neutron.conf?
Here's a link to a recent job, if you search for 'dns' you will see all the things it sets:
https:/ /storage. bhs.cloud. ovh.net/ v1/AUTH_ dcaab5e32b234d5 6b626f72581e364 4c/zuul_ opendev_ logs_4ee/ 905755/ 2/check/ neutron- tempest- plugin- openvswitch/ 4ee7626/ job-output. txt
fyi, that output will not be around forever, but you can look at any recent neutron patch and find a similar job.