Skip to content

[terraform-ibm-cloudpak-data] Pod Failing with validation error #18

@jor2

Description

@jor2

error:

TASK [prepare-openshift-storage : Check if Cloud Pak for Data is running on IBM Cloud with file storage] ***
task path: /cloud-pak-deployer/automation-roles/40-configure-infra/prepare-openshift-storage/tasks/main.yml:37
Tuesday 15 April 2025 19:52:24 +0000 (0:00:00.200) 0:03:14.294 *********
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Data/cpd-status/tmp `"&& mkdir "` echo /Data/cpd-status/tmp/ansible-tmp-1744746745.0941288-1980-233918987199378 `" && echo ansible-tmp-1744746745.0941288-1980-233918987199378="` echo /Data/cpd-status/tmp/ansible-tmp-1744746745.0941288-1980-233918987199378 `" ) && sleep 0'
Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py
<127.0.0.1> PUT /opt/ansible/.ansible/tmp/ansible-local-13036_8w9g7/tmpjwpt2e0g TO /Data/cpd-status/tmp/ansible-tmp-1744746745.0941288-1980-233918987199378/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Data/cpd-status/tmp/ansible-tmp-1744746745.0941288-1980-233918987199378/ /Data/cpd-status/tmp/ansible-tmp-1744746745.0941288-1980-233918987199378/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'KUBECONFIG=/Data/cpd-status/openshift/kubeconfig /usr/bin/python3.12 /Data/cpd-status/tmp/ansible-tmp-1744746745.0941288-1980-233918987199378/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Data/cpd-status/tmp/ansible-tmp-1744746745.0941288-1980-233918987199378/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => changed=true
cmd: |-
oc get sc ibmc-file-gold-gid | grep -i '^ibmc-file-gold-gid' | wc -l
delta: '0:00:01.126140'
end: '2025-04-15 19:52:27.419327'
invocation:
module_args:
_raw_params: |-
oc get sc ibmc-file-gold-gid | grep -i '^ibmc-file-gold-gid' | wc -l
_uses_shell: true
argv: null
chdir: null
creates: null
executable: null
expand_argument_vars: true
removes: null
stdin: null
stdin_add_newline: true
strip_empty_ends: true
msg: ''
rc: 0
start: '2025-04-15 19:52:26.293187'
stderr: 'Error from server (NotFound): storageclasses.storage.k8s.io "ibmc-file-gold-gid" not found'
stderr_lines: <omitted>
stdout: '0'
stdout_lines: <omitted>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions