Ccing mailing list for eveyrone's advantage.
From: "Serguei Bezverkhi (sbezverk)"
<[email protected]<mailto:[email protected]>>
Date: Tuesday, March 15, 2016 at 8:26 PM
To: Steven Dake <[email protected]<mailto:[email protected]>>
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
[email protected]<mailto:[email protected]>
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.
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev