-
Notifications
You must be signed in to change notification settings - Fork 91
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
Getting Failed to get D-Bus connection
error when converging Amazon Linux 2
#286
Comments
same issue. it seems kitchen is ignoring cgroupns_host parameter: here is the kitchen.yml: ---
driver:
name: dokken
privileged: true
cgroupns_host: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
provisioner:
name: dokken
chef_license: accept-no-persist
log_level: <%= ENV['CHEF_LOG_LEVEL'] || 'auto' %>
transport:
name: dokken
platforms:
- name: debian-11
driver:
# image: dokken/debian-12:sha-e9e4388
image: dokken/debian-11
pid_one_command: /bin/systemd
intermediate_instructions:
- ENV DEBIAN_FRONTEND noninteractive
- RUN /usr/bin/apt-get update -y
- RUN /usr/bin/apt-get install -y nano ca-certificates sudo apt-transport-https lsb-release procps net-tools
.... root@amd64:~/rabbitmq-rabbitmq-poc# kitchen list
Instance Driver Provisioner Verifier Transport Last Action Last Error
node01-debian-11 Dokken Dokken Inspec Dokken Created Kitchen::ActionFailed root@amd64:~/rabbitmq-rabbitmq-poc# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
dbecfd139288 124df55356-node01-debian-11:latest "/bin/systemd" 41 seconds ago Up 40 seconds 0.0.0.0:9001->15671/tcp, 0.0.0.0:9000->15672/tcp 124df55356-node01-debian-11 root@amd64:~/rabbitmq-rabbitmq-poc# docker inspect 124df55356-node01-debian-11 | grep CgroupnsMode
"CgroupnsMode": "private", |
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
Unable to converge an Amazon Linux 2 container and getting the following error
Version
Environment
Scenario
Trying, unsuccessfully, to converge an Amazon Linux 2 Docker container
Steps to Reproduce
Here is my config:
The above
platforms
configuration is based on https://kitchen.ci/docs/drivers/dokken/#cgroupns_host but I'm still getting the following full error:Expected Result
I expect the container to spin up and converge correctly
Actual Result
I shared the error message above
The text was updated successfully, but these errors were encountered: