tsuru / now

Yet another script to install Tsuru and its dependencies.
BSD 3-Clause "New" or "Revised" License
89 stars 53 forks source link

Tsuru authentication fails when installing docker node #63

Closed NathanFlurry closed 7 years ago

NathanFlurry commented 7 years ago

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

mQINBFWln24BEADrBl5p99uKh8+rpvqJ48u4eTtjeXAWbslJotmC/CakbNSqOb9o
ddfzRvGVeJVERt/Q/mlvEqgnyTQy+e6oEYN2Y2kqXceUhXagThnqCoxcEJ3+KM4R
mYdoe/BJ/J/6rHOjq7Omk24z2qB3RU1uAv57iY5VGw5p45uZB4C4pNNsBJXoCvPn
TGAs/7IrekFZDDgVraPx/hd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vnbk4NtKdnTGyTJCQ8+6i52s+C54PiNgfj2ieNn
6oOR7d+bNCcG1CdOYY+ZXVOcsjl73UYvtJrO0Rl/NpYERkZ5d/tzw4jZ6FCXgggA
/Zxcjk6Y1ZvIm8Mt8wLRFH9Nww+FVsCtaCXJLP8DlJLASMD9rl5QS9Ku3u7ZNrr5
HWXPHXITX660jglyshch6CWeiUATqjIAzkEQom/kEnOrvJAtkypRJ59vYQOedZ1s
FVELMXg2UCkD/FwojfnVtjzYaTCeGwFQeqzHmM241iuOmBYPeyTY5veF49aBJA1g
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!

arxdsilva commented 7 years ago

Hi @NathanFlurry, thanks for reporting this! We'll be deprecating this project soon in favor of Tsuru Installer that is located in our tsuru-client project. So It would be more helpful If you could give It a try and in case of any other problems report It to us.

Just mentioned this in https://github.com/tsuru/now/commit/c2d34fa2b0cc54ce386d62f5018cc7cab05f2c70