Code Monkey home page Code Monkey logo

strawlab-ansible-roles's People

Contributors

astraw avatar janamach avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

strawlab-ansible-roles's Issues

playbook.yml missing

Running the ansible installation worked without errors, but running the second line produces an error:

sudo ansible-playbook -i "localhost," -c local playbook.yml
results in

ERROR! the playbook: playbook.yml could not be found

Is there a missing step?

Thanks!

roslaunch fails

running roslaunch fails with the following error:

roslaunch freemovr_engine demo_display_server.launch

RuntimeError: Assertion error (gc.valid()) at /home/flightlab/ros/freemovr-kinetic/src/freemovr_engine/src/dsosg.cpp(909): could not create a graphics context with your desired traits
[display_server_demo-2] process has died [pid 66312, exit code -11, cmd /home/flightlab/ros/freemovr-kinetic/devel/lib/freemovr_engine/display_server --mode overview __name:=display_server_demo __log:=/home/flightlab/.ros/log/45166450-d095-11e7-b057-000c2924f9d0/display_server_demo-2.log].
log file: /home/flightlab/.ros/log/45166450-d095-11e7-b057-000c2924f9d0/display_server_demo-2*.log

There is one PC display connected to this computer.

installation fails, package missing

When running

sudo ansible-playbook -i "localhost," -c local playbook.yml

the following error is generated near the end of the installation process:

TASK [ros-kinetic-freemoovr-engine: apt] fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "No package matching 'python-openexr' is available"}

ros-kinetic-flydra error

ros-kinetic-flydra task produces the following error:


TASK [ros-kinetic-flydra : install rosinstall command] *************************
fatal: [localhost]: FAILED! => {"cache_update_time": 0, "cache_updated": false, "changed": false, "failed": true, "msg": "'/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install 'python-rosinstall'' failed: E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/p/python-rosinstall/python-rosinstall_0.7.8-1_all.deb Could not resolve 'packages.ros.org'\n\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "stderr": "E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/p/python-rosinstall/python-rosinstall_0.7.8-1_all.deb Could not resolve 'packages.ros.org'\n\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n python-rosinstall\n0 upgraded, 1 newly installed, 0 to remove and 173 not upgraded.\nNeed to get 23.7 kB of archives.\nAfter this operation, 163 kB of additional disk space will be used.\nErr:1 http://packages.ros.org/ros/ubuntu xenial/main i386 python-rosinstall all 0.7.8-1\n Could not resolve 'packages.ros.org'\nErr:1 http://packages.ros.org/ros/ubuntu xenial/main i386 python-rosinstall all 0.7.8-1\n Could not resolve 'packages.ros.org'\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " python-rosinstall", "0 upgraded, 1 newly installed, 0 to remove and 173 not upgraded.", "Need to get 23.7 kB of archives.", "After this operation, 163 kB of additional disk space will be used.", "Err:1 http://packages.ros.org/ros/ubuntu xenial/main i386 python-rosinstall all 0.7.8-1", " Could not resolve 'packages.ros.org'", "Err:1 http://packages.ros.org/ros/ubuntu xenial/main i386 python-rosinstall all 0.7.8-1", " Could not resolve 'packages.ros.org'"]}

PLAY RECAP *********************************************************************
localhost : ok=26 changed=20 unreachable=0 failed=1

Fatal error at TASK [strawlab-public-debs : get strawlab apt signing key]

The fatal error occurred on a freshly installed Ubuntu 16.04.5 LTS 64-bit.

$ sudo ansible-playbook -i "localhost," -c local playbook.yml

PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [ros-kinetic : get ROS apt signing key] ***********************************
changed: [localhost]

TASK [ros-kinetic : use ROS Ubuntu repository] *********************************
changed: [localhost]

TASK [ros-kinetic : use ROS Ubuntu source repository] **************************
changed: [localhost]

TASK [ros-kinetic : install ROS kinetic packages] ******************************
changed: [localhost]

TASK [strawlab-public-debs : get strawlab apt signing key] *********************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to validate the SSL certificate for strawlab.org:443. Make sure your managed systems have a valid CA certificate installed.  If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine.  You can use validate_certs=False if you do not need to confirm the server\\s identity but this is unsafe and not recommended Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible"}

PLAY RECAP *********************************************************************
localhost                  : ok=5    changed=4    unreachable=0    failed=1   

Proceeding with the setup is not possible, because the /opt/ros/workspace-installers directory does not exist:

$ /opt/ros/workspace-installers/kinetic/make-freemovr-workspace.sh
bash: /opt/ros/workspace-installers/kinetic/make-freemovr-workspace.sh: No such file or directory

System info:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.5 LTS
Release:	16.04
Codename:	xenial

After the disk wipe/OS installation and before running the commands from the strawlab-ansible-roles instructions, only sudo apt-get install git was executed. Python version:

$ python --version
Python 2.7.12
$ python3 --version
Python 3.5.2

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.