Hide Forgot
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
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.
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
Closing validated amis.