[et-mgmt-tools] virt-name in cobbler profile?
Foreman, Tim
tforeman at ibsys.com
Mon Mar 5 20:46:08 UTC 2007
> -----Original Message-----
> From: et-mgmt-tools-bounces at redhat.com
> [mailto:et-mgmt-tools-bounces at redhat.com]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
More information about the et-mgmt-tools
mailing list