tsuru / now

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

OVH VPS Cloud 2 install error #34

Open devekko opened 8 years ago

devekko commented 8 years ago

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 installgo { local version=$(go version 2>/dev/null | sed "s/go version[^0-9]([0-9.]_).*/\1/")

devekko commented 8 years ago

tried again

13 wget https://raw.githubusercontent.com/tsuru/now/master/run.bash 14 chmod +x run.bash 15 ./run.bash

same error gandalf-server is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. sed: -e expression #1, char 25: unterminated `s' command

I guess I should be trying to put environment config into the script?

fsouza commented 8 years ago

@devekko are you trying to install it from source? Can you check whether 59a1c26073b9a5fb60d6f3c54f258a478eab4601 fixes it by downloading and running tsuru-now again?

Thanks for reporting!

devekko commented 8 years ago

rebuilt vps

same error

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 1s (1,631 kB/s)
Selecting previously unselected package gandalf-server. (Reading database ... 73638 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

devekko commented 8 years ago

tried again locally, same error

2  wget https://raw.githubusercontent.com/tsuru/now/master/run.bash
3  nano run.bash
4  chmod +x run.bash
5  ./run.bash
devekko commented 8 years ago

not from source, standard/default no options install

fsouza commented 8 years ago

@devekko could you share the output of running tsuru-now with -x on?

Just run:

% curl -sL https://gist.githubusercontent.com/fsouza/58a7191370fe1c1c9940/raw/515a6c5686ff787b1d1b1a490ea84359a25597f4/run.bash | bash

Thank you!

devekko commented 8 years ago

still a problem on OVH

https://www.ovh.com/us/vps/vps-cloud.xml

OVH is the 3rd largest Internet hoster in the world, so, non trivial target host

1  curl -sL https://gist.githubusercontent.com/fsouza/58a7191370fe1c1c9940/raw/515a6c5686ff787b1d1b1a490ea84359a25597f4/run.bash | bash

The following NEW packages will be installed: gandalf-server 0 upgraded, 1 newly installed, 0 to remove and 6 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 1s (1,370 kB/s)
Selecting previously unselected package gandalf-server. (Reading database ... 73638 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

fsouza commented 8 years ago

@devekko I will spin-off a VM for myself on OVH and try to reproduce it. Thanks for reporting!

ElSaico commented 8 years ago

38, which was fixed early today, seems to be a duplicate.