Bug 2184310

Summary: Misalignment with extra-dhcp-options between neutronclient & openstackclient
Product: Red Hat OpenStack Reporter: Rodolfo Alonso <ralonsoh>
Component: python-openstackclientAssignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED EOL QA Contact: Vadim Khitrin <vkhitrin>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.0 (Wallaby)CC: apevec, ekuris, eolivare, jlibosva, jpichon, lhh, mlavalle, nobody
Target Milestone: z2Keywords: Triaged
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-openstackclient-5.5.1-0.20230404120319.53f1efa.el9osttrunk Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1988438
: 2184311 (view as bug list) Environment:
Last Closed: 2023-10-10 12:23:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1988438    
Bug Blocks: 1801271, 2184311    

Comment 2 Vadim Khitrin 2023-10-03 16:28:16 UTC
While 17.0 is approaching EOL, I can `openstackclient` in 17.1 compose `RHOS-17.1-RHEL-9-20230925.n.1` can configure those options:
```
[stack@undercloud-0 ~]$ openstack --os-cloud overcloud  port set --extra-dhcp-option name=domain-name,value=fistro.com 6a0f2f87-9380-45c6-be13-d4c580e04ff7
[stack@undercloud-0 ~]$ openstack --os-cloud overcloud  port show 6a0f2f87-9380-45c6-be13-d4c580e04ff7
+-------------------------+-------------------------------------------------------------------------------+
| Field                   | Value                                                                         |
+-------------------------+-------------------------------------------------------------------------------+
| admin_state_up          | UP                                                                            |
| allowed_address_pairs   |                                                                               |
| binding_host_id         |                                                                               |
| binding_profile         |                                                                               |
| binding_vif_details     |                                                                               |
| binding_vif_type        | unbound                                                                       |
| binding_vnic_type       | normal                                                                        |
| created_at              | 2023-10-03T16:24:35Z                                                          |
| data_plane_status       | None                                                                          |
| description             |                                                                               |
| device_id               |                                                                               |
| device_owner            |                                                                               |
| device_profile          | None                                                                          |
| dns_assignment          | None                                                                          |
| dns_domain              | None                                                                          |
| dns_name                | None                                                                          |
| extra_dhcp_opts         | ip_version='4', opt_name='domain-name', opt_value='fistro.com'                |
| fixed_ips               | ip_address='192.168.199.16', subnet_id='359efb85-4e76-4fce-8bdd-c211ee3e6efc' |
| id                      | 6a0f2f87-9380-45c6-be13-d4c580e04ff7                                          |
| ip_allocation           | None                                                                          |
| mac_address             | fa:16:3e:b1:05:0f                                                             |
| name                    | TEST                                                                          |
| network_id              | 911d0651-a4c4-4182-8816-9624ae5a60e6                                          |
| numa_affinity_policy    | None                                                                          |
| port_security_enabled   | True                                                                          |
| project_id              | 55a00d25607a437aa8c7102afa6a1ffe                                              |
| propagate_uplink_status | None                                                                          |
| qos_network_policy_id   | None                                                                          |
| qos_policy_id           | None                                                                          |
| resource_request        | None                                                                          |
| revision_number         | 2                                                                             |
| security_group_ids      | 8d6ab6eb-f8ba-4c2a-b867-dc8ec04ec76b                                          |
| status                  | DOWN                                                                          |
| tags                    |                                                                               |
| trunk_details           | None                                                                          |
| updated_at              | 2023-10-03T16:24:51Z                                                          |
+-------------------------+-------------------------------------------------------------------------------+
```

Comment 4 Priscila Gutierres 2023-10-10 12:23:24 UTC
Support has ended on 22 September 2023.