share network fields can not be unset after set operation

Bug #1446695 reported by Valeriy Ponomaryov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-manilaclient
Fix Released
Medium
Julia Varlamova

Bug Description

It is impossible to unset some value from share network if it was set.

See related code: https://github.com/openstack/python-manilaclient/blob/1fba1992/manilaclient/v1/share_networks.py#L121

It should be possible to revert back some changes to share networks as well as for shares and snapshots.

Tags: python
tags: added: cli
Changed in python-manilaclient:
importance: Undecided → Medium
tags: added: python
removed: cli
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-manilaclient (master)

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

Changed in python-manilaclient:
assignee: nobody → Julia Varlamova (jvarlamova)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-manilaclient (master)

Reviewed: https://review.openstack.org/214573
Committed: https://git.openstack.org/cgit/openstack/python-manilaclient/commit/?id=d6ad3710b1a1cd53e1e2f1296ca00f2d2aaddecd
Submitter: Jenkins
Branch: master

commit d6ad3710b1a1cd53e1e2f1296ca00f2d2aaddecd
Author: Julia Varlamova <email address hidden>
Date: Wed Aug 19 07:42:33 2015 -0400

    Allow user to unset share network params

    It is impossible to unset some value from share network if it was set.
    Allow user to set share network params (name, description, neutron_net_id,
    neutron_subnet_id) to empty value.

    Closes-bug: #1446695

    Change-Id: I43315d49a3b721db9619812656702c1865155338

Changed in python-manilaclient:
status: In Progress → Fix Committed
Changed in python-manilaclient:
milestone: none → 1.3.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.