GithubHelp home page GithubHelp logo

now's Introduction

INSTALL

now script is deprecated. The current recommended method to install tsuru for test or development is tsuru installer.

Tsuru Now

Yet another script to install tsuru and its dependencies on Ubuntu or Debian distros.

These are some goals for this project:

  • It should run without interaction and deliver a working environment;
  • It shouldn't be a problem to run the script multiple times on the same machine;
  • It should work on existing machines that might already have some components installed;
  • It should allow parameters to install a single role:
    • API node
    • Docker node
    • Load balancer node
  • A web UI to automatically run it on EC2 instances

Note: This scripts works only on Debian or Ubuntu distros, isn't supported to run on CentOS/RHEL.

Running

Running the command below should already create a working tsuru environment:

curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash

Advanced Usage

With Tsuru Now, you can build your own tsuru cluster easily.

Building a cluster server

curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash -s -- --template server

Building a client connected to the server

Assume the IP address of the cluster server is 10.42.42.1

curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash -s -- --template client --private-ip 10.42.42.1

Building a docker node controlled by the server

Assume the IP address of the cluster server is 10.42.42.1

curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash -s -- --template dockerfarm --private-ip 10.42.42.1

now's People

Contributors

aitherios avatar andrewsmedina avatar beeman avatar brodock avatar cezarsa avatar elsaico avatar ervilis avatar fsouza avatar ggarnier avatar guilhermebr avatar ikkebr avatar jonaskac avatar joubertredrat avatar magnotorres avatar morpheu avatar philiptzou avatar robsonpeixoto avatar smilledge avatar tarsisazevedo avatar thiagossampaio avatar turicas avatar tuxetuxe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

now's Issues

Waiting for docker...

I'm using Ubuntu 16.04 and when I run the script I get the following:

Waiting for docker...
Waiting for docker...
Waiting for docker...
Error: Couldn't find docker port, please check /var/log/upstart/docker.log for more information
/var/log/upstart/docker.log contents:
cat: /var/log/upstart/docker.log: Arquivo ou diretório não encontrado

I'd take a look at the script and find that it's use netstat to detect the running application and in my machine docker is running, but it's not listed in netstat. Here is the output of ps:

> ~ ps ax | grep docker                                                                                                                  16:26:46
 8108 ?        Ssl    0:00 /usr/bin/dockerd -H fd://
 8115 ?        Ssl    0:00 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --shim docker-containerd-shim --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --runtime docker-runc
 9007 pts/2    S+     0:00 grep --color=auto docker

And here is the output of netstat:

> ~ sudo netstat -tnlp                                                                                                                   16:26:49
Conexões Internet Ativas (somente servidores)
Proto Recv-Q Send-Q Endereço Local          Endereço Remoto         Estado       PID/Program name
tcp        0      0 127.0.0.1:4381          0.0.0.0:*               OUÇA       2804/spotify    
tcp        0      0 127.0.0.1:4371          0.0.0.0:*               OUÇA       2804/spotify    
tcp        0      0 127.0.0.1:30900         0.0.0.0:*               OUÇA       849/core        
tcp        0      0 0.0.0.0:51413           0.0.0.0:*               OUÇA       3389/transmission-g
tcp        0      0 0.0.0.0:57621           0.0.0.0:*               OUÇA       2804/spotify    
tcp        0      0 127.0.1.1:53            0.0.0.0:*               OUÇA       1155/dnsmasq    
tcp        0      0 127.0.0.1:631           0.0.0.0:*               OUÇA       20702/cupsd     
tcp6       0      0 :::51413                :::*                    OUÇA       3389/transmission-g
tcp6       0      0 ::1:631                 :::*                    OUÇA       20702/cupsd

What I am missing?

DO install fails bash: line 411: tsuru_ppa_source: unbound variable

second attempt of running bash NOW on DO

Setting up python-keystoneclient (1:0.7.1-ubuntu1.3) ...
Setting up python-swiftclient (1:2.0.3-0ubuntu1) ...
New target default -> not found:8080 added to target list
New target is default -> not found:8080
bash: export: found:6060': not a valid identifier Adding tsurud token to ~git/.bash_profile Opening config file: /etc/tsuru/tsuru.conf Done reading config file: /etc/tsuru/tsuru.conf bash: export:found:6060': not a valid identifier
Adding tsurud host to ~git/.bash_profile
Creating initial admin user...
bash: line 411: tsuru_ppa_source: unbound variable

SSL install error

not sure if this is a false positive etc

just installing on KVM on Proxmox at OVH and gettint this during install of NOW

remote: Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
remote: Collecting Django==1.9 (from -r /home/application/current/requirements.txt (line 1))
remote: /home/application/.app_env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
remote: InsecurePlatformWarning

OVH VPS Cloud 2 install error

hi

am trying Tsuru for first time on an Openstack based VPS Cloud offered by OVH on Trusty under root

getting this error

sed: -e expression #1, char 25: unterminated `s' command

I suspect it might be breaking

