Brian Murray has proposed merging autopkgtest-cloud:lxd-creds into
autopkgtest-cloud:master.
Requested reviews:
Canonical's Ubuntu QA (canonical-ubuntu-qa)
For more details, see:
https://code.launchpad.net/~ubuntu-release/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/444126
I was adding the lcy02.rc file to the credentials directory (~/.scalingstack/)
and thought bos01.rc and bos02.rc were redundant given that we have
bos02-arm64.rc, bos02-ppc64el.rc, and bos02-s390x.rc. However, after removing
them a `mojo run` failed.
2023-06-05 20:56:14 [ERROR]
/srv/mojo/mojo-stg-proposed-migration/focal/staging/spec/make-lxd-secgroup: 12:
.: Can't open /home/stg-proposed-migration/.scalingstack/bos02.rc
This change will have make-lxd-secgroup read from bos02-arm64.rc instead.
--
Your team Canonical's Ubuntu QA is requested to review the proposed merge of
autopkgtest-cloud:lxd-creds into autopkgtest-cloud:master.
diff --git a/mojo/make-lxd-secgroup b/mojo/make-lxd-secgroup
index 634e598..d41274c 100755
--- a/mojo/make-lxd-secgroup
+++ b/mojo/make-lxd-secgroup
@@ -9,7 +9,8 @@ elif [ "${MOJO_STAGE:-}" = "staging" ]; then
ROUTER_IP=185.125.191.193
fi
-. ~/.scalingstack/bos02.rc
+# source the credentials for the DC where armhf tests run
+. ~/.scalingstack/bos02-arm64.rc
LXD_IPS=$(juju status --format=json autopkgtest-lxd-worker | jq --monochrome-output --raw-output '.applications["autopkgtest-lxd-worker"].units | map(.["public-address"])[]')
HAPROXY_IPS=$(juju status --format=json haproxy-lxd-armhf | jq --monochrome-output --raw-output '.applications["haproxy-lxd-armhf"].units | map(.["public-address"])[]')
--
Mailing list: https://launchpad.net/~canonical-ubuntu-qa
Post to : [email protected]
Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa
More help : https://help.launchpad.net/ListHelp