LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Centos 7 & KVM Slave Node Issues (https://www.linuxquestions.org/questions/linux-networking-3/centos-7-and-kvm-slave-node-issues-4175610671/)

Bashed 07-26-2017 02:06 PM

Centos 7 & KVM Slave Node Issues
 
3 Attachment(s)
Running SolusVM VPS software on Centos 7 host node, as a KVM slave. Node keeps crashing, due to below but not sure how to resolve this.


See attached. I rebooted the slave, and second time in a row I tried to reset root password on newly created VM and it completely disables the entire NODE. I have to reboot again.

Code:

[root@kvm2 log]#  df -Th
Filesystem          Type      Size  Used Avail Use% Mounted on
/dev/mapper/cl-root xfs        50G  3.0G  48G  6% /
devtmpfs            devtmpfs  32G    0  32G  0% /dev
tmpfs              tmpfs      32G    0  32G  0% /dev/shm
tmpfs              tmpfs      32G  8.7M  32G  1% /run
tmpfs              tmpfs      32G    0  32G  0% /sys/fs/cgroup
/dev/sda3          xfs      1014M  140M  875M  14% /boot
tmpfs              tmpfs    6.3G    0  6.3G  0% /run/user/1001
tmpfs              tmpfs    6.3G    0  6.3G  0% /run/user/0

Code:

[root@kvm2 log]# sestatus
SELinux status:                disabled

Code:

[root@kvm2 log]#  systemctl status svmstack-nginx
● svmstack-nginx.service - nginx - high performance web server
  Loaded: loaded (/usr/lib/systemd/system/svmstack-nginx.service; enabled; vendor preset: disabled)
  Active: active (running) since Wed 2017-07-26 14:31:01 EDT; 3min 18s ago
    Docs: http://nginx.org/en/docs/
  Process: 1282 ExecStart=/usr/local/svmstack/nginx/bin/nginx -c  /usr/local/svmstack/nginx/conf/nginx.conf (code=exited,  status=0/SUCCESS)
  Process: 1259 ExecStartPre=/usr/local/svmstack/nginx/bin/nginx -t -c  /usr/local/svmstack/nginx/conf/nginx.conf (code=exited,  status=0/SUCCESS)
 Main PID: 1304 (nginx)
  CGroup: /system.slice/svmstack-nginx.service
          ├─1304 nginx: master process /usr/local/svmstack/nginx/bin/nginx -c /usr/local/svmstack/nginx/conf/nginx.conf
          ├─1308 nginx: worker process
          └─1313 nginx: worker process

Jul 26 14:31:01 kvm2.domain.com systemd[1]: Starting nginx - high performance web server...
Jul 26 14:31:01 kvm2.domain.com nginx[1259]: nginx: the configuration  file /usr/local/svmstack/nginx/conf/nginx.conf syntax is ok
Jul 26 14:31:01 kvm2.domain.com nginx[1259]: nginx: configuration file  /usr/local/svmstack/nginx/conf/nginx.conf test is successful
Jul 26 14:31:01 kvm2.domain.com systemd[1]: Failed to read PID from  file /usr/local/svmstack/nginx/pid/nginx.pid: Invalid argument
Jul 26 14:31:01 kvm2.domain.com systemd[1]: Started nginx - high performance web server.

I see a lot of this in /var/log/messages

Code:

Jul 26 00:47:01 kvm2 systemd: Created slice user-0.slice.
Jul 26 00:47:01 kvm2 systemd: Starting user-0.slice.
Jul 26 00:47:01 kvm2 systemd: Started Session 15653 of user root.
Jul 26 00:47:01 kvm2 systemd: Starting Session 15653 of user root.
Jul 26 00:47:01 kvm2 systemd: Removed slice user-0.slice.
Jul 26 00:47:01 kvm2 systemd: Stopping user-0.slice.
Jul 26 00:48:01 kvm2 systemd: Created slice user-0.slice.
Jul 26 00:48:01 kvm2 systemd: Starting user-0.slice.
Jul 26 00:48:01 kvm2 systemd: Started Session 15654 of user root.
Jul 26 00:48:01 kvm2 systemd: Starting Session 15654 of user root.
Jul 26 00:48:01 kvm2 systemd: Removed slice user-0.slice.
Jul 26 00:48:01 kvm2 systemd: Stopping user-0.slice.
Jul 26 00:49:01 kvm2 systemd: Created slice user-0.slice.
Jul 26 00:49:01 kvm2 systemd: Starting user-0.slice.
Jul 26 00:49:01 kvm2 systemd: Started Session 15655 of user root.
Jul 26 00:49:01 kvm2 systemd: Starting Session 15655 of user root.
Jul 26 00:49:02 kvm2 systemd: Removed slice user-0.slice.

Network Config:


Code:

[root@kvm2 network-scripts]#  cat /etc/sysconfig/network-s*/ifcfg-em1
DEVICE=em1
HWADDR=14:FE:B5:DC:03:82
TYPE=Ethernet
UUID=02bb6cdb-28b7-4c98-94f7-d0f10b90a5d9
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
BRIDGE=br0

[root@kvm2 network-scripts]#  cat /etc/sysconfig/network-s*/ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
IPADDR=xxx.xxx.98.130
NETMASK=255.255.255.128
GATEWAY=xxx.xxx.98.129
ONBOOT=yes

[root@kvm2 network-scripts]#  cat /etc/sysconfig/network-s*/ifcfg-em1-range0
IPADDR_START=xxx.xxx.98.130
IPADDR_END=xxx.xxx.98.254
CLONENUM_START=0



All times are GMT -5. The time now is 09:12 AM.