View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018535 | CentOS-7 | Cloud-Images | public | 2022-11-11 11:26 | 2022-11-11 21:54 |
Reporter | julferts | Assigned To | |||
Priority | immediate | Severity | major | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 7.9.2009 | ||||
Summary | 0018535: Latest CentOS 7 image is not showing up in describe-images anymore - e.g. packer builds are broken ATM | ||||
Description | On March 31, 2022 AWS started adding DeprecationTime to images and back filling this for existent images. https://aws.amazon.com/about-aws/whats-new/2022/03/amazon-machine-images-public-visibility-two-years/ The outcome is that images that reached their deprecation date are not showing up in DescribeImage calls. Exceptions are adding IncludeDeprecated into the RequestParameters or being the image owner ( which makes it even harder for publishers to identify this issue ) At the moment this new Parameter is not supported by the commonly used image building tool packer used by for example https://github.com/kubernetes-sigs/image-builder Please either build a new image or even better if there is no change planned remove the deprecation from the latest AMI by issuing aws ec2 disable-image-deprecation --image-id $ami-id | ||||
Steps To Reproduce | aws ec2 describe-images --owners 125523088429 --filters "Name=name,Values=CentOS 7.9*" --query 'Images[] | length(@)' 0 aws ec2 describe-images --owners 125523088429 --filters "Name=name,Values=CentOS 7.9*" --query 'Images[] | length(@)' --include-deprecated 2 | ||||
Additional Information | here are the example calls for CentOS 7.9 images for region in $(aws ec2 describe-regions --query 'Regions[].[RegionName]' --output text);aws ec2 describe-images --region $region --owners 125523088429 --filters "Name=name,Values=CentOS 7.9*" --include-deprecated --query 'sort_by(Images, &CreationDate)[].[ImageId]' --output text | xargs -n1 echo aws --region $region ec2 disable-image-deprecation --ami-id aws --region ap-south-1 ec2 disable-image-deprecation --ami-id ami-0ffc7af9c06de0077 aws --region ap-south-1 ec2 disable-image-deprecation --ami-id ami-0b5c298137e260867 aws --region eu-north-1 ec2 disable-image-deprecation --ami-id ami-0358414bac2039369 aws --region eu-north-1 ec2 disable-image-deprecation --ami-id ami-0703d28356ece347c aws --region eu-west-3 ec2 disable-image-deprecation --ami-id ami-072ec828dae86abe5 aws --region eu-west-3 ec2 disable-image-deprecation --ami-id ami-0286c81df9e81730d aws --region eu-west-2 ec2 disable-image-deprecation --ami-id ami-0b22fcaf3564fb0c9 aws --region eu-west-2 ec2 disable-image-deprecation --ami-id ami-098cdf26bc3c008df aws --region eu-west-1 ec2 disable-image-deprecation --ami-id ami-04f5641b0d178a27a aws --region eu-west-1 ec2 disable-image-deprecation --ami-id ami-0e2a2f48fffbaa4fa aws --region ap-northeast-2 ec2 disable-image-deprecation --ami-id ami-0e4214f08b51e23cc aws --region ap-northeast-2 ec2 disable-image-deprecation --ami-id ami-09e34a2c74d315279 aws --region ap-northeast-1 ec2 disable-image-deprecation --ami-id ami-0ddea5e0f69c193a4 aws --region ap-northeast-1 ec2 disable-image-deprecation --ami-id ami-0a9d0fdaf6eba3b96 aws --region ca-central-1 ec2 disable-image-deprecation --ami-id ami-0a7c5b189b6460115 aws --region ca-central-1 ec2 disable-image-deprecation --ami-id ami-06cadcf5911e61f49 aws --region sa-east-1 ec2 disable-image-deprecation --ami-id ami-02334c45dd95ca1fc aws --region sa-east-1 ec2 disable-image-deprecation --ami-id ami-07afdb5b9e57dab5e aws --region ap-southeast-1 ec2 disable-image-deprecation --ami-id ami-0adfdaea54d40922b aws --region ap-southeast-1 ec2 disable-image-deprecation --ami-id ami-0a8ab25085477038e aws --region ap-southeast-2 ec2 disable-image-deprecation --ami-id ami-03d56f451ca110e99 aws --region ap-southeast-2 ec2 disable-image-deprecation --ami-id ami-014dafc35e50da2f5 aws --region eu-central-1 ec2 disable-image-deprecation --ami-id ami-08b6d44b4f6f7b279 aws --region eu-central-1 ec2 disable-image-deprecation --ami-id ami-0a305a7534a53874c aws --region us-east-1 ec2 disable-image-deprecation --ami-id ami-00e87074e52e6c9f9 aws --region us-east-1 ec2 disable-image-deprecation --ami-id ami-0b802bd2b502aa382 aws --region us-east-2 ec2 disable-image-deprecation --ami-id ami-00f8e2c955f7ffa9b aws --region us-east-2 ec2 disable-image-deprecation --ami-id ami-07f692d95b2b9c8c5 aws --region us-west-1 ec2 disable-image-deprecation --ami-id ami-08d2d8b00f270d03b aws --region us-west-1 ec2 disable-image-deprecation --ami-id ami-09748e99ee14e3823 aws --region us-west-2 ec2 disable-image-deprecation --ami-id ami-0686851c4e7b1a8e1 aws --region us-west-2 ec2 disable-image-deprecation --ami-id ami-0db02f65655518c52 | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
Hello, See https://aws.amazon.com/marketplace/pp/prodview-foff247vr2zfw?sr=0-1&ref_=beagle&applicationId=AWSMPContessa Looks like AWS published a new CentOS 7 AMI, but only available via the Marketplace... Even being on the MarketPlace, it looks like it's belonging to AWS: It's "By: Amazon Web Services" on the above url. Probably they've messed up the things here.... For example, for eu-west-1 region: ID: ami-0c1f3a8058fde8814 Name: CentOS-7-2111-20220825_1.x86_64-d9a3032a-921c-4c6d-b150-bde168105e42 OwnerID: 679593333241 |
|
Issue tracked in the proper tracker : https://pagure.io/centos-infra/issue/966 | |