Delay deleting source share server after migration

Bug #2028642 reported by chuan137
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)

Bug Description


It's a feedback from operations and I feel it might be interesting for wider audiences.

We are offloading payloads from old filers with the share server migration feature. In current Manila implementation, the source share servers are deleted from both Manila and storage backend immediately after migration complete (cut-over).

However, we might need to roll back the migration for some reasons. Although small chances, it would be nice to have the option to delay the cleanups for a period of time, and only prune them automatically afterwards. This will make it easier to execute rolling back procedures on backend.


Vida Haririan (vhariria)
tags: added: share-migration
Revision history for this message
Vida Haririan (vhariria) wrote :
Revision history for this message
Carlos Eduardo (silvacarlose) wrote :

Hi Chuan!

Thanks for raising this bug report. We discussed this at a weekly IRC meeting and have a couple of questions:

1) Can you please share the migration command you used? we're interested to know if you're performing a nondisruptive share migration; where we believe manila is cleaning up the share servers immediately:
Otherwise, it could take some time for the share server deletion routine to pick up the share server and delete it.

2) How do you plan to rollback? If a nondisruptive migration occurred, we expect that the storage system doesn't have the share server in the original host; and a rollback would really be a different migration operation.

Revision history for this message
chuan137 (chuan137) wrote :

Hi Carlos,

Thanks for the discussions. For your questions,

1) yes, it's nondisruptive share server migration. The command, for example, is

> manila --debug share-server-migration-check f27a1096-38af-4a6e-801f-86fa7235e347 manila-share-netapp-ma01-st051@ma01-st051 --preserve-snapshots True --writable True --nondisruptive True

2) I don't know the details about the rollback procedures. Our storage team colleagues told me that NetApp has shared a procedure. I will ask them what the need for keeping the share servers.


Vida Haririan (vhariria)
Changed in manila:
status: New → Triaged
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.