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

Provider validate - don't attempt to directly connect from the UI #6237

Merged
merged 1 commit into from
Oct 2, 2019
Merged

Provider validate - don't attempt to directly connect from the UI #6237

merged 1 commit into from
Oct 2, 2019

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Sep 25, 2019

validation via the queue was added in #1580,
but explicitly left some cases to try connecting directly.

This is not really desirable as the UiWorker is not guaranteed to be able to do that in general.

@miq-bot add_label wip

we only talked about this with @agrare and @gprocunier on gitter September 24, 2019 8:30 PM,
I have not actually tested this with any (or all) providers.

@miq-bot miq-bot changed the title Provider validate - don't attempt to directly connect from the UI [WIP] Provider validate - don't attempt to directly connect from the UI Sep 25, 2019
@miq-bot miq-bot added the wip label Sep 25, 2019
@himdel
Copy link
Contributor Author

himdel commented Sep 25, 2019

Cc @Hyperkid123 - FYI, this could be relevant with the provider form rewrite effort

Copy link
Member

@agrare agrare left a comment

Choose a reason for hiding this comment

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

👍 one step closer

validation via the queue was added in #1580,
but explicitly left some cases to try connecting directly.

This is not really desirable as the UiWorker is not guaranteed to be able to do that in general.
@miq-bot
Copy link
Member

miq-bot commented Sep 26, 2019

Checked commit https://github.com/himdel/manageiq-ui-classic/commit/e92aa4c59498118e50c63e78a9de1733f80ce5d1 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🏆

@himdel
Copy link
Contributor Author

himdel commented Sep 26, 2019

Tested:

  • Amazon (cloud) - went through the queue
  • VMware (infra) - went through the queue
  • Lenovo (phinfra) - fine, but no queue

(Not tested: containers (no credentials), networks (no credentials), configuration (provider down))

@himdel
Copy link
Contributor Author

himdel commented Sep 26, 2019

@miq-bot remove_label wip

@miq-bot miq-bot changed the title [WIP] Provider validate - don't attempt to directly connect from the UI Provider validate - don't attempt to directly connect from the UI Sep 26, 2019
@miq-bot miq-bot removed the wip label Sep 26, 2019
@himdel himdel added the bug label Sep 26, 2019
@mzazrivec mzazrivec self-assigned this Oct 2, 2019
@mzazrivec mzazrivec added this to the Sprint 122 Ending Oct 14, 2019 milestone Oct 2, 2019
@mzazrivec mzazrivec merged commit e034387 into ManageIQ:master Oct 2, 2019
@himdel himdel deleted the validate branch October 2, 2019 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants