Red Hat Bugzilla – Bug 1246655
no way to specify embedded proxy affinity for multi-datastore environments
Last modified: 2015-12-08 08:23:54 EST
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:
Created attachment 1059251 [details] cf 3.1 (CFEME 5.3) screenshot
Created attachment 1059252 [details] cf 3.2 (CFME 5.4) screenshot
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/79348ac5aa9a1be289498636fbc7d0b20b3e5455 commit 79348ac5aa9a1be289498636fbc7d0b20b3e5455 Author: Harpreet Kataria <hkataria@redhat.com> AuthorDate: Mon Aug 10 15:51:12 2015 -0400 Commit: Harpreet Kataria <hkataria@redhat.com> 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
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@redhat.com> AuthorDate: Tue Aug 11 10:59:22 2015 -0400 Commit: Harpreet Kataria <hkataria@redhat.com> 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
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@redhat.com> AuthorDate: Tue Aug 11 18:14:40 2015 -0400 Commit: Dan Clarizio <dclarizi@redhat.com> 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(-)
Verification blocked due to BZ#1276087
Able to see SmartProxy Affinity. But SSA Verification is blocked due to BZ#1267565
Good to go. Verified and working fine in 5.5.0.13.20151201120956_653c0d4
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