Skip to content

Commit b621548

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 b621548

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
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

0 commit comments

Comments
 (0)