Bug 1439632
| Summary: | Ansible Credentials type should have proper format | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Satyajit Bulage <sbulage> | ||||
| Component: | UI - Service | Assignee: | Allen W <awight> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Satyajit Bulage <sbulage> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.8.0 | CC: | abellott, dclarizi, jfrey, jhardy, obarenbo, simaishi | ||||
| Target Milestone: | GA | Keywords: | TestOnly | ||||
| Target Release: | 5.9.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | ui:ssui | ||||||
| Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1444871 (view as bug list) | Environment: | |||||
| Last Closed: | 2018-03-06 14:42:34 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1444871 | ||||||
| Attachments: |
|
||||||
We are just displaying what we get, so going to send this to providers. Greg, feel free to kick it back if I am wrong :) Chris,
There's API_OPTIONS in the model class and can be more user friendly.
For e.g ManageIQ::Providers::EmbeddedAnsible::AutomationManager::MachineCredential,
API_OPTIONS = {
:label => N_('Machine'),
:type => 'machine',
:attributes => API_ATTRIBUTES
}.freeze
For e.g ManageIQ::Providers::EmbeddedAnsible::AutomationManager::AmazonCredential,
API_OPTIONS = {
:type => 'cloud',
:label => N_('Amazon'),
:attributes => API_ATTRIBUTES
}.freeze
TOWER_KIND = 'aws'.freeze
Currently, blocked by: https://github.com/ManageIQ/manageiq/pull/14783 Hi Alberto - Any update on when this PR will get in? Able to see Credentials Type as Machine instead of long name. Verified Version: 5.9.0.17.20180116225234_ac8b6f5 |
Created attachment 1269327 [details] Screenshot showing actual results Description of problem: On provisioned service summary page, Credentials Type is showing as "ManageIQ::Providers::EmbeddedAnsible::AutomationManager::MachineCredential" rather "Machine". Version-Release number of selected component (if applicable):5.8.0.9-alpha2.20170404195944_1d7ece4 How reproducible:100% Steps to Reproduce: 1. Login to SSUI 2. Navigate to Services 3. Click on successfully provisioned service. 4. On summary page see under provision sub-tab. Actual results: Credentials Type is showing as "ManageIQ::Providers::EmbeddedAnsible::AutomationManager::MachineCredential" Expected results: It should show as "Machine" for machine credentials. Additional info: