Re: Koan problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Pearson wrote:
Hi All,
Wonder if you can help me when I run Koan with the following inputs:-

koan --virt --server=puppet.tk.japannext.co.jp --profile=RHEL4-ES-xen-x86_64 --virt-name=tkdvir1

I get the following error:-

libvir: Xen error : Domain not found: xenUnifiedDomainLookupByUUID

I am running it from the following cobbler profile:-

RHEL4-ES-xen-x86_64
kernel : /var/www/cobbler/ks_mirror/RHEL4-ES-x86_64/images/xen/vmlinuz initrd : /var/www/cobbler/ks_mirror/RHEL4-ES-x86_64/images/xen/initrd.img
kernel options  : {}
architecture    : x86_64
ks metadata : {'tree': 'http://@@http_server@@/cblr/links/RHEL4-ES-xen-x86_64'}
breed           : redhat

profile         : RHEL4-ES-xen-x86_64
distro          : RHEL4-ES-xen-x86_64
kickstart       : /etc/cobbler/RHEL4-ES-xen-x86_64.cfg
kernel options  : {}
ks metadata     : {'os': 'RHEL4-ES-xen', 'arch': 'x86_64'}
virt file size  : 5
virt ram        : 512
virt type       : auto
virt path       : <<inherit>>
virt bridge     : xenbr0
virt cpus       : 1
repos           : []
dhcp tag        : default
server          : <<inherit>>


The virtual machine gets setup but is unusable after this.

Kickstart file is as follows:-

# System authorization information
auth  --useshadow  --enablemd5
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel
# Use text mode install
text
# Firewall configuration
firewall --enabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Use network installation
url --url=http://10.145.100.35/cblr/links/RHEL4-ES-xen-x86_64
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
# Reboot after installation
reboot

#Root password
rootpw --iscrypted $1$mF86/UHC$WvcIcX2t6crBz2onWxyac.
# SELinux configuration
selinux --disabled
# Do not configure the X Window System
skipx
# System timezone
timezone  America/New_York
# Install OS instead of upgrade
install
# Clear the Master Boot Record
zerombr

# Magically figure out how to partition this thing
%include /tmp/partinfo

%pre
# Determine how many drives we have
set $(list-harddrives)
let numd=$#/2
d1=$1
d2=$3

cat << EOF > /tmp/partinfo
part / --fstype ext3 --size=1024 --grow --ondisk=$d1 --asprimary
part swap --size=1024 --ondisk=$d1 --asprimary
EOF



%packages

%post


wget "http://10.145.100.35/cobbler/kickstarts_sys/tkdvir1/ks.cfg"; -O /root/cobbler

It would be wonderful if someone could give me an idea of why this is going wrong.

Also if anymore information is required to help solve the problem let me know.

Thanks,

Martin.


P.S. XEN machines work fine when created with virt-install.

Thanks,

Martin.

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux