This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-community] trouble launching vm's

To: xen-community@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-community] trouble launching vm's
From: Tim Dunphy <bluethundr@xxxxxxxxx>
Date: Sat, 14 Aug 2010 23:05:38 -0400
Delivery-date: Sat, 14 Aug 2010 20:05:49 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=ms9RigAm8vQWcC5289NVnCsFW/QC5zZvToX95dw/+zU=; b=Z8BnmRY9uZGWLQWvzfbz36bDZTlBbYEHLu8pz+OAnBC/cE08U+MF18jhnoZkxa9rjb cMQOKkUUru5o+sTWCRzzLP2TZ3uSjlLWOBYFGmPSt6/xh0SB6St/EWHxALPCV9n9OsA+ ddSllBWsoNSz3vilBJQYTep0OlobQjxlZZfkA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KtROT5tYzOJ/hp28t+MsX3F5TdK07W67zNIKw3G/3v6AIrUEtZJrmi1ubx1BwQ6WeW Yytgp7Qo8tPG3GDnkWQX9+nXSNE4URyXWbgCeoi4oYPNM/SWT+Fh7EJ/+b5vpQUYwCdD nAdKaYLaet7IMsyu/HdWhmAKhw10EpcpXE4CA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-archive: <http://lists.xensource.com/archives/html/xen-community>
List-help: <mailto:xen-community-request@lists.xensource.com?subject=help>
List-id: Community Discussion <xen-community.lists.xensource.com>
List-post: <mailto:xen-community@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-community>, <mailto:xen-community-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-community>, <mailto:xen-community-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-community-bounces@xxxxxxxxxxxxxxxxxxx

 I must be missing something very very basic. Because I am having
trouble launching some vm's that I recently built whereas I don't have
any problem at all launching some older images I made in very much the
same way!

 First there is vm01 which works just fine:

[root@lcent5-1:/etc/xen]$:xm create vm01
Using config file "./vm01".
Started domain vm01

And here is the conf file for vm01:

name = "vm01"
uuid = "4d996e30-dbce-4717-dbc6-8fa149ddf96b"
maxmem = 256
memory = 256
vcpus = 1
bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
disk = [ "tap:aio:/vm/vm01.img,xvda,w" ]
vif = [ "mac=00:16:36:3a:88:ae,bridge=xenbr0,script=vif-bridge" ]

So far so good!

But when I try to launch vm05 this is what I get:

 [root@lcent5-1:/etc/xen]$:xm create vm05
Using config file "./vm05".
Traceback (most recent call last):
  File "/usr/bin/pygrub", line 682, in ?
    chosencfg = run_grub(file, entry, fs)
  File "/usr/bin/pygrub", line 536, in run_grub
    g = Grub(file, fs)
  File "/usr/bin/pygrub", line 203, in __init__
    self.read_config(file, fs)
  File "/usr/bin/pygrub", line 397, in read_config
    raise RuntimeError, "couldn't find bootloader config file in the
image provided."
RuntimeError: couldn't find bootloader config file in the image provided.
No handlers could be found for logger "xend"
Error: Boot loader didn't return any data!
Usage: xm create <ConfigFile> [options] [vars]

Create a domain based on <ConfigFile>.


Then it lists some help options.

 I can't quite figure out why the second and subsuquent vm's won't
launch, because as I said they were built in exacltly the same way!

 Here is the conf file for vm05:

name = "vm05"
uuid = "6830ef63-88e9-69f4-be44-7a71efd4dfa4"
maxmem = 256
memory = 256
vcpus = 1
bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
disk = [ "tap:aio:/vm/vm05.img,xvda,w" ]
vif = [ "mac=00:16:36:2a:0d:dd,bridge=xenbr0,script=vif-bridge" ]

The only difference I can tell between the two is the name of the
vm's. Can someone please let me know how to proceed to get vm05 and
the others (which have a similar problem) launched?


Xen-community mailing list

<Prev in Thread] Current Thread [Next in Thread>