Skip to content

Instantly share code, notes, and snippets.

@faddat
Last active November 2, 2015 15:04
Show Gist options
  • Select an option

  • Save faddat/8fa6e132daa9a4c41dee to your computer and use it in GitHub Desktop.

Select an option

Save faddat/8fa6e132daa9a4c41dee to your computer and use it in GitHub Desktop.
2 fresh azure vms, 1 empty scope as a result
The authenticity of host '207.46.231.141 (207.46.231.141)' can't be established.
ECDSA key fingerprint is SHA256:l3KGvn3JgijuQn51I+nwu8MLx8ec3sFQB9o0Zc2l484.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '207.46.231.141' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 15.10 (GNU/Linux 4.2.0-16-generic x86_64)
* Documentation: https://help.ubuntu.com/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
3 packages can be updated.
3 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
faddat@mesosmaster:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
apport python3-apport python3-distupgrade python3-problem-report ubuntu-release-upgrader-core
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 333 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://azure.archive.ubuntu.com/ubuntu/ wily-updates/main ubuntu-release-upgrader-core all 1:15.10.14.1 [24.4 kB]
Get:2 http://azure.archive.ubuntu.com/ubuntu/ wily-updates/main python3-distupgrade all 1:15.10.14.1 [102 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu/ wily-updates/main python3-problem-report all 2.19.1-0ubuntu4 [10.4 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu/ wily-updates/main python3-apport all 2.19.1-0ubuntu4 [79.2 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu/ wily-updates/main apport all 2.19.1-0ubuntu4 [117 kB]
Fetched 333 kB in 3s (108 kB/s)
(Reading database ... 62826 files and directories currently installed.)
Preparing to unpack .../ubuntu-release-upgrader-core_1%3a15.10.14.1_all.deb ...
Unpacking ubuntu-release-upgrader-core (1:15.10.14.1) over (1:15.10.14) ...
Preparing to unpack .../python3-distupgrade_1%3a15.10.14.1_all.deb ...
Unpacking python3-distupgrade (1:15.10.14.1) over (1:15.10.14) ...
Preparing to unpack .../python3-problem-report_2.19.1-0ubuntu4_all.deb ...
Unpacking python3-problem-report (2.19.1-0ubuntu4) over (2.19.1-0ubuntu3) ...
Preparing to unpack .../python3-apport_2.19.1-0ubuntu4_all.deb ...
Unpacking python3-apport (2.19.1-0ubuntu4) over (2.19.1-0ubuntu3) ...
Preparing to unpack .../apport_2.19.1-0ubuntu4_all.deb ...
Unpacking apport (2.19.1-0ubuntu4) over (2.19.1-0ubuntu3) ...
Processing triggers for man-db (2.7.4-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
Processing triggers for shared-mime-info (1.3-1) ...
Setting up python3-distupgrade (1:15.10.14.1) ...
Setting up ubuntu-release-upgrader-core (1:15.10.14.1) ...
Setting up python3-problem-report (2.19.1-0ubuntu4) ...
Setting up python3-apport (2.19.1-0ubuntu4) ...
Setting up apport (2.19.1-0ubuntu4) ...
faddat@mesosmaster:~$ sudo curl -L git.io/weave -o /usr/local/bin/weave
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 578 0 578 0 0 209 0 --:--:-- 0:00:02 --:--:-- 567
100 64252 100 64252 0 0 11882 0 0:00:05 0:00:05 --:--:-- 30905
faddat@mesosmaster:~$ sudo chmod a+x /usr/local/bin/weave
faddat@mesosmaster:~$ weave launch
/usr/local/bin/weave: 125: /usr/local/bin/weave: docker: not found
ERROR: Unable to parse docker version
faddat@mesosmaster:~$ sudo -s
root@mesosmaster:~# weave launch
/usr/local/bin/weave: 125: /usr/local/bin/weave: docker: not found
ERROR: Unable to parse docker version
root@mesosmaster:~# wget get.docker.com
--2015-11-02 14:18:08-- http://get.docker.com/
Resolving get.docker.com (get.docker.com)... 54.230.148.34, 54.230.148.93, 54.192.151.169, ...
Connecting to get.docker.com (get.docker.com)|54.230.148.34|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://get.docker.com/ [following]
--2015-11-02 14:18:09-- https://get.docker.com/
Connecting to get.docker.com (get.docker.com)|54.230.148.34|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10858 (11K) [text/x-shellscript]
Saving to: ‘index.html’
index.html 100%[===================================================>] 10.60K --.-KB/s in 0s
2015-11-02 14:18:09 (120 MB/s) - ‘index.html’ saved [10858/10858]
root@mesosmaster:~# sh index.html
apparmor is enabled in the kernel and apparmor utils were already installed
+ sh -c apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.NscLepci1y --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
gpg: requesting key 2C52609D from hkp server p80.pool.sks-keyservers.net
gpg: key 2C52609D: public key "Docker Release Tool (releasedocker) <docker@docker.com>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
+ sh -c mkdir -p /etc/apt/sources.list.d
+ sh -c echo deb https://apt.dockerproject.org/repo ubuntu-wily main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Hit http://azure.archive.ubuntu.com wily InRelease
Hit http://azure.archive.ubuntu.com wily-updates InRelease
Hit http://security.ubuntu.com wily-security InRelease
Hit http://azure.archive.ubuntu.com wily/main Sources
Get:1 https://apt.dockerproject.org ubuntu-wily InRelease [454 B]
Ign https://apt.dockerproject.org ubuntu-wily InRelease
Get:2 https://apt.dockerproject.org ubuntu-wily Release.gpg [801 B]
Get:3 https://apt.dockerproject.org ubuntu-wily Release [19.7 kB]
Get:4 https://apt.dockerproject.org ubuntu-wily/main amd64 Packages [2,268 B]
Hit http://azure.archive.ubuntu.com wily/universe Sources
Hit http://security.ubuntu.com wily-security/main Sources
Get:5 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [454 B]
Hit http://azure.archive.ubuntu.com wily/main amd64 Packages
Hit http://security.ubuntu.com wily-security/universe Sources
Hit http://azure.archive.ubuntu.com wily/universe amd64 Packages
Get:6 https://apt.dockerproject.org ubuntu-wily/main Translation-en [454 B]
Hit http://azure.archive.ubuntu.com wily/main Translation-en
Hit http://security.ubuntu.com wily-security/main amd64 Packages
Hit http://azure.archive.ubuntu.com wily/universe Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/main Sources
Get:7 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [454 B]
Hit http://security.ubuntu.com wily-security/universe amd64 Packages
Hit http://azure.archive.ubuntu.com wily-updates/universe Sources
Get:8 https://apt.dockerproject.org ubuntu-wily/main Translation-en [454 B]
Hit http://security.ubuntu.com wily-security/main Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/main amd64 Packages
Get:9 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [454 B]
Hit http://azure.archive.ubuntu.com wily-updates/universe amd64 Packages
Hit http://security.ubuntu.com wily-security/universe Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/main Translation-en
Get:10 https://apt.dockerproject.org ubuntu-wily/main Translation-en [454 B]
Hit http://azure.archive.ubuntu.com wily-updates/universe Translation-en
Get:11 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [454 B]
Get:12 https://apt.dockerproject.org ubuntu-wily/main Translation-en [454 B]
Get:13 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [454 B]
Ign https://apt.dockerproject.org ubuntu-wily/main Translation-en_US
Get:14 https://apt.dockerproject.org ubuntu-wily/main Translation-en [454 B]
Ign https://apt.dockerproject.org ubuntu-wily/main Translation-en
Fetched 22.8 kB in 6s (3,639 B/s)
Reading package lists... Done
Reading package lists...
E: Problem renaming the file /var/cache/apt/pkgcache.bin.XSnfPq to /var/cache/apt/pkgcache.bin - rename (2: No such file or directory)
W: You may want to run apt-get update to correct these problems
root@mesosmaster:~# weave launch
/usr/local/bin/weave: 125: /usr/local/bin/weave: docker: not found
ERROR: Unable to parse docker version
root@mesosmaster:~# reboot
Connection to 207.46.231.141 closed by remote host.
Connection to 207.46.231.141 closed.
faddat@ubuntu:~$ ssh faddat@207.46.231.141
Welcome to Ubuntu 15.10 (GNU/Linux 4.2.0-16-generic x86_64)
* Documentation: https://help.ubuntu.com/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
Last login: Mon Nov 2 13:56:05 2015 from 183.91.4.73
faddat@mesosmaster:~$ sudo -s
root@mesosmaster:~# weave launch 207.46.226.216
/usr/local/bin/weave: 125: /usr/local/bin/weave: docker: not found
ERROR: Unable to parse docker version
root@mesosmaster:~# apt-get update
Hit http://azure.archive.ubuntu.com wily InRelease
Hit http://azure.archive.ubuntu.com wily-updates InRelease
Hit http://security.ubuntu.com wily-security InRelease
Get:1 https://apt.dockerproject.org ubuntu-wily InRelease [442 B]
Ign https://apt.dockerproject.org ubuntu-wily InRelease
Hit https://apt.dockerproject.org ubuntu-wily Release.gpg
Hit https://apt.dockerproject.org ubuntu-wily Release
Hit https://apt.dockerproject.org ubuntu-wily/main amd64 Packages
Hit http://azure.archive.ubuntu.com wily/main Sources
Get:2 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Hit http://security.ubuntu.com wily-security/main Sources
Hit http://azure.archive.ubuntu.com wily/universe Sources
Hit http://azure.archive.ubuntu.com wily/main amd64 Packages
Get:3 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Hit http://security.ubuntu.com wily-security/universe Sources
Hit http://azure.archive.ubuntu.com wily/universe amd64 Packages
Hit http://security.ubuntu.com wily-security/main amd64 Packages
Hit http://azure.archive.ubuntu.com wily/main Translation-en
Hit http://azure.archive.ubuntu.com wily/universe Translation-en
Get:4 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Hit http://security.ubuntu.com wily-security/universe amd64 Packages
Hit http://azure.archive.ubuntu.com wily-updates/main Sources
Get:5 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Hit http://security.ubuntu.com wily-security/main Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/universe Sources
Hit http://azure.archive.ubuntu.com wily-updates/main amd64 Packages
Get:6 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Hit http://security.ubuntu.com wily-security/universe Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/universe amd64 Packages
Get:7 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Hit http://azure.archive.ubuntu.com wily-updates/main Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/universe Translation-en
Get:8 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Get:9 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Get:10 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Ign https://apt.dockerproject.org ubuntu-wily/main Translation-en_US
Get:11 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Ign https://apt.dockerproject.org ubuntu-wily/main Translation-en
Reading package lists... Done
root@mesosmaster:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@mesosmaster:~# apt-get upgrade
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@mesosmaster:~# apt-get upgrade
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@mesosmaster:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@mesosmaster:~# apt-get install docker
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
docker
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.2 kB of archives.
After this operation, 65.5 kB of additional disk space will be used.
Get:1 http://azure.archive.ubuntu.com/ubuntu/ wily/universe docker amd64 1.5-1 [12.2 kB]
Fetched 12.2 kB in 0s (22.6 kB/s)
Selecting previously unselected package docker.
(Reading database ... 62826 files and directories currently installed.)
Preparing to unpack .../docker_1.5-1_amd64.deb ...
Unpacking docker (1.5-1) ...
Processing triggers for man-db (2.7.4-1) ...
Setting up docker (1.5-1) ...
root@mesosmaster:~# apt-get remove docker
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
docker
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 65.5 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 62833 files and directories currently installed.)
Removing docker (1.5-1) ...
Processing triggers for man-db (2.7.4-1) ...
root@mesosmaster:~# sh index.sh
sh: 0: Can't open index.sh
root@mesosmaster:~# ls
index.html
root@mesosmaster:~# sh index.html
apparmor is enabled in the kernel and apparmor utils were already installed
+ sh -c apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.hj7L6TIJiU --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
gpg: requesting key 2C52609D from hkp server p80.pool.sks-keyservers.net
gpg: key 2C52609D: "Docker Release Tool (releasedocker) <docker@docker.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
+ sh -c mkdir -p /etc/apt/sources.list.d
+ sh -c echo deb https://apt.dockerproject.org/repo ubuntu-wily main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
Reading package lists...
Building dependency tree...
Reading state information...
Recommended packages:
aufs-tools cgroupfs-mount cgroup-lite
The following NEW packages will be installed:
docker-engine
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
E: Could not open file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_wily-security_universe_i18n_Translation-en - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_wily-security_main_i18n_Translation-en - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_wily-updates_universe_i18n_Translation-en - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_wily-updates_main_i18n_Translation-en - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_wily-updates_universe_binary-amd64_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/azure.archive.ubuntu.com_ubuntu_dists_wily-updates_main_binary-amd64_Packages - open (2: No such file or directory)
root@mesosmaster:~# sh index.html
apparmor is enabled in the kernel and apparmor utils were already installed
+ sh -c apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.G4JL0a6bmP --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
gpg: requesting key 2C52609D from hkp server p80.pool.sks-keyservers.net
gpg: key 2C52609D: "Docker Release Tool (releasedocker) <docker@docker.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
+ sh -c mkdir -p /etc/apt/sources.list.d
+ sh -c echo deb https://apt.dockerproject.org/repo ubuntu-wily main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Hit http://azure.archive.ubuntu.com wily InRelease
Get:1 https://apt.dockerproject.org ubuntu-wily InRelease [442 B]
Ign https://apt.dockerproject.org ubuntu-wily InRelease
Hit https://apt.dockerproject.org ubuntu-wily Release.gpg
Hit https://apt.dockerproject.org ubuntu-wily Release
Hit https://apt.dockerproject.org ubuntu-wily/main amd64 Packages
Hit http://azure.archive.ubuntu.com wily-updates InRelease
Hit http://security.ubuntu.com wily-security InRelease
Hit http://azure.archive.ubuntu.com wily/main Sources
Get:2 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Hit http://security.ubuntu.com wily-security/main Sources
Hit http://azure.archive.ubuntu.com wily/universe Sources
Hit http://azure.archive.ubuntu.com wily/main amd64 Packages
Hit http://security.ubuntu.com wily-security/universe Sources
Get:3 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Hit http://azure.archive.ubuntu.com wily/universe amd64 Packages
Hit http://security.ubuntu.com wily-security/main amd64 Packages
Hit http://azure.archive.ubuntu.com wily/main Translation-en
Get:4 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Hit http://azure.archive.ubuntu.com wily/universe Translation-en
Hit http://security.ubuntu.com wily-security/universe amd64 Packages
Get:5 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Hit http://azure.archive.ubuntu.com wily-updates/main Sources
Hit http://security.ubuntu.com wily-security/main Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/universe Sources
Get:6 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Hit http://azure.archive.ubuntu.com wily-updates/main amd64 Packages
Hit http://security.ubuntu.com wily-security/universe Translation-en
Get:7 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Hit http://azure.archive.ubuntu.com wily-updates/universe amd64 Packages
Hit http://azure.archive.ubuntu.com wily-updates/main Translation-en
Get:8 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Hit http://azure.archive.ubuntu.com wily-updates/universe Translation-en
Get:9 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Get:10 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Ign https://apt.dockerproject.org ubuntu-wily/main Translation-en_US
Get:11 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Ign https://apt.dockerproject.org ubuntu-wily/main Translation-en
Reading package lists... Done
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
aufs-tools cgroupfs-mount
The following NEW packages will be installed:
aufs-tools cgroupfs-mount docker-engine
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,746 kB of archives.
After this operation, 28.8 MB of additional disk space will be used.
Get:1 http://azure.archive.ubuntu.com/ubuntu/ wily/universe aufs-tools amd64 1:3.2+20130722-1.1 [92.3 kB]
Get:2 https://apt.dockerproject.org/repo/ ubuntu-wily/main docker-engine amd64 1.8.3-0~wily [5,649 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu/ wily/universe cgroupfs-mount all 1.2 [4,970 B]
Fetched 5,746 kB in 1s (3,599 kB/s)
Selecting previously unselected package aufs-tools.
(Reading database ... 62826 files and directories currently installed.)
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_amd64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../cgroupfs-mount_1.2_all.deb ...
Unpacking cgroupfs-mount (1.2) ...
Selecting previously unselected package docker-engine.
Preparing to unpack .../docker-engine_1.8.3-0~wily_amd64.deb ...
Unpacking docker-engine (1.8.3-0~wily) ...
Processing triggers for man-db (2.7.4-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
Setting up aufs-tools (1:3.2+20130722-1.1) ...
Setting up cgroupfs-mount (1.2) ...
Setting up docker-engine (1.8.3-0~wily) ...
sent invalidate(passwd) request, exiting
sent invalidate(group) request, exiting
sent invalidate(group) request, exiting
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
+ sh -c docker version
Client:
Version: 1.8.3
API version: 1.20
Go version: go1.4.2
Git commit: f4bf5c7
Built: Mon Oct 12 05:42:26 UTC 2015
OS/Arch: linux/amd64
Server:
Version: 1.8.3
API version: 1.20
Go version: go1.4.2
Git commit: f4bf5c7
Built: Mon Oct 12 05:42:26 UTC 2015
OS/Arch: linux/amd64
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:
sudo usermod -aG docker your-user
Remember that you will have to log out and back in for this to take effect!
root@mesosmaster:~# weave launch sudo curl -L git.io/weave -o /usr/local/bin/weave
Unable to find image 'weaveworks/weaveexec:1.2.0' locally
^C
root@mesosmaster:~# weave launch 207.46.226.216
Unable to find image 'weaveworks/weave:1.2.0' locally
1.2.0: Pulling from weaveworks/weave
Digest: sha256:20e362d2a9990cb29c3187c8f0c682b5a23542b9205db5b5eb2ace7a1d213202
Status: Downloaded newer image for weaveworks/weave:1.2.0
root@mesosmaster:~# weave status
Version: 1.2.0
Service: router
Protocol: weave 1..2
Name: a2:87:57:87:17:95(mesosmaster)
Encryption: disabled
PeerDiscovery: enabled
Targets: 1
Connections: 1 (1 established)
Peers: 2 (with 2 established connections)
Service: ipam
Consensus: deferred
Range: [10.32.0.0-10.48.0.0)
DefaultSubnet: 10.32.0.0/12
Service: dns
Domain: weave.local.
TTL: 1
Entries: 0
Service: proxy
Address: unix:///var/run/weave/weave.sock
root@mesosmaster:~# sudo wget -O /usr/local/bin/scope \
> https://github.com/weaveworks/scope/releases/download/latest_release/scope
--2015-11-02 14:29:57-- https://github.com/weaveworks/scope/releases/download/latest_release/scope
Resolving github.com (github.com)... 192.30.252.130
Connecting to github.com (github.com)|192.30.252.130|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-cloud.s3.amazonaws.com/releases/34659664/1d9c3a90-6859-11e5-92aa-d720406b29dc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20151102%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20151102T142958Z&X-Amz-Expires=300&X-Amz-Signature=eb6abbc4150216d7335b9f95c73945966c8a619ab2441275dba9a76b2fccb937&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dscope&response-content-type=application%2Foctet-stream [following]
--2015-11-02 14:29:58-- https://github-cloud.s3.amazonaws.com/releases/34659664/1d9c3a90-6859-11e5-92aa-d720406b29dc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20151102%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20151102T142958Z&X-Amz-Expires=300&X-Amz-Signature=eb6abbc4150216d7335b9f95c73945966c8a619ab2441275dba9a76b2fccb937&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dscope&response-content-type=application%2Foctet-stream
Resolving github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)... 54.231.18.113
Connecting to github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)|54.231.18.113|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6000 (5.9K) [application/octet-stream]
Saving to: ‘/usr/local/bin/scope’
/usr/local/bin/scope 100%[===================================================>] 5.86K --.-KB/s in 0s
2015-11-02 14:29:59 (52.0 MB/s) - ‘/usr/local/bin/scope’ saved [6000/6000]
root@mesosmaster:~# ^C
root@mesosmaster:~# rm /usr/local/bin/scope
root@mesosmaster:~# sudo wget -O /usr/local/bin/scope https://github.com/weaveworks/scope/raw/master/scope
--2015-11-02 14:30:36-- https://github.com/weaveworks/scope/raw/master/scope
Resolving github.com (github.com)... 192.30.252.130
Connecting to github.com (github.com)|192.30.252.130|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/weaveworks/scope/master/scope [following]
--2015-11-02 14:30:37-- https://raw.githubusercontent.com/weaveworks/scope/master/scope
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4180 (4.1K) [text/plain]
Saving to: ‘/usr/local/bin/scope’
/usr/local/bin/scope 100%[===================================================>] 4.08K --.-KB/s in 0s
2015-11-02 14:30:38 (586 MB/s) - ‘/usr/local/bin/scope’ saved [4180/4180]
root@mesosmaster:~# scope launch 207.46.226.216
bash: /usr/local/bin/scope: Permission denied
root@mesosmaster:~# eval $(weave env)
root@mesosmaster:~# chmod a+x /usr/local/bin/scope
root@mesosmaster:~# scope launch 207.46.226.216
Unable to find image 'weaveworks/scope:latest' locally
latest: Pulling from weaveworks/scope
7c7e2be0f9a0: Pulling fs layer
4ba4108bc43c: Pulling fs layer
22d978aedabc: Pulling fs layer
1d668a796cd2: Pulling fs layer
f7f319606e5e: Pulling fs layer
1f4df4d4e0e7: Pulling fs layer
4228d361a007: Pulling fs layer
1f830785a932: Pulling fs layer
d17d25fc4715: Pulling fs layer
d5aae420eb56: Pulling fs layer
5907d9f0deca: Pulling fs layer
8a648f689ddb: Already exists
d5aae420eb56: Verifying Checksum
d5aae420eb56: Download complete
5907d9f0deca: Verifying Checksum
5907d9f0deca: Download complete
4ba4108bc43c: Verifying Checksum
4ba4108bc43c: Download complete
7c7e2be0f9a0: Verifying Checksum
7c7e2be0f9a0: Download complete
22d978aedabc: Verifying Checksum
22d978aedabc: Download complete
7c7e2be0f9a0: Pull complete
4ba4108bc43c: Pull complete
22d978aedabc: Pull complete
d17d25fc4715: Verifying Checksum
d17d25fc4715: Download complete
1f830785a932: Verifying Checksum
1f830785a932: Download complete
1f4df4d4e0e7: Verifying Checksum
1f4df4d4e0e7: Download complete
f7f319606e5e: Verifying Checksum
f7f319606e5e: Download complete
1d668a796cd2: Verifying Checksum
1d668a796cd2: Download complete
1d668a796cd2: Pull complete
f7f319606e5e: Pull complete
1f4df4d4e0e7: Pull complete
4228d361a007: Verifying Checksum
4228d361a007: Download complete
4228d361a007: Pull complete
1f830785a932: Pull complete
d17d25fc4715: Pull complete
d5aae420eb56: Pull complete
5907d9f0deca: Pull complete
Digest: sha256:3ae03148dea3f2df3c9f033f062a7fb052ae8bd791ef09d532d3db635b3c5d3e
Status: Downloaded newer image for weaveworks/scope:latest
fbb441d879bfffa6032eecda59f529df63ba4fe41dc1fd875cd86d4624fcb15d
Weave Scope is reachable at the following URL(s):
* http://10.7.0.4:4040/
* http://10.0.3.1:4040/
root@mesosmaster:~#
faddat@ubuntu:~/configuration$ ssh faddat@207.46.226.216
The authenticity of host '207.46.226.216 (207.46.226.216)' can't be established.
ECDSA key fingerprint is SHA256:WtdQNms/yarNusPuswnKyqY9E8ZmgFMW4uk15Mn+yFY.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '207.46.226.216' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 15.10 (GNU/Linux 4.2.0-16-generic x86_64)
* Documentation: https://help.ubuntu.com/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
3 packages can be updated.
3 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
faddat@frontend:~$
faddat@frontend:~$ wget get.docker.com
--2015-11-02 13:53:26-- http://get.docker.com/
Resolving get.docker.com (get.docker.com)... 54.230.156.7, 54.230.156.41, 54.230.156.91, ...
Connecting to get.docker.com (get.docker.com)|54.230.156.7|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://get.docker.com/ [following]
--2015-11-02 13:53:26-- https://get.docker.com/
Connecting to get.docker.com (get.docker.com)|54.230.156.7|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10858 (11K) [text/x-shellscript]
Saving to: ‘index.html’
index.html 100%[===================================================>] 10.60K --.-KB/s in 0s
2015-11-02 13:53:26 (251 MB/s) - ‘index.html’ saved [10858/10858]
faddat@frontend:~$ sh index.html
apparmor is enabled in the kernel and apparmor utils were already installed
+ sudo -E sh -c apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.26ooDw88Hk --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
gpg: requesting key 2C52609D from hkp server p80.pool.sks-keyservers.net
gpg: key 2C52609D: public key "Docker Release Tool (releasedocker) <docker@docker.com>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
+ sudo -E sh -c mkdir -p /etc/apt/sources.list.d
+ sudo -E sh -c echo deb https://apt.dockerproject.org/repo ubuntu-wily main > /etc/apt/sources.list.d/docker.list
+ sudo -E sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Hit http://azure.archive.ubuntu.com wily InRelease
Hit http://azure.archive.ubuntu.com wily-updates InRelease
Hit http://security.ubuntu.com wily-security InRelease
Hit http://azure.archive.ubuntu.com wily/main Sources
Hit http://azure.archive.ubuntu.com wily/universe Sources
Hit http://security.ubuntu.com wily-security/main Sources
Hit http://azure.archive.ubuntu.com wily/main amd64 Packages
Hit http://security.ubuntu.com wily-security/universe Sources
Hit http://azure.archive.ubuntu.com wily/universe amd64 Packages
Hit http://azure.archive.ubuntu.com wily/main Translation-en
Hit http://security.ubuntu.com wily-security/main amd64 Packages
Get:1 https://apt.dockerproject.org ubuntu-wily InRelease [454 B]
Ign https://apt.dockerproject.org ubuntu-wily InRelease
Get:2 https://apt.dockerproject.org ubuntu-wily Release.gpg [801 B]
Get:3 https://apt.dockerproject.org ubuntu-wily Release [19.7 kB]
Get:4 https://apt.dockerproject.org ubuntu-wily/main amd64 Packages [2,268 B]
Hit http://azure.archive.ubuntu.com wily/universe Translation-en
Hit http://security.ubuntu.com wily-security/universe amd64 Packages
Hit http://azure.archive.ubuntu.com wily-updates/main Sources
Hit http://security.ubuntu.com wily-security/main Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/universe Sources
Get:5 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [454 B]
Hit http://azure.archive.ubuntu.com wily-updates/main amd64 Packages
Hit http://security.ubuntu.com wily-security/universe Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/universe amd64 Packages
Get:6 https://apt.dockerproject.org ubuntu-wily/main Translation-en [454 B]
Hit http://azure.archive.ubuntu.com wily-updates/main Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/universe Translation-en
Get:7 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [454 B]
Get:8 https://apt.dockerproject.org ubuntu-wily/main Translation-en [454 B]
Get:9 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [454 B]
Get:10 https://apt.dockerproject.org ubuntu-wily/main Translation-en [454 B]
Get:11 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [454 B]
Get:12 https://apt.dockerproject.org ubuntu-wily/main Translation-en [454 B]
Get:13 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [454 B]
Ign https://apt.dockerproject.org ubuntu-wily/main Translation-en_US
Get:14 https://apt.dockerproject.org ubuntu-wily/main Translation-en [454 B]
Ign https://apt.dockerproject.org ubuntu-wily/main Translation-en
Fetched 22.8 kB in 8s (2,694 B/s)
Reading package lists... Error!
E: Problem renaming the file /var/cache/apt/pkgcache.bin.cEEVhQ to /var/cache/apt/pkgcache.bin - rename (2: No such file or directory)
W: You may want to run apt-get update to correct these problems
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
aufs-tools cgroupfs-mount
The following NEW packages will be installed:
aufs-tools cgroupfs-mount docker-engine
0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded.
Need to get 5,746 kB of archives.
After this operation, 28.8 MB of additional disk space will be used.
Get:1 https://apt.dockerproject.org/repo/ ubuntu-wily/main docker-engine amd64 1.8.3-0~wily [5,649 kB]
Get:2 http://azure.archive.ubuntu.com/ubuntu/ wily/universe aufs-tools amd64 1:3.2+20130722-1.1 [92.3 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu/ wily/universe cgroupfs-mount all 1.2 [4,970 B]
Fetched 5,746 kB in 1s (3,614 kB/s)
Selecting previously unselected package aufs-tools.
(Reading database ... 62826 files and directories currently installed.)
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_amd64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../cgroupfs-mount_1.2_all.deb ...
Unpacking cgroupfs-mount (1.2) ...
Selecting previously unselected package docker-engine.
Preparing to unpack .../docker-engine_1.8.3-0~wily_amd64.deb ...
Unpacking docker-engine (1.8.3-0~wily) ...
Processing triggers for man-db (2.7.4-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
Setting up aufs-tools (1:3.2+20130722-1.1) ...
Setting up cgroupfs-mount (1.2) ...
Setting up docker-engine (1.8.3-0~wily) ...
sent invalidate(passwd) request, exiting
sent invalidate(group) request, exiting
sent invalidate(group) request, exiting
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
+ sudo -E sh -c docker version
Client:
Version: 1.8.3
API version: 1.20
Go version: go1.4.2
Git commit: f4bf5c7
Built: Mon Oct 12 05:42:26 UTC 2015
OS/Arch: linux/amd64
Server:
Version: 1.8.3
API version: 1.20
Go version: go1.4.2
Git commit: f4bf5c7
Built: Mon Oct 12 05:42:26 UTC 2015
OS/Arch: linux/amd64
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:
sudo usermod -aG docker faddat
Remember that you will have to log out and back in for this to take effect!
faddat@frontend:~$ sudo apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
faddat@frontend:~$ sudo apt-get upgrade
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
faddat@frontend:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
faddat@frontend:~$ sudo apt-get update
Hit http://azure.archive.ubuntu.com wily InRelease
Hit http://azure.archive.ubuntu.com wily-updates InRelease
Hit http://security.ubuntu.com wily-security InRelease
Get:1 https://apt.dockerproject.org ubuntu-wily InRelease [442 B]
Ign https://apt.dockerproject.org ubuntu-wily InRelease
Hit https://apt.dockerproject.org ubuntu-wily Release.gpg
Hit https://apt.dockerproject.org ubuntu-wily Release
Hit https://apt.dockerproject.org ubuntu-wily/main amd64 Packages
Hit http://azure.archive.ubuntu.com wily/main Sources
Hit http://security.ubuntu.com wily-security/main Sources
Hit http://azure.archive.ubuntu.com wily/universe Sources
Hit http://azure.archive.ubuntu.com wily/main amd64 Packages
Hit http://security.ubuntu.com wily-security/universe Sources
Get:2 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Hit http://azure.archive.ubuntu.com wily/universe amd64 Packages
Hit http://security.ubuntu.com wily-security/main amd64 Packages
Get:3 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Hit http://azure.archive.ubuntu.com wily/main Translation-en
Hit http://azure.archive.ubuntu.com wily/universe Translation-en
Hit http://security.ubuntu.com wily-security/universe amd64 Packages
Hit http://azure.archive.ubuntu.com wily-updates/main Sources
Get:4 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Hit http://security.ubuntu.com wily-security/main Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/universe Sources
Hit http://azure.archive.ubuntu.com wily-updates/main amd64 Packages
Get:5 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Hit http://security.ubuntu.com wily-security/universe Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/universe amd64 Packages
Get:6 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Hit http://azure.archive.ubuntu.com wily-updates/main Translation-en
Hit http://azure.archive.ubuntu.com wily-updates/universe Translation-en
Get:7 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Get:8 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Get:9 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Get:10 https://apt.dockerproject.org ubuntu-wily/main Translation-en_US [442 B]
Ign https://apt.dockerproject.org ubuntu-wily/main Translation-en_US
Get:11 https://apt.dockerproject.org ubuntu-wily/main Translation-en [442 B]
Ign https://apt.dockerproject.org ubuntu-wily/main Translation-en
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
faddat@frontend:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
apport python3-apport python3-distupgrade python3-problem-report ubuntu-release-upgrader-core
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 333 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://azure.archive.ubuntu.com/ubuntu/ wily-updates/main ubuntu-release-upgrader-core all 1:15.10.14.1 [24.4 kB]
Get:2 http://azure.archive.ubuntu.com/ubuntu/ wily-updates/main python3-distupgrade all 1:15.10.14.1 [102 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu/ wily-updates/main python3-problem-report all 2.19.1-0ubuntu4 [10.4 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu/ wily-updates/main python3-apport all 2.19.1-0ubuntu4 [79.2 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu/ wily-updates/main apport all 2.19.1-0ubuntu4 [117 kB]
Fetched 333 kB in 2s (123 kB/s)
E: Problem renaming the file /var/cache/apt/pkgcache.bin.W7pd8o to /var/cache/apt/pkgcache.bin - rename (2: No such file or directory)
debconf: apt-extracttemplates failed: No such file or directory
(Reading database ... 62979 files and directories currently installed.)
Preparing to unpack .../ubuntu-release-upgrader-core_1%3a15.10.14.1_all.deb ...
Unpacking ubuntu-release-upgrader-core (1:15.10.14.1) over (1:15.10.14) ...
Preparing to unpack .../python3-distupgrade_1%3a15.10.14.1_all.deb ...
Unpacking python3-distupgrade (1:15.10.14.1) over (1:15.10.14) ...
Preparing to unpack .../python3-problem-report_2.19.1-0ubuntu4_all.deb ...
Unpacking python3-problem-report (2.19.1-0ubuntu4) over (2.19.1-0ubuntu3) ...
Preparing to unpack .../python3-apport_2.19.1-0ubuntu4_all.deb ...
Unpacking python3-apport (2.19.1-0ubuntu4) over (2.19.1-0ubuntu3) ...
Preparing to unpack .../apport_2.19.1-0ubuntu4_all.deb ...
Unpacking apport (2.19.1-0ubuntu4) over (2.19.1-0ubuntu3) ...
Processing triggers for man-db (2.7.4-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
Processing triggers for shared-mime-info (1.3-1) ...
Setting up python3-distupgrade (1:15.10.14.1) ...
Setting up ubuntu-release-upgrader-core (1:15.10.14.1) ...
Setting up python3-problem-report (2.19.1-0ubuntu4) ...
Setting up python3-apport (2.19.1-0ubuntu4) ...
Setting up apport (2.19.1-0ubuntu4) ...
faddat@frontend:~$ weave launch
The program 'weave' is currently not installed. You can install it by typing:
sudo apt-get install texlive-binaries
faddat@frontend:~$ sudo -s
root@frontend:~# weave launch
The program 'weave' is currently not installed. You can install it by typing:
apt-get install texlive-binaries
root@frontend:~# sudo curl -L git.io/weave -o /usr/local/bin/weave
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 578 0 578 0 0 247 0 --:--:-- 0:00:02 --:--:-- 2172
100 64252 100 64252 0 0 12682 0 0:00:05 0:00:05 --:--:-- 26638
root@frontend:~# sudo chmod a+x /usr/local/bin/weave
root@frontend:~# weave launch
Unable to find image 'weaveworks/weaveexec:1.2.0' locally
1.2.0: Pulling from weaveworks/weaveexec
8a648f689ddb: Pull complete
411e24a26517: Pull complete
bfad137b6892: Pull complete
05228ce6f05c: Pull complete
813b88bc1889: Pull complete
018cc02d0f4e: Pull complete
4190516aedc9: Pull complete
24f53b0ea689: Pull complete
528cfb38df65: Pull complete
c6a55fdb0d78: Pull complete
2583d8ff380b: Pull complete
Digest: sha256:8c8c73b8ed4ed8a22258b05b3bd6b57c29269c11f8896a02dfb5e8a97b05e6ec
Status: Downloaded newer image for weaveworks/weaveexec:1.2.0
Unable to find image 'weaveworks/weave:1.2.0' locally
1.2.0: Pulling from weaveworks/weave
Digest: sha256:20e362d2a9990cb29c3187c8f0c682b5a23542b9205db5b5eb2ace7a1d213202
Status: Downloaded newer image for weaveworks/weave:1.2.0
root@frontend:~# ifconfig
docker0 Link encap:Ethernet HWaddr 02:42:0f:06:ac:48
inet addr:172.17.42.1 Bcast:0.0.0.0 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:0d:3a:a0:1a:07
inet addr:10.6.0.4 Bcast:10.6.0.255 Mask:255.255.255.0
inet6 addr: fe80::20d:3aff:fea0:1a07/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:114492 errors:0 dropped:0 overruns:0 frame:0
TX packets:42741 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:161858121 (161.8 MB) TX bytes:3893096 (3.8 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:11954 errors:0 dropped:0 overruns:0 frame:0
TX packets:11954 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:602198 (602.1 KB) TX bytes:602198 (602.1 KB)
lxcbr0 Link encap:Ethernet HWaddr 4e:c1:33:e7:97:74
inet addr:10.0.3.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::4cc1:33ff:fee7:9774/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:570 (570.0 B)
weave Link encap:Ethernet HWaddr 72:e2:62:2b:f0:e7
inet6 addr: fe80::70e2:62ff:fe2b:f0e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1410 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:648 (648.0 B)
root@frontend:~#
Exposing host to weave network.
10.40.0.0
Weave container detected at 127.0.0.1, Docker bridge at 172.17.42.1
<probe> 2015/11/02 14:32:10 probe starting, version 641c2a1, ID mesosmaster
<probe> 2015/11/02 14:32:10 publishing to: 207.46.226.216
<app> 2015/11/02 14:32:10 app starting, version 641c2a1, ID 5313ba8c77a1f57d
<app> 2015/11/02 14:32:10 listening on :4040
<probe> 2015/11/02 14:32:10 docker container: collecting stats for fbb441d879bfffa6032eecda59f529df63ba4fe41dc1fd875cd86d4624fcb15d
<probe> 2015/11/02 14:32:10 docker container: collecting stats for 752ec95815b6e9dd288afa1b5b27702629db236db37ba6b0f4f194cc382b3e46
<probe> 2015/11/02 14:32:10 docker container: collecting stats for 684dabd4d99648d581a8e9f47c059702400d15e842bc6b7bbd0c5445745a7f96
<probe> 2015/11/02 14:32:10 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:32:20 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:32:30 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:32:40 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:32:50 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:33:00 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:33:10 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:33:20 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:33:30 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:33:40 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:33:50 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:34:00 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:34:10 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:34:20 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:34:30 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:34:40 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:34:50 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:35:00 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:35:10 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:35:20 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:35:30 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:35:40 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:35:50 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:36:00 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:36:10 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:36:20 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:36:30 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:36:40 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:36:50 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:37:00 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:37:10 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:37:20 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:37:30 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:37:40 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:37:50 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:38:00 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
<probe> 2015/11/02 14:38:10 multi-publisher set: 207.46.226.216:4040 (207.46.226.216:4040): Get http://207.46.226.216:4040/api: dial tcp 207.46.226.216:4040: getsockopt: connection refused
@faddat
Copy link
Author

faddat commented Nov 2, 2015

These were totally fresh machines. Scope and weave are not loving each other as they should....

@faddat
Copy link
Author

faddat commented Nov 2, 2015

image

After launching

PC1: scope launch ipaddr2
PC2: scope launch ipaddr1

I am able to see one of the machines on each machine but both on neither.

@faddat
Copy link
Author

faddat commented Nov 2, 2015

At long last, a hollow victory:

image

So, ah, is that normal? Having to do weave launch LSITOFALLIPADDRESSES on both nodes that you're trying to visualize?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment