| Summary: | aeolus-image/conductor unable to push specifically to vsphere | ||
|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | wes hayutin <whayutin> |
| Component: | imagefactory | Assignee: | Richard Su <rwsu> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | akarol, dajohnso, deltacloud-maint, morazi, 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-10-07 12:49:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
wes hayutin
2011-09-22 19:41:19 UTC
Are you able to see the provider in the conductor UI & connect to vsphere via the deltacloud-core UI? Actually, I saw a patch flow through that might address this issue. Richard, can you confirm? I inadvertently dropped the json file when reorganizing vsphere into its own profile. This is fixed on configure commit ff33f9b54967490ddd02464b8e147b39d4dfeaa3 and aeolus-configure-2.0.2-4.20110923140029gitff33f9b.fc15.noarch.rpm. latest attempt failed.. , initial)>), changed percent complete from 50 to 100 2011-09-26 16:26:00,137 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(8549) Message: Getting metadata (['latest_unpushed']) from http://localhost:9090/images/f2cf5336-6a86-46ef-880f-fb7d068b1998 2011-09-26 16:26:00,138 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(8549) Message: Getting metadata (['latest_build']) from http://localhost:9090/images/f2cf5336-6a86-46ef-880f-fb7d068b1998 2011-09-26 16:26:00,140 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(8549) Message: Setting metadata ({'latest_unpushed': '675aebf8-ec6c-4503-8a15-7cec45b8bb74'}) for http://localhost:9090/images/f2cf5336-6a86-46ef-880f-fb7d068b1998 2011-09-26 16:26:00,142 DEBUG imgfac.BuildJob.BuildAdaptor pid(8549) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed status from BUILDING to COMPLETED 2011-09-26 16:27:22,804 DEBUG imgfac.qmfagent.ImageFactoryAgent.ImageFactoryAgent pid(8549) Message: Method called: name = push_image args = {'credentials': '*** REDACTED ***', 'image': 'f2cf5336-6a86-46ef-880f-fb7d068b1998', 'build': '', 'providers': ['vsphere']} handle = <cqmf2.AgentEvent; proxy of <Swig Object of type 'qmf::AgentEvent *' at 0x12efbd0> > addr = redhat.com:imagefactory:6c6754ef-c066-458c-accc-00e6edd850d5:image_factory subtypes = {} userId = anonymous 2011-09-26 16:27:22,804 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(8549) Message: Getting metadata (['latest_unpushed']) from http://localhost:9090/images/f2cf5336-6a86-46ef-880f-fb7d068b1998 2011-09-26 16:27:22,873 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(8549) Message: Querying (http://localhost:9090/target_images/_query) with expression ($build == "675aebf8-ec6c-4503-8a15-7cec45b8bb74" && $target == "vsphere") 2011-09-26 16:27:22,896 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(8549) Message: Getting metadata (['template']) from http://localhost:9090/target_images/b6de0e85-17e9-452f-8828-832c25505dc5 2011-09-26 16:27:22,897 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(8549) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images) 2011-09-26 16:27:22,901 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(8549) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images) 2011-09-26 16:27:22,902 DEBUG imgfac.BuildJob.BuildAdaptor pid(8549) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed status from NEW to PUSHING 2011-09-26 16:27:22,903 DEBUG imgfac.BuildJob.BuildAdaptor pid(8549) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed percent complete from 0 to 0 2011-09-26 16:27:22,930 DEBUG imgfac.builders.BaseBuilder.RHEL6_vsphere_Builder pid(8549) Message: Exception caught in ImageFactory 2011-09-26 16:27:22,978 DEBUG imgfac.builders.BaseBuilder.RHEL6_vsphere_Builder pid(8549) Message: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_vsphere_Builder.py", line 234, in push_image_upload credentials) File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_vsphere_Builder.py", line 206, in vmware_push_image_upload self.generic_decode_credentials(credentials, provider_data) File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_vsphere_Builder.py", line 243, in generic_decode_credentials doc = libxml2.parseDoc(credentials) File "/usr/lib64/python2.7/site-packages/libxml2.py", line 1263, in parseDoc if ret is None:raise parserError('xmlParseDoc() failed') parserError: xmlParseDoc() failed 2011-09-26 16:27:22,978 DEBUG imgfac.BuildJob.BuildAdaptor pid(8549) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed status from PUSHING to FAILED 2011-09-26 16:27:22,979 DEBUG imgfac.builders.BaseBuilder.RHEL6_vsphere_Builder pid(8549) Message: Exception caught in ImageFactory 2011-09-26 16:27:22,979 DEBUG imgfac.builders.BaseBuilder.RHEL6_vsphere_Builder pid(8549) Message: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_vsphere_Builder.py", line 192, in push_image self.push_image_upload(target_image_id, provider, credentials) File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_vsphere_Builder.py", line 234, in push_image_upload credentials) File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_vsphere_Builder.py", line 206, in vmware_push_image_upload self.generic_decode_credentials(credentials, provider_data) File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_vsphere_Builder.py", line 243, in generic_decode_credentials doc = libxml2.parseDoc(credentials) File "/usr/lib64/python2.7/site-packages/libxml2.py", line 1263, in parseDoc if ret is None:raise parserError('xmlParseDoc() failed') parserError: xmlParseDoc() failed 2011-09-26 16:27:22,979 DEBUG imgfac.BuildJob.BuildAdaptor pid(8549) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed status from FAILED to FAILED [root@unused ~]# rpm -qa | grep aeolus aeolus-conductor-0.4.0-0.20110921152740gitac47a38.fc15.noarch aeolus-conductor-doc-0.4.0-0.20110921152740gitac47a38.fc15.noarch aeolus-all-0.4.0-0.20110921152740gitac47a38.fc15.noarch rubygem-aeolus-image-0.1.0-3.20110919115936gitd1d24b4.fc15.noarch aeolus-conductor-daemons-0.4.0-0.20110921152740gitac47a38.fc15.noarch aeolus-configure-2.0.2-4.20110926142838git5044e56.fc15.noarch [root@unused ~]# rpm -qa | grep factory imagefactory-0.6.2-1.fc15.noarch rubygem-imagefactory-console-0.5.0-4.20110824113238gitd9debef.fc15.noarch [root@unused ~]# rpm -qa | grep iwhd iwhd-0.98.15.z3-1.fc15.x86_64 [root@unused ~]# 2011-09-26 17:41:42,967 DEBUG imgfac.qmfagent.ImageFactoryAgent.ImageFactoryAgent pid(10078) Message: Method called: name = push_image
args = {'credentials': '*** REDACTED ***', 'image': '7dca54f0-e4d7-44bd-a362-8c5af6d9094a', 'build': '', 'providers': ['vsphere']}
handle = <cqmf2.AgentEvent; proxy of <Swig Object of type 'qmf::AgentEvent *' at 0x1b4dbd0> >
addr = redhat.com:imagefactory:fca868ba-c233-4839-ac67-d1500e13bc5b:image_factory
subtypes = {}
userId = anonymous
2011-09-26 17:41:42,968 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(10078) Message: Getting metadata (['latest_unpushed']) from http://localhost:9090/images/7dca54f0-e4d7-44bd-a362-8c5af6d9094a
2011-09-26 17:41:43,039 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(10078) Message: Querying (http://localhost:9090/target_images/_query) with expression ($build == "1d447a4e-7f76-4374-a4ce-d266b5052928" && $target == "vsphere")
2011-09-26 17:41:43,061 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(10078) Message: Getting metadata (['template']) from http://localhost:9090/target_images/3b1f35b4-20ee-449d-9096-d03550519025
2011-09-26 17:41:43,063 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(10078) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images)
2011-09-26 17:41:43,066 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(10078) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images)
2011-09-26 17:41:43,067 DEBUG imgfac.BuildJob.BuildAdaptor pid(10078) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed status from NEW to PUSHING
2011-09-26 17:41:43,068 DEBUG imgfac.BuildJob.BuildAdaptor pid(10078) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed percent complete from 0 to 0
2011-09-26 17:41:43,069 DEBUG imgfac.builders.BaseBuilder.RHEL6_vsphere_Builder pid(10078) Message: RWSU credentials: <?xml version="1.0"?>
<provider_accounts/>
2011-09-26 17:41:43,095 DEBUG imgfac.builders.BaseBuilder.RHEL6_vsphere_Builder pid(10078) Message: Image file /var/tmp/vmware-image-3b1f35b4-20ee-449d-9096-d03550519025.vmdk already present - skipping warehouse download
2011-09-26 17:46:42,180 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(10078) Message: Setting metadata ({'target_image': '3b1f35b4-20ee-449d-9096-d03550519025', 'uuid': '24e51acc-afce-4eea-ad1c-889395fc1802', 'icicle': 'none', 'target_identifier': 'factory-image-24e51acc-afce-4eea-ad1c-889395fc1802', 'object_type': 'provider_image', 'provider': 'vsphere'}) for http://localhost:9090/provider_images/24e51acc-afce-4eea-ad1c-889395fc1802
2011-09-26 17:46:42,187 DEBUG imgfac.BuildJob.BuildAdaptor pid(10078) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed percent complete from 0 to 100
2011-09-26 17:46:42,189 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(10078) Message: Setting metadata ({'latest_build': '1d447a4e-7f76-4374-a4ce-d266b5052928'}) for http://localhost:9090/images/7dca54f0-e4d7-44bd-a362-8c5af6d9094a
2011-09-26 17:46:42,191 DEBUG imgfac.ImageWarehouse.ImageWarehouse pid(10078) Message: Setting metadata ({'latest_unpushed': None}) for http://localhost:9090/images/7dca54f0-e4d7-44bd-a362-8c5af6d9094a
2011-09-26 17:46:42,192 DEBUG imgfac.BuildJob.BuildAdaptor pid(10078) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed status from PUSHING to COMPLETED
[root@unused nodes]# rpm -qa | grep aeolus
aeolus-conductor-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-conductor-daemons-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-all-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-conductor-doc-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-conductor-devel-0.4.0-0.20110926211730git1cc372b.fc15.noarch
rubygem-aeolus-image-0.1.0-3.20110919115936gitd1d24b4.fc15.noarch
aeolus-configure-2.0.2-4.20110926142838git5044e56.fc15.noarch
|