Ubuntu Pastebin

Paste from dimitern at Wed, 20 May 2015 11:18:16 +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
... excerpt from cloud-init-output.log on a precise lxc container.

+ id ubuntu
+ chown ubuntu:ubuntu /var/lib/juju/locks
+ mkdir -p /var/log/juju
uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),110(netdev),111(admin)
+ chown syslog:adm /var/log/juju
+ bin=/var/lib/juju/tools/1.24-beta4.1-precise-amd64
+ mkdir -p /var/lib/juju/tools/1.24-beta4.1-precise-amd64
+ echo Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --noproxy "*" --insecure -o $bin/tools.tar.gz <[https://10.14.0.100:17070/tools/1.24-beta4.1-precise-amd64]>
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --noproxy "*" --insecure -o $bin/tools.tar.gz <[https://10.14.0.100:17070/tools/1.24-beta4.1-precise-amd64]>
+ seq 5
+ printf Attempt 1 to download tools from %s...\n https://10.14.0.100:17070/tools/1.24-beta4.1-precise-amd64
Attempt 1 to download tools from https://10.14.0.100:17070/tools/1.24-beta4.1-precise-amd64...
+ curl -sSfw tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s  --noproxy * --insecure -o /var/lib/juju/tools/1.24-beta4.1-precise-amd64/tools.tar.gz https://10.14.0.100:17070/tools/1.24-beta4.1-precise-amd64
tools from https://10.14.0.100:17070/tools/1.24-beta4.1-precise-amd64 downloaded: HTTP 200; time 0.605s; size 16350415 bytes; speed 27008024.000 bytes/s + echo Tools downloaded successfully.
Tools downloaded successfully.
+ break
+ sha256sum /var/lib/juju/tools/1.24-beta4.1-precise-amd64/tools.tar.gz
+ grep 5e84f9852099870083a4efc7ac8a18ec276b43a6eede86b3787886d4ee6a3504 /var/lib/juju/tools/1.24-beta4.1-precise-amd64/juju1.24-beta4.1-precise-amd64.sha256
5e84f9852099870083a4efc7ac8a18ec276b43a6eede86b3787886d4ee6a3504  /var/lib/juju/tools/1.24-beta4.1-precise-amd64/tools.tar.gz
+ tar zxf /var/lib/juju/tools/1.24-beta4.1-precise-amd64/tools.tar.gz -C /var/lib/juju/tools/1.24-beta4.1-precise-amd64
+ printf %s {"version":"1.24-beta4.1-precise-amd64","url":"https://10.14.0.100:17070/environment/50bd5034-797e-4ca3-80c3-713e8dc93385/tools/1.24-beta4.1-precise-amd64","sha256":"5e84f9852099870083a4efc7ac8a18ec276b43a6eede86b3787886d4ee6a3504","size":16350415}
+ mkdir -p /var/lib/juju/agents/machine-0-lxc-2
+ cat
+ chmod 0600 /var/lib/juju/agents/machine-0-lxc-2/agent.conf
+ ln -s 1.24-beta4.1-precise-amd64 /var/lib/juju/tools/machine-0-lxc-2
+ echo Starting Juju machine agent (jujud-machine-0-lxc-2)
Starting Juju machine agent (jujud-machine-0-lxc-2)
+ [[ -d /run/systemd/system ]]
/var/lib/cloud/instance/scripts/runcmd: 76: /var/lib/cloud/instance/scripts/runcmd: [[: not found
+ [[ -f /sbin/initctl ]]
/var/lib/cloud/instance/scripts/runcmd: 79: /var/lib/cloud/instance/scripts/runcmd: [[: not found
+ exit 1
+ init_system=
failed: /var/lib/cloud/instance/scripts/runcmd [1]
2015-05-19 15:29:48,768 - cc_scripts_user.py[WARNING]: failed to run-parts in /var/lib/cloud/instance/scripts
2015-05-19 15:29:48,769 - __init__.py[WARNING]: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cloudinit/CloudConfig/__init__.py", line 117, in run_cc_modules
    cc.handle(name, run_args, freq=freq)
  File "/usr/lib/python2.7/dist-packages/cloudinit/CloudConfig/__init__.py", line 78, in handle
    [name, self.cfg, self.cloud, cloudinit.log, args])
  File "/usr/lib/python2.7/dist-packages/cloudinit/__init__.py", line 327, in sem_and_run
    func(*args)
  File "/usr/lib/python2.7/dist-packages/cloudinit/CloudConfig/cc_scripts_user.py", line 31, in handle
    util.runparts(runparts_path)
  File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 229, in runparts
    raise RuntimeError('runparts: %i failures' % failed)
RuntimeError: runparts: 1 failures

2015-05-19 15:29:48,769 - __init__.py[ERROR]: config handling of scripts-user, None, [] failed
Download as text