Bug 1246655

Summary: no way to specify embedded proxy affinity for multi-datastore environments
Product: Red Hat CloudForms Management Engine Reporter: Dave Johnson <dajohnso>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Ramesh A <rananda>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: bascar, cpelland, dclarizi, hkataria, jhardy, mfeifer, mpovolny, obarenbo, roliveri
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1252476 (view as bug list) Environment:
Last Closed: 2015-12-08 13:23:54 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: 1252476    
Attachments:
Description Flags
cf 3.1 (CFEME 5.3) screenshot
none
cf 3.2 (CFME 5.4) screenshot none

Description Dave Johnson 2015-07-24 19:34:48 UTC
Description of problem:
===========================================
In 5.4.0, the product removed support for external smart proxies which included the affinity functionality for specifying which proxy to use when multiple appliances on multiple datastores existed.  No there is no way to inform the system as to which appliance should be used for which vms on a specific datastore.


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


How reproducible:
===================
100%


Steps to Reproduce:
1.  deploy cloudforms onto provider with two datastores
2.  add second appliance to exist in second datastore
3.  manage said provider
4.  configure for SSA
5.  try to SSA VMs from each datastore

Actual results:
====================
unable to SSA all VMs

Expected results:
====================
SSA all VMs


Additional info:

Comment 5 bascar 2015-08-04 21:22:03 UTC
Created attachment 1059251 [details]
cf 3.1 (CFEME 5.3) screenshot

Comment 6 bascar 2015-08-04 21:22:38 UTC
Created attachment 1059252 [details]
cf 3.2 (CFME 5.4) screenshot

Comment 10 CFME Bot 2015-08-10 21:38:20 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/79348ac5aa9a1be289498636fbc7d0b20b3e5455

commit 79348ac5aa9a1be289498636fbc7d0b20b3e5455
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Aug 10 15:51:12 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Aug 10 16:52:21 2015 -0400

    Recovered "Smartproxy Affinity" tab in Configuration.
    
    Recovered "Smartproxy Affinity" tab in Configuration explorer that was removed in https://github.com/ManageIQ/manageiq/pull/1531 along with all Smartproxy related code from UI in commit SHA: dd539dccd0289914df55ad81b7b977372dfcc647
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1246655

 app/assets/javascripts/miq_dynatree.js             |   9 +
 app/controllers/ops_controller/settings/common.rb  | 132 +++++++++++-
 app/helpers/application_helper/toolbar_chooser.rb  |   2 +-
 app/views/ops/_all_tabs.html.haml                  |   4 +
 .../_settings_smartproxy_affinity_tab.html.haml    |   3 +
 app/views/ops/_smartproxy_affinity.html.haml       |  19 ++
 .../ops_controller/settings/common_spec.rb         | 236 +++++++++++++++++++++
 spec/routing/ops_routing_spec.rb                   |   1 +
 8 files changed, 404 insertions(+), 2 deletions(-)
 create mode 100644 app/views/ops/_settings_smartproxy_affinity_tab.html.haml
 create mode 100644 app/views/ops/_smartproxy_affinity.html.haml
 create mode 100644 spec/controllers/ops_controller/settings/common_spec.rb

Comment 12 CFME Bot 2015-08-11 22:22:46 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=5b71bc5bee55b4484db24cde4123f5f6e37d6eea

commit 5b71bc5bee55b4484db24cde4123f5f6e37d6eea
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Aug 11 10:59:22 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Aug 11 17:00:01 2015 -0400

    Recovered "Smartproxy Affinity" tab in Configuration.
    
    Recovered "Smartproxy Affinity" tab in Configuration explorer that was removed in https://github.com/ManageIQ/manageiq/pull/1531 along with all Smartproxy related code from UI in commit SHA: dd539dccd0289914df55ad81b7b977372dfcc647
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1246655
    https://bugzilla.redhat.com/show_bug.cgi?id=1252476

 vmdb/app/assets/javascripts/miq_dynatree.js        |   9 +
 .../controllers/ops_controller/settings/common.rb  | 132 +++++++++++-
 vmdb/app/helpers/application_helper.rb             |   2 +-
 vmdb/app/views/ops/_all_tabs.html.haml             |   4 +
 .../_settings_smartproxy_affinity_tab.html.haml    |   3 +
 vmdb/app/views/ops/_smartproxy_affinity.html.haml  |  19 ++
 .../ops_controller/settings/common_spec.rb         | 236 +++++++++++++++++++++
 vmdb/spec/routing/ops_routing_spec.rb              |   1 +
 8 files changed, 404 insertions(+), 2 deletions(-)
 create mode 100644 vmdb/app/views/ops/_settings_smartproxy_affinity_tab.html.haml
 create mode 100644 vmdb/app/views/ops/_smartproxy_affinity.html.haml
 create mode 100644 vmdb/spec/controllers/ops_controller/settings/common_spec.rb

Comment 13 CFME Bot 2015-08-11 22:22:53 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=e9e2957f5cb70c9a6df00ddffa19b9d69f1dac18

commit e9e2957f5cb70c9a6df00ddffa19b9d69f1dac18
Merge: 9ebb102 5b71bc5
Author:     Dan Clarizio <dclarizi>
AuthorDate: Tue Aug 11 18:14:40 2015 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Tue Aug 11 18:14:40 2015 -0400

    Merge branch '54z_bz_1246655' into '5.4.z'
    
    Recovered "Smartproxy Affinity" tab in Configuration.
    
    Recovered "Smartproxy Affinity" tab in Configuration explorer that was removed in https://github.com/ManageIQ/manageiq/pull/1531 along with all Smartproxy related code from UI in commit SHA: dd539dccd0289914df55ad81b7b977372dfcc647
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1246655
    https://bugzilla.redhat.com/show_bug.cgi?id=1252476
    
    @dclarizio please review. Had to make some changes manually to all_tabs view since tabs on upstream have been converted to patternfly tabs. Also had to make minor change to toolbar code in application_helper as that code has been moved out to a different module on upstream.
    original PR: https://github.com/ManageIQ/manageiq/pull/3783
    
    See merge request !218

 vmdb/app/assets/javascripts/miq_dynatree.js        |   9 +
 .../controllers/ops_controller/settings/common.rb  | 132 +++++++++++-
 vmdb/app/helpers/application_helper.rb             |   2 +-
 vmdb/app/views/ops/_all_tabs.html.haml             |   4 +
 .../_settings_smartproxy_affinity_tab.html.haml    |   3 +
 vmdb/app/views/ops/_smartproxy_affinity.html.haml  |  19 ++
 .../ops_controller/settings/common_spec.rb         | 236 +++++++++++++++++++++
 vmdb/spec/routing/ops_routing_spec.rb              |   1 +
 8 files changed, 404 insertions(+), 2 deletions(-)

Comment 14 Ramesh A 2015-10-28 17:16:36 UTC
Verification blocked due to BZ#1276087

Comment 15 Ramesh A 2015-11-17 15:10:10 UTC
Able to see SmartProxy Affinity.  But SSA Verification is blocked due to BZ#1267565

Comment 16 Ramesh A 2015-12-02 08:41:25 UTC
Good to go. Verified and working fine in 5.5.0.13.20151201120956_653c0d4

Comment 18 errata-xmlrpc 2015-12-08 13:23:54 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/RHSA-2015:2551