From 411fdb90d187aec4ada97dd8405315f4323c62db Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Mon, 13 Mar 2017 12:21:19 +0800 Subject: [PATCH] Mount /lib/modules folder in ironic-conductor container /lib/modules is required for load kernel module. ironic-conductor will load iscsi_tcp kernel module during starting. Change-Id: Id953638f68e0fa1c268f173e3dd9b3390598bd93 Closes-Bug: #1672245 Depends-On: I1dd7d1a8cd67bbdfc1262b39aa96997c12681900 --- ansible/roles/ironic/tasks/start.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/ironic/tasks/start.yml b/ansible/roles/ironic/tasks/start.yml index fb56311ee4..0e0f69016d 100644 --- a/ansible/roles/ironic/tasks/start.yml +++ b/ansible/roles/ironic/tasks/start.yml @@ -33,6 +33,7 @@ volumes: - "{{ node_config_directory }}/ironic-conductor/:{{ container_config_directory }}/:ro" - "/etc/localtime:/etc/localtime:ro" + - "/lib/modules:/lib/modules:ro" - "/sys:/sys" - "/dev:/dev" - "/run:/run:shared"