using kolla master + https://review.openstack.org/#/c/381942/2
host/container os ubuntu, source
grep -viE "^#|^$" /etc/kolla/globals.yml
---
config_strategy: "COPY_ALWAYS"
kolla_base_distro: "ubuntu"
kolla_install_type: "source"
openstack_release: "3.0.0"
kolla_internal_vip_address: "192.168.203.21"
enable_haproxy: "no"
network_interface: "ens3"
neutron_external_interface: "ens10"
openstack_logging_debug: "True"
enable_ironic: "yes"
enable_iscsid: "yes"
tempest_image_id:
tempest_flavor_ref_id:
tempest_public_network_id:
tempest_floating_network_name:
TASK [iscsi : Starting iscsid container] ***************************************
task path: /kolla_ironic_master/ansible/roles/iscsi/tasks/start.yml:2
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1475771084.12-37262473940134 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1475771084.12-37262473940134 )" )
localhost PUT /tmp/tmplL4zFZ TO /root/.ansible/tmp/ansible-tmp-1475771084.12-37262473940134/kolla_docker
localhost EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1475771084.12-37262473940134/kolla_docker; rm -rf "/root/.ansible/tmp/ansible-tmp-1475771084.12-37262473940134/" > /dev/null 2>&1
fatal: [localhost]: FAILED! => {"changed": true, "failed": true, "invocation": {"module_args": {"action": "start_container", "api_version": "auto", "auth_email": null, "auth_password": null, "auth_registry": null, "auth_username": null, "cap_add": [], "detach": true, "environment": {"KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS", "KOLLA_SERVICE_NAME": "iscsid"}, "image": "kolla/ubuntu-source-iscsid:3.0.0", "ipc_mode": "host", "labels": {}, "name": "iscsid", "pid_mode": null, "privileged": true, "remove_on_exit": true, "restart_policy": "unless-stopped", "restart_retries": 10, "security_opt": [], "tls_cacert": null, "tls_cert": null, "tls_key": null, "tls_verify": false, "volumes": ["/etc/kolla//iscsid/:/var/lib/kolla/config_files/:ro", "kolla_logs:/var/log/kolla/", "/etc/localtime:/etc/localtime:ro", "/dev/:/dev/", "/run/:/run/", "/sys/fs/cgroup:/sys/fs/cgroup:ro", "/lib/modules:/lib/modules:ro", "/sys/kernel/config:/configfs", "cinder:/var/lib/cinder", "iscsi_info:/etc/iscsi"], "volumes_from": null}, "module_name": "kolla_docker"}, "msg": "'Traceback (most recent call last):\\n File \"/root/.ansible/tmp/ansible-tmp-1475771084.12-37262473940134/kolla_docker\", line 743, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/root/.ansible/tmp/ansible-tmp-1475771084.12-37262473940134/kolla_docker\", line 573, in start_container\\n self.dc.start(container=self.params.get(\\'name\\'))\\n File \"/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py\", line 21, in wrapped\\n return f(self, resource_id, *args, **kwargs)\\n File \"/usr/local/lib/python2.7/dist-packages/docker/api/container.py\", line 363, in start\\n self._raise_for_status(res)\\n File \"/usr/local/lib/python2.7/dist-packages/docker/client.py\", line 146, in _raise_for_status\\n raise errors.APIError(e, response, explanation=explanation)\\nAPIError: 500 Server Error: Internal Server Error (\"{\"message\":\"mkdir /sys/kernel/config: operation not permitted\"}\")\\n'"}
there doesn't seem to by /sys/kernel/config directory on host ubuntu xenial
/sys/kernel/config this folder is empty on centos, too. it is wired. I will test the iscsi with the latest code.