openstack port create cli rejected when using --wrs-binding argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Joseph Richard |
Bug Description
Brief Description
-------
Openstack port create cli command does not recognize --wrs-binding parameter.
Severity
--------
Minor
Steps to Reproduce
------------------
1. Use openstack command to create port
[wrsroot@
usage: openstack port create [-h] [-f {json,shell,
openstack port create: error: unrecognized arguments: --wrs-binding:
Expected Behavior
------------------
port should be created
Actual Behavior
----------------
openstack port create: error: unrecognized arguments: --wrs-binding:
Reproducibility
---------------
Reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
StarlingX master as of 2018-08-31_20-18-00
Work Around:
-------------------
Use neutron command
[wrsroot@
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Created a new port:
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| created_at | 2018-09-
| description | |
| device_id | |
| device_owner | |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "84e8c4fd-
| id | 71b686a0-
| mac_address | fa:16:3e:ba:e6:4e |
| name | vrf10 |
| network_id | 9ef5cfdf-
| project_id | 6782b335bc9d489
| revision_number | 2 |
| security_groups | |
| status | DOWN |
| tags | |
| tenant_id | 6782b335bc9d489
| updated_at | 2018-09-
| wrs-binding:
| wrs-binding:mtu | 1500 |
| wrs-binding:
+------
[wrsroot@
=======
description: | updated |
description: | updated |
tags: | added: stx.networking |
summary: |
- STX: Openstack port create cli rejected when using --wrs-binding - argument + openstack port create cli rejected when using --wrs-binding argument |
tags: |
added: stx.1.0 removed: stx.2018.10 |
This command was missed when the openstack client was updated to support the starlingx custom extensions. This should be straight-forward to fix this by adding a patch to /git.openstack. org/cgit/ openstack/ stx-upstream/ tree/openstack/ python- openstackclient /centos/ patches
https:/