Re: Runing cloudstack failed in docker

2018-11-06 Thread Marcus
Caused by: java.net.SocketException: Protocol family unavailable This is a common Java issue when trying to containerize, I believe you can search for it and find a generic answer. Basically has to do with whether Java is trying to use IPv4 or IPv6 and what your Docker solution supports. If I reca

答复: Runing cloudstack failed in docker

2018-11-05 Thread li jerry
:46:30 PM 收件人: users@cloudstack.apache.org 主题: 答复: Runing cloudstack failed in docker Hi Jean-Francois I added "-Djava.net.preferIPv4Stack = true-Djava.net.preferIPv4Addresses = true" to JAVA_OPTS of / etc/default/cloudsack-management and restarted cloudstack management below, b

答复: Runing cloudstack failed in docker

2018-11-05 Thread li jerry
人: Jean-Francois Nadeau<mailto:the.jfnad...@gmail.com> 发送时间: 2018年11月5日 22:13 收件人: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org> 主题: Re: Runing cloudstack failed in docker Just by the look of the "Protocol family unavailable" error can you disable IPv6 in the JVm

Re: Runing cloudstack failed in docker

2018-11-05 Thread Jean-Francois Nadeau
Just by the look of the "Protocol family unavailable" error can you disable IPv6 in the JVm startup script ? On Mon, Nov 5, 2018 at 4:37 AM li li wrote: > Hi ALL > > > I'm trying to encapsulate cloudstack 4.11 into docker. After build is > successful, cloudstack-management cannot function p

Runing cloudstack failed in docker

2018-11-05 Thread li li
Hi ALL I'm trying to encapsulate cloudstack 4.11 into docker. After build is successful, cloudstack-management cannot function properly. Can someone help me? Thank you very much. Dockerfile: https://github.com/apache/cloudstack/blob/4.11/tools/docker/Dockerfile.centos6 from cloudstack-mana