Bug 1988438
| Summary: | Misalignment with extra-dhcp-options between neutronclient & openstackclient | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Eduardo Olivares <eolivare> | |
| Component: | python-openstackclient | Assignee: | Rodolfo Alonso <ralonsoh> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Nobody <nobody> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | low | |||
| Version: | 16.2 (Train) | CC: | apevec, ekuris, jlibosva, jpichon, lhh, mlavalle, mtomaska | |
| Target Milestone: | z5 | Keywords: | Triaged | |
| Target Release: | 16.2 (Train on RHEL 8.4) | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | python-openstackclient-4.0.2-2.20230404115110.54bf2c0.el8ost | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2184310 (view as bug list) | Environment: | ||
| Last Closed: | 2023-11-07 18:14:47 UTC | Type: | Bug | |
| 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: | ||||
| Bug Blocks: | 1801271, 2184310, 2184311 | |||
|
Description
Eduardo Olivares
2021-07-30 14:30:22 UTC
Verified on `RHOS-16.2-RHEL-8-20230926.n.1`.
RPM:
rpm -qa | grep openstackclient
python3-openstackclient-4.0.2-2.20230404115110.54bf2c0.el8ost.noarch
```
openstack --os-cloud overcloud port set
usage: openstack port set [-h] [--description <description>]
[--device <device-id>] [--mac-address <mac-address>]
[--device-owner <device-owner>]
[--vnic-type <vnic-type>] [--host <host-id>]
[--dns-domain dns-domain] [--dns-name <dns-name>]
[--enable | --disable] [--name <name>]
[--fixed-ip subnet=<subnet>,ip-address=<ip-address>]
[--no-fixed-ip]
[--binding-profile <binding-profile>]
[--no-binding-profile] [--qos-policy <qos-policy>]
[--security-group <security-group>]
[--no-security-group]
[--enable-port-security | --disable-port-security]
[--allowed-address ip-address=<ip-address>[,mac-address=<mac-address>]]
[--no-allowed-address]
[--extra-dhcp-option name=<name>[,value=<value>,ip-version={4,6}]]
[--data-plane-status <status>] [--tag <tag>]
[--no-tag]
<port>
```
Forgot to mention that it also works: ``` overcloud) [stack@undercloud-0 tempest]$ openstack port set --extra-dhcp-option name=domain-name,value=fistro.com port (overcloud) [stack@undercloud-0 tempest]$ openstack port show port -c extra_dhcp_opts +-----------------+----------------------------------------------------------------+ | Field | Value | +-----------------+----------------------------------------------------------------+ | extra_dhcp_opts | ip_version='4', opt_name='domain-name', opt_value='fistro.com' | +-----------------+----------------------------------------------------------------+ ``` |