kevydotvinu / openshift-network-playground

The OpenShift Network Playground is built for advanced OpenShift users who needs to quickly build and test different OpenShift network scenarios.
https://kevy.gitbook.io/onp
MIT License
3 stars 1 forks source link

No VMs on startup #94

Closed kevydotvinu closed 10 months ago

kevydotvinu commented 1 year ago
[systemd]
Failed Units: 5
  master0.service
  master1.service
  master2.service
  worker0.service
  worker1.service
$ sudo virsh list --all
Id   Name   State
-------------------
kevydotvinu commented 1 year ago

Use the below as a workaround.

$ sudo systemctl restart master0 master1 master2 worker0 worker1
kevydotvinu commented 1 year ago
$ sudo systemctl restart master0
[onp@localhost ~]$ journalctl -u master0
Aug 26 00:00:45 localhost systemd[1]: Starting master0.service...
Aug 26 00:00:45 localhost create-vm.sh[1906]: + VM_NAME=master0
Aug 26 00:00:45 localhost create-vm.sh[1906]: + MAC1=52:54:00:11:22:b1
Aug 26 00:00:45 localhost create-vm.sh[1906]: + MAC2=52:54:00:11:22:a1
Aug 26 00:00:45 localhost create-vm.sh[1906]: + VM_DIR=/opt/openshift-network-playground/libvirt
Aug 26 00:00:45 localhost create-vm.sh[1906]: + VM_DISK=/opt/openshift-network-playground/libvirt/master0/master0.img
Aug 26 00:00:45 localhost create-vm.sh[1906]: + VCPU=4
Aug 26 00:00:45 localhost create-vm.sh[1906]: + MEMORY=16384
Aug 26 00:00:45 localhost create-vm.sh[1906]: + NETWORK1=bridge=provisioning,mac=52:54:00:11:22:b1
Aug 26 00:00:45 localhost create-vm.sh[1906]: + NETWORK2=bridge=baremetal,mac=52:54:00:11:22:a1
Aug 26 00:00:45 localhost create-vm.sh[1911]: ++ /usr/sbin/ip r
Aug 26 00:00:45 localhost create-vm.sh[1912]: ++ grep default
Aug 26 00:00:45 localhost create-vm.sh[1913]: ++ awk '{print $9}'
Aug 26 00:00:45 localhost create-vm.sh[1914]: ++ head -n 1
Aug 26 00:00:45 localhost create-vm.sh[1906]: + HOST_IP=