Bug 1283037
| Summary: | [RFE] Display MIQ/Red Hat Automate domain versions in the UI | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> | |
| Component: | Automate | Assignee: | mkanoor | |
| Status: | CLOSED ERRATA | QA Contact: | Matouš Mojžíš <mmojzis> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.5.0 | CC: | cpelland, dajohnso, fdewaley, jhardy, mfeifer, mkanoor, obarenbo, ssainkar, tfitzger | |
| Target Milestone: | GA | Keywords: | FutureFeature, ZStream | |
| Target Release: | 5.6.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.6.0.0 | Doc Type: | Enhancement | |
| Doc Text: |
There was a feature request to display ManageIQ/Red Hat Automate domain versions in the user interface. This is because after a CloudForms RPM update, the ManageIQ and Red Hat domains did not automatically update until a reset was performed on the automate model. An admin would not be aware of the version of the domain via the user interface. Therefore, if a customer updates multiple versions, the new feature would make them aware their automate domain is behind the latest.
The requested feature has been implemented in this release and the version displays on the page with the Automate domain.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1287158 (view as bug list) | Environment: | ||
| Last Closed: | 2016-06-29 15:09:03 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: | 1287158 | |||
|
Comment 2
Greg McCullough
2015-11-20 15:44:37 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/4f622afac2d018d49e81bab339ad3eff0a6c6589 commit 4f622afac2d018d49e81bab339ad3eff0a6c6589 Author: Madhu Kanoor <mkanoor> AuthorDate: Fri Nov 20 16:12:26 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Fri Nov 20 16:12:26 2015 -0500 Added version and available_version methods https://bugzilla.redhat.com/show_bug.cgi?id=1283037 Added 2 new methods version and available_version to the MiqAeDomain class that the UI can call to check the version in the DB and the version on the disk. lib/miq_automation_engine/models/miq_ae_domain.rb | 18 ++++++ .../models/miq_ae_domain_version_spec.rb | 67 ++++++++++++++++++++++ spec/support/automation_spec_helper.rb | 6 +- 3 files changed, 89 insertions(+), 2 deletions(-) create mode 100644 spec/lib/miq_automation_engine/models/miq_ae_domain_version_spec.rb New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/376743e669516f0e6317832b291c4638ae823704 commit 376743e669516f0e6317832b291c4638ae823704 Author: Madhu Kanoor <mkanoor> AuthorDate: Fri Nov 20 16:32:32 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Fri Nov 20 16:32:32 2015 -0500 Fixed Rubocop errors https://bugzilla.redhat.com/show_bug.cgi?id=1283037 lib/miq_automation_engine/models/miq_ae_domain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/30244761d522baedc88c1d3d887508551eea15f9 commit 30244761d522baedc88c1d3d887508551eea15f9 Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Nov 23 11:08:08 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Mon Nov 23 11:08:08 2015 -0500 Fixed PR comments https://bugzilla.redhat.com/show_bug.cgi?id=1283037 lib/miq_automation_engine/models/miq_ae_domain.rb | 1 - .../models/miq_ae_domain_version_spec.rb | 17 ++++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/fe45d0b67f874220878b5fe8d0ec2b5794b4d6c1 commit fe45d0b67f874220878b5fe8d0ec2b5794b4d6c1 Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Nov 23 15:17:00 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Mon Nov 23 15:17:00 2015 -0500 File name casing https://bugzilla.redhat.com/show_bug.cgi?id=1283037 When locating the About class use the internally stored names in the DB for System and About lib/miq_automation_engine/models/miq_ae_domain.rb | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/f9547a4781184dbc92b7c419e322208fe7dc1a32 commit f9547a4781184dbc92b7c419e322208fe7dc1a32 Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Nov 23 17:07:40 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Mon Nov 23 17:07:40 2015 -0500 PR feedback https://bugzilla.redhat.com/show_bug.cgi?id=1283037 lib/miq_automation_engine/models/miq_ae_domain.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/1c19f77f799802b9046be52ae7678be81a747405 commit 1c19f77f799802b9046be52ae7678be81a747405 Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Nov 23 17:21:39 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Mon Nov 23 17:21:39 2015 -0500 Fixed up spec https://bugzilla.redhat.com/show_bug.cgi?id=1283037 .../lib/miq_automation_engine/models/miq_ae_domain_version_spec.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=7da9f19521e4dd2681ab140cd128952dc7e1fa2e commit 7da9f19521e4dd2681ab140cd128952dc7e1fa2e Author: Madhu Kanoor <mkanoor> AuthorDate: Fri Nov 20 16:12:26 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Tue Nov 24 11:02:39 2015 -0500 Added version and available_version methods https://bugzilla.redhat.com/show_bug.cgi?id=1283037 Added 2 new methods version and available_version to the MiqAeDomain class that the UI can call to check the version in the DB and the version on the disk. lib/miq_automation_engine/models/miq_ae_domain.rb | 18 ++++++ .../models/miq_ae_domain_version_spec.rb | 67 ++++++++++++++++++++++ spec/support/automation_spec_helper.rb | 6 +- 3 files changed, 89 insertions(+), 2 deletions(-) create mode 100644 spec/lib/miq_automation_engine/models/miq_ae_domain_version_spec.rb New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=81810804226d818c8525b87c63e23942e96ed60b commit 81810804226d818c8525b87c63e23942e96ed60b Author: Madhu Kanoor <mkanoor> AuthorDate: Fri Nov 20 16:32:32 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Tue Nov 24 11:02:39 2015 -0500 Fixed Rubocop errors https://bugzilla.redhat.com/show_bug.cgi?id=1283037 lib/miq_automation_engine/models/miq_ae_domain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=cd1e9c18411408f9b99762d1b0963431cff0b9b8 commit cd1e9c18411408f9b99762d1b0963431cff0b9b8 Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Nov 23 11:08:08 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Tue Nov 24 11:02:39 2015 -0500 Fixed PR comments https://bugzilla.redhat.com/show_bug.cgi?id=1283037 lib/miq_automation_engine/models/miq_ae_domain.rb | 1 - .../models/miq_ae_domain_version_spec.rb | 17 ++++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=34331d7c1887479dbca5ded3f23b79fcf3109bcb commit 34331d7c1887479dbca5ded3f23b79fcf3109bcb Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Nov 23 15:17:00 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Tue Nov 24 11:02:40 2015 -0500 File name casing https://bugzilla.redhat.com/show_bug.cgi?id=1283037 When locating the About class use the internally stored names in the DB for System and About lib/miq_automation_engine/models/miq_ae_domain.rb | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=76338923bc1049053a98a5517d44dd41c1a12890 commit 76338923bc1049053a98a5517d44dd41c1a12890 Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Nov 23 17:07:40 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Tue Nov 24 11:02:40 2015 -0500 PR feedback https://bugzilla.redhat.com/show_bug.cgi?id=1283037 lib/miq_automation_engine/models/miq_ae_domain.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a8e1bc17d1d0113258baf53fb2251816abdaa46c commit a8e1bc17d1d0113258baf53fb2251816abdaa46c Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Nov 23 17:21:39 2015 -0500 Commit: Madhu Kanoor <mkanoor> CommitDate: Tue Nov 24 11:02:40 2015 -0500 Fixed up spec https://bugzilla.redhat.com/show_bug.cgi?id=1283037 .../lib/miq_automation_engine/models/miq_ae_domain_version_spec.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=984a7d361bd9d848d34c43d662e7086934191e52 commit 984a7d361bd9d848d34c43d662e7086934191e52 Merge: 8a9ad15 a8e1bc1 Author: Greg McCullough <gmccullo> AuthorDate: Tue Nov 24 12:30:39 2015 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Tue Nov 24 12:30:39 2015 -0500 Merge branch 'bugzilla_1283037_5_5_z' into '5.5.z' Added version and available_version methods https://bugzilla.redhat.com/show_bug.cgi?id=1283037 Added 2 new methods version and available_version to the MiqAeDomain class that the UI can call to check the version in the DB and the version on the disk. Clean Cherry Pick from PR https://github.com/ManageIQ/manageiq/pull/5548 See merge request !533 lib/miq_automation_engine/models/miq_ae_domain.rb | 24 +++++++++ .../models/miq_ae_domain_version_spec.rb | 63 ++++++++++++++++++++++ spec/support/automation_spec_helper.rb | 6 ++- 3 files changed, 91 insertions(+), 2 deletions(-) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/46bfa0568c00bfdee95fa1c9d6aab6d28cfeed45 commit 46bfa0568c00bfdee95fa1c9d6aab6d28cfeed45 Author: Harpreet Kataria <hkataria> AuthorDate: Mon Nov 23 14:56:15 2015 -0500 Commit: Harpreet Kataria <hkataria> CommitDate: Tue Nov 24 11:58:52 2015 -0500 Display MIQ/Red Hat Automate domain current/available version in the UI. Added changes to Display MIQ/Red Hat Automate domain current/available versions in the UI if they both don't match. https://bugzilla.redhat.com/show_bug.cgi?id=1283037 app/controllers/miq_ae_class_controller.rb | 13 +++++++++++++ app/views/miq_ae_class/_ns_details.html.haml | 1 + app/views/miq_ae_class/_ns_list.html.haml | 3 +++ 3 files changed, 17 insertions(+) The Model changes are in MR http://gitlab.cloudforms.lab.eng.rdu2.redhat.com/cloudforms/cfme/merge_requests/533 Waiting for the UI changes to be integrated The UI changes are in MR http://gitlab.cloudforms.lab.eng.rdu2.redhat.com/cloudforms/cfme/merge_requests/564 New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=49e7436f8542653166dc3715d5471e7aba1ce07b commit 49e7436f8542653166dc3715d5471e7aba1ce07b Merge: 6bd603e ede43b5 Author: Dan Clarizio <dclarizi> AuthorDate: Mon Dec 7 14:05:01 2015 -0500 Commit: Dan Clarizio <dclarizi> CommitDate: Mon Dec 7 14:05:01 2015 -0500 Merge branch '55z_pr_5576' into '5.5.z' Display MIQ/Red Hat Automate domain current/available version in the UI. Added changes to Display MIQ/Red Hat Automate domain current/available versions in the UI if they both don't match. https://bugzilla.redhat.com/show_bug.cgi?id=1283037 (cherry picked from commit 46bfa05) 5.5 BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1287158 clean cherry-pick for https://github.com/ManageIQ/manageiq/pull/5576 See merge request !564 app/controllers/miq_ae_class_controller.rb | 13 +++++++++++++ app/views/miq_ae_class/_ns_details.html.haml | 1 + app/views/miq_ae_class/_ns_list.html.haml | 3 +++ 3 files changed, 17 insertions(+) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ede43b5822538a63b5d75542c3db50de13bcdb87 commit ede43b5822538a63b5d75542c3db50de13bcdb87 Author: Harpreet Kataria <hkataria> AuthorDate: Mon Nov 23 14:56:15 2015 -0500 Commit: Harpreet Kataria <hkataria> CommitDate: Tue Dec 1 10:17:53 2015 -0500 Display MIQ/Red Hat Automate domain current/available version in the UI. Added changes to Display MIQ/Red Hat Automate domain current/available versions in the UI if they both don't match. https://bugzilla.redhat.com/show_bug.cgi?id=1283037 (cherry picked from commit 46bfa05) app/controllers/miq_ae_class_controller.rb | 13 +++++++++++++ app/views/miq_ae_class/_ns_details.html.haml | 1 + app/views/miq_ae_class/_ns_list.html.haml | 3 +++ 3 files changed, 17 insertions(+) Verified in:5.6.0.4-beta2.3.20160421172650_719e256 I created 5.6.0.0 appliance and then updated to 5.6.0.4 from RPM. Then I was able to see differences between appliance and automate domain versions. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348 |