Re: [et-mgmt-tools] virt-name in cobbler profile?

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

 



Foreman, Tim wrote:
-----Original Message-----
From: et-mgmt-tools-bounces@xxxxxxxxxx
[mailto:et-mgmt-tools-bounces@xxxxxxxxxx]On Behalf Of Michael DeHaan
Sent: Monday, March 05, 2007 9:59 AM
To: Fedora/Linux Management Tools
Subject: Re: [et-mgmt-tools] virt-name in cobbler profile?


Foreman, Tim wrote:
The man page for cobbler says:

virt-name
(optional) (Virt-only) what the Virt guest name should start with.
Creating multiple images on a machine will cause increasing numbers
to be appended to this name.  The default is "virtguest".

When I specify a virt-name of RH4U5 and try and create multiple
guests using koan:
koan --virt --server=kickstart.mtc.ibsys.com \
     --profile=rhel4u5-beta_xen_domU

It creates the first one named RH4U5 but does not append a number
to the second one and fails with an error:

libvir: Xen Daemon error : POST operation failed: (xend.err "Error
creating domain: VM name 'RH4U5' already in use by domain 2")

Is this functionailty missing? Not implemented yet?
This is probably a bug. koan keeps track of Xen names that are already taken by looking at files in /etc/xen, so let me know if you see a /etc/xen/RH4U5 and /etc/xen/RH4U5_1 in there. I'm guessing koan is confused because the first guest is still installing ...

It should be noted that the way koan looks for virtual systems is a bit outdated. The /etc/xen/ paths are deprecated and Xen doesn't use them anymore. Fortunately updating koan is on my short list...

Ah, the virt-name is my fault. My domain creations were failing, so
it wasn't creating the config file, but the domain was running in an
odd state.

Once I sorted that out it started working.

--Tim
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
Glad to hear it worked out ... it's still a bit wrong in koan even so and I'll see if I can't improve that.

Meanwhile, as for failed installs, this might be a good idea to do some testing on cobbler's kickstart tracking feature (/var/log/cobbler and "cobbler check"). I haven't heard many field reports on them, but that feature is basically designed to figure out if any kickstarts have stalled/hung/failed.

--Michael


[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