Closed zxhdaze closed 7 months ago
For lxd units, backup will fail with:
"error_reason": "command failed: ['scp', '-i', '/var/lib/jujubackupall/ssh/juju_id_rsa', '-o', 'StrictHostKeyChecking=no', '-q', '-B', 'ubuntu@None:/home/ubuntu/etcd-snapshots/etcd-snapshot-2021-12-28-16.13.13.tar.gz', '/mnt/juju-backup/site-manual-juju-controller/k8s-prod/etcd']"
The root issue is caused by machine.dns_name in python-libjuju0, which returns None.
machine.dns_name
However, before upstream is fixed (which would be slow and not in our control), we can add a patch in this repo to workaround the issue.
Imported from Launchpad using lp2gh.
date created: 2022-01-14T02:35:28Z
owner: guoqiao
assignee: guoqiao
the launchpad url
For lxd units, backup will fail with:
"error_reason": "command failed: ['scp', '-i', '/var/lib/jujubackupall/ssh/juju_id_rsa', '-o', 'StrictHostKeyChecking=no', '-q', '-B', 'ubuntu@None:/home/ubuntu/etcd-snapshots/etcd-snapshot-2021-12-28-16.13.13.tar.gz', '/mnt/juju-backup/site-manual-juju-controller/k8s-prod/etcd']"
The root issue is caused by
machine.dns_name
in python-libjuju0, which returns None.However, before upstream is fixed (which would be slow and not in our control), we can add a patch in this repo to workaround the issue.
Imported from Launchpad using lp2gh.
date created: 2022-01-14T02:35:28Z
owner: guoqiao
assignee: guoqiao
the launchpad url