Sysinv function to get the output from the migration scripts
excecution at the activating or starting upgrade subcloud step.
This allows the orchestrator to know the result of the migration
scripts for each subcloud.
Test plan:
PASS: Modify migration script involving action = 'start'
in order to make the starting upgrade step fail.
Run subcloud upgrade strategy.
Verify msg in /tmp/upgrade_fail_msg
PASS: Modify migration script involving action = 'activate'
in order to make the activating upgrade step fail.
Run upgrade subcloud strategy.
Verify msg in /tmp/upgrade_fail_msg
PASS: Create (modifying) a new app tarball
(platform-integ-apps) to make it recognizable but
not applicable. Run strategy and
verify msg in /tmp/upgrade_fail_msg
Story: 2010768
Task: 48078
Signed-off-by: fperez <fabrizio.perez@windriver.com>
Change-Id: I7e3547faeaa6c971afce7a6aa7445c8d71133558