Hide Forgot
Description of problem: ======================================================= Hit the following exception running on rhel 6.1 and 6.2. It works on Fedora15 so the thinking is that the python version has something to do with it. Fedora15 is running python v2.7 but rhel is running v2.6 2011-11-03 11:41:16,016 DEBUG paste.httpserver.ThreadPool pid(7402) Message: Added task (0 tasks queued) 2011-11-03 11:41:16,091 INFO imgfac.rest.imagefactory pid(7402) Message: Request recieved with Content-Type (application/json) 2011-11-03 11:41:16,092 DEBUG imgfac.rest.imagefactory pid(7402) Message: returning {u'targets': u'ec2', u'template': u'<template>\n <name>RHEL_new_pw</name>\n <os>\n <name>RHEL</name>\n <version>6.1</version>\n <arch>i386</arch>\n <rootpw>redhat</rootpw>\n <install type="url">\n <url>http://download.devel.redhat.com/released/RHEL-6-Server/6.1/x86_64/os/</url>\n </install>\n </os>\n <description>RHEL61 i386</description>\n</template>'} 2011-11-03 11:41:16,092 DEBUG imgfac.rest.imagefactory pid(7402) Message: Starting 'build' process... 2011-11-03 11:41:16,092 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(7402) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images) 2011-11-03 11:41:16,092 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(7402) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images) 2011-11-03 11:41:16,165 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(7402) Message: Setting metadata ({'object_type': 'image', 'uuid': 'fada4f7e-1355-4092-8ea3-8d2b37bc0c30'}) for http://localhost:9090/images/fada4f7e-1355-4092-8ea3-8d2b37bc0c30 2011-11-03 11:41:16,254 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(7402) Message: Setting metadata ({'image': 'fada4f7e-1355-4092-8ea3-8d2b37bc0c30', 'object_type': 'build', 'uuid': '6afadcd4-c00c-43ee-9031-b311c2eb2e85'}) for http://localhost:9090/builds/6afadcd4-c00c-43ee-9031-b311c2eb2e85 2011-11-03 11:41:16,380 ERROR imgfac.rest.imagefactory pid(7402) Message: No module named RHEL_ec2_Builder Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/imgfac/rest/imagefactory.py", line 118, in build_image jobs = BuildDispatcher().build_image_for_targets(image_id, None, template, targets.split(',')) File "/usr/lib/python2.6/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.6/site-packages/imgfac/BuildJob.py", line 49, in __init__ self._builder = self._get_builder() File "/usr/lib/python2.6/site-packages/imgfac/BuildJob.py", line 101, in _get_builder __import__(module_name) ImportError: No module named RHEL_ec2_Builder Version-Release number of selected component (if applicable): ================================================================== imagefactory-0.8.0-1.el6.noarch
Flipping this back over to on_qa, I think I see the issue which is a bad template definition. <template> <name>RHEL_new_pw</name> <os> <name>RHEL</name> <-- should be RHEL-6 <version>6.1</version> <-- should be 1 <arch>x86_64</arch> <rootpw>redhat</rootpw> <install type="url"> <url>http://download.devel.redhat.com/released/RHEL-6-Server/6.1/x86_64/os/</url> </install> </os> <description>RHEL61 x86_64</description> </template>
removing bugs from tracker as part of 0.6 release