NetApp driver fails to create from snapshot on same host different servers

Bug #1922508 reported by Douglas Viroel
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Triaged
Low
Saravanan Manickam

Bug Description

Description
===========
The create from snapshot function doesn't expect a scenario where both source and new host are equal, but share servers are different. A new share server is created, even when destination host is equal to parent's hosts, if one of the following occurs:
1. The parent's share server is in a invalid state (e.g admin-status down)
2. The share server limit was reached[1]

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

* Set a share server limit 1 in the backend
* Create a share
* Create a snapshot
* Request to create a share from a snapshot

Expected result
===============
The share from snapshot lands in a different share server, since the parent share server limit has been reached.

Actual result
=============
NetApp driver fails to create the new share from snapshot.

References
==========
[1] https://review.opendev.org/c/openstack/manila/+/762725

Tags: netapp
Douglas Viroel (dviroel)
Changed in manila:
importance: Undecided → Low
Revision history for this message
Vida Haririan (vhariria) wrote :
Douglas Viroel (dviroel)
Changed in manila:
assignee: Douglas Viroel (dviroel) → Carlos Eduardo (silvacarlose)
Changed in manila:
milestone: xena-1 → xena-2
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

Carlos, we're closing on xena-rc1 soon.

i'm moving this bug to Yoga-1 since i don't see an active change; please let me know if this assessment is inaccurate.

Changed in manila:
milestone: xena-2 → xena-rc1
milestone: xena-rc1 → yoga-1
Changed in manila:
milestone: yoga-1 → yoga-2
Changed in manila:
assignee: Carlos Eduardo (silvacarlose) → Felipe Rodrigues (felipefutty)
Changed in manila:
milestone: yoga-2 → yoga-3
Changed in manila:
assignee: Felipe Rodrigues (felipefutty) → Fábio Oliveira (fabiooliveira1)
milestone: yoga-3 → yoga-rc1
Changed in manila:
milestone: yoga-rc1 → zed-1
Changed in manila:
milestone: zed-1 → zed-2
Changed in manila:
milestone: zed-2 → zed-3
Changed in manila:
assignee: Fábio Oliveira (fabiooliveira1) → Nahim Alves de Souza (nahimsouza)
Changed in manila:
milestone: zed-3 → antelope-1
Changed in manila:
milestone: antelope-1 → antelope-2
Changed in manila:
milestone: antelope-2 → antelope-3
Changed in manila:
milestone: antelope-3 → antelope-rc1
Changed in manila:
milestone: antelope-rc1 → bobcat-1
Vida Haririan (vhariria)
Changed in manila:
status: New → Triaged
Changed in manila:
milestone: bobcat-1 → bobcat-2
Changed in manila:
milestone: bobcat-2 → bobcat-3
Changed in manila:
milestone: bobcat-3 → caracal-1
Changed in manila:
assignee: Nahim Alves de Souza (nahimsouza) → Saravanan Manickam (msaravan)
milestone: caracal-1 → caracal-2
Changed in manila:
milestone: caracal-2 → caracal-3
Changed in manila:
milestone: caracal-3 → dalmation-1
Changed in manila:
milestone: dalmatian-1 → dalmatian-3
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.