xcat2 / xcat-docker

Repository to build Docker image for xCAT
5 stars 5 forks source link

Installing CN in xcat docker container, there was not computes.log #10

Closed hu-weihua closed 5 years ago

hu-weihua commented 5 years ago

Installing CN in xcat docker container, there was not computes.log under /var/log/xcat.

[root@c910f04x30v02 xcat]# ll
total 76
-rw------- 1 root root 16122 Apr  4 07:40 cluster.log
-rw------- 1 root root 57897 Apr  4 07:40 commands.log
drwxr-xr-x 2 root root     6 Apr  4 07:33 dump
drwx------ 2 root root     6 Apr  4 07:33 rflash
robin2008 commented 5 years ago

As now using host network mode, the rsyslog in container might not work as the rsyslog on docker host is running.

If using bridge mode, then container will have a dedicate IP, then no port conflicts. But bridge mode needs to change docker host networking, wrong network configuration might cause the docker host lost connection.

We can check out if the new mode: macvlan could meet our requirements.

@hu-weihua Could you check with below workaround?

And provision CN again.

hu-weihua commented 5 years ago

When the provision process can work correctly, got compute.log.

[root@c910f03c09k03 xcat]# ll
total 12576
-rw------- 1 root root 1194197 Apr 13 05:33 cluster.log
-rw------- 1 root root 9500654 Apr 13 05:33 commands.log
-rw------- 1 root root 2178903 Apr 13 05:21 computes.log
drwxr-xr-x 2 root root       6 Apr 12 10:16 dump
drwx------ 2 root root       6 Apr 12 10:16 rflash

So it seems the bug is not valid. close this one.