function install_go {
local version=$(go version 2>/dev/null | sed "s/go version[^0-9]([0-9.]).*/\1/")

E: Unable to locate package linux-image-extra-3.16.0-4-amd64 (debian 8.2)

dragon332:~/# curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash
bash: line 233: [[: 8.2: syntax error: invalid arithmetic operator (error token is ".2")
Detect Debian 8.2 (jessie), supported system
Updating apt-get and installing basic dependencies (this could take a while)...
bash: line 242: [[: 8.2: syntax error: invalid arithmetic operator (error token is ".2")
Get:1 https://apt.dockerproject.org debian-jessie InRelease [454 B]
Ign https://apt.dockerproject.org debian-jessie InRelease                
Hit https://apt.dockerproject.org debian-jessie Release.gpg              
Hit https://apt.dockerproject.org debian-jessie Release
Hit https://apt.dockerproject.org debian-jessie/main amd64 Packages  
Ign http://debian.intergenia.de jessie InRelease
Get:2 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]
Hit http://debian.intergenia.de jessie/updates InRelease                                                                
Hit http://http.debian.net wheezy-backports InRelease                                                                   
Hit http://debian.intergenia.de jessie Release.gpg
Get:3 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Hit http://debian.intergenia.de jessie/updates/main Sources                        
Get:4 http://http.debian.net wheezy-backports/main amd64 Packages/DiffIndex [3,670 B]
Get:5 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]                  
Hit http://debian.intergenia.de jessie/updates/contrib Sources  
Get:6 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]       
Get:7 http://http.debian.net wheezy-backports/contrib amd64 Packages/DiffIndex [736 B]                    
Get:8 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]                          
Hit http://debian.intergenia.de jessie/updates/non-free Sources                        
Get:9 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]          
Get:10 http://http.debian.net wheezy-backports/non-free amd64 Packages/DiffIndex [1,012 B]                
Hit http://debian.intergenia.de jessie/updates/main amd64 Packages                                        
Get:11 http://http.debian.net wheezy-backports/contrib Translation-en/DiffIndex [1,228 B]
Get:12 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]        
Get:13 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]          
Hit http://debian.intergenia.de jessie/updates/contrib amd64 Packages                   
Get:14 http://http.debian.net wheezy-backports/main Translation-en/DiffIndex [1,504 B]
Hit http://debian.intergenia.de jessie/updates/non-free amd64 Packages                   
Get:15 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]
Ign https://apt.dockerproject.org debian-jessie/main Translation-en_US                  
Get:16 http://http.debian.net wheezy-backports/non-free Translation-en/DiffIndex [1,012 B]
Get:17 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]
Ign https://apt.dockerproject.org debian-jessie/main Translation-en
Hit http://debian.intergenia.de jessie/updates/contrib Translation-en
Hit http://debian.intergenia.de jessie/updates/main Translation-en
Hit http://debian.intergenia.de jessie/updates/non-free Translation-en
Hit http://debian.intergenia.de jessie Release 
Hit http://debian.intergenia.de jessie/main Sources
Hit http://debian.intergenia.de jessie/contrib Sources
Hit http://debian.intergenia.de jessie/non-free Sources
Hit http://debian.intergenia.de jessie/main amd64 Packages
Hit http://debian.intergenia.de jessie/contrib amd64 Packages
Hit http://debian.intergenia.de jessie/non-free amd64 Packages
Hit http://debian.intergenia.de jessie/contrib Translation-en
Hit http://debian.intergenia.de jessie/main Translation-en
Hit http://debian.intergenia.de jessie/non-free Translation-en
Fetched 9,162 B in 4s (2,040 B/s)
Reading package lists... Done
E: Unable to locate package linux-image-extra-3.16.0-4-amd64
E: Couldn't find any package by regex 'linux-image-extra-3.16.0-4-amd64'
dragon332:~/# cat /etc/debian_version 
8.2

LXD, LXC 2 install

this is a meta, a stub, should be a few issues

I am trying to install Tsuru on an Ubuntu Trusty (and Xenial) LXC containers on a Xenial physical host, including the docker profile container based images

they all fail, different messages

the Trusty LXC containers complain about aufs

will try to replicate and post useful error messages, but since Tsuru is Ubuntu oriented, you may want to investigate

thanks

Error with gandalf after now setup

I've run the script many times, fixing various steps manually. Now I'm arrived at the final step, the setup of the dashboard.

After cloning the repo in /tmp/tsuru-dashboard I get the following error with gandalf:
Error obtaining user. Gandalf database is probably in an inconsistent state. fatal: The remote end hung up unexpectedly

Some info collected to debug the problem:

tsuru app-list
+-----------------+-------------------------+------------------------------------+--------+
| Application     | Units State Summary     | Address                            | Ready? |
+-----------------+-------------------------+------------------------------------+--------+
| tsuru-dashboard | 0 of 0 units in-service | tsuru-dashboard.ukraina.openweb.it | Yes    |
+-----------------+-------------------------+------------------------------------+--------+

# tsuru platform-list
- python

root@ukraina:/tmp/tsuru-dashboard# mongo gandalf
MongoDB shell version: 2.6.3
connecting to: gandalf
> show collections
repository
system.indexes
user
> db.repository.find()
{ "_id" : "tsuru-dashboard", "users" : [ "[email protected]" ], "ispublic" : false }

root@ukraina:/tmp/tsuru-dashboard# ls -l /var/lib/gandalf/repositories/tsuru-dashboard.git/
total 20
-rw-r--r-- 1 git git   66 Jul 17 18:01 config
-rw-r--r-- 1 git git   23 Jul 16 12:50 HEAD
drwxr-xr-x 2 git git 4096 Jul 16 12:50 hooks
drwxr-xr-x 4 git git 4096 Jul 16 12:50 objects
drwxr-xr-x 4 git git 4096 Jul 16 12:50 refs

Thanks in advance for any help or suggestion to solve the problem

Error when try to install

Writing objects: 100% (10691/10691), 10.06 MiB | 0 bytes/s, done.
Total 10691 (delta 6125), reused 10686 (delta 6121)
remote: HEAD is now at 7f5b36a... travis: configure email notifications
remote: You must provide a valid Authorization header
To [email protected]:tsuru-dashboard.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:tsuru-dashboard.git'

I'm on Amazon EC2, with Ubuntu 14.04 LTS

Using these command:

curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash

Add tsuru/golang PPA automatically

I think we can add the tsuru/golang PPA automatically on this script, since the Go version on Ubuntu is not updated enough to install tsuru CLIs using go get.
We can add this line to the script:

            sudo apt-add-repository ppa:tsuru/golang -y >/dev/null 2>&1

Error installing client or dockerfarm on Ubuntu 14.10

Using "Tsuru Now" to install the docker cluster or client, I got the error:
Detect Ubuntu 14.10 (utopic), supported system
./run.bash: line 184: $1: unbound variable

I fixed it calling the function "install_basic_deps" with parameter like in "install_all" function, but do not know if it's the best solution.

Here's how: thiago@ab10cc6

tsuru-dashboard: No data received, expectying django error page

I ran the script using vagrant. Port 80 and 8080 are exposed. Connecting to tsuru-dashboard.tsuru-sample.com just spins the loading throbber in the browser until it gives up and says "No data received".

$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
30e848855dcd tsuru/tsuru-dashboard:latest /bin/bash -c '(tsuru 10 hours ago Up 22 minutes 0.0.0.0:49153->8888/tcp 01b062f0bf6e2df99895

From tsuru.conf:
listen: "0.0.0.0:8080"
admin-listen: "127.0.0.1:8888"
host: http://192.168.1.15:8080
debug: true
admin-team: admin

tsuru-sample.com shows "No Application Configured'
tsuru-dashboard.tsuru-sample.com:8080 shows "404 Not Found" which makes sense because no api commands were sent in the request

Error instaling on AWS

Reading package lists... Done
E: Unable to locate package linux-image-extra-4.4.0-1013-aws
E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1013-aws'
E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1013-aws'

use tsuru ppa to install go

Currently the script uses godeb, since we have a ppa with the golang package we should use it to install go.

Tsuru authentication fails when installing docker node

Hello,

When attempting to install with the docker node configuration, the script fails to authenticate when attempting to add the keys. Here is the log:

