ClusterLabs / ClusterLabs/resource-agents
migrate_from action test is missing OCF_RESKEY_CRM_meta_migrate_source environment variable
- Dominant language
- Shell
- Stars
- 519
- Forks
- 608
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 7
Description
When testing migrate_to command, the environment variable OCF_RESKEY_CRM_meta_migrate_target must be passed to let agent know about the target node.
Please see http://www.linux-ha.org/doc/dev-guides/_literal_migrate_from_literal_action.html
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the test for the migrate_to command and compare its environment setup with the migrate_from action described in the linked Linux-HA guide. Update the migrate_from test so OCF_RESKEY_CRM_meta_migrate_source is passed, then run the relevant action tests and confirm the agent receives the source node.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100