You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/12/03 13:51:32 UTC
[GitHub] akrabat commented on a change in pull request #4149: Do not link
the `/run/runc` volume unless invoker_use_runc is set
akrabat commented on a change in pull request #4149: Do not link the `/run/runc` volume unless invoker_use_runc is set
URL: https://github.com/apache/incubator-openwhisk/pull/4149#discussion_r238274815
##########
File path: ansible/roles/invoker/tasks/deploy.yml
##########
@@ -262,12 +262,17 @@
- name: set invoker volumes
set_fact:
- volumes: "/sys/fs/cgroup:/sys/fs/cgroup,/run/runc:/run/runc,\
+ volumes: "/sys/fs/cgroup:/sys/fs/cgroup,\
{{ whisk_logs_dir }}/{{ invoker_name }}:/logs,\
{{ invoker.confdir }}/{{ invoker_name }}:/conf,\
{{ dockerInfo['DockerRootDir'] }}/containers/:/containers,\
{{ docker_sock | default('/var/run/docker.sock') }}:/var/run/docker.sock"
+- name: set invoker runc volume
+ set_fact:
+ volumes: "{{ volumes }},/run/runc:/run/runc"
+ when: invoker_use_runc == true
Review comment:
Thanks. Updated.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services