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

with resource group id to avoid 'No resource group found' error #60291

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

MayXuQQ
Copy link
Contributor

@MayXuQQ MayXuQQ commented Jan 3, 2025

based on https://cloud.ibm.com/unifiedsupport/cases?number=CS4162762
use resource group id in "ibmcloud target", try to resolve "No resource group found" issue

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 3, 2025
@MayXuQQ
Copy link
Contributor Author

MayXuQQ commented Jan 3, 2025

/cc @jianlinliu

@openshift-ci openshift-ci bot requested a review from jianlinliu January 3, 2025 07:40
@@ -213,7 +213,8 @@ else
echo "Did not found a provisoned resource group"
exit 1
fi
"${IBMCLOUD_CLI}" target -g ${resource_group}
rg_id=$("${IBMCLOUD_CLI}" resource group $rg --output json | jq -r '.[0]|.id')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
rg_id=$("${IBMCLOUD_CLI}" resource group $rg --output json | jq -r '.[0]|.id')
rg_id=$("${IBMCLOUD_CLI}" resource group $rg --id)

@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@MayXuQQ: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-ibm-vpc-block-csi-driver-operator-master-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-operator-release-4.20-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-operator-release-4.19-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-operator-release-4.18-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-operator-release-4.17-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-operator-release-4.16-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-operator-release-4.15-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-operator-release-4.14-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-ibm-vpc-node-label-updater-release-4.15-e2e-ibmcloud-csi-extended openshift/ibm-vpc-node-label-updater presubmit Registry content changed
pull-ci-openshift-ibm-vpc-node-label-updater-release-4.14-e2e-ibmcloud-csi-extended openshift/ibm-vpc-node-label-updater presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-master-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-release-4.20-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-release-4.19-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-release-4.18-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-release-4.17-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-release-4.16-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-release-4.15-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver presubmit Registry content changed
pull-ci-openshift-ibm-vpc-block-csi-driver-release-4.14-e2e-ibmcloud-csi-extended openshift/ibm-vpc-block-csi-driver presubmit Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.15-amd64-nightly-ibmcloud-ipi-private-fips-f28 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.15-amd64-nightly-ibmcloud-ipi-private-byo-kms-f28-destructive N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.16-amd64-stable-4.16-upgrade-from-stable-4.15-ibmcloud-ipi-proxy-private-rt-f28 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.17-amd64-nightly-ibmcloud-ipi-proxy-private-rt-f28-longduration-cloud N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.17-amd64-nightly-4.17-upgrade-from-stable-4.16-ibmcloud-ipi-private-custom-cos-endpoint-fips-f28 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-ibmcloud-ipi-disc-priv-f28 N/A periodic Registry content changed
periodic-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-4.19-upgrade-from-stable-4.18-ibmcloud-ipi-disc-priv-f28 N/A periodic Registry content changed

A total of 165 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@jianlinliu
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2025
@MayXuQQ
Copy link
Contributor Author

MayXuQQ commented Jan 3, 2025

@liangxia could you give an approve? thanks

@liangxia
Copy link
Member

liangxia commented Jan 6, 2025

/approve

Copy link
Contributor

openshift-ci bot commented Jan 6, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jianlinliu, liangxia, MayXuQQ

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@MayXuQQ
Copy link
Contributor Author

MayXuQQ commented Jan 7, 2025

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

@MayXuQQ: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jan 7, 2025
Copy link
Contributor

openshift-ci bot commented Jan 7, 2025

@MayXuQQ: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit ebb6d4f into openshift:master Jan 7, 2025
10 checks passed
@MayXuQQ MayXuQQ deleted the ibm-missingRG branch January 7, 2025 04:18
MayXuQQ added a commit to MayXuQQ/release that referenced this pull request Jan 8, 2025
openshift-merge-bot bot pushed a commit that referenced this pull request Jan 8, 2025
krishvoor pushed a commit to krishvoor/release that referenced this pull request Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants