Bug 801907
Summary: | After starting a "Build All" - status reporting incorrect if 1 build fails | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] CloudForms Cloud Engine | Reporter: | Steve Reichard <sreichar> | ||||||
Component: | aeolus-conductor | Assignee: | Angus Thomas <athomas> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 1.0.0 | CC: | akarol, deltacloud-maint, jlaska, jliberma, mkoci, redakkan, rjones, scollier, ssachdev | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-08-30 17:16:51 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Steve Reichard
2012-03-09 19:39:21 UTC
The issue you hit w/ RuntimeError: link: /tmp/.guestfs-0/kernel /tmp/.guestfs-0/kernel.13749: File exists is tracked here: https://bugzilla.redhat.com/show_bug.cgi?id=790528 With what version of imagefactory ? [root@cf-cloudforms5 imagefactory]# /pub/scripts/post_install_configuration_scripts/cf-versions Red Hat Enterprise Linux Server release 6.2 (Santiago) Linux cf-cloudforms5.cloud.lab.eng.bos.redhat.com 2.6.32-220.4.2.el6.x86_64 #1 SMP Mon Feb 6 16:39:28 EST 2012 x86_64 x86_64 x86_64 GNU/Linux postgresql-8.4.9-1.el6_1.1.x86_64 mongodb-1.8.2-3.el6.x86_64 euca2ools-1.3.1-4.el6_0.noarch ruby-1.8.7.352-6.el6.x86_64 rubygems-1.8.16-1.el6.noarch deltacloud-core-0.5.0-5.el6.noarch rubygem-deltacloud-client-0.5.0-2.el6.noarch package libdeltacloud is not installed hail-0.8-0.2.gf9c5b967.el6_0.x86_64 puppet-2.6.11-1.el6_1.noarch aeolus-configure-2.5.0-16.el6.noarch iwhd-1.2-3.el6.x86_64 imagefactory-1.0.0rc8-1.el6.noarch aeolus-conductor-daemons-0.8.0-39.el6.noarch aeolus-conductor-0.8.0-39.el6.noarch [root@cf-cloudforms5 imagefactory]# is this still an issue?? I tried to reproduce the scenario by giving a wrong url for "Aeolus" repository. 1. Got the build failed for "vsphere" and "rhevm" 2. Observed that the status of ec2 got updated and push button got enabled for ec2 3. PFA screen shot (PFA:ss1.png) error from image factory log; 2012-04-18 05:42:38,406 INFO oz.Guest.RHEL6Guest thread(57b8228a) Message: Cleaning up after install 2012-04-18 05:42:38,420 DEBUG imgfac.builders.BaseBuilder.RHEL6_rhevm_Builder thread(57b8228a) Message: Exception caught in ImageFactory 2012-04-18 05:42:38,421 DEBUG imgfac.builders.BaseBuilder.RHEL6_rhevm_Builder thread(57b8228a) Message: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/imgfac/builders/Fedora_rhevm_Builder.py", line 66, in build_image self.build_upload(build_id) File "/usr/lib/python2.6/site-packages/imgfac/builders/Fedora_rhevm_Builder.py", line 117, in build_upload self.output_descriptor = guest.customize_and_generate_icicle(libvirt_xml) File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line 1178, in customize_and_generate_icicle return self._internal_customize(libvirt_xml, True) File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line 1154, in _internal_customize self.do_customize(guestaddr) File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line 1110, in do_customize tunnels=self.tunnels) File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line 476, in guest_execute_command command, timeout, tunnels) File "/usr/lib/python2.6/site-packages/oz/ozutil.py", line 355, in ssh_execute_command return subprocess_check_output(cmd) File "/usr/lib/python2.6/site-packages/oz/ozutil.py", line 323, in subprocess_check_output raise SubprocessException("'%s' failed(%d): %s" % (cmd, retcode, stderr), retcode) SubprocessException: 'ssh -i /etc/oz/id_rsa-icicle-gen -F /dev/null -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no root.122.58 yum -y install "rhev-agent" ' failed(1): Warning: Permanently added '192.168.122.58' (RSA) to the list of known hosts. http://download.devel.redhat.com/rel-eng/CloudForms/CloudEngine/1.0/latest/el6-engine-and-agents/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404" Trying other mirror. Error: Nothing to do info: rpm -qa | grep aeolus aeolus-conductor-doc-0.8.9-1.el6.noarch aeolus-configure-2.5.3-1.el6.noarch aeolus-conductor-0.8.9-1.el6.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch aeolus-all-0.8.9-1.el6.noarch rubygem-aeolus-cli-0.3.1-1.el6.noarch aeolus-conductor-daemons-0.8.9-1.el6.noarch Created attachment 578294 [details]
ss1
Created attachment 578295 [details]
TPL
Attaching the template file i used to create the scenario.
The attached screenshot (comment#6) shows a 'build all' test where 2 providers failed (vsphere and rhevm), and 2 succeeded (ec2 and mock). The two failed builds are indicated in the UI. Assuming the recreate is valid, and the reproducer instructions valid, this appears to confirm that the reported problem is resolved. Steve, can you examine the screenshot, and the recreate, to confirm? I have noticed the build and push failure messages in later beta6s. I believe this is now resolved. spr thanks... moving the status to verified rpm -qa | grep aeolus aeolus-conductor-doc-0.8.9-1.el6.noarch aeolus-configure-2.5.3-1.el6.noarch aeolus-conductor-0.8.9-1.el6.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch aeolus-all-0.8.9-1.el6.noarch rubygem-aeolus-cli-0.3.1-1.el6.noarch aeolus-conductor-daemons-0.8.9-1.el6.noarch |