cli icon indicating copy to clipboard operation
cli copied to clipboard

Empty storage class in OpenShift Pipeline installtion

Open SalaryTheft opened this issue 5 months ago • 2 comments

MAS CLI version

13.28.0

CLI function used

install

What happened?

Image

Stroage class is empty for PVC postgredb-tekton-results-postgres-0. Used latest(13.28.0) cli standalone binary in Windows, OpenShift version is 4.18.19.

mas-cli install `
  --mas-catalog-version v9-250624-amd64 `
  --mas-channel 9.1.x `
....
  --storage-class-rwo lvms-vg1 `
  --storage-class-rwx lvms-vg1 `
  --storage-pipeline lvms-vg1 `
  --storage-accessmode ReadWriteOnce `
  --disable-walkme --accept-license --no-confirm

Relevant log output

-

SalaryTheft avatar Jul 15 '25 06:07 SalaryTheft

I just noticed a duplicate issue in #1511 , which is opened few months ago. But it hasn't been fixed yet and there's no replies from the maintainers.

I'll just leave this issue open to get some attention 🤔


I'm also experiencing #1257 becasue Red Hat Local Storage operator creates lvms-vg1 storage class with volumeBindingMode: WaitForFirstConsumer.


Tried again with duplicated storage class but volumeBindingMode is set to Immediate. (https://access.redhat.com/solutions/7101250) This time storage class is filled correctly in PVC. Seems like Pipeline operator doesn't like volumeBindingMode: WaitForFirstConsumer. Is this Red Hat side issue not MAS team? Still confused.

SalaryTheft avatar Jul 15 '25 06:07 SalaryTheft

I just posted a comment in issue 1511 about the cause of this problem and how to address it. P.S. The code works as designed, but IMO it would be better if, in the future, the logic used the specified storage-class instead of the default one.

diegovisentin avatar Jul 15 '25 15:07 diegovisentin