Re: vm-builder
On 02/07/2014 11:25 AM, Serge Hallyn wrote: > Quoting Ryan Harper (ryan.har...@ubuntu.com): >> * Serge Hallyn [2014-02-07 09:40]: >>> Quoting Ryan Harper (ryan.har...@ubuntu.com): >>>> * Serge Hallyn [2014-02-06 17:04]: >>>>> Quoting Peter Matulis (peter.matu...@canonical.com): >>>>>> On 12/10/2013 12:13 PM, Serge Hallyn wrote: >>>>>>> Hi, >>>>>>> >>>>>>> Years ago it was decided that vm-builder would be deprecated in favor >>>>>>> of alternatives (cloud images, live-build, and some others). This was >>>>>>> dicussed at at least two separate physical UDSes. However, it was >>>>>>> never actually dropped from the archive. As a result people kept >>>>>>> using it despite it being considered deprecated and no longer >>>>>>> maintained. This is resulting in people losing data and time, i.e. >>>>>>> https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 >>>>>>> >>>>>>> I intend to open a bug to ask that it be removed from the archive >>>>>>> for trusty. If anyone objects, please reply here. >>>>>> >>>>>> What is the state of documentation for 'live-build and some others'? We >>>>>> shouldn't assume everyone has been cloudified. >>>>> >>>>> Pretty poor. I am placing my hopes more on Robie's uvtool package than >>>>> live-build. It is what I've been using for projects needing to migrate >>>>> from vmbuilder. uvtool should definately gain a server guide section. >>>> >>>> Definitely. I'd be happy to contribute here. I've been a heavy user of >>>> uvtool since I found out about it last fall. >>> >>> Hi Ryan, >>> >>> I could be wrong but think Robie was going to write a section, so be >>> sure to coordinate if so. >> >> Sure. >> >>> >>> Note that there is one package left which is in heavy use and still >>> uses vm-builder: >>> >>> https://bugs.launchpad.net/ubuntu/+source/auto-upgrade-testing/+bug/1261416 >>> >>> I do intend to come up with a patch to convert it to uvtool, however if >>> you have time, it sounds like you've used uvtool a lot more than I have, >>> so help would be greatly appreciated. >> >> I'll take a look. > > Thanks! >> https://github.com/clalancette/oz/wiki/oz-install Whoever wants to write documentation for these tools please refer to https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/UbuntuServerGuide Section 20.2 is for vmbuilder. We can replace it with these other tools. Thanks! /pmatulis -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
Quoting Ryan Harper (ryan.har...@ubuntu.com): > * Serge Hallyn [2014-02-07 09:40]: > > Quoting Ryan Harper (ryan.har...@ubuntu.com): > > > * Serge Hallyn [2014-02-06 17:04]: > > > > Quoting Peter Matulis (peter.matu...@canonical.com): > > > > > On 12/10/2013 12:13 PM, Serge Hallyn wrote: > > > > > > Hi, > > > > > > > > > > > > Years ago it was decided that vm-builder would be deprecated in > > > > > > favor > > > > > > of alternatives (cloud images, live-build, and some others). This > > > > > > was > > > > > > dicussed at at least two separate physical UDSes. However, it was > > > > > > never actually dropped from the archive. As a result people kept > > > > > > using it despite it being considered deprecated and no longer > > > > > > maintained. This is resulting in people losing data and time, i.e. > > > > > > https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 > > > > > > > > > > > > I intend to open a bug to ask that it be removed from the archive > > > > > > for trusty. If anyone objects, please reply here. > > > > > > > > > > What is the state of documentation for 'live-build and some others'? > > > > > We > > > > > shouldn't assume everyone has been cloudified. > > > > > > > > Pretty poor. I am placing my hopes more on Robie's uvtool package than > > > > live-build. It is what I've been using for projects needing to migrate > > > > from vmbuilder. uvtool should definately gain a server guide section. > > > > > > Definitely. I'd be happy to contribute here. I've been a heavy user of > > > uvtool since I found out about it last fall. > > > > Hi Ryan, > > > > I could be wrong but think Robie was going to write a section, so be > > sure to coordinate if so. > > Sure. > > > > > Note that there is one package left which is in heavy use and still > > uses vm-builder: > > > > https://bugs.launchpad.net/ubuntu/+source/auto-upgrade-testing/+bug/1261416 > > > > I do intend to come up with a patch to convert it to uvtool, however if > > you have time, it sounds like you've used uvtool a lot more than I have, > > so help would be greatly appreciated. > > I'll take a look. Thanks! > > > I saw this back in December, but didn't get a chance to play with it > > > yet. > > > > > > http://libguestfs.org/virt-builder.1.html > > > > Interestingly, it appears to come down to using virt-install to > > come up with the initial image :) > > Hrm, I think I ended up here: > > https://github.com/clalancette/oz/wiki/oz-install > > Which appears to do install-from-scratch. Haven't tried this one either. Aaah, that's the one I was talking about :) (oz being un-googleable) -serge -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
* Serge Hallyn [2014-02-07 09:40]: > Quoting Ryan Harper (ryan.har...@ubuntu.com): > > * Serge Hallyn [2014-02-06 17:04]: > > > Quoting Peter Matulis (peter.matu...@canonical.com): > > > > On 12/10/2013 12:13 PM, Serge Hallyn wrote: > > > > > Hi, > > > > > > > > > > Years ago it was decided that vm-builder would be deprecated in favor > > > > > of alternatives (cloud images, live-build, and some others). This was > > > > > dicussed at at least two separate physical UDSes. However, it was > > > > > never actually dropped from the archive. As a result people kept > > > > > using it despite it being considered deprecated and no longer > > > > > maintained. This is resulting in people losing data and time, i.e. > > > > > https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 > > > > > > > > > > I intend to open a bug to ask that it be removed from the archive > > > > > for trusty. If anyone objects, please reply here. > > > > > > > > What is the state of documentation for 'live-build and some others'? We > > > > shouldn't assume everyone has been cloudified. > > > > > > Pretty poor. I am placing my hopes more on Robie's uvtool package than > > > live-build. It is what I've been using for projects needing to migrate > > > from vmbuilder. uvtool should definately gain a server guide section. > > > > Definitely. I'd be happy to contribute here. I've been a heavy user of > > uvtool since I found out about it last fall. > > Hi Ryan, > > I could be wrong but think Robie was going to write a section, so be > sure to coordinate if so. Sure. > > Note that there is one package left which is in heavy use and still > uses vm-builder: > > https://bugs.launchpad.net/ubuntu/+source/auto-upgrade-testing/+bug/1261416 > > I do intend to come up with a patch to convert it to uvtool, however if > you have time, it sounds like you've used uvtool a lot more than I have, > so help would be greatly appreciated. I'll take a look. > > > I saw this back in December, but didn't get a chance to play with it > > yet. > > > > http://libguestfs.org/virt-builder.1.html > > Interestingly, it appears to come down to using virt-install to > come up with the initial image :) Hrm, I think I ended up here: https://github.com/clalancette/oz/wiki/oz-install Which appears to do install-from-scratch. Haven't tried this one either. > > smoser has occasionally mentioned another tool - whose name I > always forget but is as I recall ungoogle-able - which actually > works by simply booting an install iso and driving the installer. There have been a number of these. The old kvm-autotest framework had a tool that would automatically drive user input through qemu monitor commands (sendkey, mouse_move, mouse_click). Would use screenshots as install checkpoints, but of course was prone to image corruption. kvm autotest all use OS methods for unattended install (kickstart, preseed, etc). > That would be a nice complement to uvtool - one exercising our > published cloud images, and the other our iso installer. > > -serge pgp8vsjTI5CYX.pgp Description: PGP signature -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
Quoting Ryan Harper (ryan.har...@ubuntu.com): > * Serge Hallyn [2014-02-06 17:04]: > > Quoting Peter Matulis (peter.matu...@canonical.com): > > > On 12/10/2013 12:13 PM, Serge Hallyn wrote: > > > > Hi, > > > > > > > > Years ago it was decided that vm-builder would be deprecated in favor > > > > of alternatives (cloud images, live-build, and some others). This was > > > > dicussed at at least two separate physical UDSes. However, it was > > > > never actually dropped from the archive. As a result people kept > > > > using it despite it being considered deprecated and no longer > > > > maintained. This is resulting in people losing data and time, i.e. > > > > https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 > > > > > > > > I intend to open a bug to ask that it be removed from the archive > > > > for trusty. If anyone objects, please reply here. > > > > > > What is the state of documentation for 'live-build and some others'? We > > > shouldn't assume everyone has been cloudified. > > > > Pretty poor. I am placing my hopes more on Robie's uvtool package than > > live-build. It is what I've been using for projects needing to migrate > > from vmbuilder. uvtool should definately gain a server guide section. > > Definitely. I'd be happy to contribute here. I've been a heavy user of > uvtool since I found out about it last fall. Hi Ryan, I could be wrong but think Robie was going to write a section, so be sure to coordinate if so. Note that there is one package left which is in heavy use and still uses vm-builder: https://bugs.launchpad.net/ubuntu/+source/auto-upgrade-testing/+bug/1261416 I do intend to come up with a patch to convert it to uvtool, however if you have time, it sounds like you've used uvtool a lot more than I have, so help would be greatly appreciated. > I saw this back in December, but didn't get a chance to play with it > yet. > > http://libguestfs.org/virt-builder.1.html Interestingly, it appears to come down to using virt-install to come up with the initial image :) smoser has occasionally mentioned another tool - whose name I always forget but is as I recall ungoogle-able - which actually works by simply booting an install iso and driving the installer. That would be a nice complement to uvtool - one exercising our published cloud images, and the other our iso installer. -serge -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
* Serge Hallyn [2014-02-06 17:04]: > Quoting Peter Matulis (peter.matu...@canonical.com): > > On 12/10/2013 12:13 PM, Serge Hallyn wrote: > > > Hi, > > > > > > Years ago it was decided that vm-builder would be deprecated in favor > > > of alternatives (cloud images, live-build, and some others). This was > > > dicussed at at least two separate physical UDSes. However, it was > > > never actually dropped from the archive. As a result people kept > > > using it despite it being considered deprecated and no longer > > > maintained. This is resulting in people losing data and time, i.e. > > > https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 > > > > > > I intend to open a bug to ask that it be removed from the archive > > > for trusty. If anyone objects, please reply here. > > > > What is the state of documentation for 'live-build and some others'? We > > shouldn't assume everyone has been cloudified. > > Pretty poor. I am placing my hopes more on Robie's uvtool package than > live-build. It is what I've been using for projects needing to migrate > from vmbuilder. uvtool should definately gain a server guide section. Definitely. I'd be happy to contribute here. I've been a heavy user of uvtool since I found out about it last fall. I saw this back in December, but didn't get a chance to play with it yet. http://libguestfs.org/virt-builder.1.html > > -serge > > -- > ubuntu-server mailing list > ubuntu-server@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/ubuntu-server > More info: https://wiki.ubuntu.com/ServerTeam pgp10jWRAqD1K.pgp Description: PGP signature -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
Quoting Peter Matulis (peter.matu...@canonical.com): > On 12/10/2013 12:13 PM, Serge Hallyn wrote: > > Hi, > > > > Years ago it was decided that vm-builder would be deprecated in favor > > of alternatives (cloud images, live-build, and some others). This was > > dicussed at at least two separate physical UDSes. However, it was > > never actually dropped from the archive. As a result people kept > > using it despite it being considered deprecated and no longer > > maintained. This is resulting in people losing data and time, i.e. > > https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 > > > > I intend to open a bug to ask that it be removed from the archive > > for trusty. If anyone objects, please reply here. > > What is the state of documentation for 'live-build and some others'? We > shouldn't assume everyone has been cloudified. Pretty poor. I am placing my hopes more on Robie's uvtool package than live-build. It is what I've been using for projects needing to migrate from vmbuilder. uvtool should definately gain a server guide section. -serge -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
On Fri, Dec 13, 2013 at 04:22:31PM -0700, cdmiller wrote: > Thanks for all the great info. We'll be taking a look at cloud-utils, > uvtool etc.. Currently we run ubuntu-vm-builder via a wrapper which sets > up initial IP, installs and configures puppet, places an initial puppet > run in a firstboot script, and generates a libvirt config. If we can > get close to that with any of the above we'll be happy. After all we > still have to manually fix the libvirt xml after moving the disk images > into ceph. For your use case, I suggest that you fetch official Ubuntu cloud images using simplestreams, use cloud-init userdata to arrange your puppet bootstrap, cloud-localds to bundle the userdata into a nocloud datasource, put the two images into ceph, and script the libvirt xml generation. You should be able to script the individual pieces quite easily, and you wouldn't be dependent on any single all-encompassing tool supporting your specific use case. Each individual piece should be fairly easy to implement using the separate, individual tools. Robie -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
On 12/13/2013 02:17 PM, Scott Moser wrote: > On Fri, 13 Dec 2013, Serge Hallyn wrote: > >> Quoting cdmiller (cdmil...@adams.edu): >>> On 12/10/2013 10:13 AM, Serge Hallyn wrote: >>>> Hi, >>>> >>>> Years ago it was decided that vm-builder would be deprecated in favor >>>> of alternatives (cloud images, live-build, and some others). This was >>>> dicussed at at least two separate physical UDSes. However, it was >>>> never actually dropped from the archive. As a result people kept >>>> using it despite it being considered deprecated and no longer >>>> maintained. This is resulting in people losing data and time, i.e. >>>> https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 >>>> >>>> I intend to open a bug to ask that it be removed from the archive >>>> for trusty. If anyone objects, please reply here. >>>> >>>> thanks, >>>> -serge >>>> >>> >>> Could you please provide any more alternatives to explore alongside the >>> cloud images and live-build mentioned for us behind the times vmbuilder >>> users. Another I can think of immediately is cobbler, anything else to >>> consider? >> >> At UDS Copenhagen, oz was mentioned as a promising alternative which >> wraps the Ubuntu installer. See >> https://blueprints.launchpad.net/ubuntu/+spec/servercloud-r-vmbuilder >> and >> http://summit.ubuntu.com/uds-r/meeting/21093/servercloud-r-vmbuilder/ >> >> I've personally not used it, and doesn't even seem to be packaged. IIRC >> Scott was the one who had mentioned it. Scott have you used oz at all? > > oz is at https://github.com/clalancette/oz/wiki > > I've not used it personally. I really like the way that it is designed, > and there is even support for driving oz installs through openstack at > http://imgfac.org/ > > Generally, I don't think people should build images of operating systems. > We do that for them. RH and fedora do that for them too. > > I view ubuntu image build similar to how I view building eglibc, python, > or the linux kernel. You can do it if you want to, but unless you're > interested in just learning or *really* know what you're doing, I think > you're probably wasting your time. > > Don't flame me. I agree there are people who have perfectly valid reasons > for doing each of the things listed above. But I think thats > significantly fewer people than those who do them. > Thanks for all the great info. We'll be taking a look at cloud-utils, uvtool etc.. Currently we run ubuntu-vm-builder via a wrapper which sets up initial IP, installs and configures puppet, places an initial puppet run in a firstboot script, and generates a libvirt config. If we can get close to that with any of the above we'll be happy. After all we still have to manually fix the libvirt xml after moving the disk images into ceph. - cameron -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
2013/12/10 Serge Hallyn : > Years ago it was decided that vm-builder would be deprecated in favor > of alternatives (cloud images, live-build, and some others). Kill it! /Soren (who wrote it, maintained it for a couple of years, but who hasn't touched it since 2010) -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
On Fri, 13 Dec 2013, Serge Hallyn wrote: > Quoting cdmiller (cdmil...@adams.edu): > > On 12/10/2013 10:13 AM, Serge Hallyn wrote: > > > Hi, > > > > > > Years ago it was decided that vm-builder would be deprecated in favor > > > of alternatives (cloud images, live-build, and some others). This was > > > dicussed at at least two separate physical UDSes. However, it was > > > never actually dropped from the archive. As a result people kept > > > using it despite it being considered deprecated and no longer > > > maintained. This is resulting in people losing data and time, i.e. > > > https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 > > > > > > I intend to open a bug to ask that it be removed from the archive > > > for trusty. If anyone objects, please reply here. > > > > > > thanks, > > > -serge > > > > > > > Could you please provide any more alternatives to explore alongside the > > cloud images and live-build mentioned for us behind the times vmbuilder > > users. Another I can think of immediately is cobbler, anything else to > > consider? > > At UDS Copenhagen, oz was mentioned as a promising alternative which > wraps the Ubuntu installer. See > https://blueprints.launchpad.net/ubuntu/+spec/servercloud-r-vmbuilder > and > http://summit.ubuntu.com/uds-r/meeting/21093/servercloud-r-vmbuilder/ > > I've personally not used it, and doesn't even seem to be packaged. IIRC > Scott was the one who had mentioned it. Scott have you used oz at all? oz is at https://github.com/clalancette/oz/wiki I've not used it personally. I really like the way that it is designed, and there is even support for driving oz installs through openstack at http://imgfac.org/ Generally, I don't think people should build images of operating systems. We do that for them. RH and fedora do that for them too. I view ubuntu image build similar to how I view building eglibc, python, or the linux kernel. You can do it if you want to, but unless you're interested in just learning or *really* know what you're doing, I think you're probably wasting your time. Don't flame me. I agree there are people who have perfectly valid reasons for doing each of the things listed above. But I think thats significantly fewer people than those who do them. -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
Quoting cdmiller (cdmil...@adams.edu): > On 12/10/2013 10:13 AM, Serge Hallyn wrote: > > Hi, > > > > Years ago it was decided that vm-builder would be deprecated in favor > > of alternatives (cloud images, live-build, and some others). This was > > dicussed at at least two separate physical UDSes. However, it was > > never actually dropped from the archive. As a result people kept > > using it despite it being considered deprecated and no longer > > maintained. This is resulting in people losing data and time, i.e. > > https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 > > > > I intend to open a bug to ask that it be removed from the archive > > for trusty. If anyone objects, please reply here. > > > > thanks, > > -serge > > > > Could you please provide any more alternatives to explore alongside the > cloud images and live-build mentioned for us behind the times vmbuilder > users. Another I can think of immediately is cobbler, anything else to > consider? At UDS Copenhagen, oz was mentioned as a promising alternative which wraps the Ubuntu installer. See https://blueprints.launchpad.net/ubuntu/+spec/servercloud-r-vmbuilder and http://summit.ubuntu.com/uds-r/meeting/21093/servercloud-r-vmbuilder/ I've personally not used it, and doesn't even seem to be packaged. IIRC Scott was the one who had mentioned it. Scott have you used oz at all? If cloud images suffice, then uvtool (in the archive as of saucy and trusty, and in ppa:uvtool-dev/trunk back to precise) is an easy way to create vms built on it. -serge -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
On 12/10/2013 10:13 AM, Serge Hallyn wrote: > Hi, > > Years ago it was decided that vm-builder would be deprecated in favor > of alternatives (cloud images, live-build, and some others). This was > dicussed at at least two separate physical UDSes. However, it was > never actually dropped from the archive. As a result people kept > using it despite it being considered deprecated and no longer > maintained. This is resulting in people losing data and time, i.e. > https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 > > I intend to open a bug to ask that it be removed from the archive > for trusty. If anyone objects, please reply here. > > thanks, > -serge > Could you please provide any more alternatives to explore alongside the cloud images and live-build mentioned for us behind the times vmbuilder users. Another I can think of immediately is cobbler, anything else to consider? Thanks, - cameron -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
Quoting Peter Matulis (peter.matu...@canonical.com): > On 12/10/2013 12:13 PM, Serge Hallyn wrote: > > Hi, > > > > Years ago it was decided that vm-builder would be deprecated in favor > > of alternatives (cloud images, live-build, and some others). This was > > dicussed at at least two separate physical UDSes. However, it was > > never actually dropped from the archive. As a result people kept > > using it despite it being considered deprecated and no longer > > maintained. This is resulting in people losing data and time, i.e. > > https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 > > > > I intend to open a bug to ask that it be removed from the archive > > for trusty. If anyone objects, please reply here. > > What is the state of documentation for 'live-build and some others'? We > shouldn't assume everyone has been cloudified. The only thing we are assuming is that vmbuilder is not being maintained, and therefore it should not be in the archive for the next LTS. If someone is willing and able to step in and maintain it, then absolutely we can keep it in the archive. The last few times we discussed this (at UDSes) noone stepped up to maintain. The choice isn't "force everyone to use something different" vs "keep a stable vmbuilder in the archive." It's "keep an unmaintained vmbuilder in the archive" versus "pull it out." Finally, vmbuilder would not be removed in precise..saucy, so people do still have time to find their alternative (or decide that vmbuilder is important enough to them that they should maintain it themselves). -serge -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: vm-builder
On 12/10/2013 12:13 PM, Serge Hallyn wrote: > Hi, > > Years ago it was decided that vm-builder would be deprecated in favor > of alternatives (cloud images, live-build, and some others). This was > dicussed at at least two separate physical UDSes. However, it was > never actually dropped from the archive. As a result people kept > using it despite it being considered deprecated and no longer > maintained. This is resulting in people losing data and time, i.e. > https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 > > I intend to open a bug to ask that it be removed from the archive > for trusty. If anyone objects, please reply here. What is the state of documentation for 'live-build and some others'? We shouldn't assume everyone has been cloudified. ~pmatulis -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
vm-builder
Hi, Years ago it was decided that vm-builder would be deprecated in favor of alternatives (cloud images, live-build, and some others). This was dicussed at at least two separate physical UDSes. However, it was never actually dropped from the archive. As a result people kept using it despite it being considered deprecated and no longer maintained. This is resulting in people losing data and time, i.e. https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223 I intend to open a bug to ask that it be removed from the archive for trusty. If anyone objects, please reply here. thanks, -serge -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: Javascript tool that generates the lengthy set of parameters available for ubuntu-vm-builder
The site still works fine. The only thing I would change is hardy to lucid since lucid is the next LTS (long term support). sudo ubuntu-vm-builder kvm lucid --arch 'amd64' --mem '128' --rootsize '4096' --swapsize '1024' --kernel-flavour 'generic' --hostname 'ubuntu' --mirror 'http://archive.ubuntu.com/ubuntu' --components 'main' --name 'Joe Ubuntu' --user 'ubuntu' --pass 'ubuntu' --ip '192.168.1.51' --mask '255.255.255.0' --gw '192.168.1.1' --dns '192.168.1.1' On Fri, May 6, 2011 at 11:33 AM, Christophe Sauthier < christophe.sauth...@objectif-libre.com> wrote: > Hi, > > On Wed, May 4, 2011 at 11:45 AM, wrote: > > Hi Dustin. > > > > Just a reminder: > > http://people.canonical.com/~kirkland/ubuntu-vm-builder.html is no > longer up > > to date. Can it still be used or is it completely outdated? > > This is something that we (in my company) have started to work on > lately. I'll try to publish it (in a new url) or provide to dustin > next week. > > All the best, > >Christophe > --- > Christophe Sauthier - 06 16 98 63 96 > Objectif Libre www.objectif-libre.com > Services et Formations Open Source > > -- > ubuntu-server mailing list > ubuntu-server@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/ubuntu-server > More info: https://wiki.ubuntu.com/ServerTeam > -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: Javascript tool that generates the lengthy set of parameters available for ubuntu-vm-builder
Hi, On Wed, May 4, 2011 at 11:45 AM, wrote: > Hi Dustin. > > Just a reminder: > http://people.canonical.com/~kirkland/ubuntu-vm-builder.html is no longer up > to date. Can it still be used or is it completely outdated? This is something that we (in my company) have started to work on lately. I'll try to publish it (in a new url) or provide to dustin next week. All the best, Christophe --- Christophe Sauthier - 06 16 98 63 96 Objectif Libre www.objectif-libre.com Services et Formations Open Source -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Javascript tool that generates the lengthy set of parameters available for ubuntu-vm-builder
Hi Dustin. Just a reminder: http://people.canonical.com/~kirkland/ubuntu-vm-builder.html is no longer up to date. Can it still be used or is it completely outdated? (referred to in https://help.ubuntu.com/community/KVM/CreateGuests ) Regards, Jürgen-- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: [Jaunty] Vm Builder memory and network setup
On 05/05/2009 11:20 AM, Laurent Dinclaux wrote: > 2009/5/5 Nick Barcet : >> On 05/05/2009 10:12 AM, Laurent Dinclaux wrote: >>> 2009/5/5 Laurent Dinclaux : >>> So if i run vmbuilder -mem 512 it should give 524288 >>> and not 18446744073709551615... >>> Am I wrong ? >> You are right. Are you seeing a different behaviour? > > As said if I put mem = 512 in my vmbuilder config file I get: > 18446744073709551615 I was very surprised by this and just gave it a try. Default /etc/vmbuilder/libvirt/libvirtxml.tmpl #echo $mem * 1024 # Command line used: sudo vmbuilder kvm ubuntu --mem 512 --debug --libvirt qemu:///system Resulting xml using 'sudo virsh dumpxml ubuntu' 524288 So I am afraid I cannot reproduce your issue. Something else that you modified? Nick signature.asc Description: OpenPGP digital signature -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: [Jaunty] Vm Builder memory and network setup
2009/5/5 Nick Barcet : > On 05/05/2009 10:12 AM, Laurent Dinclaux wrote: >> 2009/5/5 Laurent Dinclaux : >> So if i run vmbuilder -mem 512 it should give 524288 >> and not 18446744073709551615... >> Am I wrong ? > > You are right. Are you seeing a different behaviour? As said if I put mem = 512 in my vmbuilder config file I get: 18446744073709551615 -- Laurent Dinclaux Gérant - Gecka SARL laur...@gecka.nc Tel: +687 78 77 24 http://www.gecka.com Préservez nos forêts, n’imprimez vos mails que si nécessaire. Preserve our forests, only print your emails if necessary. -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: [Jaunty] Vm Builder memory and network setup
On 05/05/2009 10:12 AM, Laurent Dinclaux wrote: > 2009/5/5 Laurent Dinclaux : > So if i run vmbuilder -mem 512 it should give 524288 > and not 18446744073709551615... > Am I wrong ? You are right. Are you seeing a different behaviour? Nick signature.asc Description: OpenPGP digital signature -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: [Jaunty] Vm Builder memory and network setup
On 05/05/2009 09:54 AM, Laurent Dinclaux wrote: > 2009/5/5 Nick Barcet : > So what value should I give to "mem" in my "cheetahtemplate" to have a > VM with 512Mo ? I would not personally modify the template to assign memory to the vm, just use the "mem" parameters from the command line or a config file. As for the value, it is expected in Mb at this level, and Kb in at the libvirt level (hence * 1024 factor you noted earlier in the template). > What should I put in the cheetatemplate to make use of bridge > interface, bridge = br0? In with section, [DEFAULT] ? Config files and templates are quite different things. I tried to explain what config files are, and the usage for the different sections at [1]. I would personally define bridge=br0 in the default section as it can apply to any distro and hypervisors. > I can't find a page that list all availbale options to use with vmbuilder... Yes, this is a problem due to the plugin architecture of vmbuilder. As explained at [2] the --help mechanism is the only way to get more details about arguments for a specific distro and hypervisor. [1] https://help.ubuntu.com/community/JeOSVMBuilder#Using%20configuration%20files [2] https://help.ubuntu.com/community/JeOSVMBuilder#Defining%20your%20virtual%20machine Nick signature.asc Description: OpenPGP digital signature -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: [Jaunty] Vm Builder memory and network setup
2009/5/5 Laurent Dinclaux : > So what value should I give to "mem" in my "cheetahtemplate" to have a > VM with 512Mo ? > What should I put in the cheetatemplate to make use of bridge > interface, bridge = br0? In with section, [DEFAULT] ? > > I can't find a page that list all availbale options to use with vmbuilder... My mistake, I used "cheetahtemplate" instead of Vmbuilder config file. In the cheetatemplate I have (default value) #echo $mem * 1024 # So if i run vmbuilder -mem 512 it should give 524288 and not 18446744073709551615... Am I wrong ? -- Laurent Dinclaux Gérant - Gecka SARL laur...@gecka.nc Tel: +687 78 77 24 http://www.gecka.com Préservez nos forêts, n’imprimez vos mails que si nécessaire. Preserve our forests, only print your emails if necessary. -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: [Jaunty] Vm Builder memory and network setup
2009/5/5 Nick Barcet : > o, they are both right, as the documentation give an example for a > specific bridge (br0) while Jaunty now allows to specify the bridge to > be used from the command line argument (hence the parameter and the > lesser need to modify the template). > > The parameters are only used by vmbuilder's cheetah template processor > [1], this is why you won't see a thing about it in virt-manager nor the > resulting files once vmbuilder is done building the machine. > > [1] http://www.cheetahtemplate.org/ > So what value should I give to "mem" in my "cheetahtemplate" to have a VM with 512Mo ? What should I put in the cheetatemplate to make use of bridge interface, bridge = br0? In with section, [DEFAULT] ? I can't find a page that list all availbale options to use with vmbuilder... Regards -- Laurent -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: [Jaunty] Vm Builder memory and network setup
On 05/05/2009 06:05 AM, Laurent Dinclaux wrote: > I suppose the documentation is wrong and that I should specify the > bridge name using a parameters but man virt-manager does no say > anything about it. No, they are both right, as the documentation give an example for a specific bridge (br0) while Jaunty now allows to specify the bridge to be used from the command line argument (hence the parameter and the lesser need to modify the template). The parameters are only used by vmbuilder's cheetah template processor [1], this is why you won't see a thing about it in virt-manager nor the resulting files once vmbuilder is done building the machine. [1] http://www.cheetahtemplate.org/ Hope this helps, Nick signature.asc Description: OpenPGP digital signature -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
[Jaunty] Vm Builder memory and network setup
Hello, I use vmbuilder to manage my virtual machines. I have setup a bridge interface br0 for them. Concerning the memory problem I have specified (using a configuration file) mem = 512. After the virtual machine has installed correctly I get : 18446744073709551615 18446744073709551615 Whereas the template specifies: #echo $mem * 1024 # Concerning network, the official server-guide says to copy and modify in /etc/vmbuilder/libvirt/libvirtxml.tmpl To: But on jaunty I have that: #if $bridge #else #if $mac #end if #end if #if $virtio_net #end if I suppose the documentation is wrong and that I should specify the bridge name using a parameters but man virt-manager does no say anything about it. Regards -- Laurent Dinclaux Gérant - Gecka SARL laur...@gecka.nc Tel: +687 78 77 24 http://www.gecka.com Préservez nos forêts, n’imprimez vos mails que si nécessaire. Preserve our forests, only print your emails if necessary. -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: Problems with using KVM/python-vm-builder on Intrepid
yes, this connects me to the console without any problems Dan Sheffner schrieb: > can you just do: > > virsh -c qemu:///system > > and does that connect to the console? If it doesn't you may be missing some > packages. > > > > - Original Message > From: Stefan Undorf > To: ubuntu-server@lists.ubuntu.com > Sent: Saturday, February 7, 2009 8:21:09 PM > Subject: Problems with using KVM/python-vm-builder on Intrepid > > Hi, > > I am a complete newbee to KVM. I followed the guide > https://help.ubuntu.com/8.10/serverguide/C/jeos-and-vmbuilder.html to > crete a virtual server machine of JeOS. I specified the follwing commands > sudo vmbuilder kvm ubuntu --domain test --dest test --suite intrepid > --flavour virtual --arch i386 -o --libvirt qemu:///system --user test > --name Test --pass test --firstboot boot.sh --firstlogin login.sh --ip > 33.138.211.14 --mask 255.255.255.248 --net 82.139.124.14 --bcast > 83.218.221.15 --gw 70.26.22.15 --tmpfs - > and I get a directory test with a file disk0.qcow2. > > Now I do not know how to proceed. In the directory is exists no shell > script like some tutorials state, so I tried > virsh -c qemu:///system start test and virsh -c qemu:///system start > test/disk0.qcow2 but get an error: > Connecting to uri: qemu:///system > libvir: QEMU error : Domain not found > error: failed to get domain 'test' > > 1. Do I have created a VM? I am not really sure about this. > 2. How can VMs be started? > 3. Does anybody know what the --domain parameter of vmbuilder is? What > kind of domain is this? > 4. I do not understand the difference between the --ip and --net > parameters of vmbuilder. Is there a difference? > > Stefan > > > > > -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: Problems with using KVM/python-vm-builder on Intrepid
can you just do: virsh -c qemu:///system and does that connect to the console? If it doesn't you may be missing some packages. - Original Message From: Stefan Undorf To: ubuntu-server@lists.ubuntu.com Sent: Saturday, February 7, 2009 8:21:09 PM Subject: Problems with using KVM/python-vm-builder on Intrepid Hi, I am a complete newbee to KVM. I followed the guide https://help.ubuntu.com/8.10/serverguide/C/jeos-and-vmbuilder.html to crete a virtual server machine of JeOS. I specified the follwing commands sudo vmbuilder kvm ubuntu --domain test --dest test --suite intrepid --flavour virtual --arch i386 -o --libvirt qemu:///system --user test --name Test --pass test --firstboot boot.sh --firstlogin login.sh --ip 33.138.211.14 --mask 255.255.255.248 --net 82.139.124.14 --bcast 83.218.221.15 --gw 70.26.22.15 --tmpfs - and I get a directory test with a file disk0.qcow2. Now I do not know how to proceed. In the directory is exists no shell script like some tutorials state, so I tried virsh -c qemu:///system start test and virsh -c qemu:///system start test/disk0.qcow2 but get an error: Connecting to uri: qemu:///system libvir: QEMU error : Domain not found error: failed to get domain 'test' 1. Do I have created a VM? I am not really sure about this. 2. How can VMs be started? 3. Does anybody know what the --domain parameter of vmbuilder is? What kind of domain is this? 4. I do not understand the difference between the --ip and --net parameters of vmbuilder. Is there a difference? Stefan -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Problems with using KVM/python-vm-builder on Intrepid
Hi, I am a complete newbee to KVM. I followed the guide https://help.ubuntu.com/8.10/serverguide/C/jeos-and-vmbuilder.html to crete a virtual server machine of JeOS. I specified the follwing commands sudo vmbuilder kvm ubuntu --domain test --dest test --suite intrepid --flavour virtual --arch i386 -o --libvirt qemu:///system --user test --name Test --pass test --firstboot boot.sh --firstlogin login.sh --ip 33.138.211.14 --mask 255.255.255.248 --net 82.139.124.14 --bcast 83.218.221.15 --gw 70.26.22.15 --tmpfs - and I get a directory test with a file disk0.qcow2. Now I do not know how to proceed. In the directory is exists no shell script like some tutorials state, so I tried virsh -c qemu:///system start test and virsh -c qemu:///system start test/disk0.qcow2 but get an error: Connecting to uri: qemu:///system libvir: QEMU error : Domain not found error: failed to get domain 'test' 1. Do I have created a VM? I am not really sure about this. 2. How can VMs be started? 3. Does anybody know what the --domain parameter of vmbuilder is? What kind of domain is this? 4. I do not understand the difference between the --ip and --net parameters of vmbuilder. Is there a difference? Stefan -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam