Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1244703 - [RFE][PRD] SCVMM targeted provider refresh
[RFE][PRD] SCVMM targeted provider refresh
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.4.0
Unspecified Unspecified
high Severity medium
: GA
: 5.6.0
Assigned To: Daniel Berger
Jeff Teehan
provider:scvmm:ems_refresh:prd
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-20 06:28 EDT by ncatling
Modified: 2016-06-29 10:58 EDT (History)
10 users (show)

See Also:
Fixed In Version: 5.6.0.0
Doc Type: Enhancement
Doc Text:
In large Microsoft SCVMM environments, the provider refresh process can be slow when executing PowerShell remotely and gathering insight metrics. This release adds the ability to refresh targeted SCVMM providers to improve CloudForms performance and reduce the refresh process time.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 10:58:17 EDT
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 RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description ncatling 2015-07-20 06:28:53 EDT
Description of problem:
In large SCVMM environments, the provider refresh process can be slow while PowerShell is executed remotely, gathering insight metrics. The time taken does not compare favourably with other providers. Targeted refresh, for example, during post provisioning tasks, would be advantageous and improve user experience. An example SCVMM provider with 800+ VMs, takes 30 minutes.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 2 Greg Blomquist 2015-07-30 09:35:14 EDT
This is a long term feature that depends on getting events for SCVMM.  And, getting events for SCVMM depends on multiple endpoints per provider.  This has to be deferred until we can make traction there...

Leaving assigned for now.
Comment 4 Daniel Berger 2016-02-25 12:01:49 EST
Please see https://github.com/ManageIQ/manageiq/pull/6902. This PR replaced several powershell function calls with properties.

That means there are 3x fewer calls per VM and 2x fewer calls per image, which adds up to a lot less calls in an environment with 1000+ VM's. I saw a significant reduction in time in my informal testing with 270 VM's.
Comment 7 Daniel Berger 2016-03-08 09:26:41 EST
I am reworking the collection script and parser to use JSON instead of XML. This will speed up the collection, and make our code more robust.

This is a rather substantial change, but I am making headway. So, "in progress".
Comment 8 Daniel Berger 2016-05-20 09:26:41 EDT
The latest report from the customer is that a clean Darga build (with 6902) worked and reduced the overall collection time to less than 5 minutes.

I can only surmise that there are other local (possibly hotfix?) changes that are causing issues with the customer's current release.
Comment 9 Jeff Teehan 2016-05-27 14:02:12 EDT
I think for this one, we'll need two verification.  First, make sure all the correct fields are being applied, and second, a comparison of collection times on the SCVMM side.  When last we checked, if was 7 seconds regardless of the number of VMs, plus 64bit compression time, and transmission.  Additionally, the compression size was 91% smaller than before, mostly by limiting the XML overhead.  I'll have to think about a plan to verify this.
Comment 10 Jeff Teehan 2016-06-03 16:43:54 EDT
The first part of the planned verification completed successfully.  Simply a matter of checking the general field values and then I pick a handful of random VMs and one host and performed a more thorough analysis of the field data.

As for the performance, I don't possess the infrastructure to get specific data values other than the known powershell script and transmission sizes referenced above.  Each of the components changed are materially faster.

That said, it's taking less than 90 seconds for my environment to completely refresh where before 5 plus minutes was not uncommon.

I'm going to move it to verified and leave it to the performance team to provide that data.

Verified on 5.6.0.9 using https://10.16.7.233
Comment 13 errata-xmlrpc 2016-06-29 10:58:17 EDT
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.