[openstack-dev] lvm2 and docker issue

Steven Dake (stdake) stdake at cisco.com
Wed Mar 16 04:35:07 UTC 2016


Ccing mailing list for eveyrone's advantage.

From: "Serguei Bezverkhi (sbezverk)" <sbezverk at cisco.com<mailto:sbezverk at cisco.com>>
Date: Tuesday, March 15, 2016 at 8:26 PM
To: Steven Dake <stdake at cisco.com<mailto:stdake at cisco.com>>
Subject: lvm2 and docker issue

Hi Steven,

I have run few tests and so far with --ipc=host it looks better, at least I do not see that "stuck" issue when lvcreate is executed.

docker inspect 417f53c7ac84 | grep -i IPC
            "IpcMode": "host",

Now, how do I specify this option when starting kolla containers?

This one I run manually with this command:

docker run --privileged -t -i --ipc=host --net=host --cap-add=ALL -v /dev:/dev -v /run:/run -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /sys/kernel/config:/configfs -v /lib/modules:/lib/modules -v /var/lib/cinder:/var/lib/cinder -v /etc/iscsi:/etc/iscsi f4118e59a77a

Thank you

Serguei
You have to extend the kolla_docker module.  An example is here:
https://github.com/openstack/kolla/blob/master/ansible/library/kolla_docker.py#L597

Search the file for the word host - you will probably need stuff wherever that is except with pid duplicated with ipc.  I recommend a patch prior to your current patch to introduce the feature to kolla_docker.

Regards
-steve


[http://www.cisco.com/c/dam/assets/email-signature-tool/logo_07.png?ct=1423747865775]

Serguei Bezverkhi,
TECHNICAL LEADER.SERVICES
Global SP Services
sbezverk at cisco.com<mailto:sbezverk at cisco.com>
Phone: +1 416 306 7312
Mobile: +1 514 234 7374

CCIE (R&S,SP,Sec) - #9527


Cisco.com<http://www.cisco.com/>



[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif] Think before you print.

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.
Please click here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for Company Registration Information.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160316/5a040f51/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2629 bytes
Desc: image001.png
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160316/5a040f51/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 134 bytes
Desc: image002.gif
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160316/5a040f51/attachment.gif>


More information about the OpenStack-dev mailing list