Problem with RHEV-M Provider and Image

Marco Mornati mornatim at gmail.com
Fri Oct 12 09:59:32 UTC 2012


Hello Justin,

thanks a lot for your response.
I spent some hours on the IRC channel to find out the problem.

And, in the end, it seems is impossible for OZ project to build an RHEV
image if it's installed in a virtual machine (I created a VM with aeolus to
test it out).

Anyway, here the rpm output about my environment:

[root at aeolus ~]# rpm -qa | egrep
"aeolus|audrey|configure|conductor|imagefactory|iwhd|libvirt|oz" | sort
aeolus-all-0.10.4-1.fc17.noarch
aeolus-conductor-0.10.4-1.fc17.noarch
aeolus-conductor-daemons-0.10.4-1.fc17.noarch
aeolus-conductor-doc-0.10.4-1.fc17.noarch
aeolus-configure-2.6.1-1.fc17.noarch
imagefactory-1.1.1-1.fc17.noarch
imagefactory-jeosconf-ec2-fedora-1.1.1-1.fc17.noarch
imagefactory-jeosconf-ec2-rhel-1.1.1-1.fc17.noarch
iwhd-1.5-1.fc17.x86_64
libproxy-mozjs-0.4.7-4.fc17.x86_64
libvirt-0.9.11.5-3.fc17.x86_64
libvirt-client-0.9.11.5-3.fc17.x86_64
libvirt-daemon-0.9.11.5-3.fc17.x86_64
libvirt-daemon-config-network-0.9.11.5-3.fc17.x86_64
libvirt-daemon-config-nwfilter-0.9.11.5-3.fc17.x86_64
libvirt-python-0.9.11.5-3.fc17.x86_64
mozilla-filesystem-1.9-7.fc17.x86_64
oz-0.9.0-1.fc17.noarch
rubygem-aeolus-cli-0.5.0-1.fc17.noarch
rubygem-aeolus-image-0.5.0-1.fc17.noarch
totem-mozplugin-3.4.3-1.fc17.x86_64


Marco

On Fri, Oct 12, 2012 at 11:56 AM, Justin Clift <jclift at redhat.com> wrote:

> On 12/10/2012, at 7:12 PM, Marco Mornati wrote:
> > Hello guys,
> >
> > I've installed Aeolus to test with my RHEV (oVirt in reality ;)) and I
> was following the step-by-step guide to use it (the aeolus site is
> excellent for this!!).
> >
> > But I've a problem running the image builder step. I've created the
> Fedora Template, like in the example, but Image build failed and, on the
> log, I can find a connection problem (I think):
> >
> > 2012-10-12 09:56:30,643 INFO oz.Guest.FedoraGuest thread(a236ac0d)
> Message: Cleaning up guest named
> factory-build-a236ac0d-c2fe-4daa-b8f9-dbdee4fa3e22
> > 2012-10-12 09:56:30,646 INFO oz.Guest.FedoraGuest thread(a236ac0d)
> Message: Cleaning up after install
> > 2012-10-12 09:56:30,660 DEBUG
> imgfac.builders.BaseBuilder.Fedora_rhevm_Builder thread(a236ac0d) Message:
> Exception caught in ImageFactory
> > 2012-10-12 09:56:30,960 DEBUG
> imgfac.builders.BaseBuilder.Fedora_rhevm_Builder thread(a236ac0d) Message:
> Traceback (most recent call last):
> >   File
> "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_rhevm_Builder.py",
> line 66, in build_image
> >     self.build_upload(build_id)
> >   File
> "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_rhevm_Builder.py",
> line 113, in build_upload
> >     libvirt_xml = guest.install(self.app_config["timeout"])
> >   File "/usr/lib/python2.7/site-packages/oz/Guest.py", line 1516, in
> install
> >     return self._do_install(timeout, force, 0)
> >   File "/usr/lib/python2.7/site-packages/oz/Guest.py", line 1497, in
> _do_install
> >     dom = self.libvirt_conn.createXML(xml, 0)
> >   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2420, in
> createXML
> >     if ret is None:raise libvirtError('virDomainCreateXML() failed',
> conn=self)
> > libvirtError: Unable to read from monitor: Connection reset by peer
> >
> > But I could make connection to RHEV-M during the user/credential step.
> Any help on this is welcome!!
>
> Sure.  As a first step before anything else, would you be able to grab the
> version numbers
> of Aeolus pieces for us?  This one-liner should spit out a list:
>
>   $ rpm -qa | egrep
> "aeolus|audrey|configure|conductor|imagefactory|iwhd|libvirt|oz" | sort
>
> As a quick next test, please try building an image again, but this time
> using the (well tested)
> template file here:
>
>
> https://github.com/aeolus-incubator/templates/blob/master/web_servers/Apache/fedora-16/apache_httpd_f16.xml
>
> Saying that "just in case".  The Fedora 15 template that's in the Aeolus
> Getting Started Guide used to
> work, but I do remember suddenly having issues out of nowhere with Fedora
> 15 a while ago.
>
> If the above apache_httpd_f16.xml template works, then it's not a problem
> with your setup. :)
> (and we'd better change our example pronto)
>
> Ok to test?
>
> Regards and best wishes,
>
> Justin Clift
>
>
> > Thanks
> > Marco
> > _______________________________________________
> > aeolus-users mailing list
> > aeolus-users at lists.fedorahosted.org
> > https://lists.fedorahosted.org/mailman/listinfo/aeolus-users
>
> --
> Aeolus Community Manager
> http://www.aeolusproject.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/aeolus-users/attachments/20121012/6e365f65/attachment.html>


More information about the aeolus-users mailing list