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

Using non-exist storage pool during openshift deploy #520

Closed
chenpingxy1 opened this issue Feb 19, 2024 · 6 comments · Fixed by #521
Closed

Using non-exist storage pool during openshift deploy #520

chenpingxy1 opened this issue Feb 19, 2024 · 6 comments · Fixed by #521

Comments

@chenpingxy1
Copy link

1.Describe in detail the issue you're having.

With PowerVS, I used command "ibmcloud pi img cr" command to copy the catalog image CentOS-stream-8 into my work space. After the local image was created the storage group value is empty (show as "ANY" in GUI). When I try to follow the https://github.com/ocp-power-automation/ocp4-upi-powervs playbook to deploy a cluster. I received a storage pool "Tier3-Flash-1" not found error. Looks like the catalog image's storage pool is "Tier3-Flush-1". But we don't have that storage pool. To work around , I have to change the terraform file ocp4-upi-powervs/modules/1_prepare/prepare.tf to hard code an existing storage pool.

2.What did you expect to happen? What happened instead? What would you like to see changed?

User should have a way to specify the storage pool name in the var.tfvars file

3.What browser are you working in?

Any

Steps to reproduce the issue

1.Step one

Setup a PowerVS env, without a storage pool named "Tier3-Flush-1"

2.Step two

Using ibmcloud pi img cr command to copy catalog image CentOS-stream-8 into your work space and make sure the storage pool is "ANY"

3.Step three

Follow the playbook https://github.com/ocp-power-automation/ocp4-upi-powervs to deploy a cluster. You will get the Tier3-Flush-1 storage pool not found error

@clnperez
Copy link
Contributor

Hey @chenpingxy1 . Thanks for reporting. This one should be a pretty simple add, so could you take a stab at a PR?

@yussufsh
Copy link
Contributor

@chenpingxy1 thanks for reporting the issue.

This is due to the latest changes in storage pool names on PowerVS side. The storage pools ie. Tier3-Flash-1 is replaced with something like General-Flash-72 or Tier3-Flush-1 but the catalog images are still set to the older storage pools.

I agree with your comment there should be a way to allow users to overcome this:

User should have a way to specify the storage pool name in the var.tfvars file

@yussufsh
Copy link
Contributor

I have also reported this to the PowerVS team and tagged @clnperez in the Slack thread.

yussufsh added a commit to yussufsh/ocp4-upi-powervs that referenced this issue Feb 21, 2024
Fixes ocp-power-automation#520

Signed-off-by: Yussuf Shaikh <yussuf.shaikh1@ibm.com>
@yussufsh
Copy link
Contributor

@chenpingxy1 if you get a chance could you test the changes in the linked PR please?

@clnperez
Copy link
Contributor

clnperez commented Mar 6, 2024

@chenpingxy1 ?

@chenpingxy1
Copy link
Author

@yussufsh I will try to test it. Where I can get the latest code with the change and do you have a sample to specify the storage pool in the vars file. Thanks

yussufsh added a commit to yussufsh/ocp4-upi-powervs that referenced this issue Mar 8, 2024
Fixes ocp-power-automation#520

Signed-off-by: Yussuf Shaikh <yussuf.shaikh1@ibm.com>
yussufsh added a commit to yussufsh/ocp4-upi-powervs that referenced this issue Mar 8, 2024
Fixes ocp-power-automation#520

Signed-off-by: Yussuf Shaikh <yussuf.shaikh1@ibm.com>
yussufsh added a commit to yussufsh/ocp4-upi-powervs that referenced this issue Mar 8, 2024
Fixes ocp-power-automation#520

Signed-off-by: Yussuf Shaikh <yussuf.shaikh1@ibm.com>
yussufsh added a commit to yussufsh/ocp4-upi-powervs that referenced this issue Mar 8, 2024
Fixes ocp-power-automation#520

Signed-off-by: Yussuf Shaikh <yussuf.shaikh1@ibm.com>
yussufsh added a commit to yussufsh/ocp4-upi-powervs that referenced this issue Mar 8, 2024
Fixes ocp-power-automation#520

Signed-off-by: Yussuf Shaikh <yussuf.shaikh1@ibm.com>
yussufsh added a commit to yussufsh/ocp4-upi-powervs that referenced this issue Mar 8, 2024
Fixes ocp-power-automation#520

Signed-off-by: Yussuf Shaikh <yussuf.shaikh1@ibm.com>
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

Successfully merging a pull request may close this issue.

3 participants