Created
March 13, 2019 22:37
-
-
Save CalvinHartwell/8ed42172dc86c58b7a46d15cea0ebce2 to your computer and use it in GitHub Desktop.
rpi-juju-bootstrap-error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
calvin@calvinh-ws:~/.local/share/juju$ juju bootstrap raspberry-pi --debug | |
22:34:35 INFO juju.cmd supercommand.go:57 running juju [2.5.2 gc go1.10.4] | |
22:34:35 DEBUG juju.cmd supercommand.go:58 args: []string{"/snap/juju/6849/bin/juju", "bootstrap", "raspberry-pi", "--debug"} | |
22:34:35 INFO cmd cloudcredential.go:83 no credentials found, checking environment | |
22:34:35 DEBUG juju.cmd.juju.commands bootstrap.go:908 authenticating with region "" and credential "default" () | |
22:34:35 DEBUG juju.cmd.juju.commands bootstrap.go:1036 provider attrs: map[] | |
22:34:36 INFO cmd authkeys.go:114 Adding contents of "/home/calvin/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys | |
22:34:36 INFO cmd authkeys.go:114 Adding contents of "/home/calvin/.ssh/id_rsa.pub" to authorized-keys | |
22:34:36 DEBUG juju.cmd.juju.commands bootstrap.go:1092 preparing controller with config: map[snap-http-proxy: container-image-metadata-url: agent-stream:released egress-subnets: max-action-results-size:5G disable-network-management:false apt-https-proxy: ignore-machine-addresses:false fan-config: apt-ftp-proxy: uuid:2fca52ff-e449-493f-8b1e-9d7e9d9fe9cf logging-config: ftp-proxy: max-status-history-age:336h max-action-results-age:336h default-series:bionic name:controller apt-mirror: automatically-retry-hooks:true no-proxy:127.0.0.1,localhost,::1 snap-https-proxy: apt-http-proxy: update-status-hook-interval:5m enable-os-upgrade:true type:manual test-mode:false agent-metadata-url: http-proxy: transmit-vendor-metrics:true snap-store-proxy: https-proxy: container-inherit-properties: backup-dir: provisioner-harvest-mode:destroyed juju-no-proxy:127.0.0.1,localhost,::1 enable-os-refresh-update:true image-metadata-url: container-networking-method: apt-no-proxy: juju-http-proxy: snap-store-assertions: max-status-history-size:5G image-stream:released juju-ftp-proxy: firewall-mode:instance container-image-stream:released proxy-ssh:false development:false authorized-keys:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+3ViiTwqQcBOYybH9RUnMclJ4G0EVjugQ6l6VbmbvG/eIiTYz45vVUrWhqfBQw1xaZdYPEHzkw9Iqst7rcPbbh8lRYOX519I7Izmk7Iz9HTcuT7MjsFbCeFhuWwTt5cTDKzZTwksJYAXX7UEE0SJ4dFM/JragrCU8sNjsRRLOa/IFxEkKR0gU05QAVOl1I6HUCsePa8CaNXZjeMzg5XHmDlyJ732Rr/vhvpO/vf4/VAr1XZ0wLND/S1e3piAt0AW7olcKPOFskY8jY7ShHZQKi5H7konot7EAasGOjWFPuy1N8lfKFKdJWU1upnHh/JD1bIJYmb0hMrkJt49DMsQR juju-client-key | |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgqVxNbkwVm4Z1hwZm11cX9KZwFxcu05EAPGX6nUJJPifgilb0xrSIorhS0Ulbv0lTIDRrqQzHqlVFiVWD0Wfszi4CYAxw2DqxEdA+GVtGt09lAlR6HjBjL3PkMrIM8CgMhK4kARdRP1KpgrmWV3C+RDHwVneCUvE7X81BJGRFFCSzbFLpP65y/wRwobk76dDg44vS9VVFix9l/weY0mJMzwFXYmwWcgUKRc8aIEEIizCL1pHycufuKCZAfbt8ga4C0JLRKFi1lKv5Omwv1etCpqBOPwVN33CkM86uaMHPCFVIrd9PjisLpAi+t0GUkAtlmra2AJgxDE20uE/xBfGL calvin@calvinh-ws | |
cloudinit-userdata: juju-https-proxy: net-bond-reconfigure-delay:17 resource-tags: logforward-enabled:false ssl-hostname-verification:true] | |
22:34:36 INFO juju.environs.manual.sshprovisioner sshprovisioner.go:43 initialising "192.168.1.120", user "" | |
22:34:36 DEBUG juju.utils.ssh ssh.go:305 using OpenSSH ssh client | |
22:34:40 INFO juju.environs.manual.sshprovisioner sshprovisioner.go:54 ubuntu user is already initialised | |
22:34:40 INFO juju.provider.manual provider.go:37 initialized ubuntu user | |
22:34:40 INFO cmd bootstrap.go:576 Creating Juju controller "raspberry-pi" on raspberry-pi | |
22:34:40 INFO juju.environs.manual.sshprovisioner sshprovisioner.go:102 Detecting series and characteristics on 192.168.1.120 | |
22:34:40 DEBUG juju.utils.ssh ssh.go:305 using OpenSSH ssh client | |
22:34:44 INFO juju.environs.manual.sshprovisioner sshprovisioner.go:158 series: bionic, characteristics: arch=arm64 cores=4 mem=912M | |
22:34:44 INFO juju.cmd.juju.commands bootstrap.go:645 combined bootstrap constraints: | |
22:34:44 DEBUG juju.environs.bootstrap bootstrap.go:236 model "controller" supports application/machine networks: false | |
22:34:44 DEBUG juju.environs.bootstrap bootstrap.go:238 network management by juju enabled: true | |
22:34:44 INFO cmd bootstrap.go:270 Loading image metadata | |
22:34:44 INFO cmd bootstrap.go:347 Looking for packaged Juju agent version 2.5.2 for amd64 | |
22:34:44 INFO juju.environs.bootstrap tools.go:72 looking for bootstrap agent binaries: version=2.5.2 | |
22:34:44 DEBUG juju.environs.tools tools.go:102 finding agent binaries in stream: "released" | |
22:34:44 DEBUG juju.environs.tools tools.go:104 reading agent binaries with major.minor version 2.5 | |
22:34:44 DEBUG juju.environs.tools tools.go:112 filtering agent binaries by version: 2.5.2 | |
22:34:44 DEBUG juju.environs.tools tools.go:118 filtering agent binaries by architecture: amd64 | |
22:34:44 DEBUG juju.environs.tools urls.go:116 trying datasource "keystone catalog" | |
22:34:45 DEBUG juju.environs.simplestreams simplestreams.go:683 using default candidate for content id "com.ubuntu.juju:released:tools" are {20161007 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []} | |
22:34:45 INFO juju.environs.bootstrap tools.go:74 found 17 packaged agent binaries | |
22:34:45 INFO cmd bootstrap.go:441 Starting new instance for initial controller | |
22:34:45 INFO juju.environs.manual.sshprovisioner sshprovisioner.go:167 Checking if 192.168.1.120 is already provisioned | |
22:34:45 DEBUG juju.utils.ssh ssh.go:305 using OpenSSH ssh client | |
22:34:51 ERROR juju.cmd.juju.commands bootstrap.go:596 failed to bootstrap model: no matching agent binaries available | |
22:34:51 DEBUG juju.cmd.juju.commands bootstrap.go:597 (error details: [{/build/juju/parts/juju/go/src/github.com/juju/juju/cmd/juju/commands/bootstrap.go:671: failed to bootstrap model} {/build/juju/parts/juju/go/src/github.com/juju/juju/environs/bootstrap/bootstrap.go:536: } {/build/juju/parts/juju/go/src/github.com/juju/juju/environs/bootstrap/bootstrap.go:468: } {/build/juju/parts/juju/go/src/github.com/juju/juju/tools/list.go:19: no matching agent binaries available}]) | |
22:34:51 DEBUG juju.cmd.juju.commands bootstrap.go:1199 cleaning up after failed bootstrap | |
22:34:51 DEBUG juju.utils.ssh ssh.go:305 using OpenSSH ssh client | |
22:35:04 DEBUG juju.provider.manual environ.go:313 script stdout: | |
jujud stopped | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded. | |
22:35:04 DEBUG juju.provider.manual environ.go:314 script stderr: | |
+ touch /var/lib/juju/uninstall-agent | |
touch: cannot touch '/var/lib/juju/uninstall-agent': No such file or directory | |
+ stopped=0 | |
+ pkill -SIGABRT jujud | |
+ wait_for_jujud | |
+ for i in {1..30} | |
+ pgrep jujud | |
+ echo jujud stopped | |
+ stopped=1 | |
+ logger --id jujud stopped on attempt 1 | |
+ break | |
+ [[ 1 -ne 1 ]] | |
+ [[ 1 -ne 1 ]] | |
+ service juju-db stop | |
Failed to stop juju-db.service: Unit juju-db.service not loaded. | |
+ apt-get -y purge 'juju-mongo*' | |
E: Unable to locate package juju-mongo* | |
E: Couldn't find any package by glob 'juju-mongo*' | |
E: Couldn't find any package by regex 'juju-mongo*' | |
+ apt-get -y autoremove | |
+ rm -f '/etc/init/juju*' | |
+ rm -f '/etc/systemd/system/juju*' '/etc/systemd/system/multi-user.target.wants/juju*' | |
+ rm -fr /var/lib/juju /var/log/juju | |
+ exit 0 | |
22:35:04 INFO cmd supercommand.go:502 command finished |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment