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

Fixes multiple issues with job show page #19232

Merged
merged 2 commits into from
Aug 30, 2019

Conversation

Fryguy
Copy link
Member

@Fryguy Fryguy commented Aug 30, 2019

This extracts the 2 less complicated fixes from #19215 . For details, read that PR.

https://bugzilla.redhat.com/show_bug.cgi?id=1741883

When creating a new `EmbeddedAnsible::AutomationManager::Job` (aka, an
`OrchestrationStack`), make sure we are saving the verbosity from the
options we are running the job with.

We can fetch this after, but the service template (?) might change in
the future, so save off this value as part of the job record to ensure
we are keeping track of this value when it was run.

https://bugzilla.redhat.com/show_bug.cgi?id=1741883
This uses a bit of duplicate code from the `.collect_credentials` method
from `EmbeddedAnsible::AutomationManager::ConfigurationScript`, but it
was simpler at the time to just copy that code in here for the time
being.

Effectively assign records for the `.authentications` association for
the job so that it can be fetch in the `ServiceHelper::TextualSummary`
in the UI.
@Fryguy
Copy link
Member Author

Fryguy commented Aug 30, 2019

cc @dmetzger57

@Fryguy Fryguy changed the title Fix embedded ansible ui issues Fixes multiple issues with job show page Aug 30, 2019
@miq-bot
Copy link
Member

miq-bot commented Aug 30, 2019

Checked commits Fryguy/manageiq@e5be302~...b065c9c 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. 🏆

@bdunne bdunne merged commit 521b41c into ManageIQ:master Aug 30, 2019
@bdunne bdunne added this to the Sprint 119 Ending Sep 2, 2019 milestone Aug 30, 2019
simaishi pushed a commit that referenced this pull request Sep 4, 2019
@simaishi
Copy link
Contributor

simaishi commented Sep 4, 2019

Ivanchuk backport details:

$ git log -1
commit 4fc6fb9912af08089243ccea9d66c74c562b369e
Author: Brandon Dunne <bdunne@redhat.com>
Date:   Fri Aug 30 16:35:37 2019 -0400

    Merge pull request #19232 from Fryguy/fix_embedded_ansible_ui_issues
    
    Fixes multiple issues with job show page
    
    (cherry picked from commit 521b41c11818f10d5a095bab1f9dd01dbe081db1)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1741883

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.

5 participants