Re: [openstack-dev] [openstack][ironic] Event processing for async task improvement

2016-11-04 Thread Mario Villaplana
I agree with the strategy Yuriy outlined. This has the added benefit of mitigating potential future bugs related to callbacks in the task manager since state "rollback" behavior will be implicitly built into the task manager. Details on the potential race condition with provision state change

[openstack-dev] [openstack][ironic] Event processing for async task improvement

2016-10-22 Thread Yuriy Zveryanskyy
Hi. There is state rollback mechanism in ironic if conductor work thread can not be started for change provision state via API. And looks like we need the same for cleaning [1]. This mechanism can not be clearly integrated with provision state notifications, in the start -> (end or error) scheme