089b84e4cd
Several small fixes:
1) Make sure the deploy.deploy step returns DEPLOYWAIT after running
prepare_image otherwise the conductor wrongly assumes that the
deploy is done.
2) Handle the case when provision_state==DEPLOYWAIT when returning
from an asynchronous deploy step.
3) Do not assume that prepare_image is always the last command to run,
sometimes get_deploy_steps sneaks in.
4) Do not issue a deprecation warning when receiving "agent is busy"
on get_deploy_steps, this is normal for fast-track.
NOTE: the last change is missing from stable/train
Conflicts:
ironic/conductor/deployments.py
ironic/drivers/modules/agent_base.py
ironic/tests/unit/conductor/test_deployments.py
ironic/tests/unit/drivers/modules/test_agent_base_vendor.py
Change-Id: I19274c48bd36fca19961a7d78467ec8c29f85905
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
allocations.py | ||
base_manager.py | ||
manager.py | ||
notification_utils.py | ||
rpcapi.py | ||
steps.py | ||
task_manager.py | ||
utils.py |