Cannot run remote backup from an arbitrary host that is not StarlingX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Thiago Paiva Brito |
Bug Description
Brief Description
-----------------
Trying to run a remote backup from an arbitrary host that is not an StarlingX OS (using say, an Ubuntu external workstation as Ansible Controller), the backup playbook fails at task "Read in last kubernetes config values (extraArgs and extraVolumes)" trying to include_vars from "/opt/platform/
This has a possible hidden impact on the DC configurations as it would get the last_kube_
Severity
--------
Major: System/Feature is usable on local play, on remote play from a StarlingX OS, but not from an arbitrary host
Steps to Reproduce
------------------
Run the backup playbook as a remote play from an OS that doesn't contain StarlingX installed on it
Expected Behavior
------------------
Backup finishes
Actual Behavior
----------------
Backup fails due to missing file on the Ansible Controller
Reproducibility
---------------
5/5
System Configuration
-------
AIO-SX, but affects all configurations
Branch/Pull Time/Commit
-------
2022-08-05
Last Pass
---------
N/A
Timestamp/Logs
--------------
TASK [common/prepare-env : Read in last kubernetes config values (extraArgs and extraVolumes)] *******
task path: /home/tbrito/
fatal: [lab_vbox_2]: FAILED! => {
"ansible_
"ansible_
"changed": false,
"message": "Could not find or access '/opt/platform/
}
Read vars_file 'host_vars/
Test Activity
-------------
Developer Testing
Workaround
----------
N/A
description: | updated |
Changed in starlingx: | |
importance: | Undecided → Medium |
assignee: | nobody → Thiago Paiva Brito (outbrito) |
tags: | added: stx.8.0 stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/853360
Review: https:/