Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Add ha_resource_move action #2391

Merged
merged 2 commits into from
Nov 17, 2020
Merged

Add ha_resource_move action #2391

merged 2 commits into from
Nov 17, 2020

Conversation

utopiabound
Copy link
Contributor

@utopiabound utopiabound commented Nov 17, 2020

Move resource, wait for move completion, then remove move constraint.

Signed-off-by: Nathaniel Clark nclark@whamcloud.com


This change is Reviewable

@utopiabound utopiabound requested review from jgrund and a team November 17, 2020 12:55
@utopiabound utopiabound self-assigned this Nov 17, 2020
ip1981
ip1981 previously approved these changes Nov 17, 2020
johnsonw
johnsonw previously approved these changes Nov 17, 2020
Base automatically changed from rust-ha-create to master November 17, 2020 15:18
@jgrund jgrund dismissed stale reviews from johnsonw and ip1981 November 17, 2020 15:18

The base branch was changed.

Move resource, wait for move completion, then remove move constraint.

Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
delay_for(delay_duration).await;
};

crm_resource(&["--resource", &resource, "--un-move", "--node", &dest_host]).await?;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--un-move should be called --allow-move or something more representative

@jgrund jgrund merged commit 2614e61 into master Nov 17, 2020
@jgrund jgrund deleted the agent-move-res branch November 17, 2020 20:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants