GithubHelp home page GithubHelp logo

ansible-conf's People

Watchers

 avatar  avatar  avatar  avatar

Forkers

elventear

ansible-conf's Issues

Move firewall settings into roles

In order to make jupyterhub and jupyterhub_nfs better suited for reusability, the should set their firewall settings and the values should be provided by the roles.

Manage SELinux port exceptions for nginx proxy

SELinux will stop an nginx proxy from doing any traffic forwarding by default. Exceptions need to be configured within SELinux, and the current approach within ansible is very hacky: 1d899ca

Need to provide a better approach, either with an ansible module or with a bash script.

Can't `git clone` inside Jenkins Container

Because we map the Jenkins uid within the container to the uidwithin the host, we have a situation, where Jenkins executes as a user that does not exist in /etc/passwd, which triggers:

fatal: unable to look up current user in the passwd file: no such user

    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1723)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1459)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
    at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:797)
    ... 8 more

GitHub has been notified of this commit’s build result

This happens, because git is trying to figure out the user name and email, for commits. One possibility is setting GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL environment variables. A better solution is to try to pass those settings to Jenkins somehow (The pipeline plugin does not seem to provide that).

Initialize step for postgres database in Jupyterhub

Start the database once during setup, before the service starts.

Reference:

    - init:
        env:
          - [ POSTGRES_PASSWORD, {{ pillar.postgresql_jupyterhub.admin_pass }} ]
          - [ JPY_PSQL_PASSWORD, {{ pillar.jupyterhub.db_pass }} ]
        cmd: bash /radia-init.sh

Split the jupyterhub_nfs role

Currently the jupyterhub_nfs roles configures the jupyterhub nfs shares and the jupyterhub nginx proxy. I think we might want to split them into different roles that could be applied to the same server.

Setup MPI cluster coordinator

Leverage the jupyterhub and jupyterhub_nfs roles to configure a single machine that will work as a JupyterHub provider and master of the MPI cluster.

Do no hardcode channel

Right now for convenience the rs_channel is automatically populated according to the group you are provisioning. We should a channel variable per role, e.g. jupyter_channel.

docker run --rm doesn't seem to always delete container

This is with systemctl on fedora cloud. @elventear I'm not too concerned right now but wanted to note this was happening so we don't lose it.

Sep 29 02:14:12 ip-10-14-2-5.ec2.internal systemd[1]: celery-sirepo.service: Unit entered failed state.
Sep 29 02:14:12 ip-10-14-2-5.ec2.internal systemd[1]: celery-sirepo.service: Failed with result 'exit-code'.
Sep 29 02:14:23 ip-10-14-2-5.ec2.internal systemd[1]: celery-sirepo.service: Service hold-off time over, scheduling restart.
Sep 29 02:14:23 ip-10-14-2-5.ec2.internal systemd[1]: Started Celery Sirepo.
Sep 29 02:14:23 ip-10-14-2-5.ec2.internal systemd[1]: Starting Celery Sirepo...
Sep 29 02:14:23 ip-10-14-2-5.ec2.internal docker[1874]: /usr/bin/docker: Error response from daemon: Conflict. The name "/celery-sirepo" is already in use by container a3be7
Sep 29 02:14:23 ip-10-14-2-5.ec2.internal docker[1874]: See '/usr/bin/docker run --help'.
Sep 29 02:14:23 ip-10-14-2-5.ec2.internal systemd[1]: celery-sirepo.service: Main process exited, code=exited, status=125/n/a
Sep 29 02:14:23 ip-10-14-2-5.ec2.internal docker[1878]: celery-sirepo
Sep 29 02:14:23 ip-10-14-2-5.ec2.internal systemd[1]: celery-sirepo.service: Unit entered failed state.
Sep 29 02:14:23 ip-10-14-2-5.ec2.internal systemd[1]: celery-sirepo.service: Failed with result 'exit-code'.
Sep 29 02:14:33 ip-10-14-2-5.ec2.internal systemd[1]: celery-sirepo.service: Service hold-off time over, scheduling restart.
Sep 29 02:14:33 ip-10-14-2-5.ec2.internal systemd[1]: Started Celery Sirepo.
Sep 29 02:14:33 ip-10-14-2-5.ec2.internal systemd[1]: Starting Celery Sirepo...
Sep 29 02:14:33 ip-10-14-2-5.ec2.internal docker[1885]: /usr/bin/docker: Error response from daemon: Conflict. The name "/celery-sirepo" is already in use by container a3be7

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.