Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-21364

Research migration path from eventlet to native Python threading for OpenStack masakari service

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Done
    • Icon: Major Major
    • 2026.1 (G)
    • None
    • masakari
    • None
    • Sprint 9
    • 1
    • Moderate

      Goal:

      Investigate feasibility and approach for completely removing eventlet dependency from masakari and replacing it with native Python threading patterns. Define migration strategy that maintains functionality while improving performance and reducing dependency complexity.

      TimeBox:

      3 weeks (120 hours)

      Deliverables/Outcomes:

      Research Documentation:
        - Technical analysis of current eventlet usage patterns in masakari codebase
        - Comparison of eventlet vs native threading performance characteristics
        - Risk assessment for threading migration including backward compatibility concerns

      Migration Strategy:
        - Detailed migration plan with phased approach recommendations
        - Code patterns and architectural decisions for thread pool management
        - WSGI server migration options (cheroot vs alternatives)
        - Testing strategy for thread safety and resource cleanup

      Technical Artifacts:
        - Proof-of-concept implementation demonstrating key migration patterns
        - Updated threading utilities with proper OpenStack context propagation
        - Test isolation patterns for preventing thread pool leakage between tests

      Next Steps Definition:
        - Epic and user stories breaking down full migration implementation
        - Effort estimation for complete migration
        - Rollback strategy and deployment considerations
        - Documentation updates required for operators and developers

      Success Criteria:
        - Clear understanding of migration complexity and timeline
        - Validated approach for maintaining OpenStack service patterns
        - Identified potential blocking issues and mitigation strategies
        - Executive summary with go/no-go recommendation

              hberaud Hervé Beraud
              hberaud Hervé Beraud
              rhos-dfg-pidone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 3 weeks
                  3w
                  Remaining:
                  Remaining Estimate - 3 weeks
                  3w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified