Skip to content
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

Run-List doesn't execute for centos-stream-9 when using Podman or Colima instead of Docker Desktop #119

Open
koldrid opened this issue Feb 7, 2024 · 2 comments
Labels

Comments

@koldrid
Copy link

koldrid commented Feb 7, 2024

🗣️ 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

Recently changed from Docker Desktop for Mac due to licensing to use Podman or Colima. We have been testing our cookbooks with centos-stream-9 and Docker Desktop and everything has been fine. Once we migrated to Podman and then Colima thinking this was a bug with those replacements Test-Kitchen looks to have completed successfully after setup but looking at the output nothing 'Chef-wise' is done on the host. It's like you passed the host an empty runlist. Decided to try the Oracle 7 image and it worked as expected, run-list was executed with both Podman and Colima.

Version

Latest Dokken Images
Test Kitchen version: 3.6.0
kitchen-dokken (2.20.3)

Environment

M2 MacBook Pro
Chef Workstation 23.12.1055

Scenario

Trying to get the Centos Stream 9 image to work

Steps to Reproduce

  • Install and setup Podman or Colima
  • Test and verify a cookbook is executed on Centos Steam 9

Expected Result

Runlist to be executed

Actual Result

Test-Kitchen completes successfully without error and the runlist is not executed.

➕ Additional context

kitchen setup centos
-----> Starting Test Kitchen (v3.6.0)
-----> Creating ...
/opt/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/lockfile-2.1.3/lib/lockfile.rb:308: warning: finalizer references object to be finalized
/opt/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/lockfile-2.1.3/lib/lockfile.rb:308: warning: finalizer references object to be finalized
Creating kitchen sandbox at /Users/koldrid/.dokken/kitchen_sandbox/72a21bdce4-default-centos-stream-9
Creating verifier sandbox at /Users/koldrid/.dokken/verifier_sandbox/72a21bdce4-default-centos-stream-9
Building work image..
Creating container 72a21bdce4-default-centos-stream-9
Finished creating (0m1.07s).
-----> Converging ...
Creating kitchen sandbox in /Users/koldrid/.dokken/kitchen_sandbox/72a21bdce4-default-centos-stream-9
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 8.0.9...
Removing non-cookbook files before transfer
Preparing data_bags
Preparing environments
Preparing roles
Preparing validation.pem
Preparing client.rb
Finished converging (0m4.15s).
-----> Setting up ...
Finished setting up (0m0.00s).
-----> Test Kitchen is finished. (0m6.06s)

docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
067c275498fb 72a21bdce4-default-centos-stream-9:latest "/usr/lib/systemd/sy…" 2 minutes ago Exited (255) About a minute ago 72a21bdce4-default-centos-stream-9
b197c00adffe chef/chef:18.2.7 "true" 18 hours ago Created chef-18.2.7-linux-amd64

@koldrid
Copy link
Author

koldrid commented Feb 7, 2024

After some more testing it looks like it fails on Oracle 9 as well. However Centos Stream 8 and Oracle 8 work fine.

@damacus damacus added the bug label Nov 27, 2024
@damacus
Copy link
Contributor

damacus commented Nov 27, 2024

So run lists are not being passed to RHEL-9 derivatives, but are being passed to RHEL-8?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants