-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS Product Code for CentOS-7 not found #589
Comments
b-dean
added a commit
to b-dean/kitchen-ec2
that referenced
this issue
Feb 2, 2023
adding the `"CentOS Stream #{version}*"` pattern will also allow `centos-9` for the platform. remove CentOS 6 since it's not published anymore, even on the legacy marketplace product code. Fixes test-kitchen#589 Signed-off-by: Ben Dean <[email protected]>
3 tasks
b-dean
added a commit
to b-dean/kitchen-ec2
that referenced
this issue
Feb 2, 2023
…earch adding the `"CentOS Stream #{version}*"` pattern will also allow `centos-9` for the platform. remove CentOS 6 since it's not published anymore, even on the legacy marketplace product code. Fixes test-kitchen#589 Signed-off-by: Ben Dean <[email protected]>
tas50
pushed a commit
that referenced
this issue
Mar 9, 2023
…earch (#597) adding the `"CentOS Stream #{version}*"` pattern will also allow `centos-9` for the platform. remove CentOS 6 since it's not published anymore, even on the legacy marketplace product code. Fixes #589 Signed-off-by: Ben Dean <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🗣️ Foreword
Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.
👻 Brief Description
When running Kitchen tests using platform centos-7 the test fails the create action with
Neither image_id nor image_search specified for instance default-centos-7! Please specify one or the other.
centos.rb is specifying product code
"aw0evgkw8e5c1q413zgy5pjce"
which is now marked as a Legacy CentOS Public Image on CentOS Official AWS Cloud EC2 images.The replacement Product Code for CentOS 7 is
cvugziknvmxgqna9noibqnnsy1
.Version
Kitchen 1.24.0
Environment
The kitchen tests are run inside a CentOS 7 pod. The Kitchen Test is using a default CentOS-7 without any additional driver parameters:
`
platforms:
driver:
instance_type: t2.small
block_device_mappings:
ebs:
volume_size: 10
delete_on_termination: true
`
Scenario
Run a kitchen test on against a CentOS-7 instance via a Jenkins Pipeline.
Steps to Reproduce
Setup a .kitchen.yaml with a platform block specifying
platforms: -name: centos-7
and trying to run a kitchen test.
Expected Result
Properly pulls a CentOS-7 image and runs the kitchen test.
Actual Result
I, [2022-11-02T20:45:48.539467 #484] INFO -- default-centos-7: -----> Testing
I, [2022-11-02T20:45:48.539527 #484] INFO -- default-centos-7: -----> Creating ...
E, [2022-11-02T20:45:49.428380 #484] ERROR -- default-centos-7: Search returned 0 images.
E, [2022-11-02T20:45:49.428517 #484] ERROR -- default-centos-7: Create failed on instance .
E, [2022-11-02T20:45:49.428570 #484] ERROR -- default-centos-7: ------Exception-------
E, [2022-11-02T20:45:49.428580 #484] ERROR -- default-centos-7: Class: RuntimeError
E, [2022-11-02T20:45:49.428588 #484] ERROR -- default-centos-7: Message: Neither image_id nor an image_search specified for instance default-centos-7! Please specify one or the other.
E, [2022-11-02T20:45:49.428596 #484] ERROR -- default-centos-7: ----------------------
➕ Additional context
The text was updated successfully, but these errors were encountered: