Skip to content

Commit 6bf6258

Browse files
committed
Fix edpm_kernel 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 Depends-On: openstack-k8s-operators/ci-framework#3414 Signed-off-by: Daniel Pawlik <[email protected]>
1 parent 95aa63d commit 6bf6258

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
all:
3+
hosts:
4+
instance: {}

roles/edpm_kernel/molecule/default/molecule.yml

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,29 @@ dependency:
66
driver:
77
name: podman
88
platforms:
9-
- command: /sbin/init
10-
dockerfile: ../../../../molecule/common/Containerfile.j2
11-
image: ${EDPM_ANSIBLE_MOLECULE_IMAGE:-"ubi9/ubi-init"}
12-
name: instance
13-
privileged: true
14-
registry:
15-
url: ${EDPM_ANSIBLE_MOLECULE_REGISTRY:-"registry.access.redhat.com"}
16-
ulimits:
17-
- host
9+
- command: /sbin/init
10+
dockerfile: ../../../../molecule/common/Containerfile.j2
11+
image: ${EDPM_ANSIBLE_MOLECULE_IMAGE:-"ubi9/ubi-init"}
12+
name: instance
13+
privileged: true
14+
registry:
15+
url: ${EDPM_ANSIBLE_MOLECULE_REGISTRY:-"registry.access.redhat.com"}
16+
ulimits:
17+
- host
1818
provisioner:
1919
inventory:
20-
hosts:
21-
all:
22-
hosts:
23-
instance:
24-
ansible_connection: local
25-
ansible_host: localhost
20+
links:
21+
hosts: ./inventory/hosts
2622
log: true
2723
name: ansible
2824
playbooks:
2925
cleanup: ${MOLECULE_SCENARIO_DIRECTORY}/../../resources/molecule/cleanup.yml
3026
prepare: ${MOLECULE_SCENARIO_DIRECTORY}/../../resources/molecule/prepare.yml
3127
scenario:
32-
name: default
3328
test_sequence:
34-
- prepare
35-
- converge
36-
- check
37-
- cleanup
29+
- prepare
30+
- converge
31+
- check
32+
- cleanup
3833
verifier:
3934
name: testinfra

0 commit comments

Comments
 (0)