gislab-npo / gislab

GIS.lab - total reduction of deployment and maintenance costs for complete free and open source geospatial infrastructure
http://gislab-npo.github.io/gislab/
GNU General Public License v3.0
40 stars 14 forks source link

xenial: GIS.lab Unit initialization fails #496

Closed landam closed 7 years ago

landam commented 8 years ago

I installed Xenial on the unit and tested initialization of the unit:

ansible ... providers/gislab-unit/gislab-unit.yml

is failing with

failed: [gislab-unit-cvut] => {"failed": true, "parsed": false}
BECOME-SUCCESS-xckkngtufcobeausojkxucezynnhewcr
/bin/sh: 1: /usr/bin/python: not found
OpenSSH_7.2p2 Ubuntu-4ubuntu1, OpenSSL 1.0.2g-fips  1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: auto-mux: Trying existing master
debug1: mux_client_request_session: master session id: 2
landam commented 8 years ago

After installation python manually the playbook fails

msg: Could not find aptitude. Please ensure it is installed.

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/home/landa/gislab-unit.retry
landam commented 8 years ago

When aptitude is installed manually the playbook fails

TASK: [Restart GIS.lab Unit machine] ****************************************** 
fatal: [gislab-unit-cvut] => SSH Error: Shared connection to 147.32.131.60 closed.
It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.

FATAL: all hosts have already failed -- aborting

but the unit is rebooted.

landam commented 8 years ago

Python and Aptitude issues should be fixed by ba90ac9. The remaining task is "Restart GIS.lab Unit machine" which is reported as failed even the unit is rebooted.

landam commented 8 years ago

@imincik @mpastor I just wonder what is the right solution:

or

?

I guess (b), right?

landam commented 7 years ago

https://github.com/gislab-npo/gislab/commit/25164256410f01a552eef853a5257d99c653895a implements option (b). Closing.