Bug 1283037 - [RFE] Display MIQ/Red Hat Automate domain versions in the UI
Summary: [RFE] Display MIQ/Red Hat Automate domain versions in the UI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.5.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.6.0
Assignee: mkanoor
QA Contact: Matouš Mojžíš
URL:
Whiteboard:
Depends On:
Blocks: 1287158
TreeView+ depends on / blocked
 
Reported: 2015-11-18 05:07 UTC by Josh Carter
Modified: 2019-10-10 10:31 UTC (History)
9 users (show)

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.
Clone Of:
: 1287158 (view as bug list)
Environment:
Last Closed: 2016-06-29 15:09:03 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Comment 2 Greg McCullough 2015-11-20 15:44:37 UTC
Madhu - Discussed with UI team about displaying the version of automate in the db and the version on disk.  To get started we need to create methods (I am thinking on the MiqAeDomain method) to expose these values.

Comment 5 CFME Bot 2015-11-24 00:10:22 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

Comment 6 CFME Bot 2015-11-24 00:10:28 UTC
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(-)

Comment 7 CFME Bot 2015-11-24 00:10:34 UTC
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(-)

Comment 8 CFME Bot 2015-11-24 00:10:39 UTC
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(-)

Comment 9 CFME Bot 2015-11-24 00:10:45 UTC
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(-)

Comment 10 CFME Bot 2015-11-24 00:10:51 UTC
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(-)

Comment 11 CFME Bot 2015-11-24 18:12:40 UTC
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

Comment 12 CFME Bot 2015-11-24 18:12:46 UTC
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(-)

Comment 13 CFME Bot 2015-11-24 18:12:52 UTC
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(-)

Comment 14 CFME Bot 2015-11-24 18:12:58 UTC
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(-)

Comment 15 CFME Bot 2015-11-24 18:13:05 UTC
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(-)

Comment 16 CFME Bot 2015-11-24 18:13:11 UTC
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(-)

Comment 17 CFME Bot 2015-11-24 18:13:17 UTC
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(-)

Comment 18 CFME Bot 2015-11-24 20:35:18 UTC
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(+)

Comment 19 mkanoor 2015-12-01 15:16:53 UTC
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

Comment 21 CFME Bot 2015-12-07 19:08:28 UTC
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(+)

Comment 22 CFME Bot 2015-12-07 19:08:33 UTC
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(+)

Comment 23 Matouš Mojžíš 2016-05-13 10:20:01 UTC
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.

Comment 25 errata-xmlrpc 2016-06-29 15:09:03 UTC
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


Note You need to log in before you can comment on or make changes to this bug.