Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1281887 - SSA of templates blocked.
SSA of templates blocked.
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis (Show other bugs)
5.5.0
Unspecified Unspecified
unspecified Severity urgent
: GA
: 5.5.0
Assigned To: Rich Oliveri
Taras Lehinevych
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-13 12:24 EST by Rich Oliveri
Modified: 2016-08-02 21:32 EDT (History)
5 users (show)

See Also:
Fixed In Version: 5.5.0.11
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-08 08:47:24 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 12:58:09 EST

  None (edit)
Description Rich Oliveri 2015-11-13 12:24:21 EST
Description of problem:
Definition of new validate_smartstate_analysis methods will prevent scanning of templates.


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Select a template under a provider that supports SSA
2. Try to perform SSA
3. 

Actual results:
SSA option not available.


Expected results:
SSA option available.


Additional info:
Comment 3 CFME Bot 2015-11-13 16:41:54 EST
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/2f2e19b0973cf3e65d8f6bc0884587dc27ab3cc5

commit 2f2e19b0973cf3e65d8f6bc0884587dc27ab3cc5
Author:     Richard Oliveri <roliveri@redhat.com>
AuthorDate: Fri Nov 13 14:37:18 2015 -0500
Commit:     Richard Oliveri <roliveri@redhat.com>
CommitDate: Fri Nov 13 14:37:18 2015 -0500

    Ensure validate_smartstate_analysis is defined for templates.
    
    By default, validate_smartstate_analysis will return false.
    So, we must ensure that the default method is overridden for all
    supported types - VMs and Templates.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1281887

 app/models/manageiq/providers/amazon/cloud_manager/template.rb        | 4 ++++
 app/models/manageiq/providers/cloud_manager/vm.rb                     | 4 ----
 app/models/manageiq/providers/openstack/cloud_manager/template.rb     | 4 ++++
 app/models/manageiq/providers/redhat/infra_manager/vm.rb              | 4 ----
 .../providers/redhat/infra_manager/vm_or_template_shared/scanning.rb  | 4 ++++
 app/models/manageiq/providers/vmware/infra_manager/vm.rb              | 4 ----
 .../providers/vmware/infra_manager/vm_or_template_shared/scanning.rb  | 4 ++++
 7 files changed, 16 insertions(+), 12 deletions(-)
Comment 4 CFME Bot 2015-11-16 16:18:58 EST
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=919e5b55e6adcedcec1b1956e8ad894487feef30

commit 919e5b55e6adcedcec1b1956e8ad894487feef30
Author:     Richard Oliveri <roliveri@redhat.com>
AuthorDate: Fri Nov 13 14:37:18 2015 -0500
Commit:     Richard Oliveri <roliveri@redhat.com>
CommitDate: Fri Nov 13 17:26:35 2015 -0500

    Ensure validate_smartstate_analysis is defined for templates.
    
    By default, validate_smartstate_analysis will return false.
    So, we must ensure that the default method is overridden for all
    supported types - VMs and Templates.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1281887

 app/models/manageiq/providers/amazon/cloud_manager/template.rb        | 4 ++++
 app/models/manageiq/providers/cloud_manager/vm.rb                     | 4 ----
 app/models/manageiq/providers/openstack/cloud_manager/template.rb     | 4 ++++
 app/models/manageiq/providers/redhat/infra_manager/vm.rb              | 4 ----
 .../providers/redhat/infra_manager/vm_or_template_shared/scanning.rb  | 4 ++++
 app/models/manageiq/providers/vmware/infra_manager/vm.rb              | 4 ----
 .../providers/vmware/infra_manager/vm_or_template_shared/scanning.rb  | 4 ++++
 7 files changed, 16 insertions(+), 12 deletions(-)
Comment 5 CFME Bot 2015-11-16 16:19:49 EST
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=7bc0ec069a92119cb05957b2e6365eaa189c918e

commit 7bc0ec069a92119cb05957b2e6365eaa189c918e
Merge: a5652ef 919e5b5
Author:     Oleg Barenboim <obarenbo@redhat.com>
AuthorDate: Mon Nov 16 10:15:56 2015 -0500
Commit:     Oleg Barenboim <obarenbo@redhat.com>
CommitDate: Mon Nov 16 10:15:56 2015 -0500

    Merge branch 'validate_smartstate_fix_55z' into '5.5.z'
    
    Ensure validate_smartstate_analysis is defined for templates.
    
    By default, validate_smartstate_analysis will return false.
    So, we must ensure that the default method is overridden for all
    supported types - VMs and Templates.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1281887
    
    Upstream PR: https://github.com/ManageIQ/manageiq/pull/5439
    Clean cherry-pick.
    
    
    See merge request !457

 app/models/manageiq/providers/amazon/cloud_manager/template.rb        | 4 ++++
 app/models/manageiq/providers/cloud_manager/vm.rb                     | 4 ----
 app/models/manageiq/providers/openstack/cloud_manager/template.rb     | 4 ++++
 app/models/manageiq/providers/redhat/infra_manager/vm.rb              | 4 ----
 .../providers/redhat/infra_manager/vm_or_template_shared/scanning.rb  | 4 ++++
 app/models/manageiq/providers/vmware/infra_manager/vm.rb              | 4 ----
 .../providers/vmware/infra_manager/vm_or_template_shared/scanning.rb  | 4 ++++
 7 files changed, 16 insertions(+), 12 deletions(-)
Comment 6 Taras Lehinevych 2015-11-19 12:03:15 EST
Verified fixed in version 5.5.0.11
Comment 8 errata-xmlrpc 2015-12-08 08:47:24 EST
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/RHSA-2015:2551

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