Cannot create Subnet pool with just Name option

Bug #1564271 reported by Reedip
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Undecided
Unassigned

Bug Description

Please see http://paste.openstack.org/show/492537/

--pool-prefix is an optional parameter, but Neutron needs some information for it.
But as it is a Repeatable parameter, making it a positional parameter doesnt serve the purpose.
So in order to prevent this error, the proposal is to send prefixes to the neutron server in the form of an empty list [] during subnet pool create.
Similar bug is reported in https://bugs.launchpad.net/neutron/+bug/1477889

Changed in python-openstackclient:
assignee: nobody → Reedip (reedip-banerjee)
description: updated
description: updated
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/299805

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/299805
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=7027d915b5d00e719ec2035b34ea9a3702b2f3fc
Submitter: Jenkins
Branch: master

commit 7027d915b5d00e719ec2035b34ea9a3702b2f3fc
Author: reedip <email address hidden>
Date: Thu Mar 31 17:33:32 2016 +0900

    Add default value to pool-prefix in Subnet-pool

    If user tries to create a subnet pool without --pool-prefix,
    it fails at the NeutronServer [1].
    This patch tries to add a default value to the --pool-prefix
    to try and resolve it.

    Closes-Bug: #1564271
    [1] : http://paste.openstack.org/show/492537/

    Change-Id: I6cf324a5a8037048602e59c0bbfc93b40e73a74e

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-openstackclient 2.4.0

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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