Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong storage type for pvc app-hub-file-storage #215

Open
fvzwieten opened this issue Jan 8, 2025 · 3 comments
Open

Wrong storage type for pvc app-hub-file-storage #215

fvzwieten opened this issue Jan 8, 2025 · 3 comments

Comments

@fvzwieten
Copy link

fvzwieten commented Jan 8, 2025

Catalog item: Ansible Product Demos (AAP 2.5)

image (1)

As can be seen from the attached screenshot the PVC app-hub-file-storage did not bind. As a result all hub pods where in pending mode. I changed it from ocs-external-storagecluster-ceph-rbd >>> ocs-external-storagecluster-cephfs. Then all hub pods went into init mode and stay there so there is still something not correct.

@willtome
Copy link
Collaborator

willtome commented Jan 8, 2025

@l3acon

@l3acon
Copy link
Collaborator

l3acon commented Jan 8, 2025

Yes, this is what I've been complaining about. This repository has nothing to do with the RHDP infrastructure, likely the solution will be with redhat-cop/agnosticd.git. I have reached out to our internal contacts to try and make progress.

@dwrolvink
Copy link

Sorry if this is the wrong repository to post this, but this is the only place on the internet that I can find this issue mentioned. Using AAP operator 2.5 on RHOCP I get the same issue as above. Storage class does not appear to be configurable.

For our env, the correct storageclass should be ocs-storagecluster-cephfs (any storage class in the cephfs.csi.ceph.com namespace should do).

# create new pvc yaml
oc get pvc aap-hub-file-storage -o yaml | yq 'del(.metadata.annotations, .metadata.creationTimestamp, .metadata.uid, .metadata.resourceVersion) | .spec.storageClassName="ocs-storagecluster-cephfs"' > /tmp/pvc.yml

# recreate pvc with correct storageclassname
oc delete pvc aap-hub-file-storage && oc apply -f /tmp/pvc.yml

This then leads to a running environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants