Hi,
I have errors whit i try run this command for build a template.
aeolus-image build --target rhev --template f14.xml
f14.xml
<template> <name>f14jeos</name> <os> <name>Fedora</name> <version>14</version> <arch>x86_64</arch> <install type='url'> <url>http://download.fedoraproject.org/pub/fedora/linux/releases/14/Fedora /x86_64/os/</url> </install> </os> <description>Fedora 14</description> </template>
Error i get is :
2011-09-28 17:21:54,200 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images) 2011-09-28 17:21:54,208 INFO imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Creating a bucket returned status 500. 2011-09-28 17:21:54,214 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Setting metadata ({'object_type': 'image', 'uuid': '96d588f7-817d-43eb-bcc1-e116d443b727'}) for http://localhost:9090/images/96d588f7-817d-43eb-bcc1-e116d443b727 2011-09-28 17:21:54,261 INFO imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Creating a bucket returned status 500. 2011-09-28 17:21:54,264 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Setting metadata ({'image': '96d588f7-817d-43eb-bcc1-e116d443b727', 'object_type': 'build', 'uuid': '92917154-a3e3-4e35-8a3c-85f85ab4ec4e'}) for http://localhost:9090/builds/92917154-a3e3-4e35-8a3c-85f85ab4ec4e 2011-09-28 17:21:54,355 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images) 2011-09-28 17:21:54,359 DEBUG imagefactory.builders.BaseBuilder.FedoraBuilder pid(2176) Message: Exception caught in ImageFactory 2011-09-28 17:21:54,360 DEBUG imagefactory.builders.BaseBuilder.FedoraBuilder pid(2176) Message: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/imagefactory/builders/FedoraBuilder.py", line 129, in build_image raise ImageFactoryException("Invalid build target (%s) passed to build_image()" % (self.target)) ImageFactoryException: Invalid build target (rhev) passed to build_image()
2011-09-28 17:21:54,363 DEBUG imagefactory.BuildJob.BuildAdaptor pid(2176) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed status from NEW to FAILED
On 09/29/2011 01:08 AM, Julio Alberto Carrillo Martínez wrote:
Hi,
I have errors whit i try run this command for build a template.
aeolus-image build --target rhev --template f14.xml
Hi, try 'rhevm' target instead of 'rhev', you can get list of all targets by: aeolus-image list --targets
Jan
f14.xml
<template> <name>f14jeos</name> <os> <name>Fedora</name> <version>14</version> <arch>x86_64</arch> <install type='url'> <url>http://download.fedoraproject.org/pub/fedora/linux/releases/14/Fedora /x86_64/os/</url> </install> </os> <description>Fedora 14</description> </template>
Error i get is :
2011-09-28 17:21:54,200 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images) 2011-09-28 17:21:54,208 INFO imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Creating a bucket returned status 500. 2011-09-28 17:21:54,214 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Setting metadata ({'object_type': 'image', 'uuid': '96d588f7-817d-43eb-bcc1-e116d443b727'}) for http://localhost:9090/images/96d588f7-817d-43eb-bcc1-e116d443b727 2011-09-28 17:21:54,261 INFO imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Creating a bucket returned status 500. 2011-09-28 17:21:54,264 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Setting metadata ({'image': '96d588f7-817d-43eb-bcc1-e116d443b727', 'object_type': 'build', 'uuid': '92917154-a3e3-4e35-8a3c-85f85ab4ec4e'}) for http://localhost:9090/builds/92917154-a3e3-4e35-8a3c-85f85ab4ec4e 2011-09-28 17:21:54,355 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(2176) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images) 2011-09-28 17:21:54,359 DEBUG imagefactory.builders.BaseBuilder.FedoraBuilder pid(2176) Message: Exception caught in ImageFactory 2011-09-28 17:21:54,360 DEBUG imagefactory.builders.BaseBuilder.FedoraBuilder pid(2176) Message: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/imagefactory/builders/FedoraBuilder.py", line 129, in build_image raise ImageFactoryException("Invalid build target (%s) passed to build_image()" % (self.target)) ImageFactoryException: Invalid build target (rhev) passed to build_image()
2011-09-28 17:21:54,363 DEBUG imagefactory.BuildJob.BuildAdaptor pid(2176) Message: Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>), changed status from NEW to FAILED
aeolus-devel mailing list aeolus-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/aeolus-devel
aeolus-devel@lists.fedorahosted.org