On workstation, ssh appears to be authenticating correctly:
ssh -v -i /home/liam/.ssh/id_rsa ubuntu@10.212.226.95 /bin/bash
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
debug1: Reading configuration data /home/liam/.ssh/config
debug1: /home/liam/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 10.212.226.95 [10.212.226.95] port 22.
debug1: Connection established.
debug1: identity file /home/liam/.ssh/id_rsa type 0
debug1: key_load_public: No such file or directory
debug1: identity file /home/liam/.ssh/id_rsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
debug1: match: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 10.212.226.95:22 as 'ubuntu'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa SHA256:R3tRGiBZcRBdNIt29bM71TtR1x4TQhBZCxUHgvMNq3E
The authenticity of host '10.212.226.95 (10.212.226.95)' can't be established.
RSA key fingerprint is SHA256:R3tRGiBZcRBdNIt29bM71TtR1x4TQhBZCxUHgvMNq3E.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.212.226.95' (RSA) to the list of known hosts.
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
debug1: Skipping ssh-dss key liam@gavilan - not in PubkeyAcceptedKeyTypes
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: RSA SHA256:SmfnLruZf33JeaE89n/HdJuMmWiPIkqBnoLP9nucLdc /home/liam/.ssh/id_rsa
debug1: Server accepts key: pkalg rsa-sha2-512 blen 279
debug1: Authentication succeeded (publickey).
Authenticated to 10.212.226.95 ([10.212.226.95]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
On controller machine it looks like the shell is immediately getting closed:
root@juju-74e3f5-0:/var/log# tail auth.log
Aug 7 09:15:29 juju-74e3f5-0 sshd[323]: pam_unix(sshd:session): session opened for user ubuntu by (uid=0)
Aug 7 09:15:29 juju-74e3f5-0 systemd-logind[200]: New session 383 of user ubuntu.
Aug 7 09:15:29 juju-74e3f5-0 systemd: pam_unix(systemd-user:session): session opened for user ubuntu by (uid=0)
Aug 7 09:15:41 juju-74e3f5-0 sshd[936]: error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Aug 7 09:15:41 juju-74e3f5-0 sshd[936]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Aug 7 09:15:44 juju-74e3f5-0 sshd[936]: Accepted publickey for ubuntu from 10.212.226.1 port 43158 ssh2: RSA SHA256:SmfnLruZf33JeaE89n/HdJuMmWiPIkqBnoLP9nucLdc
Aug 7 09:15:44 juju-74e3f5-0 sshd[936]: pam_unix(sshd:session): session opened for user ubuntu by (uid=0)
Aug 7 09:15:44 juju-74e3f5-0 systemd-logind[200]: New session 385 of user ubuntu.
Aug 7 09:17:01 juju-74e3f5-0 CRON[8169]: pam_unix(cron:session): session opened for user root by (uid=0)
Aug 7 09:17:01 juju-74e3f5-0 CRON[8169]: pam_unix(cron:session): session closed for user root
However, the configuration process decided to continue this time. It still failed. I think either the controller’s https process wasn’t running, or there was a networking problem between workstation and controller.
ERROR Get "https://10.212.226.1:8443/1.0": Unable to connect to: 10.212.226.1:8443
juju bootstrap localhost overlord --debug --show-log
11:15:07 INFO juju.cmd supercommand.go:91 running juju [2.8.1 0 16439b3d1c528b7a0e019a16c2122ccfcf6aa41f gc go1.14.4]
11:15:07 DEBUG juju.cmd supercommand.go:92 args: []string{"/snap/juju/13324/bin/juju", "bootstrap", "localhost", "overlord", "--debug", "--show-log"}
11:15:07 DEBUG juju.container.lxd connection.go:167 using LXD snap socket: "/var/snap/lxd/common/lxd"
11:15:07 INFO cmd provider.go:359 Resolved LXD host address on bridge lxdbr0: https://10.212.226.1:8443
11:15:07 INFO cmd cloudcredential.go:47 updating credential store
11:15:07 DEBUG juju.cmd.juju.commands bootstrap.go:1153 authenticating with region "" and credential "localhost" ()
11:15:07 DEBUG juju.cmd.juju.commands bootstrap.go:1281 provider attrs: map[]
11:15:08 INFO cmd authkeys.go:114 Adding contents of "/home/liam/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
11:15:08 INFO cmd authkeys.go:114 Adding contents of "/home/liam/.ssh/id_dsa.pub" to authorized-keys
11:15:08 INFO cmd authkeys.go:114 Adding contents of "/home/liam/.ssh/id_rsa.pub" to authorized-keys
11:15:08 DEBUG juju.cmd.juju.commands bootstrap.go:1340 preparing controller with config: map[agent-metadata-url: agent-stream:released apt-ftp-proxy: apt-http-proxy: apt-https-proxy: apt-mirror: apt-no-proxy: authorized-keys:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGvmMfSNBzzM4ZVWYPpIAxGjLvf0S5w2rX1UWGQhs+x0E6Ecj6YVA6D+BEhCetkbtn/gAEhny67TPUxupTNqpvgC7U6eha6oDesjNkH8xkZ3LaU6HX6Lf8K7fHh9cBgnf5UAxs1+xf9iKiIbu2vdagOmiQ3vkexx+4mfz7j64P/F4NR3e6feNmoWjV1z3qAkzOnHlxtsvGa++VVreFNLjanFDSnvaioirVRjQUN0Xv6wxSgoL/jL/F0Di2hZp6DKI9/4QdBvVHKiYiNEoYEV6vKGGPsurOC+qEKkYJ7yGYL7KA2oMbDS8JcnrColYVQeWncKb6x7QvHqKqedThijBt juju-client-key
ssh-dss AAAAB3NzaC1kc3MAAACBAIzIu6DVv1+SFmr2uJWrFSVcHd8gmImShmfPs5RNNiD4oM5GXtG4JWzbsnxiKWhzv9amVKE81/sifRD/zkLzNbzRYcUVOpoPiEF6cBYkhm3kPpp5Y6BwYyOeHBHyJYG5fTiyPLY4EMcdmmiAysKhImtJldHlnVD8/xNzkbCQw6ztAAAAFQCblOYcw58HiC4t5WHPGwdINqzNcQAAAIBi5g6Me9OxZ3fsyMVmDCRk3LZP1DF/TlpP/kCC0kd5C20gw2rLRKm5aLM5mmKHL1ZDTLG2TuynRXduTgdmen+eYsYccDwTVbrGB55H5mSyZT3/QyZ0cAFeW4FQs/u39ALWtbGdkx8USXzDXn5U2K1D6+NTmELMnsNKEewmAXUcqwAAAIAp3l/ICw/gLQiIUE1KWJTWLBaWfkGtwIqYNXS1XTk3CPMSxK7gPShGN4WipHaKgTOlnhq/1ZvQ+PNhqLm6mHcHOmakdDw12VuEP6SMYxaWus9u2X/Tzt6cMsVetRvV2gkf7SfBAulo7RayTBZ2yq5f8d2e6f9riwVduOX+1NutVA== liam@gavilan
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDND4byhfzcDPzpw6bkaOH0uLENSTSBEFQVBP9kYc8ABnSyMVQEXYuFAwFGZQOF/kWFXNTcHy14g1QaOpzGsHnQpTKKhYnKDUp1PhgiCdTIz/g7BYBgP6JkNIXYv6+Wl/yOqfUD8UIaQ+kkFZu2Ltaj73St1RR9NoVZ3T/n5GTInecx/I71tgCdpr47BN8sZYVvVzanl9+6PYwBcDXZSV9+wpZaBohXgQi90T8biZTKtWk0J8Z0LOSERhyXB55fXCosf5wJevze0rLicOfWcuPM6kwPGuWdcHvdeudvyZ5KxZ1T7g30A2Q8uRmD6grfZ5Md/vG0PNjv2RvDuwo3wHAb liam@tesseract
automatically-retry-hooks:true backup-dir: cloudinit-userdata: container-image-metadata-url: container-image-stream:released container-inherit-properties: container-networking-method: default-series:bionic default-space: development:false disable-network-management:false egress-subnets: enable-os-refresh-update:true enable-os-upgrade:true fan-config: firewall-mode:instance ftp-proxy: http-proxy: https-proxy: ignore-machine-addresses:false image-metadata-url: image-stream:released juju-ftp-proxy: juju-http-proxy: juju-https-proxy: juju-no-proxy:127.0.0.1,localhost,::1 logforward-enabled:false logging-config: lxd-snap-channel:latest/stable max-action-results-age:336h max-action-results-size:5G max-status-history-age:336h max-status-history-size:5G name:controller net-bond-reconfigure-delay:17 no-proxy:127.0.0.1,localhost,::1 provisioner-harvest-mode:destroyed proxy-ssh:false resource-tags: snap-http-proxy: snap-https-proxy: snap-store-assertions: snap-store-proxy: snap-store-proxy-url: ssl-hostname-verification:true test-mode:false transmit-vendor-metrics:true type:lxd update-status-hook-interval:5m uuid:09b96ec9-774c-4451-82d4-72a7ef74e3f5]
11:15:08 INFO cmd bootstrap.go:763 Creating Juju controller "overlord" on localhost/localhost
11:15:08 INFO juju.cmd.juju.commands bootstrap.go:832 combined bootstrap constraints:
11:15:08 DEBUG juju.environs.bootstrap bootstrap.go:308 model "controller" supports application/machine networks: false
11:15:08 DEBUG juju.environs.bootstrap bootstrap.go:310 network management by juju enabled: true
11:15:08 INFO cmd bootstrap.go:352 Loading image metadata
11:15:08 INFO cmd bootstrap.go:429 Looking for packaged Juju agent version 2.8.1 for amd64
11:15:08 INFO juju.environs.bootstrap tools.go:81 looking for bootstrap agent binaries: version=2.8.1
11:15:08 DEBUG juju.environs.tools tools.go:102 finding agent binaries in stream: "released"
11:15:08 DEBUG juju.environs.tools tools.go:104 reading agent binaries with major.minor version 2.8
11:15:08 DEBUG juju.environs.tools tools.go:112 filtering agent binaries by version: 2.8.1
11:15:08 DEBUG juju.environs.tools tools.go:115 filtering agent binaries by series: bionic
11:15:08 DEBUG juju.environs.tools tools.go:118 filtering agent binaries by architecture: amd64
11:15:08 DEBUG juju.environs.tools urls.go:138 trying datasource "keystone catalog"
11:15:09 DEBUG juju.environs.simplestreams simplestreams.go:692 using default candidate for content id "com.ubuntu.juju:released:tools" are {20161007 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
11:15:10 INFO juju.environs.bootstrap tools.go:83 found 1 packaged agent binaries
11:15:10 INFO cmd bootstrap.go:516 Starting new instance for initial controller
11:15:10 INFO cmd environ.go:191 To configure your system to better support LXD containers, please see: https://github.com/lxc/lxd/blob/master/doc/production-setup.md
11:15:10 INFO cmd bootstrap.go:177 Launching controller instance(s) on localhost/localhost...
11:15:10 DEBUG juju.provider.lxd environ_broker.go:37 StartInstance: "0", bionic
11:15:10 DEBUG juju.cloudconfig.instancecfg instancecfg.go:981 Setting numa ctl preference to false
11:15:10 DEBUG juju.environs imagemetadata.go:126 obtained image datasource "default ubuntu cloud images"
11:15:10 DEBUG juju.container.lxd connection.go:184 LXD requires https://, using: https://cloud-images.ubuntu.com/releases/
11:15:10 DEBUG juju.container.lxd image.go:61 Found image locally - "ubuntu-18.04-server-cloudimg-amd64-lxd.tar.xz" "0041760acce68c101aecc63372309733df5bb94bf180eb3d9a21ae26c304f536"
11:15:10 DEBUG juju.service discovery.go:63 discovered init system "systemd" from series "bionic"
11:15:10 DEBUG juju.provider.lxd environ_broker.go:222 LXD user data; 4102 bytes
11:15:10 INFO juju.container.lxd container.go:220 starting new container "juju-74e3f5-0" (image "ubuntu-18.04-server-cloudimg-amd64-lxd.tar.xz")
11:15:10 DEBUG juju.container.lxd container.go:221 new container has profiles [default juju-controller]
11:15:15 DEBUG juju.container.lxd container.go:248 created container "juju-74e3f5-0", waiting for start...
11:15:18 INFO juju.provider.lxd environ_broker.go:52 started instance "juju-74e3f5-0"
11:15:18 INFO cmd bootstrap.go:274 - juju-74e3f5-0 (arch=amd64)
11:15:18 INFO juju.environs.bootstrap bootstrap.go:899 newest version: 2.8.1
11:15:18 INFO juju.environs.bootstrap bootstrap.go:914 picked bootstrap agent binary version: 2.8.1
11:15:18 INFO cmd bootstrap.go:559 Installing Juju agent on bootstrap instance
11:15:19 INFO cmd bootstrap.go:690 Fetching Juju Dashboard 0.2.0
11:15:19 DEBUG juju.cloudconfig.instancecfg instancecfg.go:981 Setting numa ctl preference to false
Waiting for address
Attempting to connect to 10.212.226.95:22
11:17:29 DEBUG juju.provider.common bootstrap.go:615 connection attempt for 10.212.226.95 failed: Timeout, server 10.212.226.95 not responding.
11:19:35 DEBUG juju.provider.common bootstrap.go:615 connection attempt for 10.212.226.95 failed: Timeout, server 10.212.226.95 not responding.
11:21:40 DEBUG juju.provider.common bootstrap.go:615 connection attempt for 10.212.226.95 failed: Timeout, server 10.212.226.95 not responding.
11:22:25 INFO cmd bootstrap.go:384 Connected to 10.212.226.95
11:22:25 INFO juju.cloudconfig userdatacfg_unix.go:570 Fetching agent: curl -sSfw 'agent binaries from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/agent/2.8.1/juju-2.8.1-ubuntu-amd64.tgz]>
11:22:25 INFO cmd bootstrap.go:454 Running machine configuration script...
Cloud-init v. 20.2-45-g5f7825e2-0ubuntu1~18.04.1 running 'init-local' at Fri, 07 Aug 2020 09:15:20 +0000. Up 1.96 seconds.
Cloud-init v. 20.2-45-g5f7825e2-0ubuntu1~18.04.1 running 'init' at Fri, 07 Aug 2020 09:15:21 +0000. Up 3.53 seconds.
ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++
ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
ci-info: | eth0 | True | 10.212.226.95 | 255.255.255.0 | global | 00:16:3e:de:08:4d |
ci-info: | eth0 | True | fe80::216:3eff:fede:84d/64 | . | link | 00:16:3e:de:08:4d |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: | lo | True | ::1/128 | . | host | . |
ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
ci-info: +++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++
ci-info: +-------+--------------+--------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+--------------+--------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.212.226.1 | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | 10.212.226.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U |
ci-info: | 2 | 10.212.226.1 | 0.0.0.0 | 255.255.255.255 | eth0 | UH |
ci-info: +-------+--------------+--------------+-----------------+-----------+-------+
ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | Route | Destination | Gateway | Interface | Flags |
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | 0 | fe80::/64 | :: | eth0 | U |
ci-info: | 2 | local | :: | eth0 | U |
ci-info: | 3 | ff00::/8 | :: | eth0 | U |
ci-info: +-------+-------------+---------+-----------+-------+
Cloud-init v. 20.2-45-g5f7825e2-0ubuntu1~18.04.1 running 'modules:config' at Fri, 07 Aug 2020 09:15:24 +0000. Up 6.25 seconds.
+ install -D -m 644 /dev/null /var/lib/juju/nonce.txt
+ printf %s\n user-admin:bootstrap
Cloud-init v. 20.2-45-g5f7825e2-0ubuntu1~18.04.1 running 'modules:final' at Fri, 07 Aug 2020 09:15:27 +0000. Up 9.77 seconds.
Cloud-init v. 20.2-45-g5f7825e2-0ubuntu1~18.04.1 finished at Fri, 07 Aug 2020 09:15:28 +0000. Datasource DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]. Up 10.04 seconds
Logging to /var/log/cloud-init-output.log on the bootstrap machine
Regenerating SSH RSA host key
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
SHA256:fGFp57g0jUVyaL6SbQHNSkwivdb06M83+rcMtVUz9T4 root@juju-74e3f5-0
The key's randomart image is:
+---[RSA 2048]----+
| ...o.o..o .|
| ...= == o|
| = B= o oo|
| o.+o+O .+|
| . .So*oo .Eo|
| +o+o . o.|
| =. . . |
| o oo. |
| .+.oo. |
+----[SHA256]-----+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
SHA256:EmC/j4Ut6Hiqt/O6vjr7pl9S478bkQ8S8QHtiFi7yR0 root@juju-74e3f5-0
The key's randomart image is:
+---[DSA 1024]----+
| =o. |
| .. =.. |
| o o.o+ |
|. o Eo.* |
| . +=.O S |
| +=.o X |
| o = o o |
|. += . . |
|=%XB. +o |
+----[SHA256]-----+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
SHA256:Kri77pjGDcJD0eERSqfvXz6MhOAVlkm0ouFM5XtGqhs root@juju-74e3f5-0
The key's randomart image is:
+---[ECDSA 256]---+
| .+O= |
|..B*o |
|.=o+.. |
|=+o.+ |
|=oo+.o S |
|.=ooo. . |
|oE=.o +. |
| =oo.ooo |
|++*o . .. |
+----[SHA256]-----+
Running apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [808 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [254 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [689 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [228 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [8112 B]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2852 B]
Get:12 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1032 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [84.7 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1097 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [342 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [19.2 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6712 B]
Get:21 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [7516 B]
Get:22 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [4764 B]
Get:23 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7736 B]
Get:24 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [4588 B]
Fetched 18.5 MB in 15s (1204 kB/s)
Reading package lists...
Running apt-get upgrade
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following package was automatically installed and is no longer required:
libfreetype6
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
apport base-files iproute2 kmod libkmod2 libnss-systemd libpam-systemd
libsystemd0 libudev1 python3-apport python3-problem-report systemd
systemd-sysv udev
14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 5636 kB of archives.
After this operation, 6144 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 base-files amd64 10.1ubuntu2.9 [59.9 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnss-systemd amd64 237-3ubuntu10.42 [105 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsystemd0 amd64 237-3ubuntu10.42 [208 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpam-systemd amd64 237-3ubuntu10.42 [107 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 systemd amd64 237-3ubuntu10.42 [2914 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 udev amd64 237-3ubuntu10.42 [1102 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libudev1 amd64 237-3ubuntu10.42 [57.4 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 kmod amd64 24-1ubuntu3.5 [88.8 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libkmod2 amd64 24-1ubuntu3.5 [40.2 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 systemd-sysv amd64 237-3ubuntu10.42 [15.2 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 iproute2 amd64 4.15.0-2ubuntu1.2 [722 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-problem-report all 2.20.9-0ubuntu7.16 [10.7 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-apport all 2.20.9-0ubuntu7.16 [82.2 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 apport all 2.20.9-0ubuntu7.16 [125 kB]
Fetched 5636 kB in 4s (1265 kB/s)
(Reading database ... 28739 files and directories currently installed.)
Preparing to unpack .../base-files_10.1ubuntu2.9_amd64.deb ...
Warning: Stopping motd-news.service, but it can still be activated by:
motd-news.timer
Unpacking base-files (10.1ubuntu2.9) over (10.1ubuntu2.8) ...
Setting up base-files (10.1ubuntu2.9) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...
motd-news.service is a disabled or a static unit, not starting it.
(Reading database ... 28739 files and directories currently installed.)
Preparing to unpack .../libnss-systemd_237-3ubuntu10.42_amd64.deb ...
Unpacking libnss-systemd:amd64 (237-3ubuntu10.42) over (237-3ubuntu10.41) ...
Preparing to unpack .../libsystemd0_237-3ubuntu10.42_amd64.deb ...
Unpacking libsystemd0:amd64 (237-3ubuntu10.42) over (237-3ubuntu10.41) ...
Setting up libsystemd0:amd64 (237-3ubuntu10.42) ...
(Reading database ... 28739 files and directories currently installed.)
Preparing to unpack .../libpam-systemd_237-3ubuntu10.42_amd64.deb ...
Unpacking libpam-systemd:amd64 (237-3ubuntu10.42) over (237-3ubuntu10.41) ...
Preparing to unpack .../systemd_237-3ubuntu10.42_amd64.deb ...
Unpacking systemd (237-3ubuntu10.42) over (237-3ubuntu10.41) ...
Preparing to unpack .../udev_237-3ubuntu10.42_amd64.deb ...
Unpacking udev (237-3ubuntu10.42) over (237-3ubuntu10.41) ...
Preparing to unpack .../libudev1_237-3ubuntu10.42_amd64.deb ...
Unpacking libudev1:amd64 (237-3ubuntu10.42) over (237-3ubuntu10.41) ...
Setting up libudev1:amd64 (237-3ubuntu10.42) ...
(Reading database ... 28739 files and directories currently installed.)
Preparing to unpack .../kmod_24-1ubuntu3.5_amd64.deb ...
Unpacking kmod (24-1ubuntu3.5) over (24-1ubuntu3.4) ...
Preparing to unpack .../libkmod2_24-1ubuntu3.5_amd64.deb ...
Unpacking libkmod2:amd64 (24-1ubuntu3.5) over (24-1ubuntu3.4) ...
Setting up libkmod2:amd64 (24-1ubuntu3.5) ...
Setting up systemd (237-3ubuntu10.42) ...
(Reading database ... 28739 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_237-3ubuntu10.42_amd64.deb ...
Unpacking systemd-sysv (237-3ubuntu10.42) over (237-3ubuntu10.41) ...
Preparing to unpack .../iproute2_4.15.0-2ubuntu1.2_amd64.deb ...
Unpacking iproute2 (4.15.0-2ubuntu1.2) over (4.15.0-2ubuntu1.1) ...
Preparing to unpack .../python3-problem-report_2.20.9-0ubuntu7.16_all.deb ...
Unpacking python3-problem-report (2.20.9-0ubuntu7.16) over (2.20.9-0ubuntu7.15) ...
Preparing to unpack .../python3-apport_2.20.9-0ubuntu7.16_all.deb ...
Unpacking python3-apport (2.20.9-0ubuntu7.16) over (2.20.9-0ubuntu7.15) ...
Preparing to unpack .../apport_2.20.9-0ubuntu7.16_all.deb ...
Unpacking apport (2.20.9-0ubuntu7.16) over (2.20.9-0ubuntu7.15) ...
Setting up libnss-systemd:amd64 (237-3ubuntu10.42) ...
Setting up kmod (24-1ubuntu3.5) ...
Setting up systemd-sysv (237-3ubuntu10.42) ...
Setting up iproute2 (4.15.0-2ubuntu1.2) ...
Setting up python3-problem-report (2.20.9-0ubuntu7.16) ...
Setting up udev (237-3ubuntu10.42) ...
update-initramfs: deferring update (trigger activated)
Setting up libpam-systemd:amd64 (237-3ubuntu10.42) ...
Setting up python3-apport (2.20.9-0ubuntu7.16) ...
Setting up apport (2.20.9-0ubuntu7.16) ...
apport-autoreport.service is a disabled or a static unit, not starting it.
Processing triggers for dbus (1.12.2-1ubuntu1.2) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Processing triggers for plymouth-theme-ubuntu-text (0.9.3-1ubuntu7.18.04.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
Processing triggers for systemd (237-3ubuntu10.42) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
Installing curl, cpu-checker, bridge-utils, tmux, ubuntu-fan
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (7.58.0-2ubuntu3.9).
curl set to manually installed.
The following package was automatically installed and is no longer required:
libfreetype6
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
libfreetype6
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
msr-tools
The following NEW packages will be installed:
cpu-checker msr-tools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.6 kB of archives.
After this operation, 62.5 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 msr-tools amd64 1.3-2build1 [9760 B]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 cpu-checker amd64 0.7-0ubuntu7 [6862 B]
Fetched 16.6 kB in 0s (89.0 kB/s)
Selecting previously unselected package msr-tools.
(Reading database ... 28739 files and directories currently installed.)
Preparing to unpack .../msr-tools_1.3-2build1_amd64.deb ...
Unpacking msr-tools (1.3-2build1) ...
Selecting previously unselected package cpu-checker.
Preparing to unpack .../cpu-checker_0.7-0ubuntu7_amd64.deb ...
Unpacking cpu-checker (0.7-0ubuntu7) ...
Setting up msr-tools (1.3-2build1) ...
Setting up cpu-checker (0.7-0ubuntu7) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
libfreetype6
Use 'sudo apt autoremove' to remove it.
Suggested packages:
ifupdown
The following NEW packages will be installed:
bridge-utils
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 30.1 kB of archives.
After this operation, 102 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 bridge-utils amd64 1.5-15ubuntu1 [30.1 kB]
Fetched 30.1 kB in 0s (209 kB/s)
Selecting previously unselected package bridge-utils.
(Reading database ... 28753 files and directories currently installed.)
Preparing to unpack .../bridge-utils_1.5-15ubuntu1_amd64.deb ...
Unpacking bridge-utils (1.5-15ubuntu1) ...
Setting up bridge-utils (1.5-15ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Reading package lists...
Building dependency tree...
Reading state information...
tmux is already the newest version (2.6-3ubuntu0.2).
tmux set to manually installed.
The following package was automatically installed and is no longer required:
libfreetype6
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
libfreetype6
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
ubuntu-fan
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 34.7 kB of archives.
After this operation, 150 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 ubuntu-fan all 0.12.10 [34.7 kB]
Fetched 34.7 kB in 0s (196 kB/s)
Selecting previously unselected package ubuntu-fan.
(Reading database ... 28781 files and directories currently installed.)
Preparing to unpack .../ubuntu-fan_0.12.10_all.deb ...
Unpacking ubuntu-fan (0.12.10) ...
Setting up ubuntu-fan (0.12.10) ...
Created symlink /etc/systemd/system/multi-user.target.wants/ubuntu-fan.service → /lib/systemd/system/ubuntu-fan.service.
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.42) ...
Fetching Juju agent version 2.8.1 for amd64
Attempt 1 to download agent binaries from https://streams.canonical.com/juju/tools/agent/2.8.1/juju-2.8.1-ubuntu-amd64.tgz...
agent binaries from https://streams.canonical.com/juju/tools/agent/2.8.1/juju-2.8.1-ubuntu-amd64.tgz downloaded: HTTP 200; time 35.325944s; size 38345802 bytes; speed 1085514.000 bytes/s Agent binaries downloaded successfully.
f93bb296dd8550400e28ea2b50b19ef668e58c3f0aacdfe9b5cd87701c6ef8c8 /var/lib/juju/tools/2.8.1-bionic-amd64/tools.tar.gz
6b13aeeaae06163ca4070aaf82afd87f88479c68fc6cda733bbdceb4d3280bec /var/lib/juju/gui/gui.tar.bz2
Installing Juju machine agent
2020-08-07 09:24:08 INFO juju.cmd supercommand.go:91 running jujud [2.8.1 0 16439b3d1c528b7a0e019a16c2122ccfcf6aa41f gc go1.14.4]
2020-08-07 09:24:08 DEBUG juju.cmd supercommand.go:92 args: []string{"/var/lib/juju/tools/2.8.1-bionic-amd64/jujud", "bootstrap-state", "--timeout", "20m0s", "--data-dir", "/var/lib/juju", "--debug", "/var/lib/juju/bootstrap-params"}
ERROR Get "https://10.212.226.1:8443/1.0": Unable to connect to: 10.212.226.1:8443
2020-08-07 09:24:28 DEBUG cmd supercommand.go:537 error stack:
Get "https://10.212.226.1:8443/1.0": Unable to connect to: 10.212.226.1:8443
/workspace/_build/src/github.com/juju/juju/container/lxd/server.go:96:
/workspace/_build/src/github.com/juju/juju/provider/lxd/server.go:204:
/workspace/_build/src/github.com/juju/juju/provider/lxd/environ.go:157:
/workspace/_build/src/github.com/juju/juju/provider/lxd/environ.go:80:
/workspace/_build/src/github.com/juju/juju/provider/lxd/provider.go:149:
/workspace/_build/src/github.com/juju/juju/cmd/jujud/agent/bootstrap.go:188:
2020-08-07 09:24:28 DEBUG juju.cmd.jujud main.go:257 jujud complete, code 0, err <nil>
11:24:28 ERROR juju.cmd.juju.commands bootstrap.go:783 failed to bootstrap model: subprocess encountered error code 1
11:24:28 DEBUG juju.cmd.juju.commands bootstrap.go:784 (error details: [{/build/snapcraft-juju-03af7d/parts/juju/src/cmd/juju/commands/bootstrap.go:877: failed to bootstrap model} {/build/snapcraft-juju-03af7d/parts/juju/src/environs/bootstrap/bootstrap.go:614: } {/build/snapcraft-juju-03af7d/parts/juju/src/environs/bootstrap/bootstrap.go:580: } {subprocess encountered error code 1}])
11:24:28 DEBUG juju.cmd.juju.commands bootstrap.go:1448 cleaning up after failed bootstrap
11:24:28 INFO juju.provider.common destroy.go:21 destroying model "controller"
11:24:28 INFO juju.provider.common destroy.go:32 destroying instances
11:24:31 INFO juju.provider.common destroy.go:56 destroying storage
11:24:31 DEBUG juju.provider.lxd environ.go:248 removing instances: []
11:24:31 INFO cmd supercommand.go:544 command finished