Multi-node MAAS validation command fails, controller name is hardcoded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
Fix Released
|
High
|
Chi Wai CHAN |
Bug Description
It appears as though the controller name used for copying validation results from tempest to the local machine uses a hardcoded controller name [1][2], which can fail on a mutli-node MAAS install which uses the provided `--name` + `-controller`.
$ sunbeam validation run refstack --output ./refstack-
Totals
======
Ran: 179 tests in 534.3792 sec.
- Passed: 160
- Skipped: 17
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 2
Sum of execute time for each test: 1073.1345 sec.
⠙ Copying /var/lib/
Error: Command '['juju', 'scp', '--model', 'sunbeam-
2.
$ juju list-controllers
Use --refresh option with this command to see the latest information.
Controller Model User Access Cloud/Region Models Nodes HA Version
sunbeam01-
If I manually change [2] to use the correct name of the controller, the copy is successful.
[1] https:/
[2] https:/
tags: | added: soleng-264 |
Changed in snap-openstack: | |
status: | New → Triaged |
tags: | added: open-2189 |
Changed in snap-openstack: | |
importance: | Undecided → High |
Changed in snap-openstack: | |
assignee: | nobody → Chi Wai CHAN (raychan96) |
status: | Triaged → In Progress |
Changed in snap-openstack: | |
status: | Fix Committed → Fix Released |
Issue is fixed in this PR /github. com/canonical/ snap-openstack/ pull/244
https:/