[watcher][ptg] Watcher 2027.1 Indri PTG Summary
Hi all o/ The Watcher team held two days of virtual PTG sessions on October 14–15 (Cactus room), covering a retrospective on the Hibiscus cycle, new feature planning, upgrade compatibility, datasource housekeeping, dashboard work, CI improvements, and ongoing feature development. Here is a summary of the sessions: --- *Hibiscus Retrospective* You can check the retro directly at the etherpad: https://etherpad.opendev.org/p/watcher-2027.1-ptg#L105 It's worth highlighting the points that we want to focus on for the next release: - Split features into smaller, isolated pieces when possible - Avoid relying on the last week of the cycle to propose and review changes; plan to merge earlier always. --- *Migration Eligibility Filters* Based on the spec at https://review.opendev.org/c/openstack/watcher-specs/+/994807. The current approach to selecting instances and destination nodes for migration actions leads to invalid migrations, inconsistent behavior, code duplication, and is hard to extend. The session discussed a Filter Manager framework to replace ad-hoc per-strategy logic. The proposal introduces base strategy methods built on a configurable list of pre-defined filters (watcher_exclude, locked_instance, instance_state, pinned_az, node_affinity, etc.) Agreed: - Proceed with the current Filter Manager proposal, additional filters and new APIs are Future Work only Action items: - dviroel: PoC the proposal and share results and update the spec. --- *Managing Changes in Strategy Parameters* The current sync() behavior in the decision engine recreates strategies on any schema change and cancels all running audits — which directly violates the OpenStack upgrade contract. The session discussed replacing this with an audit snapshot approach (similar to how Nova snapshots flavor and image metadata at instance creation), where each audit stores a frozen copy of its full parameters in a new DB column. Agreed: - Current behavior is not acceptable; continuous and event-based audits must survive upgrades - Strategy changes must maintain backwards compatibility, with an online data migration path for breaking changes (lazy or manual via CLI) - The sync() method should no longer delete/recreate strategies; it will only register new goals/strategies and update the spec object in the database - A grenade CI test should verify a continuous audit started before upgrade is still running after upgrade (devstack/upgrade/resources.sh) Action items: - amoralej: write a spec or blueprint for strategy parameter management and upgrades --- *SRBAC and Resource Ownership in Watcher* Currently all Watcher APIs lack fine-grained ownership information. The session discussed including project_id in resources such as Audits and distinguishing between the owner (creator) of an Audit and the user who triggered a given operation (the latter to be recorded in logs). Action item: - sean-k-mooney will file a blueprint to track this effort. --- *Action Plan Failure Scenarios: Rollback / Retry* A brainstorm session with no spec proposed yet. Full revert of an Action Plan is complex since some actions cannot be undone. A new Action Plan as a "revert" would only approximate the original state. Agreed: - There is no perfect revert mechanism; the recommended approach is to create a new Audit with parameters targeting a state closer to the original - For continuous audits, the next evaluation naturally recomputes and retries without special handling - For one-shot/event/pipeline audits, re-triggering or cloning the audit is the preferred path - Any "retry of failed actions" AP must use pre_validate() to guard against executing actions on resources in invalid states - Full revert is a complex feature to pursue as a first-class feature Action items: - (Owner TBD): Document alternatives to revert/retry — creating new Audits, using the Actuator for manual reversion of specific actions, and adjusting configuration parameters tied to specific actions --- *Extending zone_migration to Support Availability Zones* Spec: https://review.opendev.org/c/openstack/watcher-specs/+/1007853 The session covered AZ-to-AZ drain support: migrating compute instances and volumes from a source AZ to a destination AZ. Key design points discussed: - Focus on compute AZs for now; Cinder AZs require an upstream RFE to Nova/Cinder for --destination-az on volume migration - Users can select what to migrate: instances only, volumes only (retype or migrate between pools), or volumes + instances - New parameter skip_az_pinned_instances (default False): when False, the strategy explicitly unpins an AZ-pinned instance and moves it (changing the original placement policy); when True, pinned instances are skipped - Shelved instances: skip by default, user-overridable (not covered in this spec) - Important constraint: Nova live migration and concurrent volume migration cannot happen simultaneously for the same instance — the spec must document this. - Source node disabling is part of the drain operation (off by default, enabled via audit parameter) Agreed: - Add an alternatives section in the spec covering host aggregates vs AZs - Capture the Nova live migration + volume migration exclusivity constraint in the spec - General agreement on the spec direction; a few details remain for spec review - To be decided during spec review: whether to extend the existing zone_migration strategy or create a new dedicated strategy. Action items: - dviroel: Update the spec with alternatives, pros/cons of new strategy vs existing, and the agreed decisions above --- *OpenStackSDK Migration: Ironic* Spec: https://review.opendev.org/c/openstack/watcher-specs/+/1005750 The session decided to deprecate Ironic integration in 2027.1 rather than migrate it to OpenStackSDK. Ironic will become an optional dependency, and documentation will be added on how to enable it for operators who still need it. Action items: - jgilaber: Update the OpenStackSDK spec to reflect Ironic moving to deprecated --- *Status of Datasources, Strategies, and Integrations* Datasources: - Grafana: deprecation patch under review ( https://review.opendev.org/c/openstack/watcher/+/1006771) - Prometheus: status to be revisited alongside Cloudkitty/Aodh timelines - Proposal to change the default datasource list to [] (empty list), with a warning message when no datasource is configured — making datasource selection an explicit operator decision Strategies: - Three strategies proposed for deprecation due to missing test coverage: outlet_temp_control, saving_energy, uniform_airflow (patch: https://review.opendev.org/c/openstack/watcher/+/1006323) - storage_capacity_balance: stays Experimental for now, but requires bug fixes and CI enablement - basic_server_consolidation: to be evaluated for promotion to Supported if integration tests pass - Strategy/goal removal process must be documented before any deletions proceed; this includes how upgrades are handled Action items: - (Owner TBD): Propose a patch to set datasources default to empty list with warning messages and updated documentation - dviroel: Propose a plan and contributor guide documentation for removing a strategy and goal from Watcher - (Owner TBD): Update the strategies status matrix: https://docs.openstack.org/watcher/latest/strategies/index.html#strategies-s... --- *Dashboard Updates* Updates shipped in Hibiscus: Skip action integration, Playwright coverage for one-shot audits, search filters, scope validation for audit templates. Planned work for 2027.1: - Bulk archive for audits ( https://review.opendev.org/c/openstack/watcher-dashboard/+/999050) - Event Audit support (create + trigger) - Default parameters for audit templates (new in 2026.2) - Playwright coverage expansion - Fix CI job to generate videos/traces only on failure and upload them as artifacts - Review service layer refactoring patches ( https://review.opendev.org/q/topic:%22service-layer-refactor%22) Agreed: - New Watcher features should include a Dashboard blueprint/RFE as part of the feature acceptance criteria (depending on complexity) --- *CI and Testing Improvements* - Some pending functional test improvement patches from Hibiscus need reviews: - https://review.opendev.org/c/openstack/watcher/+/993543 - https://review.opendev.org/c/openstack/watcher/+/993634 - Tempest coverage priorities: existing features without coverage and new features; negative tests belong in functional tests only - The watcher-tempest jobs runtime should stay under 2h at max; 3h is considered a issue Action items: - dviroel: Propose new tempest tests for event-type audits --- *Action Plan Transformers* Alfredo presented a proposal for Action Plan Transformers which is detailed in the spec: https://review.opendev.org/c/openstack/watcher-specs/+/994607 We discussed about its flexibility vs complexity and how users would configure the planner and its transformers. Alfredo is going to propose an updated version of this feature and try to simplify some of the main discussion points. Action items: - amoralej: Propose a spec update to cover changes discussed during the PTG --- *Audit Pipeline* The Audit Pipeline feature was proposed in Hibiscus cycle, with some patches pending reviews and some questions that were still under discussion. Status for 2027.1: - Scope: ONESHOT pipelines, cascade (sequential) execution, compute + storage model (storage was skipped in Hibiscus proposal) - Efficacy indicators reorganized into PipelineIndicatorGroup for semantic normalization across stages - New CANCELLING state proposed for pipelines being cancelled while still executing - Storage model: inclusion of volume migration in the pipeline handler (skipped in initial implementation patches) Agreed: - Efficacy indicators should move toward a more standard pattern in future cycles to avoid indicator proliferation - CANCELLING state is desired for Audits, same implementation is already available for Action Plans Action items: - dviroel: Update Audit Pipeline Spec for 2027.1 and update in flight patches --- *Tech Debt*Some new technical debts were discussed at the end of the last day of the PTG: - Is was raised a concern about a big refactoring in APScheduler from 3.x to 4.0 release. We should follow up and decide in the future if we still continue with APScheduler. - Remove max compute microversion pin from CI config (no longer needed after novaclient removal); note that per-feature microversion requirements remain strategy-specific - New DB tables should default IDs to BigInteger (already included in Audit Pipeline patches) -- Thanks to everyone who joined and contributed to the discussions! Douglas Viroel - dviroel
participants (1)
-
Douglas Viroel