Ok, so 2 hosts running Deb 8, Sunstone in a VM was on VMWare ESXi but migrated to a VM on one of the KVM nodes (only 1 host currently running).
We had a raid issue and after some work booted and now cannot access the frontend as its VM is not running, so cannot run onevm or onehost etc, so i need to start the VM’s from the node.
On the node when i issue
virsh list --all as oneadmin, [my login] or root i get an empty list.
virsh -c qemu:///system list --all and
virsh -c qemu:///session list --all also returns an empty list. I tried issuing
virsh start one-54 (which is a valid VM) results in:
error: failed to connect to the hypervisor error: no valid connection error: Cannot create user runtime directory '/run/user/1000/libvirt': Permission denied
for oneadmin and:
error: failed to get domain 'one-54' error: Domain not found: no domain with matching name 'one-54'
I’m sure i have been able to use
virsh without issue from this node in the past. I’ve changed permissions for the dir above but oneadmin then reports
error: failed to get domain 'one-54' etc.
How can i start these VM’s from the Node?
Versions of the related components and OS (frontend, hypervisors, VMs):
Node: Deb 8, ON 5.8.1,
Frontend: Deb 9