Bug 796799 - EC2: no amis contain repository data for the region sa-east-1
Summary: EC2: no amis contain repository data for the region sa-east-1
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Cloud Image Validation
Classification: Red Hat
Component: images
Version: RHEL5.8
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: mkovacik
QA Contact: mkovacik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-23 17:00 UTC by mkovacik
Modified: 2012-06-13 11:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-13 11:45:59 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description mkovacik 2012-02-23 17:00:05 UTC
Description of problem:
There are no repositories configured for amis for the sa-east-1 EC2 region. As a consequence, image validation fails for these amis from that region.

Version-Release number of selected component (if applicable):
5.8, ami-9c74ab81, ami-6274ab7f,...

How reproducible:
Always

Steps to Reproduce:
1. instantiate aforementioned amis
2. log-in resulting instances
3. e.g. yum repolist fails
  
Actual results:
no "redhat-sa-*" repo files in "/etc/yum.repo.d"


Expected results:
repositories configured properly for the EC2 region sa-east-1, image validation passing

Additional info:
# Screen log
# ==========

 [root@ip-10-252-1-166 ~]# ls /etc/yum.repos.d/redhat-sa*
  ls: /etc/yum.repos.d/redhat-sa*: No such file or directory
  [root@ip-10-252-1-166 ~]# 

  [root@ip-10-252-1-166 ~]# yum repolist
  Loaded plugins: amazon-id, fastestmirror, security
  Loading mirror speeds from cached hostfile
  repolist: 0
  [root@ip-10-252-1-166 ~]#

# See also: https://bugzilla.redhat.com/show_bug.cgi?id=796760

Comment 1 James Slagle 2012-02-23 19:13:20 UTC
That ami has an old version of rh-amazon-rhui-client.  When the sa-east-1
region was released, we changed the rpm to be region agnostic.  The individual
repo files per region were removed, and the choose_repo script was updated to
look at the region at runtime.

It looks like the 5.8 ami's may have been built with the wrong version of this
rpm.  If you look at 6.2 ami, ami-0230ef1f, the version is 2.2.38, but the
version in this ami is 2.2.35.

Comment 2 mkovacik 2012-02-28 19:20:21 UTC
Verified in:

RHEL,i386,sa-east-1,access,5.8,starter,798285,ami-fe6cb3e3,pass
RHEL,i386,sa-east-1,hourly,5.8,starter,798384,ami-f86cb3e5,pass
RHEL,x86_64,sa-east-1,access,5.8,starter,798345,ami-fa6cb3e7,pass
RHEL,x86_64,sa-east-1,hourly,5.8,starter,798358,ami-f46cb3e9,pass

Comment 3 mkovacik 2012-06-13 11:43:10 UTC
Closing validated amis.

Comment 4 mkovacik 2012-06-13 11:45:59 UTC
Closing validated amis.


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