command "network set" has hint about vlan transparent, but neutron doesn't support modifying it

Bug #1691776 reported by Hong Hui Xiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Undecided
Hong Hui Xiao

Bug Description

openstack network set
usage: openstack network set [-h] [--name <name>] [--enable | --disable]
                             [--share | --no-share]
                             [--description <description]
                             [--enable-port-security | --disable-port-security]
                             [--external | --internal]
                             [--default | --no-default]
                             [--qos-policy <qos-policy> | --no-qos-policy]
                             [--provider-network-type <provider-network-type>]
                             [--provider-physical-network <provider-physical-network>]
                             [--provider-segment <provider-segment>]
                             [--transparent-vlan | --no-transparent-vlan]
                             <network>
openstack network set: error: too few arguments

However, when update network vlan transparent, client will get
HttpException: HttpException: Bad Request (HTTP 400) (Request-ID: req-4e278d75-3831-419e-a0fb-af66b67a3ada), Cannot update read-only attribute vlan_transparent

It is because neutron extension doesn't allow put the attribute.

https://github.com/openstack/neutron/blob/7f5a9ae22c35359e5c89750a050d0a8937b3e051/neutron/extensions/vlantransparent.py#L36

Hong Hui Xiao (xiaohhui)
Changed in python-openstackclient:
assignee: nobody → Hong Hui Xiao (xiaohhui)
Hong Hui Xiao (xiaohhui)
summary: - command "network set" has hit about vlan transparent, but neutron
+ command "network set" has hint about vlan transparent, but neutron
doesn't support modifying it
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

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

Changed in python-openstackclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/466002
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=2b66c71a7c2798dc1f9149574d54062b9086a01a
Submitter: Jenkins
Branch: master

commit 2b66c71a7c2798dc1f9149574d54062b9086a01a
Author: Hong Hui Xiao <email address hidden>
Date: Thu May 18 22:53:29 2017 +0800

    Don't show hint about vlan transparent in network set

    Update this attribute is not allowed in neutron.

    Change-Id: I38010b26e116246c13dbb6cc6a777d2f22f6dc30
    Closes-Bug: #1691776

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 3.12.0

This issue was fixed in the openstack/python-openstackclient 3.12.0 release.

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.