Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.aeolus-image build --target vmware --template rhel_vmware.tpl Target Image: d652ba39-4110-4f18-a318-28360e740451 Image: 5a814721-a0db-4677-b6d0-2afbfcff8a5e Build: ebbe76a1-9d00-4981-87d5-fcc13fd3c6de Status: FAILED Percent Complete: 0 2. Imagefactory.log shows -- unresolved target 3. Actual results: Expected results: Additional info: rpm -qa |grep aeolus aeolus-conductor-doc-0.3.0-0.el6.20110721005205git8de0c0f.noarch rubygem-aeolus-image-0.0.1-1.el6.20110720182635gitc07ca66.noarch aeolus-configure-2.0.1-1.el6.20110720182607git42b1e20.noarch aeolus-all-0.3.0-0.el6.20110721005205git8de0c0f.noarch aeolus-conductor-0.3.0-0.el6.20110721005205git8de0c0f.noarch aeolus-conductor-daemons-0.3.0-0.el6.20110721005205git8de0c0f.noarch
[root@dell-pesc440-01 aeolus-conductor]# aeolus-image list --targets NAME TARGET CODE Mock mock Amazon EC2 ec2 RHEV-M rhevm VMware vSphere vsphere Condor Cloud condor_cloud I tried to building with unsupported provider: [root@dell-pesc440-01 templates]# aeolus-image build --target vmware --template fedora15_template.tpl /usr/lib/ruby/gems/1.8/gems/aeolus-image-0.1.0/lib/aeolus_image/command/build_command.rb:55:in `run': undefined method `each' for #<Qmf2::QmfAgentException:0x7f45d4ff0c28> (NoMethodError) from /usr/lib/ruby/gems/1.8/gems/aeolus-image-0.1.0/lib/aeolus_image/command/config_parser.rb:217:in `build' from /usr/lib/ruby/gems/1.8/gems/aeolus-image-0.1.0/lib/aeolus_image/command/config_parser.rb:38:in `send' from /usr/lib/ruby/gems/1.8/gems/aeolus-image-0.1.0/lib/aeolus_image/command/config_parser.rb:38:in `process' from /usr/lib/ruby/gems/1.8/gems/aeolus-image-0.1.0/bin/aeolus-image:20 from /usr/bin/aeolus-image:19:in `load' from /usr/bin/aeolus-image:19 Imagefactory.log shows: ject_type': 'build', 'uuid': '95d5be93-e83d-4eee-9e79-4a2573f0a223'}) for http://localhost:9090/builds/95d5be93-e83d-4eee-9e79-4a2573f0a223 2011-09-22 07:28:22,525 ERROR imgfac.qmfagent.ImageFactoryAgent.ImageFactoryAgent pid(3407) Message: No module named Fedora_vmware_Builder Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/imgfac/qmfagent/ImageFactoryAgent.py", line 76, in method result = getattr(target_obj, methodName)(**args) File "/usr/lib/python2.7/site-packages/imgfac/qmfagent/ImageFactory.py", line 119, in build_image return BuildDispatcher().build_image_for_targets(image, build, template, targets, BuildAdaptor, self.agent) File "/usr/lib/python2.7/site-packages/imgfac/BuildDispatcher.py", line 61, in build_image_for_targets job = job_cls(template, target, image_id, build_id, *args, **kwargs) File "/usr/lib/python2.7/site-packages/imgfac/qmfagent/BuildAdaptor.py", line 72, in __init__ super(BuildAdaptor, self).__init__(template, target, image_id, build_id) File "/usr/lib/python2.7/site-packages/imgfac/BuildJob.py", line 48, in __init__ self._builder = self._get_builder() File "/usr/lib/python2.7/site-packages/imgfac/BuildJob.py", line 99, in _get_builder __import__(module_name) ImportError: No module named Fedora_vmware_Builder [root@dell-pesc440-01 templates]# rpm -qa | grep aeolus aeolus-conductor-doc-0.4.0-0.20110921152740gitac47a38.fc15.noarch aeolus-conductor-daemons-0.4.0-0.20110921152740gitac47a38.fc15.noarch rubygem-aeolus-image-0.1.0-3.20110919115936gitd1d24b4.fc15.noarch aeolus-configure-2.0.2-4.20110921102958gitcaa9608.fc15.noarch aeolus-conductor-0.4.0-0.20110921152740gitac47a38.fc15.noarch aeolus-all-0.4.0-0.20110921152740gitac47a38.fc15.noarch [root@dell-pesc440-01 templates]# rpm -qa | grep imagefactory imagefactory-0.6.2-1.fc15.noarch rubygem-imagefactory-console-0.5.0-4.20110824113238gitd9debef.fc15.noarch
Need an update from Dev..
making sure all the bugs are at the right version for future queries
the target images list returned from aeolus-images returns vmware which is incorrect. This will go away in the next release once we update aeolus-image to talk directly to conductor
This is now fixed with latest changes of Conductor API, aeolus-cli and aeolus-image-rubygem. This is in the 0.7.0 release. I've tested manually on the following commits: == Conductor == commit b24e67fcb6ac98460e0a1262cc59c9375d279a6a Author: Martyn Taylor <mtaylor> Date: Mon Dec 5 09:56:10 2011 +0000 BZ#754956 Return appropriate error code when parent not found == Aeolus CLI == commit 5d83b12b824415571a6a35313eefe65460ef2d96 Author: Maros Zatko <mzatko> Date: Mon Dec 5 17:53:57 2011 +0100 Added ProviderAccounts to provider images VCR cassette == Aeolus Image Rubygem commit 6ae089c104550e69cfb5f6c4378f10039d37505a Author: Martyn Taylor <mtaylor> Date: Thu Nov 24 13:09:06 2011 +0000 Added convenience methods for checking providerimages on image/build
[root@hp-bl260cg5-01 ~]# aeolus-image build --target vmware --template RHEL61.tpl ERROR: TargetNotFound => Could not find Target vmware [root@hp-bl260cg5-01 ~]# aeolus-image build --target rhev --template RHEL61.tpl ERROR: TargetNotFound => Could not find Target rhev Verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2012-0592.html