Comment 5 for bug 1718512

Revision history for this message
Matt Riedemann (mriedem) wrote :

I wrote a functional regression test for this with a cold migrate scenario and I'm unable to recreate the failure now. This is the scenario I have:

- I've got 3 weighted hosts: host1 > host2 > host3
- Create the instance, first attempt against host1 fails, reschedule to host2.
- Cold migrate the instance; because of the weights, host1 will be picked. Fail that and reschedule to host3.
- The instance should end up on host3 after the cold migrate, but host1 should have been called for the cold migration (which this bug says it won't be).

What I'm seeing is that host1 is called in the cold migrate scenario even though it failed the original build scenario. Looking back on the code, I'm not sure where the RequestSpec is actually getting persisted with the retry information.