Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab Project Runners - Conflicting Parallel Updates #8

Open
colin-nolan opened this issue Apr 10, 2017 · 0 comments
Open

Gitlab Project Runners - Conflicting Parallel Updates #8

colin-nolan opened this issue Apr 10, 2017 · 0 comments
Labels

Comments

@colin-nolan
Copy link
Contributor

colin-nolan commented Apr 10, 2017

Isusue

There is something not quite right with the registration of the Gitlab runners in the Ansible setup.

There are two calls to the gitlab_ci_project_runners module - one is setting the runners to those on gamma, another wants to set them to delta :

        "gitlab_runners": "['docker-privileged-gitlab-runner-gamma-hgi-01', 'docker-machine-gitlab-runner-gamma-hgi-01']",
        ...
}
        "gitlab_runners": "['docker-privileged-gitlab-runner-delta-hgi-ci-01', 'docker-machine-gitlab-runner-delta-hgi-ci-01']",
        ...
}

It looks like both are running in parallel, which causes painfully sporadic race condition errors!

Ansible Version

$ ansible-playbook --version
ansible-playbook 2.4.0
  config file = /data/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.5/dist-packages/ansible-2.4.0-py3.5.egg/ansible
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant