--router:external=True syntax is invalid

Bug #1451391 reported by Roey Dekel
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
High
Nir Magnezi

Bug Description

Kilo syntax is not backward compatibility:

[root@puma14 ~(keystone_admin)]# neutron net-create public --provider:network_type vlan --provider:physical_network physnet --provider:segmentation_id 193 --router:external=True
usage: neutron net-create [-h] [-f {shell,table,value}] [-c COLUMN]
                          [--max-width <integer>] [--prefix PREFIX]
                          [--request-format {json,xml}]
                          [--tenant-id TENANT_ID] [--admin-state-down]
                          [--shared] [--router:external]
                          [--provider:network_type <network_type>]
                          [--provider:physical_network <physical_network_name>]
                          [--provider:segmentation_id <segmentation_id>]
                          [--vlan-transparent {True,False}]
                          NAME
neutron net-create: error: argument --router:external: ignored explicit argument u'True'

Current syntax supports:
[root@puma14 ~(keystone_admin)]# neutron net-create public --provider:network_type vlan --provider:physical_network physnet --provider:segmentation_id 193 --router:external
Created a new network:
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | df7af5c2-c84b-4991-b370-f8a854c29a80 |
| mtu | 0 |
| name | public |
| provider:network_type | vlan |
| provider:physical_network | physnet |
| provider:segmentation_id | 193 |
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 7e8736e9aba546e98be4a71a92d67a77 |
+---------------------------+--------------------------------------+

affects: neutron → python-neutronclient
Changed in python-neutronclient:
importance: Undecided → Low
Changed in python-neutronclient:
assignee: nobody → Prasoon Telang (prasoontelang)
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :
Changed in python-neutronclient:
importance: Low → High
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

This may break external automation tools, so should be fixed in time. Raising its priority.

Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

The patch that triggered the compat breakage: https://review.openstack.org/#/c/96372/

Nir Magnezi (nmagnezi)
Changed in python-neutronclient:
assignee: Prasoon Telang (prasoontelang) → Nir Magnezi (nmagnezi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/182313

Changed in python-neutronclient:
status: New → In Progress
Changed in python-neutronclient:
status: In Progress → Fix Committed
Changed in python-neutronclient:
milestone: none → 3.0.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.