-
Notifications
You must be signed in to change notification settings - Fork 666
Closed
Labels
Description
Issue Type
- Bug report with work around
Molecule and Ansible details
ansible version = 2.4.1.0
molecule version = 2.5.0
- Molecule installation method: pip
- Ansible installation method: pip
Desired Behaviour
Should be able to converge
I have a virtenv python environment up and running and my molecule file and playbook look like this:
dependency:
name: galaxy
driver:
name: docker
lint:
name: yamllint
platforms:
- name: instance
image: centos:latest
provisioner:
name: ansible
lint:
name: ansible-lint
scenario:
name: default
verifier:
name: testinfra
lint:
name: flake8
and the simple playbook
- name: Converge
hosts: all
become: true
roles:
- role: kubeadm
However I try to do a converge I get this error message:
"msg": "Error starting container 87b8864b730298c599a70af9e4ef7a3aff38d3b24d2f474b4b75c472bf7d1c20: 500 Server Error: Internal Server Error (\"{\"message\":\"failed to initialize logging driver: Unix syslog delivery error\"}\")"
I've tried everything I can think of to set this up just like the examples. This is running on MAC with docker version 17.12.0-ce-rc3
Actual Behaviour (Bug report only)
fails to converge in the task "Create Molecule instances"
snippet of back trace:
File "/var/folders/dz/71gp3_rx7sqbpwqmzr8ps_c00000gn/T/ansible_iYxr6B/ansible_module_docker_container.py", line 1952, in container_start
self.client.start(container=container_id)
File "/Users/snoby/work/home_servers/virtenv/lib/python2.7/site-packages/docker/utils/decorators.py", line 21, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/Users/snoby/work/home_servers/virtenv/lib/python2.7/site-packages/docker/api/container.py", line 383, in start
self._raise_for_status(res)
File "/Users/snoby/work/home_servers/virtenv/lib/python2.7/site-packages/docker/client.py", line 174, in _raise_for_status
raise errors.APIError(e, response, explanation=explanation)
and the error message
"msg": "Error starting container 87b8864b730298c599a70af9e4ef7a3aff38d3b24d2f474b4b75c472bf7d1c20: 500 Server Error: Internal Server Error (\"{\"message\":\"failed to initialize logging driver: Unix syslog delivery error\"}\")"
I was able to work around the issue by downgrading my docker install from the beta channel to the stable channel.
I ended up with version 17.09.1-ce and I was able to converge.
Basically just know that something is coming down the road that will break molecule.
Reactions are currently unavailable