| Summary: | Trying to build an EC2 upload style RHEL-5 i386 image fails | ||
|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Chris Lalancette <clalance> |
| Component: | imagefactory | Assignee: | Mike Orazi <morazi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.3.1 | CC: | akarol, dajohnso, deltacloud-maint, 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: | 2011-08-30 19:53:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
upload RHEL is not supported perm close |
Description of problem: When trying to build an EC2 upload style RHEL-5 i386 image, the image factory throws an exception: 2011-08-11 10:08:18,795 INFO imgfac.builders.BaseBuilder.RHEL5_ec2_Builder pid(1858) Message: Modifying and updating menu.lst 2011-08-11 10:08:18,808 DEBUG imgfac.builders.BaseBuilder.RHEL5_ec2_Builder pid(1858) Message: Exception caught in ImageFactory 2011-08-11 10:08:18,827 DEBUG imgfac.builders.BaseBuilder.RHEL5_ec2_Builder pid(1858) Message: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_ec2_Builder.py", line 170, in build_upload self.ec2_modify_filesystem() File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_ec2_Builder.py", line 387, in ec2_modify_filesystem raise ImageFactoryException("Unable to extract kernel version") ImageFactoryException: Unable to extract kernel version After talking to Ian on IRC, the problem is that the factory goes looking for an installed Xen kernel during ec2_modify_filesystem(). If you didn't explicitly specify that in the TDL, you will hit this message. My thinking is that we should probably force install the -xen kernel when we know we are doing EC2 upload style RHEL-5 i386 builds.