Skip to content

Commit 5141d8c

Browse files
committed
WIP Fix edpm_kernel and edpm_nova molecule job
The job is constantly failing with an error: TASK [../../../../molecule/common/test_deps : Gather facts if they don't exist] *** Friday 10 October 2025 06:52:38 +0000 (0:00:00.019) 0:00:00.036 ******** fatal: [instance]: UNREACHABLE! => changed=false msg: 'Failed to create temporary directory. In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in "/tmp", for more error information use -vvv. Failed command was: ( umask 77 && mkdir -p "` echo /tmp `"&& mkdir "` echo /tmp/ansible-tmp-1760079158.4157672-25921-94583121902720 `" && echo ansible-tmp-1760079158.4157672-25921-94583121902720="` echo /tmp/ansible-tmp-1760079158.4157672-25921-94583121902720 `" ), exited with result 125' unreachable: true Signed-off-by: Daniel Pawlik <[email protected]>
1 parent 95aa63d commit 5141d8c

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

roles/edpm_kernel/molecule/default/molecule.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependency:
66
driver:
77
name: podman
88
platforms:
9-
- command: /sbin/init
9+
- command: /usr/sbin/init
1010
dockerfile: ../../../../molecule/common/Containerfile.j2
1111
image: ${EDPM_ANSIBLE_MOLECULE_IMAGE:-"ubi9/ubi-init"}
1212
name: instance
@@ -15,6 +15,9 @@ platforms:
1515
url: ${EDPM_ANSIBLE_MOLECULE_REGISTRY:-"registry.access.redhat.com"}
1616
ulimits:
1717
- host
18+
volumes:
19+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
20+
cgroupns_mode: host
1821
provisioner:
1922
inventory:
2023
hosts:

roles/edpm_nova/molecule/default/molecule.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
# test
23
dependency:
34
name: galaxy
45
driver:
@@ -11,15 +12,24 @@ platforms:
1112
- name: compute-1
1213
groups:
1314
- compute
15+
#provisioner:
16+
# name: ansible
17+
# inventory:
18+
# hosts:
19+
# all:
20+
# hosts:
21+
# compute-1:
22+
# ctlplane_ip: 10.0.0.3
23+
# canonical_hostname: edpm-0.localdomain
24+
1425
provisioner:
26+
log: true
1527
name: ansible
1628
inventory:
17-
hosts:
18-
all:
19-
hosts:
20-
compute-1:
21-
ctlplane_ip: 10.0.0.3
22-
canonical_hostname: edpm-0.localdomain
29+
host_vars:
30+
compute-1:
31+
ctlplane_ip: "10.0.0.1"
32+
canonical_hostname: edpm-0.localdomain
2333

2434
verifier:
2535
name: ansible

zuul.d/jobs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
parent: cifmw-molecule-base
77
required-projects:
88
- openstack-k8s-operators/install_yamls
9-
- github.com/openstack-k8s-operators/ci-framework
9+
- github.com/openstack-k8s-operators/ci-framework:
10+
override-checkout: e0af6a7219985d4b094de6f042c0e8c3c75596e2
1011
vars:
1112
roles_dir: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/edpm-ansible'].src_dir }}/roles/{{ TEST_RUN }}"
1213

0 commit comments

Comments
 (0)