Detect Ubuntu 14.04 (trusty), supported system
Updating apt-get and installing basic dependencies (this could take a while)...
Ign http://archive.ubuntu.com trusty InRelease
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:3 http://security.ubuntu.com trusty-security/main Sources [133 kB]     
Hit http://archive.ubuntu.com trusty-backports InRelease
Hit http://archive.ubuntu.com trusty Release.gpg                               
Get:4 http://security.ubuntu.com trusty-security/restricted Sources [4,955 B]
Get:5 http://archive.ubuntu.com trusty-updates/main Sources [400 kB]  
Get:6 http://security.ubuntu.com trusty-security/universe Sources [59.4 kB]
Get:7 http://security.ubuntu.com trusty-security/multiverse Sources [3,200 B] 
Get:8 http://security.ubuntu.com trusty-security/main amd64 Packages [625 kB]
Get:9 http://archive.ubuntu.com trusty-updates/restricted Sources [6,331 B]
Get:10 http://archive.ubuntu.com trusty-updates/universe Sources [184 kB]      
Get:11 http://security.ubuntu.com trusty-security/restricted amd64 Packages [14.0 kB]
Get:12 http://archive.ubuntu.com trusty-updates/multiverse Sources [7,747 B]   
Get:13 http://security.ubuntu.com trusty-security/universe amd64 Packages [173 kB]
Get:14 http://archive.ubuntu.com trusty-updates/main amd64 Packages [991 kB]   
Get:15 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4,135 B]
Get:16 http://security.ubuntu.com trusty-security/main i386 Packages [581 kB]  
Get:17 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [17.1 kB]
Get:18 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [417 kB]
Get:19 http://security.ubuntu.com trusty-security/restricted i386 Packages [13.7 kB]
Get:20 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.3 kB]
Get:21 http://security.ubuntu.com trusty-security/universe i386 Packages [173 kB]
Get:22 http://archive.ubuntu.com trusty-updates/main i386 Packages [945 kB]    
Get:23 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4,290 B]
Get:24 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [16.9 kB]
Get:25 http://security.ubuntu.com trusty-security/main Translation-en [339 kB] 
Get:26 http://archive.ubuntu.com trusty-updates/universe i386 Packages [418 kB]
Get:27 http://security.ubuntu.com trusty-security/multiverse Translation-en [2,201 B]
Get:28 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [14.6 kB]
Get:29 http://security.ubuntu.com trusty-security/restricted Translation-en [3,491 B]
Get:30 http://archive.ubuntu.com trusty-updates/main Translation-en [489 kB]   
Get:31 http://security.ubuntu.com trusty-security/universe Translation-en [99.6 kB]
Get:32 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [7,430 B]
Get:33 http://archive.ubuntu.com trusty-updates/restricted Translation-en [3,978 B]
Get:34 http://archive.ubuntu.com trusty-updates/universe Translation-en [223 kB]
Hit http://archive.ubuntu.com trusty-backports/main Sources      
Hit http://archive.ubuntu.com trusty-backports/restricted Sources   
Hit http://archive.ubuntu.com trusty-backports/universe Sources
Hit http://archive.ubuntu.com trusty-backports/multiverse Sources        
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages        
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages        
Hit http://archive.ubuntu.com trusty-backports/main Translation-en             
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en       
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en       
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en         
Hit http://archive.ubuntu.com trusty Release                                   
Hit http://archive.ubuntu.com trusty/main Sources                              
Hit http://archive.ubuntu.com trusty/restricted Sources                        
Hit http://archive.ubuntu.com trusty/universe Sources                          
Hit http://archive.ubuntu.com trusty/multiverse Sources                        
Hit http://archive.ubuntu.com trusty/main amd64 Packages                       
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages                 
Hit http://archive.ubuntu.com trusty/universe amd64 Packages                   
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages                 
Hit http://archive.ubuntu.com trusty/main i386 Packages                        
Hit http://archive.ubuntu.com trusty/restricted i386 Packages                  
Hit http://archive.ubuntu.com trusty/universe i386 Packages                    
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages                  
Hit http://archive.ubuntu.com trusty/main Translation-en                       
Hit http://archive.ubuntu.com trusty/multiverse Translation-en                 
Hit http://archive.ubuntu.com trusty/restricted Translation-en                 
Hit http://archive.ubuntu.com trusty/universe Translation-en                   
Ign http://archive.ubuntu.com trusty/main Translation-en_US                    
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US              
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US              
Ign http://archive.ubuntu.com trusty/universe Translation-en_US                
Fetched 6,518 kB in 12s (514 kB/s)                                             
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
apt-transport-https is already the newest version.
curl is already the newest version.
The following extra packages will be installed:
  git-man liberror-perl mercurial-common python-bzrlib python-configobj
  python3-pycurl python3-software-properties
Suggested packages:
  bzr-doc bzrtools python-bzrlib.tests git-daemon-run git-daemon-sysvinit
  git-doc git-el git-email git-gui gitk gitweb git-arch git-bzr git-cvs
  git-mediawiki git-svn qct vim emacs kdiff3 kdiff3-qt kompare meld tkcvs
  mgdiff python-mysqldb python-pygments python-openssl python-bzrlib-dbg
  python-kerberos python-pycurl xdg-utils libcurl4-gnutls-dev
  python3-pycurl-dbg iselect screenie byobu
Recommended packages:
  python-gpgme patch wish python-launchpadlib python-paramiko
The following NEW packages will be installed:
  bzr git git-man jq liberror-perl mercurial mercurial-common python-bzrlib
  python-configobj python3-pycurl python3-software-properties screen
  software-properties-common
