Bug 740622 - Need new JEOS image due to RHUI migration to RHUI 2.0
Summary: Need new JEOS image due to RHUI migration to RHUI 2.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: imagefactory
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Ian McLeod
QA Contact: wes hayutin
URL:
Whiteboard:
: 743652 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-22 17:42 UTC by wes hayutin
Modified: 2012-05-15 20:11 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-05-15 20:11:08 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:0588 0 normal SHIPPED_LIVE new packages: imagefactory 2012-05-15 22:31:27 UTC

Description wes hayutin 2011-09-22 17:42:00 UTC
Description of problem:

The current ami is not able to get updates from the new RHUI 2.0.
We need to update the ami id to an ami in this list... hrm.. next comment





 'terminated'. [290 of 300 seconds elapsed]
2011-09-22 13:31:21,235 DEBUG imgfac.builders.BaseBuilder.RHEL6_ec2_Builder pid(14690) Message: Instance status (stopped) - waiting for 'terminated'. [295 of 300 seconds elapsed]
2011-09-22 13:31:26,238 DEBUG imgfac.builders.BaseBuilder.RHEL6_ec2_Builder pid(14690) Message: Exception caught in ImageFactory
2011-09-22 13:31:26,301 DEBUG imgfac.builders.BaseBuilder.RHEL6_ec2_Builder pid(14690) Message: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_ec2_Builder.py", line 425, in push_image
    credentials)
  File "/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_ec2_Builder.py", line 581, in push_image_snapshot_ec2
    self.install_euca_tools(guestaddr)
  File "/usr/lib/python2.7/site-packages/imgfac/builders/RHEL6_ec2_Builder.py", line 45, in install_euca_tools
    self.guest.guest_execute_command(guestaddr, "yum -y install euca2ools")
  File "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 463, in guest_execute_command
    command, timeout)
  File "/usr/lib/python2.7/site-packages/oz/ozutil.py", line 332, in ssh_execute_command
    "root@" + guestaddr, command])
  File "/usr/lib/python2.7/site-packages/oz/ozutil.py", line 310, in subprocess_check_output
    raise SubprocessException("'%s' failed(%d): %s" % (cmd, retcode, stderr), retcode)
SubprocessException: 'ssh -i /tmp/tmpxYCJQd -F /dev/null -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no root.amazonaws.com yum -y install euca2ools' failed(1): Warning: Permanently added 'ec2-50-17-23-173.compute-1.amazonaws.com,50.17.23.173' (RSA) to the list of known hosts.
https://rhui.us-east-1.aws.ce.redhat.com/rhuilb/content/dist/rhel/rhui/server-6/releases/6Server/x86_64/os/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-us-east-rhel-server-releases. Please verify its path and try again


2011-09-22 13:31:26,301 DEBUG imgfac.BuildJob.BuildAdaptor pid(14690)

Comment 2 wes hayutin 2011-09-28 16:41:21 UTC
making sure all the bugs are at the right version for future queries

Comment 5 wes hayutin 2011-10-05 20:10:54 UTC
*** Bug 743652 has been marked as a duplicate of this bug. ***

Comment 6 wes hayutin 2011-10-05 20:12:01 UTC
Description of problem:
[root@unused ~]# rpm -Uvh
http://repos.fedorapeople.org/repos/aeolus/imagefactory/0.7.0/packages/fedora-14/noarch/imagefactory-jeosconf-ec2-fedora-0.1.0-1.fc14.noarch.rpm
Retrieving
http://repos.fedorapeople.org/repos/aeolus/imagefactory/0.7.0/packages/fedora-14/noarch/imagefactory-jeosconf-ec2-fedora-0.1.0-1.fc14.noarch.rpm
Preparing...                ########################################### [100%]
   1:imagefactory-jeosconf-e########################################### [100%]
[root@unused ~]# aeolus-restart-services 

Stoping ntpd ...
 Success: Stopping ntpd (via systemctl):                   [  OK  ]

Stoping imagefactory ...
 Success: Stopping imagefactory (via systemctl):           [  OK  ]

Stoping conductor-dbomatic ...
 Success: Stopping conductor-dbomatic (via systemctl):     [  OK  ]

Stoping aeolus-conductor ...
 Success: Stopping aeolus-conductor (via systemctl):       [  OK  ]

Stoping libvirtd ...
 Success: Stopping libvirtd (via systemctl):               [  OK  ]

Stoping deltacloud-core ...
 Success: Stopping deltacloud-core (via systemctl):        [  OK  ]

Stoping qpidd ...
 Success: Stopping qpidd (via systemctl):                  [  OK  ]

Stoping httpd ...
 Success: Stopping httpd (via systemctl):                  [  OK  ]

Stoping postgresql ...
 Success: Stopping postgresql (via systemctl):             [  OK  ]

Stoping iwhd ...
 Success: Stopping iwhd (via systemctl):                   [  OK  ]

Stoping mongod ...
 Success: Stopping mongod (via systemctl):                 [  OK  ]

Starting mongod ...
 Success: Starting mongod (via systemctl):                 [  OK  ]

Starting iwhd ...
 Success: Starting iwhd (via systemctl):                   [  OK  ]

