Unable to create replica

Bug #1968925 reported by Goutham Pacha Ravi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
manila-ui
Fix Released
Medium
Goutham Pacha Ravi

Bug Description

I'm unable to create a new replica from the "Manage Replicas" page on a share that supports replication. When i use the "Create Replica" form, I see this error message:

  Error: Unable to create share replica. Details

  create() got an unexpected keyword argument 'share_network'

Steps to reproduce
==================

* Create a share that supports replication (share type must have a valid "replication_type" extra-spec)
* Click on "Manage Replicas" in the drop down next to "Edit Share"
* Click "Create Replica" and fill the form, click "Create"

Screenshot attached.
Horizon Error Log:

2022-04-13 20:22:34.890163 WARNING horizon.exceptions Recoverable error: create() got an unexpected keyword argument 'share_network'

Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila-ui (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila-ui/+/837763

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

Reviewed: https://review.opendev.org/c/openstack/manila-ui/+/837763
Committed: https://opendev.org/openstack/manila-ui/commit/3ba70dc3e600897761e7183f464ca13bdd2b52f9
Submitter: "Zuul (22348)"
Branch: master

commit 3ba70dc3e600897761e7183f464ca13bdd2b52f9
Author: Goutham Pacha Ravi <email address hidden>
Date: Thu Apr 14 02:15:46 2022 +0530

    Fix share replica creation

    The manilaclient SDK not accept a "share_network"
    argument anymore with the share_replicas.create()
    method.

    Change-Id: If21408291fcb4ccd778b24145effcb253227df55
    Closes-Bug: #1968925
    Signed-off-by: Goutham Pacha Ravi <email address hidden>

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

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/manila-ui/+/839547

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila-ui (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/manila-ui/+/839547
Committed: https://opendev.org/openstack/manila-ui/commit/45888a902e57fb4d78df0c5d6b0c6a690b33d60c
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 45888a902e57fb4d78df0c5d6b0c6a690b33d60c
Author: Goutham Pacha Ravi <email address hidden>
Date: Thu Apr 14 02:15:46 2022 +0530

    Fix share replica creation

    The manilaclient SDK not accept a "share_network"
    argument anymore with the share_replicas.create()
    method.

    Change-Id: If21408291fcb4ccd778b24145effcb253227df55
    Closes-Bug: #1968925
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry picked from commit 3ba70dc3e600897761e7183f464ca13bdd2b52f9)

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila-ui 8.0.0.0rc1

This issue was fixed in the openstack/manila-ui 8.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila-ui 7.0.1

This issue was fixed in the openstack/manila-ui 7.0.1 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.