Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Ansible docker_container module doesn't support gcplogs log driver yet #309

Closed
isaacliao opened this issue Mar 8, 2017 · 2 comments
Closed

Comments

@isaacliao
Copy link
Contributor

isaacliao commented Mar 8, 2017

Docker GCP log driver doc: https://docs.docker.com/engine/admin/logging/gcplogs/

Ansible docker_module doc: https://docs.ansible.com/ansible/docker_container_module.html

Here's the error:

TASK [Start a MySQL database container] ****************************************
fatal: [10.4.20.5]: FAILED! => {"changed": false, "failed": true, "msg": "value of log_driver must be one of: json-file,syslog,journald,gelf,fluentd,awslogs,splunk, got: gcplogs"}
	to retry, use: --limit @/home/iliao/.loom/playbooks/gcloud_start_server.retry
@isaacliao
Copy link
Contributor Author

Submitted a pull request to Ansible: ansible/ansible#22433

@isaacliao
Copy link
Contributor Author

isaacliao commented Apr 17, 2017

Obsolete since we're now using Fluentd as the logging layer. Docker logs to Fluentd, and Fluentd can be configured to log to Stackdriver Logging in Google Cloud.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant