xm create -c /path/to/file/foo
Thank you for the suggestion. What should that path be? There are no configuration files in /etc/xen on dom0.
Cheers,
Joe
-----Original Message----- From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Nicholas Schuetz Sent: Wednesday, January 05, 2011 11:35 AM To: cobbler mailing list Subject: Re: xm create -c <domU> is failing: can't find config file for koan VM
Try using the full path to the config file:
xm create -c /path/to/file/foo
On Wed, Jan 5, 2011 at 1:09 PM, Joe Linoff jlinoff@tabula.com wrote:
Hi Folks:
I created two domU's using koan with the -nofgx switch:
dom0 % koan --virt --nogfx --system=foo dom0 % koan --virt --nogfx --system=bar
They both configured properly.
I then ran xm list:
Name ID Mem VCPUs State Time(s) Domain-0 0 1024 16 r----- 621.6 foo 2048 2 0.0 bar 2048 2 0.0
I then ran xm create -c foo and got this error:
dom0 # xm create -c foo Error: Unable to open config file: foo Usage: xm create <ConfigFile> [options] [vars]
I then ran xm create -c bar and got the same error:
dom0 # xm create -c bar Error: Unable to open config file: bar Usage: xm create <ConfigFile> [options] [vars]
It is probably the case that some sort of error occurred during the configuration/setup phase. Unfortunately I had to go to a meeting and missed the output.
How can I debug this?
Here is the output of --display for foo:
dom0 # koan --display --system=foo - looking for Cobbler at http://<server>/cobbler_api - reading URL: http://<server>/cblr/svc/op/ks/system/foo install_tree: http://<server>/cblr/links/centos-5.5-xen-x86_64 name : foo distro : centos-5.5-xen-x86_64 profile : centos-5.5-xen-x86_64-domU kickstart : http://<server>/cblr/svc/op/ks/system/foo ks_meta : tree=http://@@http_server@@/cblr/links/centos-5.5-xen-x86_64 install_tree : http://<server>/cblr/links/centos-5.5-xen-x86_64 kernel : /var/www/cobbler/ks_mirror/centos-5.5-x86_64/images/xen/vmlinuz initrd : /var/www/cobbler/ks_mirror/centos-5.5-x86_64/images/xen/initrd.img netboot_enabled : True kernel_options : ks=http://<server>/cblr/svc/op/ks/system/foo ksdevice=link kssendmac lang= text repos : centos-5.5-x86_64-addons centos-5.5-x86_64-contrib centos-5.5-x86_64-elrepo centos-5.5-x86_64-epel centos-5.5-x86_64-extras centos-5.5-x86_64-os centos-5.5-x86_64-updates centos-5.5-x86_64-xen virt_ram : 2048 virt_type : xenpv virt_path : virt_auto_boot : 0
Thanks,
Joe
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler