Problem with RHEV-M Provider and Image

Justin Clift jclift at redhat.com
Fri Oct 12 09:56:37 UTC 2012


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



More information about the aeolus-users mailing list