Starting postgresql ...
 Success: Starting postgresql (via systemctl):             [  OK  ]

Starting httpd ...
 Success: Starting httpd (via systemctl):                  [  OK  ]

Starting qpidd ...
 Success: Starting qpidd (via systemctl):                  [  OK  ]

Starting deltacloud-core ...
 Success: Starting deltacloud-core (via systemctl):        [  OK  ]

Starting libvirtd ...
 Success: Starting libvirtd (via systemctl):               [  OK  ]

Starting aeolus-conductor ...
 Success: Starting aeolus-conductor (via systemctl):       [  OK  ]

Starting conductor-dbomatic ...
 Success: Starting conductor-dbomatic (via systemctl):     [  OK  ]

Starting imagefactory ...
 Success: Starting imagefactory (via systemctl):           [  OK  ]

Starting ntpd ...
 Success: Starting ntpd (via systemctl):                   [  OK  ]

Statusing mongod ...
 Success: mongod.service - SYSV: Starts and stops the MongDB daemon that
handles all database requests.
   Loaded: loaded (/etc/rc.d/init.d/mongod)
   Active: active (running) since Wed, 05 Oct 2011 11:59:54 -0400; 12s ago
  Process: 21695 ExecStop=/etc/rc.d/init.d/mongod stop (code=exited,
status=0/SUCCESS)
  Process: 21715 ExecStart=/etc/rc.d/init.d/mongod start (code=exited,
status=0/SUCCESS)
 Main PID: 21726 (mongod)
   CGroup: name=systemd:/system/mongod.service
    └ 21726 /usr/bin/mongod --quiet -f /etc/mongodb.conf run
[root@unused ~]# aeolus-image build --target ec2 --template RHEL61.tpl 
Target Image: 6707ba85-c340-4089-8e4e-b1a940362084
Image: 70eb04b2-484a-4fd8-9255-a10e271cfcb8
Build: b893c9cd-19ff-4f74-b470-5c072dcd538d
Status: COMPLETED
Percent Complete: 100
[root@unused ~]# aeolus-image push --provider ec2-us-east-1 --id
70eb04b2-484a-4fd8-9255-a10e271cfcb8

Provider Image: 991647c0-0ee6-4fa5-938b-203b60480bbc
Image: 70eb04b2-484a-4fd8-9255-a10e271cfcb8
Build: b893c9cd-19ff-4f74-b470-5c072dcd538d
Status: FAILED
Percent Complete: 0
[root@unused ~]# cat /root/RHEL61.tpl 
<template>
  <name>RHEL_westest01</name>
  <os>    
    <name>RHEL-6</name>    
    <version>1</version>
    <arch>x86_64</arch>
    <rootpw>dog8code</rootpw>
    <install type="url">
     
<url>http://download.devel.redhat.com/released/RHEL-6-Server/6.1/x86_64/os/</url>
    </install>
  </os>
  <description>RHEL61 x86_64 </description>
</template>
[root@unused ~]# 


2011-10-05 12:02:05,044 DEBUG imgfac.BuildJob.BuildAdaptor pid(22028) Message:
Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>),
changed status from NEW to PUSHING
2011-10-05 12:02:05,045 DEBUG imgfac.BuildJob.BuildAdaptor pid(22028) Message:
Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>),
changed percent complete from 0 to 0
2011-10-05 12:02:05,045 DEBUG imgfac.BuildJob.BuildAdaptor pid(22028) Message:
Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>),
changed status from PUSHING to FAILED
2011-10-05 12:02:05,046 DEBUG imgfac.builders.BaseBuilder.RHEL6_ec2_Builder
pid(22028) Message: Exception caught in ImageFactory
2011-10-05 12:02:05,046 DEBUG imgfac.builders.BaseBuilder.RHEL6_ec2_Builder
pid(22028) Message: Traceback (most recent call last):
  File
"/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_ec2_Builder.py", line
432, in push_image
    credentials)
  File
"/usr/lib/python2.7/site-packages/imgfac/builders/Fedora_ec2_Builder.py", line
532, in push_image_snapshot_ec2
    raise ImageFactoryException("No available JEOS for desired OS, verison
combination")
ImageFactoryException: No available JEOS for desired OS, verison combination

2011-10-05 12:02:05,047 DEBUG imgfac.BuildJob.BuildAdaptor pid(22028) Message:
Raising event with agent handler (<ImageFactoryAgent(Thread-1, initial)>),
changed status from FAILED to FAILED
[root@unused ~]#

Comment 7 Ian McLeod 2011-10-07 15:26:32 UTC
Wes,

This is addressed with the 0.7.0 factory release along with the jeosconf RPMs found here:

http://repos.fedorapeople.org/repos/aeolus/imagefactory/0.7.0/packages/fedora-14/noarch/

Comment 8 wes hayutin 2011-10-11 14:24:18 UTC
verified in 0.4.0 build

Comment 9 wes hayutin 2011-10-11 14:29:17 UTC
taking off tracker

Comment 11 errata-xmlrpc 2012-05-15 20:11:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2012-0588.html


Note You need to log in before you can comment on or make changes to this bug.