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

ipi/vsphere: improve permission error messages #5647

Closed
wants to merge 1 commit into from

Conversation

git-hyagi
Copy link

Make it easier to find the missing privileges in case of an error on vSphere installations.
Maybe not the best way to implement it, as it is parsing the error messages (string)
to provide better output, but this is the only way that I could find considering
that the VMware vSphere API is not public, so we cannot make any changes to it.

Proposal implementation for https://issues.redhat.com/browse/RFE-1965

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 14, 2022

@git-hyagi: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

In response to this:

ipi/vsphere: improve permission error messages

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/test-infra repository.

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 14, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 14, 2022

Hi @git-hyagi. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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/test-infra repository.

@vwalek
Copy link

vwalek commented Feb 24, 2022

@jhixson74 - any update on the PR?

@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 26, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 26, 2022

@git-hyagi: PR needs rebase.

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/test-infra repository.

@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 28, 2022
@openshift-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci openshift-ci bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jun 27, 2022
@sadasu
Copy link
Contributor

sadasu commented Jul 25, 2022

@git-hyagi could you please rebase these changes?

Provide better error messages when the installation fails because of some tasks
lacking permission to be executed.

Proposal implementation for https://issues.redhat.com/browse/RFE-1965
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 13, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 13, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign sdodson for approval by writing /assign @sdodson in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@sadasu
Copy link
Contributor

sadasu commented Aug 16, 2022

/remove-lifecycle rotten

@openshift-ci openshift-ci bot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Aug 16, 2022
@sadasu
Copy link
Contributor

sadasu commented Aug 16, 2022

/ok-to-test

@sadasu
Copy link
Contributor

sadasu commented Aug 16, 2022

/retest-required

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 16, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 16, 2022

@git-hyagi: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-openstack b3f665e link false /test e2e-openstack
ci/prow/e2e-ibmcloud b3f665e link false /test e2e-ibmcloud
ci/prow/e2e-aws-upi-proxy b3f665e link false /test e2e-aws-upi-proxy
ci/prow/verify-vendor b3f665e link true /test verify-vendor
ci/prow/e2e-crc b3f665e link false /test e2e-crc
ci/prow/e2e-libvirt b3f665e link false /test e2e-libvirt
ci/prow/e2e-metal-ipi b3f665e link false /test e2e-metal-ipi

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/test-infra repository. I understand the commands that are listed here.

@sadasu
Copy link
Contributor

sadasu commented Aug 22, 2022

@git-hyagi this PR needs a BZ to merge into 4.11. Do you have one?

@sadasu
Copy link
Contributor

sadasu commented Aug 22, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 22, 2022
@vwalek
Copy link

vwalek commented Aug 22, 2022

@git-hyagi this PR needs a BZ to merge into 4.11. Do you have one?

Hey @sadasu , hyagi is working on different project, different department. Let me know what do you need? I can do it if you want.

@sadasu
Copy link
Contributor

sadasu commented Aug 23, 2022

@vwalek this fix has to go into 4.12 first and then backported to 4.11. Can you rebase this fix against master? And then we would need to backport this to 4.11 after associating it with a BZ.

@bostrt
Copy link
Contributor

bostrt commented Aug 24, 2022

There's another effort happening in #5741 that solves the issue more broadly. Can we hold this PR until 5741 has some more time to receive reviews?

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 24, 2022
@sadasu
Copy link
Contributor

sadasu commented Sep 7, 2022

@bostrt #5741 has merged. Does that make this PR obsolete?

@bostrt
Copy link
Contributor

bostrt commented Sep 8, 2022

@sadasu thanks for the ping! Yes, let's close this one out since the other PR has merged. Thanks for all the hard work in here!

/close

@openshift-ci openshift-ci bot closed this Sep 8, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 8, 2022

@bostrt: Closed this PR.

In response to this:

@sadasu thanks for the ping! Yes, let's close this one out since the other PR has merged. Thanks for all the hard work in here!

/close

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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants