Skip to content

Do not force logout on validation failure#7101

Merged
hickeng merged 1 commit intovmware:masterfrom
hickeng:vicadmin-login-loop
Jan 17, 2018
Merged

Do not force logout on validation failure#7101
hickeng merged 1 commit intovmware:masterfrom
hickeng:vicadmin-login-loop

Conversation

@hickeng
Copy link
Contributor

@hickeng hickeng commented Jan 16, 2018

Removes an explicit logout on vicadmin validation failure. This was causing the vicadmin session to be invalidated immediately which prevents collection of log bundles.
This was of particular annoyance when in an environment that does not have internet access as
docker hub is always unavailable which results in a completely useless vicadmin.

This does not have an explicit test as we do not have an existing test environment defined without internet access and I'm unwilling to write a test that actually breaks the environment in order to test the other validated elements. I have opened #7102 for expansion of testing to include isolated environments.

This was part of #6943 but has been pulled out for 1.3.1 inclusion.

@hickeng hickeng added kind/defect Behavior that is inconsistent with what's intended component/vicadmin area/diagnostics Utilities, procedures, and output to help to identify errors source/customer Reported by a customer, directly or via an intermediary triage/proposed-1.3.1 labels Jan 16, 2018
@hickeng hickeng requested review from gigawhitlocks and zjs January 16, 2018 22:58
@gigawhitlocks
Copy link
Contributor

gigawhitlocks commented Jan 17, 2018

LGTM

Approved with PullApprove Approved with PullApprove

@hickeng hickeng merged commit 0797e9c into vmware:master Jan 17, 2018
mhagen-vmware pushed a commit that referenced this pull request Jan 17, 2018
Removes an explicit logout on vicadmin validation failure. This was causing the vicadmin session to be invalidated immediately which prevents collection of log bundles.
This was of particular annoyance when in an environment that does not have internet access as
docker hub is always unavailable which results in an effectively useless vicadmin unless using client certificate based auth.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/diagnostics Utilities, procedures, and output to help to identify errors cla-not-required component/vicadmin kind/defect Behavior that is inconsistent with what's intended source/customer Reported by a customer, directly or via an intermediary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants