Giter Site home page Giter Site logo

ansible-role-flocker's People

Contributors

wallnerryan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-role-flocker's Issues

docker-plugin installed but inactive

after running the role:


---
- hosts: all
  vars:
    flocker_control_service_groupname: flocker_control_service
    flocker_agents_groupname: flocker_agents
    flocker_cluster_name: my_flocker_cluster
    flocker_install_docker_plugin: true
    flocker_agent_yml_path: /Users/others/ansible/project/ansible/group_vars/agent.yml 
  roles:
    - role: ClusterHQ.flocker

Installed is ok but if I check the status of the services (it is inactive)

[root@manager1 vagrant]# systemctl status flocker-container-agent
    ● flocker-container-agent.service - Flocker Container Agent
       Loaded: loaded (/usr/lib/systemd/system/flocker-container-agent.service; disabled; vendor preset: disabled)
       Active: active (running) since Fri 2016-10-14 02:57:56 BST; 760ms ago
     Main PID: 17032 (flocker-contain)
       Memory: 23.2M
       CGroup: /system.slice/flocker-container-agent.service
               └─17032 /opt/flocker/bin/python /usr/sbin/flocker-container-agent --journald

    Oct 14 02:57:56 manager1 systemd[1]: Started Flocker Container Agent.
    Oct 14 02:57:56 manager1 systemd[1]: Starting Flocker Container Agent...
    [root@manager1 vagrant]# systemctl status flocker-docker-plugin
    ● flocker-docker-plugin.service - Flocker Docker Plugin
       Loaded: loaded (/usr/lib/systemd/system/flocker-docker-plugin.service; disabled; vendor preset: disabled)
       Active: inactive (dead)

I neet to enable and restart the service manually

    [root@manager1 vagrant]# systemctl enable flocker-docker-plugin
    Created symlink from /etc/systemd/system/multi-user.target.wants/flocker-docker-plugin.service to /usr/lib/systemd/system/flocker-docker-plugin.service.

    [root@manager1 vagrant]# systemctl status flocker-docker-plugin
    ● flocker-docker-plugin.service - Flocker Docker Plugin
       Loaded: loaded (/usr/lib/systemd/system/flocker-docker-plugin.service; enabled; vendor preset: disabled)
       Active: inactive (dead)

    [root@manager1 vagrant]# systemctl restart flocker-docker-plugin

now the docker plugin is active

 [root@manager1 vagrant]# systemctl status flocker-docker-plugin
    ● flocker-docker-plugin.service - Flocker Docker Plugin
       Loaded: loaded (/usr/lib/systemd/system/flocker-docker-plugin.service; enabled; vendor preset: disabled)
       Active: active (running) since Fri 2016-10-14 02:59:40 BST; 1s ago
     Main PID: 17973 (flocker-docker-)
       Memory: 43.9M
       CGroup: /system.slice/flocker-docker-plugin.service
               └─17973 /opt/flocker/bin/python /usr/sbin/flocker-docker-plugin --journald

    Oct 14 02:59:40 manager1 systemd[1]: flocker-docker-plugin.service holdoff time over, scheduling restart.
    Oct 14 02:59:40 manager1 systemd[1]: Started Flocker Docker Plugin.
    Oct 14 02:59:40 manager1 systemd[1]: Starting Flocker Docker Plugin...

I am running CentOS Linux release 7.2.1511 (Core)

Could we add support to install from a different repository.

We have clusterhq-archive.s3.amazonaws.com hard-coded in part of this recipe. It would be sort of cool if you could override that with an environment variable or something. This would let us use these scripts to install from a development build (so we can test blog posts before releases, etc.).

make container-agent optional

By default, this role installs the flocker-container-agent by default, and if the nodes do not already have docker installed, the container agent wont start and ansible will hang. Make it optional to install the container agent especially now that flocker makes it optional to use it

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.