share network create crashes

Bug #2065769 reported by Morozov Aleksey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-manilaclient
Fix Released
Medium
Morozov Aleksey

Bug Description

During an attempt to create a share network with the command:
openstack share network create --neutron-net-id <neutron-net-id> --neutron-subnet-id <neutron-subnet-id> --name share-network --os-share-api-version 2.32
Cause a error:
ShareNetworkManager.create() got an unexpected keyword argument 'availability_zone'.

What happened in code:
Call a create:
https://github.com/openstack/python-manilaclient/blob/master/manilaclient/osc/v2/share_networks.py#L311

Create function, which doesn't have a availability_zone argument:
https://github.com/openstack/python-manilaclient/blob/master/manilaclient/v2/share_networks.py#L74

description: updated
description: updated
description: updated
Changed in python-manilaclient:
status: New → In Progress
description: updated
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :
Changed in python-manilaclient:
importance: Undecided → Medium
assignee: nobody → Morozov Aleksey (morozovalekseywot)
milestone: none → dalmation-1
milestone: dalmation-1 → dalmation-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-manilaclient (master)

Reviewed: https://review.opendev.org/c/openstack/python-manilaclient/+/919756
Committed: https://opendev.org/openstack/python-manilaclient/commit/ae363bdf089831685ca963a829514ebfb69c640e
Submitter: "Zuul (22348)"
Branch: master

commit ae363bdf089831685ca963a829514ebfb69c640e
Author: morozovalekseywot <email address hidden>
Date: Wed May 15 19:50:33 2024 +0300

    Don't set availability_zone for 2.32 version of api

    Closes-Bug: #2065769
    Change-Id: Id0c7dc63e6dca5d32cf1cf8983588d44601b4338

Changed in python-manilaclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-manilaclient (stable/2024.1)

Fix proposed to branch: stable/2024.1
Review: https://review.opendev.org/c/openstack/python-manilaclient/+/920227

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.