S
S
serious9112016-11-02 15:17:21
linux
serious911, 2016-11-02 15:17:21

VMs won't start in XenServer?

Installed XenServer on a virtual machine and configured everything. I create a virtual machine on XenServer as described here - grantmcwilliams.com/tech/virtualization/xcp-howtos... Everything seems to be installed and working.
xe vm-list:


uuid (RO) : ccf7e124-d83a-44b9-afad-5e3a2d5d72a9
name-label (RW): Control domain on host: XenServer
power-state (RO): running
uuid (RO) : 18feb036-e484-603a-7009-11bf3cd7a6c3
name -label (RW): CentOS7
power-state (RO): halted
uuid (RO): f506e7ed-77df-14d3-24d6-5c253eba6daa
name-label (RW): Ubuntu 12.04
power-state (RO): running

The problem is that after restarting the virtual machine cannot rise - it does not find the boot disk.

The bootloader returned an error
vm: 18feb036-e484-603a-7009-11bf3cd7a6c3 (CentOS7)
msg: 'Pygrub error (1): RuntimeError: Bootable disk has no valid filesystem'

8123ca09711741dca6c53279983917af.png
I've been suffering for almost 2 days, read a lot of tutorials / googled, but I didn't find anything sensible... I installed CentOS 6/7 and Ubuntu 12.04, but it's always the same - the virtual machine can't start after shutdown. In addition, I did not understand how to connect to a virtual machine via ssh, for example.
I run it like this:

xe vm-start uuid=18feb036-e484-603a-7009-11bf3cd7a6c3

Tell me, please, what could be the problem?
Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
Cool Admin, 2016-11-02
@ifaustrue

Why don't you use XenCenter? Why are you doing magic on the command line?
Or if you have pure xen, then write correctly, XenServer =! xen (from the word "not the same at all").

A
Argenon, 2016-11-02
@Argenon

Well, if everything is created and works fine through Xen Center, and after running the scripts for creating virtual machines, the disks are in the storages, then it’s a matter of going here grantmcwilliams.com/files/kickstart-minimal-precis... - something with the partition table. Attach a virtual disk to a working machine and see what you have there with partitions.

Y
youngdref, 2016-11-09
@youngdref

/var/log/xen/ to the studio.
Is the OS exactly installed on the virtual machine?
Those. you put a hypervisor on a virtual machine?) Or did I misunderstand you?
xe console UUID (or VM name) - should work. (everything is fine on openSUSE + Xen via xl console).
Have you tried virt-manager?
ps - judging by the fact that you use pygrub, I can assume that you are using paravirtualization. Have you tried full virtualization?
Pss - what command do you start the virtual machine after stopping?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question