Open jmvbxx opened 1 year ago
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",
:speaking_head: 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.
:ghost: 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