Thanks Richard ,
After some time I got image status completed . But when I tried to push it in
rhevm I get this error ( this is another image example ) .
# aeolus-cli list --targetimages b520d82e-ecf6-4922-8188-1e090bd96cf6
ID Status Build
------------------------------------ --------
------------------------------------
6947d44a-69c9-48e2-a73f-9092fa36f468 COMPLETE
b520d82e-ecf6-4922-8188-1e090bd96cf6
But this makes error :
# aeolus-cli push --provider rhevm --account rhevm --image
2a1d7009-8d86-4148-b941-e4817cdce816 --build b520d82e-ecf6-4922-8188-1e090bd96cf6
--targetimage 6947d44a-69c9-48e2-a73f-9092fa36f468
ERROR: TargetImageNotFound => Could not find an appropriate target image for account
rhevm
/Vlad .
From: Richard Su [mailto:rwsu@redhat.com]
Sent: Thursday, December 22, 2011 9:07 PM
To: Berezovski, Vladimir
Cc: aeolus-devel(a)lists.fedorahosted.org
Subject: Re: problem to push rhev image
On 12/22/2011 05:11 AM, Berezovski, Vladimir wrote:
I have a problem to get rhevm image ready before pushing it to rhevm provider .
Image status is not being changed at all from NEW to COMPLETED .
In order to proceed with push command I need to know $target_id parameter and although
build was release long time ago image status is unknown .
# cat rh6.tmpl
<template>
<name>rhel6_1_x86_64</name>
<os>
<name>RHEL-6</name>
<version>1</version>
<arch>x86_64</arch>
<rootpw>password</rootpw>
<install type='url'>
<url>ftp://loacl_ftp_server/RH6/x86_64/os/</url>
</install>
</os>
<description>rhel 6.1 x86_64 template </description>
</template>
#aeolus-cli build --target rhevm -template rh6.tmpl
This was done yesterday .
Examining this image today gives this info :
# aeolus-cli list --builds 2a1d7009-8d86-4148-b941-e4817cdce816
ID Image
------------------------------------ ------------------------------------
37ba4394-3e5a-41ff-9f7d-71380a368d70 2a1d7009-8d86-4148-b941-e4817cdce816
[root@rh6lab3 ~]# aeolus-cli list --targetimages 37ba4394-3e5a-41ff-9f7d-71380a368d70
ID Status Build
-- ------ -----
In a case with ec2 provider I see image status is COMPLETED .
As a result it is not possible to push this image . In /var/log/imagefactory.log
nothing suspicious .
Best regards ,
Vladimir Berezovski
________________________________
This message is confidential and intended only for the addressee. If you have received
this message in error, please immediately notify the
postmaster@nds.com<mailto:postmaster@nds.com> and delete it from your system as well
as any copies. The content of e-mails as well as traffic data may be monitored by NDS for
employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.
An NDS Group Limited company.
www.nds.com<http://www.nds.com>
Hi Vladimir,
We need a bit more information to understand what is going on.
I would be interested in seeing what is written to /var/log/imagefactory.log and stdout
after you execute the aeolus-cli build command.
If nothing is being written to imagefactory.log then I would check if the imagefactory
service is running.
Also what is returned when you run "aeolus-cli status --targetimage <your target
image id>"?
- Richard