* Easier interface for kickstarting Xen VMs
@ 2010-09-20 17:04 Edward Z. Yang
2010-09-21 16:46 ` Stefano Stabellini
0 siblings, 1 reply; 4+ messages in thread
From: Edward Z. Yang @ 2010-09-20 17:04 UTC (permalink / raw)
To: xen-devel
Hello all,
When you're embedding an HTTPD server into your Xen configuration
file, you know there's something wrong. :-)
I was curious to know if there would be any interest in offering
a more polished, easier to use interface for kickstarting Xen
VMs. No mucking around with ks= and trusted web servers: just
say where your kickstart file is and Xen will take care of the rest.
Maybe even let you do a little preprocessing the same way you
can use Python scripting to support multiple machines out of one
configuration file.
We have a few ways of how we might do this: the "temporarily spawn
an HTTP server" is one of them but other possibilities include
mounting multiple initrds (doesn't actually work with Anaconda, we're
looking into it) and exporting a small, temporary filesystem to the VM.
If there's interest, we'll clean up our code and submit it.
Cheers,
Edward
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Easier interface for kickstarting Xen VMs
2010-09-20 17:04 Easier interface for kickstarting Xen VMs Edward Z. Yang
@ 2010-09-21 16:46 ` Stefano Stabellini
2010-09-21 18:32 ` Edward Z. Yang
0 siblings, 1 reply; 4+ messages in thread
From: Stefano Stabellini @ 2010-09-21 16:46 UTC (permalink / raw)
To: Edward Z. Yang; +Cc: xen-devel
On Mon, 20 Sep 2010, Edward Z. Yang wrote:
> Hello all,
>
> When you're embedding an HTTPD server into your Xen configuration
> file, you know there's something wrong. :-)
>
> I was curious to know if there would be any interest in offering
> a more polished, easier to use interface for kickstarting Xen
> VMs. No mucking around with ks= and trusted web servers: just
> say where your kickstart file is and Xen will take care of the rest.
> Maybe even let you do a little preprocessing the same way you
> can use Python scripting to support multiple machines out of one
> configuration file.
>
> We have a few ways of how we might do this: the "temporarily spawn
> an HTTP server" is one of them but other possibilities include
> mounting multiple initrds (doesn't actually work with Anaconda, we're
> looking into it) and exporting a small, temporary filesystem to the VM.
> If there's interest, we'll clean up our code and submit it.
>
You should be aware that we are trying to move away from xend to xl,
that generally supports the same VM config file format with just one
exception: embedded python.
Considering that kickstarting Xen VMs is a common problem and probably
the main headache for sysadmins when moving from xend to xl, I would
welcome a clean and small solution to this problem that doesn't involve
embedded python.
If we go with the temporary fs strategy, I guess there isn't any actual
code to be committed to xen-unstable, but rather a wiki page to
describe the solution and a link to the initrd?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Easier interface for kickstarting Xen VMs
2010-09-21 16:46 ` Stefano Stabellini
@ 2010-09-21 18:32 ` Edward Z. Yang
2010-09-22 11:23 ` Stefano Stabellini
0 siblings, 1 reply; 4+ messages in thread
From: Edward Z. Yang @ 2010-09-21 18:32 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel
Excerpts from Stefano Stabellini's message of Tue Sep 21 12:46:53 -0400 2010:
> You should be aware that we are trying to move away from xend to xl,
> that generally supports the same VM config file format with just one
> exception: embedded python.
Stefano, that's really interested! None of our current team was aware of
this fact; probably because we're still on Ubuntu 8.04 due to Xen's
special packaging situation on this platforms.
> Considering that kickstarting Xen VMs is a common problem and probably
> the main headache for sysadmins when moving from xend to xl, I would
> welcome a clean and small solution to this problem that doesn't involve
> embedded python.
That's great to hear. The point of the solution is to do away with the
embedded Python.
> If we go with the temporary fs strategy, I guess there isn't any actual
> code to be committed to xen-unstable, but rather a wiki page to
> describe the solution and a link to the initrd?
Considering that any given Kickstart file needs to be converted into an
initrd, there would be code involved. I am also unconvinced that Anaconda
actually /works/ with layered initrd, see my post here:
https://www.redhat.com/archives/kickstart-list/2010-September/msg00015.html
Cheers,
Edawrd
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Easier interface for kickstarting Xen VMs
2010-09-21 18:32 ` Edward Z. Yang
@ 2010-09-22 11:23 ` Stefano Stabellini
0 siblings, 0 replies; 4+ messages in thread
From: Stefano Stabellini @ 2010-09-22 11:23 UTC (permalink / raw)
To: Edward Z. Yang; +Cc: xen-devel, Ian Jackson, Stefano Stabellini
On Tue, 21 Sep 2010, Edward Z. Yang wrote:
> Excerpts from Stefano Stabellini's message of Tue Sep 21 12:46:53 -0400 2010:
> > You should be aware that we are trying to move away from xend to xl,
> > that generally supports the same VM config file format with just one
> > exception: embedded python.
>
> Stefano, that's really interested! None of our current team was aware of
> this fact; probably because we're still on Ubuntu 8.04 due to Xen's
> special packaging situation on this platforms.
>
xl/libxl is still under heavy development, the first version that should
be stable enough for production use is going to be released with xen
4.1.
> > Considering that kickstarting Xen VMs is a common problem and probably
> > the main headache for sysadmins when moving from xend to xl, I would
> > welcome a clean and small solution to this problem that doesn't involve
> > embedded python.
>
> That's great to hear. The point of the solution is to do away with the
> embedded Python.
Yes, exactly.
>
> > If we go with the temporary fs strategy, I guess there isn't any actual
> > code to be committed to xen-unstable, but rather a wiki page to
> > describe the solution and a link to the initrd?
>
> Considering that any given Kickstart file needs to be converted into an
> initrd, there would be code involved. I am also unconvinced that Anaconda
> actually /works/ with layered initrd, see my post here:
>
> https://www.redhat.com/archives/kickstart-list/2010-September/msg00015.html
>
Ok then we can convert kickstart files into temporary iso images or read
only disks?
Instead of implementing this feature directly in the toolstack maybe it
is better to have another tool take a ks file and generate the
VM config file and the temporary disk. This way the whole process would
be a more transparent and flexible.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-22 11:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-20 17:04 Easier interface for kickstarting Xen VMs Edward Z. Yang
2010-09-21 16:46 ` Stefano Stabellini
2010-09-21 18:32 ` Edward Z. Yang
2010-09-22 11:23 ` Stefano Stabellini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.