Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMs fails to start after rebooting the node/hosting server #171

Open
maheshd2 opened this issue Nov 18, 2021 · 0 comments
Open

VMs fails to start after rebooting the node/hosting server #171

maheshd2 opened this issue Nov 18, 2021 · 0 comments

Comments

@maheshd2
Copy link

After rebooting the hosting server, we found that the VMs in down state:

[root@localhost ~]# virsh list --all
setlocale: No such file or directory
 Id   Name                        State
--------------------------------------------
 -    dev-master-1_vran-cluster   shut off
 -    dev-master-2_vran-cluster   shut off
 -    dev-master-3_vran-cluster   shut off
 -    dev-master-4_vran-cluster   shut off

But when we try to start the VMs, it fails with below error:

[root@localhost ~]# virsh start dev-master-2_vran-cluster
setlocale: No such file or directory
error: Failed to start domain dev-master-2_vran-cluster
error: Cannot access storage file '/tmp/vran-cluster.iso': No such file or directory

As a temporary workaround we just removed the '/tmp/vran-cluster.iso' reference in the domain xml and were able to start the VMs.

<disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/tmp/vran-cluster.iso'/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>

We need to see how we can remove this reference from the domain xml after booting up the VMs. Otherwise we have to place the iso file in a path other than 'tmp' location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant