| Summary: | import then push fails | ||
|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | wes hayutin <whayutin> |
| Component: | aeolus-conductor | Assignee: | Matt Wagner <matt.wagner> |
| Status: | CLOSED NOTABUG | QA Contact: | wes hayutin <whayutin> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | akarol, athomas, deltacloud-maint, matt.wagner, ssachdev |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://dhcp231-79.rdu.redhat.com/conductor/images/a23c1b6f-f662-4ba3-aa86-5ff5b140c617 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-10 15:17: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: | |
| Bug Depends On: | |||
| Bug Blocks: | 744194 | ||
|
Description
wes hayutin
2011-12-07 19:41:23 UTC
FWIW, this appears to be the case whether you import with Conductor or with aeolus-cli. It appears that it's choking on the lack of a template: 2011-12-07 14:36:58,573 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(48161) Message: Getting metadata (['template']) from http://localhost:9090/target_images/6a9883e0-a195-455c-9414-7a7150ed9bb8 2011-12-07 14:36:58,575 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(48161) Message: Image Warehouse returned status (404) with message: You're not supposed to be able to push an imported image, since an 'imported image' is just a reference to an image already living in the cloud. We don't have metadata sufficient to build another copy. However, we shouldn't prompt you in Conductor to build it. I think the real bug here is that we're not doing anything to detect if the image was imported and prevent you from building it. Looking into this more, it looks like creating an Image in Factory is causing an empty Template ("<template></template>") to appear in iwhd and become associated with the Image. This prevents us from simply defining an "imported?" method that checks whether a template UUID is present or not.
(In reply to comment #2) > You're not supposed to be able to push an imported image, since an 'imported > image' is just a reference to an image already living in the cloud. We don't > have metadata sufficient to build another copy. > > However, we shouldn't prompt you in Conductor to build it. I think the real bug > here is that we're not doing anything to detect if the image was imported and > prevent you from building it. yup.. Matt you are right.. I went through this too quickly opened https://bugzilla.redhat.com/show_bug.cgi?id=766137 |