Software local upgrade failed during ansible due to undefined ssh_hostname variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Bo Yuan Chang |
Bug Description
Brief Description
Upgrade fail during ansible-playbook /usr/share/
upgrade_
fatal: [localhost]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: 'ssh_hostname' is undefined
The error appears to have been in '/usr/share/
umn 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Gather latest SSH public key
^ here
Severity
Critical
Steps to Reproduce
1) Upgrade system from N to N+1 (upload license and iso)
2) Continue upgrade (Restore the upgrade data) running ansible-playbook /usr/share/
Expected Behavior
Upgrade system without errors.
Actual Behavior
Upgrade system failing.
Reproducibility
Reproducible
System Configuration
AIO-SX
master build
Last Pass
None.
Alarms
None.
Test Activity
Developer Testing
Workaround
None.
Changed in starlingx: | |
assignee: | nobody → Bo Yuan Chang (cby19961020) |
status: | New → In Progress |
importance: | Undecided → High |
tags: | added: stx.7.0 stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/844332
Review: https:/