Backup status is in 'creating' status forever for NetApp share for some negative scenarios

Bug #2058027 reported by Gireesh Awasthi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
In Progress
Medium
Gireesh Awasthi

Bug Description

There are two scenarios when backup creation is failing but status of backup remains in 'creating' state forever.

1. When user provide wrong backup type or when config have wrong backend under backup-type stanza, in this case we throw bad configuration exception. The error message is too long due to that db update is failing and backup status is not changing from creating status to failed.

Solution:
--------
We catch the exception and throwing customizing exception

2. When user provide the destination volume in config file which was part of some other relationship which is deleted. In this case when user created the SnapMirror relationship with the volume then relationship health status become 'false'. In this case also, backup creation was remain in creating state for long time.

Solution:
Throw the exception when SnapMirror relationship is created during backup creation is not healthy.

Changed in manila:
assignee: nobody → Gireesh Awasthi (agireesh)
Changed in manila:
status: New → In Progress
Changed in manila:
importance: Undecided → Medium
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.