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

Bug 1868384: Login: Avoid overwriting same user from different cluster #537

Merged
merged 1 commit into from
Oct 23, 2020

Conversation

alvaroaleman
Copy link
Contributor

No description provided.

@openshift-ci-robot openshift-ci-robot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Aug 28, 2020
@openshift-ci-robot
Copy link

@alvaroaleman: This pull request references Bugzilla bug 1868384, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.6.0) matches configured target release for branch (4.6.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

In response to this:

Bug 1868384: Login: Avoid overwriting same user from different cluster

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.

@alvaroaleman
Copy link
Contributor Author

/retest

@alvaroaleman
Copy link
Contributor Author

that e2e test is just 99% percent red, so I don't think its the fault of this PR: https://prow.ci.openshift.org/job-history/gs/origin-ci-test/pr-logs/directory/pull-ci-openshift-oc-master-e2e-cmd
/retest

@alvaroaleman
Copy link
Contributor Author

/assign @soltysh

@alvaroaleman
Copy link
Contributor Author

/retest

2 similar comments
@alvaroaleman
Copy link
Contributor Author

/retest

@alvaroaleman
Copy link
Contributor Author

/retest

@openshift-ci-robot
Copy link

@alvaroaleman: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-cmd 27656f0 link /test e2e-cmd

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.

@alvaroaleman
Copy link
Contributor Author

/test e2e-aws

@alvaroaleman
Copy link
Contributor Author

/retest

@@ -47,6 +47,7 @@ func CreateConfig(namespace, userName string, clientCfg *restclient.Config) (*cl
if err != nil {
return nil, err
}
userName = userName + "/" + clusterNick
Copy link
Member

Choose a reason for hiding this comment

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

You'd need to move this after getContextNicknameFromConfig otherwise you'll end up with context having clusterNick twice.
I also wonder if not reversing the order, even though this seems intuitive, contextNick has them reversed so it'll be more reasonable to keep that same approach here as well.

pkg/helpers/originkubeconfignames/smart_merge.go Outdated Show resolved Hide resolved
@alvaroaleman alvaroaleman force-pushed the wtf-user branch 2 times, most recently from b423f5d to 91d0916 Compare October 22, 2020 17:22
Copy link
Member

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 22, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman, soltysh

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 22, 2020
@alvaroaleman
Copy link
Contributor Author

/retest

@soltysh
Copy link
Member

soltysh commented Oct 23, 2020

Failures unrelated to this PR
/override ci/prow/e2e-agnostic-cmd

@openshift-ci-robot
Copy link

@soltysh: Overrode contexts on behalf of soltysh: ci/prow/e2e-agnostic-cmd

In response to this:

Failures unrelated to this PR
/override ci/prow/e2e-agnostic-cmd

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-merge-robot openshift-merge-robot merged commit 9aef6d2 into openshift:master Oct 23, 2020
@openshift-ci-robot
Copy link

@alvaroaleman: All pull requests linked via external trackers have merged:

Bugzilla bug 1868384 has been moved to the MODIFIED state.

In response to this:

Bug 1868384: Login: Avoid overwriting same user from different cluster

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.

@soltysh
Copy link
Member

soltysh commented Oct 26, 2020

/cherry-pick release-4.6
/cherry-pick release-4.5

@openshift-cherrypick-robot

@soltysh: new pull request created: #619

In response to this:

/cherry-pick release-4.6
/cherry-pick release-4.5

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.

@soltysh
Copy link
Member

soltysh commented Oct 26, 2020

/cherry-pick release-4.5

@openshift-cherrypick-robot

@soltysh: new pull request created: #620

In response to this:

/cherry-pick release-4.5

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
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants