Ubuntu Pastebin

Paste from menno at Thu, 10 Mar 2016 02:49:37 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
$ juju bootstrap local lxd --config ~/canonical/juju-local.yaml --upload-tools 
Creating Juju controller "local.local" on lxd/localhost
Bootstrapping model "local"
Starting new instance for initial controller
Launching instance
 - juju-99065efd-dc16-4dfe-8900-1748b6460844-machine-0
Building tools to upload (2.0-beta2.1-trusty-amd64)
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 10.0.3.181:22
sudo: unable to resolve host juju-99065efd-dc16-4dfe-8900-1748b6460844-machine-0
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
WARNING no addresses found in space "default"
WARNING using all API addresses (cannot pick by space "default"): [local-cloud:10.0.3.181]
Bootstrap complete, local.local now available.


$ juju bootstrap local2 lxd --config ~/canonical/juju-local.yaml --upload-tools
Creating Juju controller "local.local2" on lxd/localhost
Bootstrapping model "local2"
Starting new instance for initial controller
Launching instance
 - juju-2ca32a86-130f-4fe0-8c12-daee97c4a808-machine-0
Building tools to upload (2.0-beta2.1-trusty-amd64)
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 10.0.3.213:22
sudo: unable to resolve host juju-2ca32a86-130f-4fe0-8c12-daee97c4a808-machine-0
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
WARNING no addresses found in space "default"
WARNING using all API addresses (cannot pick by space "default"): [local-cloud:10.0.3.181]
WARNING no addresses found in space "default"
WARNING using all API addresses (cannot pick by space "default"): [local-cloud:10.0.3.181]
ERROR getting model details: model local.local:admin@local:local2 not found

Also if you just switch during bootstrap:

$ juju switch local.local
local.local2:local2 -> local.local:local
Download as text