Re: [openstack-dev] [Manila] Migration APIs 2-phase vs. 1-phase

2016-08-03 Thread Rodrigo Barbieri
I would like to add more context to the mail so everybody is brought up to speed before we get into more details on tomorrow's meeting. So the main topic is what we do with the API 'migration-start', which is currently either a 1-phase migration (migrates and completes) or 2-phase (migrates up to

[openstack-dev] [Manila] Migration APIs 2-phase vs. 1-phase

2016-08-02 Thread Ben Swartzlander
It occurred to me that if we write the 2-phase migration APIs correctly, then it will be fairly trivial to implement 1-phase migration outside Manila (in the client, or even higher up). I would like to propose that we change the migration API to actually work that way, because I think it will