Bug 1686155 - Move v2v throttling capabilities to backend
Summary: Move v2v throttling capabilities to backend
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: V2V
Version: 5.10.1
Hardware: All
OS: All
high
medium
Target Milestone: GA
: 5.11.0
Assignee: James Wong
QA Contact: Yadnyawalk Tale
Red Hat CloudForms Documentation
URL:
Whiteboard: v2v
Depends On:
Blocks: 1683439 1686877
TreeView+ depends on / blocked
 
Reported: 2019-03-06 20:40 UTC by Fabien Dupont
Modified: 2019-12-13 15:00 UTC (History)
2 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1686877 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:00:32 UTC
Category: ---
Cloudforms Team: V2V
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Fabien Dupont 2019-03-06 20:40:39 UTC
Description of problem:

Current implementation of throttling, based on Automate, and should be done in backend, because:

 - Automate sandbox execution of each step and so is expensive
 - Limited access to Automate model attributes
 - Current throttling mechanism is very clumsy
    - Have to ensure its singleton instance
    - Have to manage its life-cycle
    - Have to invoke the throttling logic in every state machine transitions and onEntry/onExit method
    - And only have chance to run when state changes
 - Automate isn’t intuitive in describing migration flow
    - The logic is littered across a bunch of various yaml and ruby files
    - Hard to understand the logic
    - Hard to maintain and enhance

Comment 2 James Wong 2019-03-06 21:26:57 UTC
In total 3 PRs are merged and they need to be back ported to hammer.

https://github.com/ManageIQ/manageiq-content/pull/504
https://github.com/ManageIQ/manageiq/pull/18415
https://github.com/ManageIQ/manageiq/pull/18521

Comment 4 Satoe Imaishi 2019-03-19 13:53:33 UTC
Also need: https://github.com/ManageIQ/manageiq/pull/18570

Comment 5 Yadnyawalk Tale 2019-07-17 11:59:15 UTC
Verified, checked on 5.11.0.14.20190710225033_cb17ff0


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