[libvirt-users] ANNOUNCE: oz 0.8.0 release

All, I'm pleased to announce release 0.8.0 of Oz. Oz is a program for doing automated installation of guest operating systems with limited input from the user. Release 0.8.0 is a (long overdue) bugfix and feature release for Oz. Some of the highlights between Oz 0.7.0 and 0.8.0 are: - Optional virtualenv make target - Conversion of unittests to py.test - Replace mkisofs with genisoimage - Debian package - Ability to change the root password for Debian installs - Add unittests for ozutil - Add some unittests for the Guest object - SSH tunnel (with SSL vhost) support for local repositories (mostly useful for imagefactory) - Add a new manpage for oz-examples - Make the output filename configurable with a command-line option to oz-install - Monitor both network and disk activity when looking for guest activity - Support for installing Ubuntu 11.10 - Support for SSL certificates for repositories - Support for an optional version in the TDL - Support for installling Mandrake 9.1, 9.2, 10.0, 10.1, 10.2 - Support for installing Mandriva 2006.0, 2007.0, 2008.0 - Support for Ubuntu customization - Support for installing RHEL 6.2 A tarball of this release is available, as well as packages for Fedora-16. Instructions on how to get and use Oz are available at http://aeolusproject.org/oz.html If you have any questions or comments about Oz, please feel free to contact aeolus-devel@lists.fedorahosted.org or me (clalancette@gmail.com) directly. Thanks to everyone who contributed to this release through bug reports, patches, and suggestions for improvement. -- Chris Lalancette

On 01/11/2012 04:14 PM, Chris Lalancette wrote:
A tarball of this release is available, as well as packages for Fedora-16. Instructions on how to get and use Oz are available at http://aeolusproject.org/oz.html
The links to 0.8.0 haven't been added at the above URL. I found Fedora _15_ rpms on fedorapeople which installed fine on F16. There seems to be some issue with error timeouts on this version. I first tried to create an image without enough free space: oz-install -t 50000 -u -d3 -x blah.xml /var/lib/pacemaker-cloud/jeos/F16-x86_64-jeos.tdl This hung at "cleaning up" phase _forever_. strace says hung at: sendto(14, "var/lib/oz/isocontent/F16-x86_64"..., 1585278, 0, NULL, 0^C <unfinished ...> Ctrl-c unlocked after which got: 94.60% done, estimate finish Fri Jan 13 18:52:46 2012 genisoimage: No space left on device. cannot fwrite 32768*1 So after freeing up enough space I tried again and got farther. However this also hung forever at the "Unmounting all" stage. This only happens if "customizing image", and only with SELinux on. strace says: recvfrom(14,... Anyway apart from the SELinux issue, I got out of the infinite wait with Ctrl-C and it then proceeded to timeout as expected. File "/usr/bin/oz-install", line 162, in <module> guest.customize(libvirt_xml) File "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 1169, in customize return self._internal_customize(libvirt_xml, False) File "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 1150, in _internal_customize guestaddr = self._wait_for_guest_boot(libvirt_dom) File "/usr/lib/python2.7/site-packages/oz/Guest.py", line 1017, in _wait_for_guest_boot raise oz.OzException.OzException("Timed out waiting for guest to boot") oz.OzException.OzException: Timed out waiting for guest to boot cheers, Pádraig.

Hey Pádraig, 2012/1/13 Pádraig Brady <P@draigbrady.com>:
On 01/11/2012 04:14 PM, Chris Lalancette wrote:
A tarball of this release is available, as well as packages for Fedora-16. Instructions on how to get and use Oz are available at http://aeolusproject.org/oz.html
The links to 0.8.0 haven't been added at the above URL.
Ug, yes. I'll send an updated patch to the website.
I found Fedora _15_ rpms on fedorapeople which installed fine on F16.
Yeah, sorry, that was a typo on my part; I only built F-15 packages this time.
There seems to be some issue with error timeouts on this version. I first tried to create an image without enough free space:
oz-install -t 50000 -u -d3 -x blah.xml /var/lib/pacemaker-cloud/jeos/F16-x86_64-jeos.tdl This hung at "cleaning up" phase _forever_. strace says hung at: sendto(14, "var/lib/oz/isocontent/F16-x86_64"..., 1585278, 0, NULL, 0^C <unfinished ...> Ctrl-c unlocked after which got: 94.60% done, estimate finish Fri Jan 13 18:52:46 2012 genisoimage: No space left on device. cannot fwrite 32768*1
So after freeing up enough space I tried again and got farther. However this also hung forever at the "Unmounting all" stage. This only happens if "customizing image", and only with SELinux on. strace says: recvfrom(14,... Anyway apart from the SELinux issue, I got out of the infinite wait with Ctrl-C and it then proceeded to timeout as expected.
Hm, probable SELinux problem. I hadn't seen that, but I'll try it out and see what happens. Thanks for trying, Chris

2012/1/14 Chris Lalancette <clalancette@gmail.com>:
So after freeing up enough space I tried again and got farther. However this also hung forever at the "Unmounting all" stage. This only happens if "customizing image", and only with SELinux on. strace says: recvfrom(14,... Anyway apart from the SELinux issue, I got out of the infinite wait with Ctrl-C and it then proceeded to timeout as expected.
Hm, probable SELinux problem. I hadn't seen that, but I'll try it out and see what happens.
Pádraig, Interestingly enough, things work just fine for me in F-15, but I run into problems on F-16 like you did. I'm tempted to call it a libvirt bug in F-16, but I'm not entirely certain of that. I'll see if I can find sometime this weekend to narrow it down a bit. Thanks, Chris
participants (2)
-
Chris Lalancette
-
Pádraig Brady