Skip to content

Instantly share code, notes, and snippets.

@buggtb
Created February 26, 2016 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buggtb/c5785a74a1124cdc7bb7 to your computer and use it in GitHub Desktop.
Save buggtb/c5785a74a1124cdc7bb7 to your computer and use it in GitHub Desktop.
root@tomsdevbox ~ # juju bootstrap mycontroller lxd --debug --upload-tools
2016-02-26 15:56:32 INFO juju.cmd supercommand.go:59 running juju [2.0-beta2 gc go1.6]
2016-02-26 15:56:32 INFO cmd cmd.go:141 cloud "lxd" not found, trying as a provider name
2016-02-26 15:56:32 INFO cmd cmd.go:141 no credentials found, checking environment
2016-02-26 15:56:32 DEBUG juju.cmd.juju.commands bootstrap.go:355 preparing controller with config: map[type:lxd name:mycontroller]
2016-02-26 15:56:32 DEBUG juju.environs.configstore disk.go:112 Made dir /root/.local/share/juju/models
2016-02-26 15:56:34 DEBUG juju.container.lxd.lxdclient client.go:53 loading LXD client config from "/root/.config/lxc/juju-mycontroller"
2016-02-26 15:56:34 DEBUG juju.container.lxd.lxdclient client.go:64 using LXD remote "local"
2016-02-26 15:56:34 DEBUG juju.container.lxd.lxdclient config.go:164 initializing config dir "/root/.config/lxc/juju-mycontroller"
2016-02-26 15:56:34 DEBUG juju.container.lxd.lxdclient config.go:207 writing config file "/root/.config/lxc/juju-mycontroller/config.yml"
2016-02-26 15:56:34 DEBUG juju.container.lxd.lxdclient config.go:257 writing cert PEM file "/root/.config/lxc/juju-mycontroller/client.crt"
2016-02-26 15:56:34 DEBUG juju.container.lxd.lxdclient config.go:273 writing key PEM file "/root/.config/lxc/juju-mycontroller/client.key"
2016-02-26 15:56:34 DEBUG juju.container.lxd.lxdclient client.go:53 loading LXD client config from "/root/.config/lxc/juju-mycontroller"
2016-02-26 15:56:34 DEBUG juju.container.lxd.lxdclient client.go:64 using LXD remote "juju-remote"
2016-02-26 15:56:34 DEBUG juju.environs.configstore disk.go:326 writing cache file
2016-02-26 15:56:34 INFO cmd cmd.go:129 Creating Juju controller "local.mycontroller" on lxd/localhost
2016-02-26 15:56:34 INFO juju.cmd.juju.commands bootstrap.go:442 combined bootstrap constraints:
2016-02-26 15:56:34 INFO juju.network network.go:263 setting prefer-ipv6 to false
2016-02-26 15:56:34 INFO cmd cmd.go:129 Bootstrapping model "mycontroller"
2016-02-26 15:56:34 DEBUG juju.environs.bootstrap bootstrap.go:137 model "mycontroller" supports service/machine networks: false
2016-02-26 15:56:34 DEBUG juju.environs.bootstrap bootstrap.go:139 network management by juju enabled: true
2016-02-26 15:56:34 INFO cmd cmd.go:129 Starting new instance for initial controller
Launching instance
2016-02-26 15:56:34 DEBUG juju.provider.lxd environ_broker.go:47 StartInstance: "0", trusty
2016-02-26 15:56:34 DEBUG juju.provider.lxd environ_broker.go:73 tools: &tools.Tools{Version:version.Binary{Number:version.Number{Major:2, Minor:0, Tag:"beta", Patch:2, Build:1}, Series:"trusty", Arch:"amd64"}, URL:"", SHA256:"", Size:0}
2016-02-26 15:56:34 DEBUG juju.cloudconfig.instancecfg instancecfg.go:549 Setting numa ctl preference to false
2016-02-26 15:56:34 DEBUG juju.service discovery.go:59 discovered init system "upstart" from series "trusty"
2016-02-26 15:56:34 DEBUG juju.provider.lxd environ_broker.go:145 LXD user data; 1580 bytes
2016-02-26 15:56:34 INFO juju.provider.lxd environ_broker.go:129 starting instance "juju-20ff392f-0d6c-4d94-8afa-16047b0d3767-machine-0" (image "ubuntu-trusty")...
2016-02-26 15:56:44 INFO juju.provider.lxd environ_broker.go:59 started instance "juju-20ff392f-0d6c-4d94-8afa-16047b0d3767-machine-0"
- juju-20ff392f-0d6c-4d94-8afa-16047b0d3767-machine-0
2016-02-26 15:56:44 INFO juju.environs.bootstrap bootstrap.go:345 newest version: 2.0-beta2.1
2016-02-26 15:56:44 INFO juju.environs.bootstrap bootstrap.go:373 picked bootstrap tools version: 2.0-beta2.1
2016-02-26 15:56:44 INFO cmd cmd.go:129 Building tools to upload (2.0-beta2.1-trusty-amd64)
2016-02-26 15:56:44 DEBUG juju.environs.sync sync.go:301 Building tools
2016-02-26 15:56:44 DEBUG juju.environs.tools build.go:122 looking for: juju
2016-02-26 15:56:44 DEBUG juju.environs.tools build.go:161 checking: /root/work/bin/jujud
2016-02-26 15:56:44 INFO juju.environs.tools build.go:167 found existing jujud
2016-02-26 15:56:44 INFO juju.environs.tools build.go:177 target: /tmp/juju-tools634961390/jujud
2016-02-26 15:56:44 DEBUG juju.environs.tools build.go:232 forcing version to 2.0-beta2.1
2016-02-26 15:56:44 DEBUG juju.environs.tools build.go:38 adding entry: &tar.Header{Name:"FORCE-VERSION", Mode:420, Uid:0, Gid:0, Size:11, ModTime:time.Time{sec:63592099004, nsec:718848514, loc:(*time.Location)(0x3b139e0)}, Typeflag:0x30, Linkname:"", Uname:"ubuntu", Gname:"ubuntu", Devmajor:0, Devminor:0, AccessTime:time.Time{sec:63592099004, nsec:718848514, loc:(*time.Location)(0x3b139e0)}, ChangeTime:time.Time{sec:63592099004, nsec:718848514, loc:(*time.Location)(0x3b139e0)}, Xattrs:map[string]string(nil)}
2016-02-26 15:56:44 DEBUG juju.environs.tools build.go:38 adding entry: &tar.Header{Name:"jujud", Mode:493, Uid:0, Gid:0, Size:87375080, ModTime:time.Time{sec:63592099004, nsec:718848514, loc:(*time.Location)(0x3b139e0)}, Typeflag:0x30, Linkname:"", Uname:"ubuntu", Gname:"ubuntu", Devmajor:0, Devminor:0, AccessTime:time.Time{sec:63592099004, nsec:718848514, loc:(*time.Location)(0x3b139e0)}, ChangeTime:time.Time{sec:63592099004, nsec:718848514, loc:(*time.Location)(0x3b139e0)}, Xattrs:map[string]string(nil)}
2016-02-26 15:56:50 INFO juju.environs.sync sync.go:320 built tools 2.0-beta2.1-xenial-amd64 (18035kB)
2016-02-26 15:56:50 INFO cmd cmd.go:129 Installing Juju agent on bootstrap instance
2016-02-26 15:56:50 DEBUG juju.cloudconfig.instancecfg instancecfg.go:549 Setting numa ctl preference to false
Waiting for address
Attempting to connect to 10.0.3.112:22
2016-02-26 15:56:50 DEBUG juju.provider.common bootstrap.go:318 connection attempt for 10.0.3.112 failed: ssh: connect to host 10.0.3.112 port 22: Connection refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment