Git Product home page Git Product logo

Comments (14)

bgruening avatar bgruening commented on September 27, 2024

@ChristianKniep have you followed https://github.com/bgruening/docker-galaxy-stable#development and checked out the Ansible playbook submodule?

from docker-galaxy-stable.

ChristianKniep avatar ChristianKniep commented on September 27, 2024

I forked it, thus I seem to fail on the submodule thing...
Checking it out like you discribed is getting up to speed. 👍

from docker-galaxy-stable.

ChristianKniep avatar ChristianKniep commented on September 27, 2024

Not so fast... :(

TASK: [galaxyprojectdotorg.galaxyextras | Create Galaxy configuration file] ***
fatal: [localhost] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'supervisor_manage_nodeproxy' is undefined", 'failed': True}
fatal: [localhost] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'supervisor_manage_nodeproxy' is undefined", 'failed': True}

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/root/provision.retry

localhost                  : ok=18   changed=17   unreachable=1    failed=0

2015/05/05 17:37:11 The command [/bin/sh -c ansible-playbook /tmp/ansible/provision.yml     --extra-vars galaxy_user_name=$GALAXY_USER     --extra-vars galaxy_config_file=$GALAXY_CONFIG_FILE     --extra-vars galaxy_config_dir=$GALAXY_CONFIG_DIR     --extra-vars galaxy_job_conf_path=$GALAXY_CONFIG_JOB_CONFIG_FILE     --extra-vars galaxy_job_metrics_conf_path=$GALAXY_CONFIG_JOB_METRICS_CONFIG_FILE     --tags=galaxyextras -c local &&     apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*] returned a non-zero code: 3

from docker-galaxy-stable.

bgruening avatar bgruening commented on September 27, 2024

@ChristianKniep it's working for me and Docker Hub is also happy.
Which Docker backend are you using? Switching might help, depending on your OS.

from docker-galaxy-stable.

ChristianKniep avatar ChristianKniep commented on September 27, 2024

Ok, I will check it out when I return to galaxy. Thx

from docker-galaxy-stable.

javiernavarrofernandez avatar javiernavarrofernandez commented on September 27, 2024

@ChristianKniep I guess you solved the problem. I have exactly the same output. Any clues? I'm stuck with this... Thx!!!

TASK: [galaxyprojectdotorg.galaxyextras | Create Galaxy configuration file] *** 
fatal: [localhost] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'supervisor_manage_nodeproxy' is undefined", 'failed': True}
fatal: [localhost] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'supervisor_manage_nodeproxy' is undefined", 'failed': True}
FATAL: all hosts have already failed -- aborting

from docker-galaxy-stable.

bgruening avatar bgruening commented on September 27, 2024

@ChristianKniep have you cloned it with submodules? It's described here: https://github.com/bgruening/docker-galaxy-stable#development
If so what can you tell me which Docker backend you are using? docker info | grep Storage

from docker-galaxy-stable.

ChristianKniep avatar ChristianKniep commented on September 27, 2024

I am on boot2docker, therefore aufs.
I still get the same error:

Removing intermediate container 5bed4c8b7000
Step 18 : RUN ansible-playbook /tmp/ansible/provision.yml     --extra-vars galaxy_user_name=$GALAXY_USER     --extra-vars galaxy_config_file=$GALAXY_CONFIG_FILE     --extra-vars galaxy_config_dir=$GALAXY_CONFIG_DIR     --extra-vars galaxy_job_conf_path=$GALAXY_CONFIG_JOB_CONFIG_FILE     --extra-vars galaxy_job_metrics_conf_path=$GALAXY_CONFIG_JOB_METRICS_CONFIG_FILE     --extra-vars supervisor_manage_slurm=""     --tags=galaxyextras -c local &&     apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 ---> Running in f62de44a0133
ERROR: found role at /tmp/ansible/roles/galaxyprojectdotorg.galaxyextras, but cannot find /tmp/ansible/roles/galaxyprojectdotorg.galaxyextras/tasks/main or /tmp/ansible/roles/galaxyprojectdotorg.galaxyextras/handlers/main or /tmp/ansible/roles/galaxyprojectdotorg.galaxyextras/vars/main or /tmp/ansible/roles/galaxyprojectdotorg.galaxyextras/defaults/main or /tmp/ansible/roles/galaxyprojectdotorg.galaxyextras/meta/main or /tmp/ansible/roles/galaxyprojectdotorg.galaxyextras/library
The command '/bin/sh -c ansible-playbook /tmp/ansible/provision.yml     --extra-vars galaxy_user_name=$GALAXY_USER     --extra-vars galaxy_config_file=$GALAXY_CONFIG_FILE     --extra-vars galaxy_config_dir=$GALAXY_CONFIG_DIR     --extra-vars galaxy_job_conf_path=$GALAXY_CONFIG_JOB_CONFIG_FILE     --extra-vars galaxy_job_metrics_conf_path=$GALAXY_CONFIG_JOB_METRICS_CONFIG_FILE     --extra-vars supervisor_manage_slurm=""     --tags=galaxyextras -c local &&     apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 1

from docker-galaxy-stable.

bgruening avatar bgruening commented on September 27, 2024

Can you give me all commands you used, so I can try to reproduce it. (Un)fortunately, I'm not on OS-X ;)

from docker-galaxy-stable.

ChristianKniep avatar ChristianKniep commented on September 27, 2024

I cloned your repo and build it. Nothing fancy. I din't got the FROM image, so I pulled the latest one - maybe that's where we differ?

$ docker pull toolshed/requirements
latest: Pulling from toolshed/requirements
Digest: sha256:73cc3dafd104f9c6328c36456f6c47f1ac7496ffe4e92d34096c5e8e58cba712
Status: Image is up to date for toolshed/requirements:latest
$ git clone [email protected]:bgruening/docker-galaxy-stable.git ~/src/github.com/bgruening/docker-galaxy-stable
$ cd ~/src/github.com/bgruening/docker-galaxy-stable
$ cd galaxy/
$ docker build -t bgruening/galaxy-stable .

from docker-galaxy-stable.

bgruening avatar bgruening commented on September 27, 2024

You need to clone this way: git clone --recursive
Please reads out documentation and the development section: https://github.com/bgruening/docker-galaxy-stable#development

from docker-galaxy-stable.

ChristianKniep avatar ChristianKniep commented on September 27, 2024

Ups... now it went through... 💃
Sorry for the bother. Stupid me.

from docker-galaxy-stable.

bgruening avatar bgruening commented on September 27, 2024

@ChristianKniep no problem. Let me know if we can make this more obvious ... in general any feedback is appreciated :)

from docker-galaxy-stable.

javiernavarrofernandez avatar javiernavarrofernandez commented on September 27, 2024

We have got the same error using a different Docker version. We have already cloned the repo using "recursive":

git clone --recursive https://github.com/bgruening/docker-galaxy-stable.git

Docker build throws this error:

TASK: [galaxyprojectdotorg.galaxyextras | Install web related system packages] *** 
skipping: [localhost]
TASK: [galaxyprojectdotorg.galaxyextras | Create Galaxy configuration file] *** 
fatal: [localhost] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables:  'supervisor_manage_nodeproxy' is undefined", 'failed': True}
fatal: [localhost] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'supervisor_manage_nodeproxy' is undefined", 'failed': True}
FATAL: all hosts have already failed -- aborting
PLAY RECAP ******************************************************************** 
       to retry, use: --limit @/root/provision.retry
localhost                  : ok=19   changed=18   unreachable=1    failed=0   

Docker backend:

 # docker info | egrep "Version|Storage"
 Server Version: 1.9.0
 Storage Driver: devicemapper
 Library Version: 1.02.93-RHEL7 (2015-01-28) 
 Kernel Version: 3.10.0-229.7.2.el7.x86_64

from docker-galaxy-stable.

Related Issues (20)

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.