0 upgraded, 13 newly installed, 0 to remove and 20 not upgraded.
Need to get 7,298 kB of archives.
After this operation, 42.2 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main python-configobj all 4.7.2+ds-5build1 [174 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-bzrlib amd64 2.6.0+bzr6593-1ubuntu1.5 [1,345 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main bzr all 2.6.0+bzr6593-1ubuntu1.5 [37.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.5 [699 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.5 [2,641 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty/universe jq amd64 1.3-1.1ubuntu1 [97.8 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mercurial-common all 2.8.2-1ubuntu1.3 [1,520 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mercurial amd64 2.8.2-1ubuntu1.3 [41.1 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty/main python3-pycurl amd64 7.19.3-0ubuntu3 [47.5 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-software-properties all 0.92.37.8 [19.2 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty/main screen amd64 4.1.0~20120320gitdb59704-9 [646 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ trusty-updates/main software-properties-common all 0.92.37.8 [9,384 B]
Fetched 7,298 kB in 3s (2,169 kB/s)                
Selecting previously unselected package python-configobj.
(Reading database ... 51883 files and directories currently installed.)
Preparing to unpack .../python-configobj_4.7.2+ds-5build1_all.deb ...
Unpacking python-configobj (4.7.2+ds-5build1) ...
Selecting previously unselected package python-bzrlib.
Preparing to unpack .../python-bzrlib_2.6.0+bzr6593-1ubuntu1.5_amd64.deb ...
Unpacking python-bzrlib (2.6.0+bzr6593-1ubuntu1.5) ...
Selecting previously unselected package bzr.
Preparing to unpack .../bzr_2.6.0+bzr6593-1ubuntu1.5_all.deb ...
Unpacking bzr (2.6.0+bzr6593-1ubuntu1.5) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.5_all.deb ...
Unpacking git-man (1:1.9.1-1ubuntu0.5) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.5_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.5) ...
Selecting previously unselected package jq.
Preparing to unpack .../jq_1.3-1.1ubuntu1_amd64.deb ...
Unpacking jq (1.3-1.1ubuntu1) ...
Selecting previously unselected package mercurial-common.
Preparing to unpack .../mercurial-common_2.8.2-1ubuntu1.3_all.deb ...
Unpacking mercurial-common (2.8.2-1ubuntu1.3) ...
Selecting previously unselected package mercurial.
Preparing to unpack .../mercurial_2.8.2-1ubuntu1.3_amd64.deb ...
Unpacking mercurial (2.8.2-1ubuntu1.3) ...
Selecting previously unselected package python3-pycurl.
Preparing to unpack .../python3-pycurl_7.19.3-0ubuntu3_amd64.deb ...
Unpacking python3-pycurl (7.19.3-0ubuntu3) ...
Selecting previously unselected package python3-software-properties.
Preparing to unpack .../python3-software-properties_0.92.37.8_all.deb ...
Unpacking python3-software-properties (0.92.37.8) ...
Selecting previously unselected package screen.
Preparing to unpack .../screen_4.1.0~20120320gitdb59704-9_amd64.deb ...
Unpacking screen (4.1.0~20120320gitdb59704-9) ...
Selecting previously unselected package software-properties-common.
Preparing to unpack .../software-properties-common_0.92.37.8_all.deb ...
Unpacking software-properties-common (0.92.37.8) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up python-configobj (4.7.2+ds-5build1) ...
Setting up python-bzrlib (2.6.0+bzr6593-1ubuntu1.5) ...
Setting up bzr (2.6.0+bzr6593-1ubuntu1.5) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.5) ...
Setting up git (1:1.9.1-1ubuntu0.5) ...
Setting up jq (1.3-1.1ubuntu1) ...
Setting up mercurial-common (2.8.2-1ubuntu1.3) ...
Setting up mercurial (2.8.2-1ubuntu1.3) ...

Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
Setting up python3-pycurl (7.19.3-0ubuntu3) ...
Setting up python3-software-properties (0.92.37.8) ...
Setting up screen (4.1.0~20120320gitdb59704-9) ...
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match screen-cleanup Default-Start values (S)
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match screen-cleanup Default-Stop values (none)
Setting up software-properties-common (0.92.37.8) ...
Processing triggers for ureadahead (0.100.0-16) ...
Detected operating system as Ubuntu/trusty.
Checking for curl...
Detected curl...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/tsuru_stable.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.

The repository is setup! You can now install packages.
Hit http://security.ubuntu.com trusty-security InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://security.ubuntu.com trusty-security/main Sources            
Hit http://archive.ubuntu.com trusty-backports InRelease       
Hit http://security.ubuntu.com trusty-security/restricted Sources        
Hit http://archive.ubuntu.com trusty Release.gpg
Hit https://packagecloud.io trusty InRelease    
Hit http://security.ubuntu.com trusty-security/universe Sources          
Hit https://packagecloud.io trusty/main Sources                  
Hit http://archive.ubuntu.com trusty-updates/main Sources     
Hit https://packagecloud.io trusty/main amd64 Packages             
Hit https://packagecloud.io trusty/main i386 Packages              
Get:1 https://packagecloud.io trusty/main Translation-en_US        
Ign https://packagecloud.io trusty/main Translation-en_US                      
Ign https://packagecloud.io trusty/main Translation-en                         
Hit http://security.ubuntu.com trusty-security/multiverse Sources  
Hit http://archive.ubuntu.com trusty-updates/restricted Sources    
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe Sources       
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse Sources   
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages    
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://archive.ubuntu.com trusty-updates/main i386 Packages     
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe i386 Packages       
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en  
Hit http://archive.ubuntu.com trusty-updates/multiverse i386 Packages    
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/main Translation-en         
Hit http://security.ubuntu.com trusty-security/universe Translation-en    
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en    
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://archive.ubuntu.com trusty-backports/main Sources
Hit http://archive.ubuntu.com trusty-backports/restricted Sources
Hit http://archive.ubuntu.com trusty-backports/universe Sources
Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://archive.ubuntu.com trusty Release      
Hit http://archive.ubuntu.com trusty/main Sources                              
Hit http://archive.ubuntu.com trusty/restricted Sources                        
Hit http://archive.ubuntu.com trusty/universe Sources                          
Hit http://archive.ubuntu.com trusty/multiverse Sources                        
Hit http://archive.ubuntu.com trusty/main amd64 Packages                       
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages                 
Hit http://archive.ubuntu.com trusty/universe amd64 Packages                   
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages                 
Hit http://archive.ubuntu.com trusty/main i386 Packages                        
Hit http://archive.ubuntu.com trusty/restricted i386 Packages                  
Hit http://archive.ubuntu.com trusty/universe i386 Packages                    
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages                  
Hit http://archive.ubuntu.com trusty/main Translation-en                       
Hit http://archive.ubuntu.com trusty/multiverse Translation-en                 
Hit http://archive.ubuntu.com trusty/restricted Translation-en                 
Hit http://archive.ubuntu.com trusty/universe Translation-en                   
Ign http://archive.ubuntu.com trusty/main Translation-en_US                    
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US              
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US              
Ign http://archive.ubuntu.com trusty/universe Translation-en_US                
Reading package lists... Done                                                  
Chosen host ip: <local ip>. You can override with --host-ip <external ip>
<local ip> <local ip>.nip.io
Chosen host name: <local ip>.nip.io. You can override with --host-name <hostname>
bash: line 259: docker: command not found
Installing docker...
apparmor is enabled in the kernel and apparmor utils were already installed
+ sh -c sleep 3; apt-get update
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Ign http://archive.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://security.ubuntu.com trusty-security/universe Sources          
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://archive.ubuntu.com trusty-backports InRelease          
Hit http://security.ubuntu.com trusty-security/main amd64 Packages       
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty Release.gpg                    
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/main Sources
Hit http://security.ubuntu.com trusty-security/main i386 Packages   
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted Sources    
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit https://packagecloud.io trusty InRelease                        
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages        
Hit https://packagecloud.io trusty/main Sources                     
Hit http://archive.ubuntu.com trusty-updates/universe Sources       
Hit http://security.ubuntu.com trusty-security/main Translation-en  
Hit https://packagecloud.io trusty/main amd64 Packages              
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en  
Hit http://archive.ubuntu.com trusty-updates/multiverse Sources           
Hit https://packagecloud.io trusty/main i386 Packages
Get:1 https://packagecloud.io trusty/main Translation-en_US               
Ign https://packagecloud.io trusty/main Translation-en_US                      
Ign https://packagecloud.io trusty/main Translation-en                         
Hit http://security.ubuntu.com trusty-security/restricted Translation-en  
Hit http://security.ubuntu.com trusty-security/universe Translation-en    
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://archive.ubuntu.com trusty-backports/main Sources
Hit http://archive.ubuntu.com trusty-backports/restricted Sources
Hit http://archive.ubuntu.com trusty-backports/universe Sources
Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://archive.ubuntu.com trusty Release      
Hit http://archive.ubuntu.com trusty/main Sources                              
Hit http://archive.ubuntu.com trusty/restricted Sources                        
Hit http://archive.ubuntu.com trusty/universe Sources                          
Hit http://archive.ubuntu.com trusty/multiverse Sources                        
Hit http://archive.ubuntu.com trusty/main amd64 Packages                       
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages                 
Hit http://archive.ubuntu.com trusty/universe amd64 Packages                   
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages                 
Hit http://archive.ubuntu.com trusty/main i386 Packages                        
Hit http://archive.ubuntu.com trusty/restricted i386 Packages                  
Hit http://archive.ubuntu.com trusty/universe i386 Packages                    
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages                  
Hit http://archive.ubuntu.com trusty/main Translation-en                       
Hit http://archive.ubuntu.com trusty/multiverse Translation-en                 
Hit http://archive.ubuntu.com trusty/restricted Translation-en                 
Hit http://archive.ubuntu.com trusty/universe Translation-en                   
Ign http://archive.ubuntu.com trusty/main Translation-en_US                    
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US              
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US              
Ign http://archive.ubuntu.com trusty/universe Translation-en_US                
Reading package lists... Done                                                  
+ sh -c sleep 3; apt-get install -y -q dirmngr
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libassuan0 libksba8 libpth20
The following NEW packages will be installed:
  dirmngr libassuan0 libksba8 libpth20
0 upgraded, 4 newly installed, 0 to remove and 20 not upgraded.
Need to get 395 kB of archives.
After this operation, 1,125 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libassuan0 amd64 2.1.1-1ubuntu1 [29.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libksba8 amd64 1.3.0-3ubuntu0.14.04.2 [89.2 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main libpth20 amd64 2.0.7-19ubuntu1 [43.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/universe dirmngr amd64 1.1.1-1.1 [233 kB]
Fetched 395 kB in 1s (304 kB/s)
Selecting previously unselected package libassuan0:amd64.
(Reading database ... 53626 files and directories currently installed.)
Preparing to unpack .../libassuan0_2.1.1-1ubuntu1_amd64.deb ...
Unpacking libassuan0:amd64 (2.1.1-1ubuntu1) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../libksba8_1.3.0-3ubuntu0.14.04.2_amd64.deb ...
Unpacking libksba8:amd64 (1.3.0-3ubuntu0.14.04.2) ...
Selecting previously unselected package libpth20:amd64.
Preparing to unpack .../libpth20_2.0.7-19ubuntu1_amd64.deb ...
Unpacking libpth20:amd64 (2.0.7-19ubuntu1) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../dirmngr_1.1.1-1.1_amd64.deb ...
Unpacking dirmngr (1.1.1-1.1) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libassuan0:amd64 (2.1.1-1ubuntu1) ...
Setting up libksba8:amd64 (1.3.0-3ubuntu0.14.04.2) ...
Setting up libpth20:amd64 (2.0.7-19ubuntu1) ...
Setting up dirmngr (1.1.1-1.1) ...
 * Starting DirMngr dirmngr                                                                                [ OK ] 
Processing triggers for libc-bin (2.19-0ubuntu6.11) ...
Processing triggers for ureadahead (0.100.0-16) ...
+ sh -c apt-key add -
+ echo -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1

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
EJOQTvBR8Q==
=Yhur
-----END PGP PUBLIC KEY BLOCK-----

OK
+ sh -c mkdir -p /etc/apt/sources.list.d
+ dpkg --print-architecture
+ sh -c echo deb \[arch=amd64\] https://apt.dockerproject.org/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Ign http://archive.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://security.ubuntu.com trusty-security/main Sources            
Hit http://archive.ubuntu.com trusty-backports InRelease       
Hit http://security.ubuntu.com trusty-security/restricted Sources        
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-updates/main Sources        
Hit http://security.ubuntu.com trusty-security/multiverse Sources  
Hit http://archive.ubuntu.com trusty-updates/restricted Sources
Hit https://packagecloud.io trusty InRelease    
Hit https://packagecloud.io trusty/main Sources                          
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit https://packagecloud.io trusty/main amd64 Packages              
Hit http://archive.ubuntu.com trusty-updates/universe Sources       
Hit https://packagecloud.io trusty/main i386 Packages               
Get:1 https://packagecloud.io trusty/main Translation-en_US         
Ign https://packagecloud.io trusty/main Translation-en_US                      
Ign https://packagecloud.io trusty/main Translation-en                         
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse Sources     
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages  
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages  
Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages        
Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Get:2 https://apt.dockerproject.org ubuntu-trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages  
Hit http://archive.ubuntu.com trusty-updates/main i386 Packages     
Get:3 https://apt.dockerproject.org ubuntu-trusty/main Translation-en_US
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages        
Hit http://archive.ubuntu.com trusty-updates/restricted i386 Packages          
Hit http://archive.ubuntu.com trusty-updates/universe i386 Packages 
Hit http://security.ubuntu.com trusty-security/main Translation-en  
Hit http://archive.ubuntu.com trusty-updates/multiverse i386 Packages     
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en  
Hit http://archive.ubuntu.com trusty-updates/main Translation-en         
Hit http://security.ubuntu.com trusty-security/restricted Translation-en  
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en    
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en_US
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/main Sources
Hit http://archive.ubuntu.com trusty-backports/restricted Sources
Hit http://archive.ubuntu.com trusty-backports/universe Sources
Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://archive.ubuntu.com trusty Release      
Hit http://archive.ubuntu.com trusty/main Sources                              
Hit http://archive.ubuntu.com trusty/restricted Sources                        
Hit http://archive.ubuntu.com trusty/universe Sources                          
Hit http://archive.ubuntu.com trusty/multiverse Sources                        
Hit http://archive.ubuntu.com trusty/main amd64 Packages                       
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages                 
Hit http://archive.ubuntu.com trusty/universe amd64 Packages                   
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages                 
Hit http://archive.ubuntu.com trusty/main i386 Packages                        
Hit http://archive.ubuntu.com trusty/restricted i386 Packages                  
Hit http://archive.ubuntu.com trusty/universe i386 Packages                    
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages                  
Hit http://archive.ubuntu.com trusty/main Translation-en                       
Hit http://archive.ubuntu.com trusty/multiverse Translation-en                 
Hit http://archive.ubuntu.com trusty/restricted Translation-en                 
Hit http://archive.ubuntu.com trusty/universe Translation-en                   
Ign http://archive.ubuntu.com trusty/main Translation-en_US                    
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US              
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US              
Ign http://archive.ubuntu.com trusty/universe Translation-en_US                
Fetched 55.7 kB in 11s (4,755 B/s)                                             
Reading package lists... Done
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libltdl7 libsystemd-journal0
Recommended packages:
  aufs-tools cgroupfs-mount cgroup-lite
The following NEW packages will be installed:
  docker-engine libltdl7 libsystemd-journal0
0 upgraded, 3 newly installed, 0 to remove and 20 not upgraded.
Need to get 19.3 MB of archives.
After this operation, 93.0 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libltdl7 amd64 2.4.2-1.7ubuntu1 [35.0 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libsystemd-journal0 amd64 204-5ubuntu20.24 [51.0 kB]
Fetched 19.3 MB in 2min 37s (122 kB/s)
Selecting previously unselected package libltdl7:amd64.
(Reading database ... 53735 files and directories currently installed.)
Preparing to unpack .../libltdl7_2.4.2-1.7ubuntu1_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Selecting previously unselected package libsystemd-journal0:amd64.
Preparing to unpack .../libsystemd-journal0_204-5ubuntu20.24_amd64.deb ...
Unpacking libsystemd-journal0:amd64 (204-5ubuntu20.24) ...
Selecting previously unselected package docker-engine.
Preparing to unpack .../docker-engine_17.05.0~ce-0~ubuntu-trusty_amd64.deb ...
Unpacking docker-engine (17.05.0~ce-0~ubuntu-trusty) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Setting up libsystemd-journal0:amd64 (204-5ubuntu20.24) ...
Setting up docker-engine (17.05.0~ce-0~ubuntu-trusty) ...
docker start/running, process 4702
Processing triggers for libc-bin (2.19-0ubuntu6.11) ...
Processing triggers for ureadahead (0.100.0-16) ...
+ sh -c docker version
Client:
 Version:      17.05.0-ce
 API version:  1.29
 Go version:   go1.7.5
 Git commit:   89658be
 Built:        Thu May  4 22:06:06 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.05.0-ce
 API version:  1.29 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   89658be
 Built:        Thu May  4 22:06:06 2017
 OS/Arch:      linux/amd64
 Experimental: false

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!

WARNING: Adding a user to the "docker" group will grant the ability to run
         containers which can be used to obtain root privileges on the
         docker host.
         Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
         for more information.

Changing /etc/default/docker to listen on tcp://127.0.0.1:2375...
docker stop/waiting
docker start/running, process 4853
docker found running at <local ip>:2375
Adding DOCKER_HOST to ~/.bashrc
Installing Tsuru client from deb package...
Selecting previously unselected package tsuru-client.
(Reading database ... 53955 files and directories currently installed.)
Preparing to unpack .../tsuru-client_1.2.0_amd64.deb ...
Unpacking tsuru-client (1.2.0) ...
Setting up tsuru-client (1.2.0) ...
New target default -> <cluster ip>:8080 added to target list
New target is default -> <cluster ip>:8080
grep: /root/.ssh/config: No such file or directory
Error: you're not authenticated or your session has expired.
Calling the "login" command...
Email: Password: Error: You must provide the password!
Error: you're not authenticated or your session has expired.
Calling the "login" command...
Email: Password: Error: You must provide the password!
Error: you're not authenticated or your session has expired.
Calling the "login" command...
<above lines repeated forever>

Running on a clean Vultr server using Ubuntu 14.04 x64.

For now, I am using this workaround:

curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash -s -- --template tsuru_client
yes "<password>" | tsuru login <username>
curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash -s -- --template dockerfarm --private-ip <cluster ip>

Am I doing something wrong?

Thanks!

bash: line 456: private_ip: unbound variable

On running 'curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash -s -- --template server' the following error is returned before the script is fully executed:

Successfully installed python-swiftclient python-keystoneclient futures iso8601 stevedore oslo.utils pbr Babel netaddr oslo.serialization oslo.i18n oslo.config pytz debtcollector netifaces monotonic msgpack-python wrapt
Cleaning up...
bash: line 456: private_ip: unbound variable

This issue seems to stem from commit: 19cde8f

Error: cannot stat ‘/usr/share/doc/gandalf-server/examples/git-daemon.default.example’

I git cloned the latest master and ran vagrant up and it did a bunch of stuff but eventually failed with:

==> default: Preparing to unpack .../gandalf-server_0.5.0-0~trusty1_amd64.deb ...
==> default: Unpacking gandalf-server (0.5.0-0~trusty1) ...
==> default: Processing triggers for ureadahead (0.100.0-16) ...
==> default: Setting up gandalf-server (0.5.0-0~trusty1) ...
==> default: Creating user "git" within group "git"...
==> default: Processing triggers for ureadahead (0.100.0-16) ...
==> default: gandalf-server start/running, process 10747
==> default: gandalf found running at 127.0.0.1:8000
==> default: cp:
==> default: cannot stat ‘/usr/share/doc/gandalf-server/examples/git-daemon.default.example’
==> default: : No such file or directory
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

There is no /usr/share/doc/gandalf directory in the VM. And that file is not in the package that gets installed:

vagrant@vagrant-ubuntu-trusty-64:/usr/share/doc$ dpkg -L gandalf-server
/.
/usr
/usr/bin
/usr/bin/gandalf-server
/usr/bin/gandalf-ssh
/etc
/etc/init
/etc/init/gandalf-server.conf
/etc/init/git-daemon.conf
/etc/gandalf.conf
/var
/var/lib
/var/lib/gandalf
/var/lib/gandalf/repositories

gandalf-server does appear to already be running though.

The error is coming from https://github.com/tsuru/now/blob/master/run.bash#L336

Unable to install on a OpenVZ machine

I'm trying to install Tsuru on a Dacentec VPS, but it fails trying to install the package linux-image-extra:

E: Unable to locate package linux-image-extra-2.6.32-042stab108.8
E: Couldn't find any package by regex 'linux-image-extra-2.6.32-042stab108.8'

Any ideas how can I get past this step?

Unable to install on Ubuntu 15.10

Hi,

When installing I'm running into this erros, any clues ?

$ curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash
Detect Ubuntu 15.10 (wily), supported system
Updating apt-get and installing basic dependencies (this could take a while)...
Hit http://ubuntu.bhs.mirrors.ovh.net wily InRelease
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates InRelease
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports InRelease
Hit http://ubuntu.bhs.mirrors.ovh.net wily/main Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily/restricted Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily/universe Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily/multiverse Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily/main amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily/restricted amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily/universe amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily/multiverse amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily/main i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily/restricted i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily/universe i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily/multiverse i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily/main Translation-en
Hit http://ubuntu.bhs.mirrors.ovh.net wily/main Translation-en_GB
Hit http://ubuntu.bhs.mirrors.ovh.net wily/multiverse Translation-en
Hit http://ubuntu.bhs.mirrors.ovh.net wily/multiverse Translation-en_GB
Hit http://ubuntu.bhs.mirrors.ovh.net wily/restricted Translation-en
Hit http://ubuntu.bhs.mirrors.ovh.net wily/restricted Translation-en_GB
Hit http://ubuntu.bhs.mirrors.ovh.net wily/universe Translation-en
Hit http://ubuntu.bhs.mirrors.ovh.net wily/universe Translation-en_GB
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/main Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/restricted Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/universe Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/multiverse Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/main amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/restricted amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/universe amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/multiverse amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/main i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/restricted i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/universe i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/multiverse i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/main Translation-en
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/multiverse Translation-en
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/restricted Translation-en
Hit http://ubuntu.bhs.mirrors.ovh.net wily-updates/universe Translation-en
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/main Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/restricted Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/universe Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/multiverse Sources
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/main amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/restricted amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/universe amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/multiverse amd64 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/main i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/restricted i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/universe i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/multiverse i386 Packages
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/main Translation-en
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/multiverse Translation-en
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/restricted Translation-en
Hit http://ubuntu.bhs.mirrors.ovh.net wily-backports/universe Translation-en
Hit http://security.ubuntu.com wily-security InRelease
Hit http://security.ubuntu.com wily-security/main Sources
Hit http://security.ubuntu.com wily-security/restricted Sources
Hit http://security.ubuntu.com wily-security/universe Sources
Hit http://security.ubuntu.com wily-security/multiverse Sources
Hit http://security.ubuntu.com wily-security/main amd64 Packages
Hit http://security.ubuntu.com wily-security/restricted amd64 Packages
Hit http://security.ubuntu.com wily-security/universe amd64 Packages
Hit http://security.ubuntu.com wily-security/multiverse amd64 Packages
Hit http://security.ubuntu.com wily-security/main i386 Packages
Hit http://security.ubuntu.com wily-security/restricted i386 Packages
Hit http://security.ubuntu.com wily-security/universe i386 Packages
Hit http://security.ubuntu.com wily-security/multiverse i386 Packages
Hit http://security.ubuntu.com wily-security/main Translation-en
Hit http://security.ubuntu.com wily-security/multiverse Translation-en
Hit http://security.ubuntu.com wily-security/restricted Translation-en
Hit http://security.ubuntu.com wily-security/universe Translation-en
Reading package lists... Done
E: Unable to locate package linux-image-extra-3.14.32-xxxx-grs-ipv6-64
E: Couldn't find any package by regex 'linux-image-extra-3.14.32-xxxx-grs-ipv6-64'

Erro ao tentar instalar o tsusu/now

Senhores, instalei o tsuru outras vezes com sucesso. Porém agora não estou conseguindo de forma alguma. Tentei via vagrand, now e seguindo todos os passos. Todos sem sucesso.

O principal erro é quando o script vai fazer o push da aplicação tsuru-dashboard e é rejeitado.

Estou suspeitando que esse erro esteja acontecendo depois da atualizaçao do docker para versão 1.12. Alguém pode me ajudar por favor?

Segue informações do erro e no final as informações do meu ambiente.

Mensagem de erro:

root@docker-server2:~/tsuru-dashboard# git push tsuru master
Counting objects: 12080, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4272/4272), done.
Writing objects: 100% (12080/12080), 13.02 MiB | 0 bytes/s, done.
Total 12080 (delta 7082), reused 12080 (delta 7082)
remote: HEAD is now at d9e51e7... bump to 0.4.0-rc1
remote: Error in scheduler after previous errors (unable to start node containers: multiple errors: [node containers] failed to create container in http://127.0.0.1:2375 [pierpool]: API error (400): {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}
remote: ) trying to create container: error in scheduler: No nodes found with one of the following metadata: pool=pierpool
To [email protected]:tsuru-dashboard.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:tsuru-dashboard.git'

Ambiente

Servidor: Ubuntu Server 14.04
Comando executado: curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash

Docker does not start if --host-ip is not specified

Hi, folks,

I've tried to run this script without the option --host-ip and have a problem: docker does not start.

If --host-ip option is not specified it sets the docker configuration on /etc/default/docker to use not found:5000 as the registry address, which obviously does not work, so docker doesn't start. I think in this case (if not specified/not found) we just need to force host_ip as 127.0.0.1 or actually force only the registry URL.

docker: use lxc instead native driver

docker 0.11 + ubuntu 14.04 causes issue moby/moby#5663 to happen if docker is running with libcontainer.

A way to fix it is to use lxc.

To do it is needed to add "-e lxc" in DOCKER_OPS environ and install lxc package.

Unable to install on Debian 8.10

Hello,

When I'm try install Tsuru Now, appear these error:

$ curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash
Detect Debian 8.10 (jessie), supported system
Updating apt-get and installing basic dependencies (this could take a while)...
Hit https://apt.dockerproject.org debian-jessie InRelease
Get:1 https://apt.datadoghq.com stable InRelease [313 B]                                        
Ign https://apt.datadoghq.com stable InRelease                                                  
Hit https://apt.datadoghq.com stable Release.gpg                                                                                           
Hit https://apt.datadoghq.com stable Release                                                                                               
Hit http://security.debian.org jessie/updates InRelease                                                                                    
Hit https://apt.dockerproject.org debian-jessie/main amd64 Packages                                                                        
Hit https://apt.datadoghq.com stable/main amd64 Packages                           
Get:2 https://apt.datadoghq.com stable/main Translation-en_US [313 B]
Get:3 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]                       
Get:4 https://apt.datadoghq.com stable/main Translation-en [313 B]                    
Get:5 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]         
Get:6 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]  
Get:7 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]        
Get:8 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]      
Get:9 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]            
Get:10 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]        
Get:11 https://apt.datadoghq.com stable/main Translation-en_US [313 B]
Get:12 https://apt.datadoghq.com stable/main Translation-en [313 B]                
Get:13 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]     
Get:14 https://apt.datadoghq.com stable/main Translation-en_US [313 B]          
Get:15 https://apt.dockerproject.org debian-jessie/main Translation-en_US [454 B]  
Ign https://apt.dockerproject.org debian-jessie/main Translation-en_US             
Get:16 https://apt.datadoghq.com stable/main Translation-en [313 B]                
Get:17 https://apt.datadoghq.com stable/main Translation-en_US [313 B]          
Get:18 https://apt.datadoghq.com stable/main Translation-en [313 B]                
Get:19 https://apt.dockerproject.org debian-jessie/main Translation-en [454 B]     
Ign https://apt.dockerproject.org debian-jessie/main Translation-en                                              
Get:20 https://apt.datadoghq.com stable/main Translation-en_US [313 B]                                           
Ign https://apt.datadoghq.com stable/main Translation-en_US                        
Get:21 https://apt.datadoghq.com stable/main Translation-en [313 B]                
Ign https://apt.datadoghq.com stable/main Translation-en                        
Hit http://security.debian.org jessie/updates/main Sources                      
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Ign http://mirrors.digitalocean.com jessie InRelease           
Hit http://mirrors.digitalocean.com jessie-updates InRelease
Hit http://mirrors.digitalocean.com jessie Release.gpg
Hit https://packagecloud.io jessie InRelease
Hit http://mirrors.digitalocean.com jessie-updates/main Sources
Hit https://packagecloud.io jessie/main Sources
Hit https://packagecloud.io jessie/main amd64 Packages
Get:22 http://mirrors.digitalocean.com jessie-updates/main amd64 Packages/DiffIndex [10.9 kB]
Get:23 https://packagecloud.io jessie/main Translation-en_US [162 B]       
Get:24 https://packagecloud.io jessie/main Translation-en [162 B]
Get:25 https://packagecloud.io jessie/main Translation-en_US [162 B]
Get:26 http://mirrors.digitalocean.com jessie-updates/main Translation-en/DiffIndex [3,688 B]
Get:27 https://packagecloud.io jessie/main Translation-en [162 B]
Get:28 https://packagecloud.io jessie/main Translation-en_US [162 B]
Get:29 https://packagecloud.io jessie/main Translation-en [162 B]
Hit http://mirrors.digitalocean.com jessie Release            
Get:30 https://packagecloud.io jessie/main Translation-en_US [162 B]
Get:31 https://packagecloud.io jessie/main Translation-en [162 B]
Get:32 https://packagecloud.io jessie/main Translation-en_US [162 B]
Ign https://packagecloud.io jessie/main Translation-en_US     
Get:33 https://packagecloud.io jessie/main Translation-en [162 B]
Ign https://packagecloud.io jessie/main Translation-en     
Hit http://mirrors.digitalocean.com jessie/main Sources    
Hit http://mirrors.digitalocean.com jessie/main amd64 Packages
Hit http://mirrors.digitalocean.com jessie/main Translation-en
Fetched 14.5 kB in 4s (3,612 B/s)
Reading package lists... Done
E: Unable to locate package linux-image-extra-3.16.0-5-amd64
E: Couldn't find any package by regex 'linux-image-extra-3.16.0-5-amd64'

How to fix this?

Automatic installation on CentOS

At this moment this script focusses on an Ubuntu installation.

I'd love to use tsuru at work but there we're using RPM/Yum based servers.

Should this script support a Yum-based installation too and if so, how would that be best implemented, a separate script of embedded in the current run.bash? Or are there any auto-install scripts that work on CentOS that I have missed?

I'm ready to start working on implementing this and it is probably better with your input. :)

sed: -e expression #1, char 25: unterminated `s' command

Hi guys,

When I try to install using script, fails with this error, anyone know a solution for this? I'm using defualt ubuntu 14.04 server LTS cloud image on Openstack.

v1: Pulling from tsuru/planb
8a648f689ddb: Pull complete 
72e508b738d2: Pull complete 
f052e32284b0: Pull complete 
Digest: sha256:3c3403d43061ea750a1dea2983014c6e295191cfcf0954192fd0060d980d5f51
Status: Downloaded newer image for tsuru/planb:v1
a52ff2d7fb6d250fd35e1c0569b2f84b57286d378fcdb414d25f8296a29fea0c
sudo: unable to resolve host ts1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  gandalf-server
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 2,051 kB of archives.
After this operation, 12.4 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/tsuru/ppa/ubuntu/ trusty/main gandalf-server amd64 0.7.3-1~trusty1 [2,051 kB]
Fetched 2,051 kB in 3s (603 kB/s)                  
Selecting previously unselected package gandalf-server.
(Reading database ... 73851 files and directories currently installed.)
Preparing to unpack .../gandalf-server_0.7.3-1~trusty1_amd64.deb ...
Unpacking gandalf-server (0.7.3-1~trusty1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up gandalf-server (0.7.3-1~trusty1) ...
Creating user "git" within group "git"...
Processing triggers for ureadahead (0.100.0-16) ...
sed: -e expression #1, char 25: unterminated `s' command

Failed in a newly formatted Mac with Yosemite

Hi guys, I'm getting this error when running the install command. Take a look:

➜  ~  curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash
bash: line 35: wheezy: unbound variable

function_public_ip not work with spanish locale

Hi

if the locale of the server is spanish the script run.bash exit because not find any suitable ip

When you have es_ES.UTF-8 the command return diferents results than en_US.UTF-8, so if you grep for "inet addr"

root@tsurudev:~# /sbin/ifconfig | grep -A1 eth
eth0 Link encap:Ethernet direcciónHW f6:fd:d0:83:18:5f
Direc. inet:172.16.70.100 Difus.:172.16.70.255 Másc:255.255.255.0

you could change ifconfig with ip addr that return the same on english that on spanish

ip=$(/sbin/ip addr | grep -A1 eth | grep "inet" | tail -n1 | sed "s/[^0-9]([0-9.]).*/\1/")

Install not working on Xenial

curl -sL https://raw.githubusercontent.com/tsuru/now/master/run.bash | bash
...
..
Err:3 http://ppa.launchpad.net/tsuru/ppa/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:4 http://ppa.launchpad.net/tsuru/ppa/ubuntu xenial/main all Packages
Ign:5 http://ppa.launchpad.net/tsuru/ppa/ubuntu xenial/main Translation-en
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/tsuru/ppa/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/tsuru/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead

Needs some repos?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.