File: release-guide.rst

package info (click to toggle)
watcher 15.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,216 kB
  • sloc: python: 52,260; xml: 323; sh: 299; makefile: 78
file content (462 lines) | stat: -rw-r--r-- 15,025 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
..
      Licensed under the Apache License, Version 2.0 (the "License"); you may
      not use this file except in compliance with the License. You may obtain
      a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
      WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
      License for the specific language governing permissions and limitations
      under the License.

Chronological Release Liaison Guide
====================================

This is a reference guide that a release liaison may use as an aid, if
they choose.

Watcher uses the `Distributed Project Leadership (DPL)`__ model where
traditional release liaison responsibilities are distributed among various
liaisons. The release liaison is responsible for requesting releases,
reviewing Feature Freeze Exception (FFE) requests, and coordinating
release-related activities with the team.

.. __: https://governance.openstack.org/tc/reference/distributed-project-leadership.html

How to Use This Guide
---------------------

This guide is organized chronologically to follow the OpenStack release
cycle from PTG planning through post-release activities. You can use it
in two ways:

**For New Release Liaisons**
    Read through the entire guide to understand the full release cycle,
    then bookmark it for reference during your term.

**For Experienced Release Liaisons**
    Jump directly to the relevant section for your current phase in the
    release cycle. Each major section corresponds to a specific time period.

**Key Navigation Tips**
    * The :ref:`glossary` defines all acronyms and terminology used
    * Time-sensitive activities are clearly marked by milestone phases
    * DPL coordination notes indicate when team collaboration is required

DPL Liaison Coordination
-------------------------

Under the DPL model, the release liaison coordinates with other project
liaisons and the broader team for effective release management. The release
liaison has authority for release-specific decisions (FFE approvals, release
timing, etc.) while major process changes and strategic decisions require
team consensus.

This coordination approach ensures that:

* Release activities are properly managed by a dedicated liaison
* Team input is gathered for significant decisions
* Other liaisons are informed of release-related developments that may
  affect their areas
* Release processes remain responsive while maintaining team alignment

Project Context
---------------

* Coordinate with the watcher meeting (chair rotates each meeting, with
  volunteers requested at the end of each meeting)

  * Meeting etherpad: https://etherpad.opendev.org/p/openstack-watcher-irc-meeting
  * IRC channel: #openstack-watcher

* Get acquainted with the release schedule

  * Example: https://releases.openstack.org/<current-release>/schedule.html

* Familiarize with Watcher project repositories and tracking:

Watcher Main Repository
    `Primary codebase for the Watcher service <https://opendev.org/openstack/watcher>`__

Watcher Dashboard
    `Horizon plugin for Watcher UI <https://opendev.org/openstack/watcher-dashboard>`__

Watcher Tempest Plugin
    `Integration tests <https://opendev.org/openstack/watcher-tempest-plugin>`__ (follows tempest cycle)

Python Watcher Client
    `Command-line client and Python library <https://opendev.org/openstack/python-watcherclient>`__

Watcher Specifications
    `Design specifications <https://opendev.org/openstack/watcher-specs>`__ (not released)

Watcher Launchpad (Main)
    `Primary bug and feature tracking <https://launchpad.net/watcher>`__

Watcher Dashboard Launchpad
    `Dashboard-specific tracking <https://launchpad.net/watcher-dashboard/>`__

Watcher Tempest Plugin Launchpad
    `Test plugin tracking <https://launchpad.net/watcher-tempest-plugin>`__

Python Watcher Client Launchpad
    `Client library tracking <https://launchpad.net/python-watcherclient>`__

Project Team Gathering
----------------------

Event Liaison Coordination
~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Work with the project team to select an event liaison for PTG coordination.
  The event liaison is responsible for:

  * Reserving sufficient space at PTG for the project team's meetings
  * Putting out an agenda for team meetings
  * Ensuring meetings are organized and facilitated
  * Documenting meeting results

* If no event liaison is selected, these duties revert to the release liaison.

* Monitor for OpenStack Events team queries on the mailing list requesting
  event liaison volunteers - teams not responding may lose event
  representation.

PTG Planning and Execution
~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Create PTG planning etherpad, retrospective etherpad and alert about it in
  watcher meeting and dev mailing list

  * Example: https://etherpad.opendev.org/p/apr2025-ptg-watcher

* Run sessions at the PTG (if no event liaison is selected)

* Do a retro of the previous cycle

* Coordinate with team to establish agreement on the agenda for this release:

Review Days Planning
    Determine number of review days allocated for specs and implementation work

Freeze Dates Coordination
    Define Spec approval and Feature freeze dates through team collaboration

Release Schedule Modifications
    Modify the OpenStack release schedule if needed by proposing new dates
    (Example: https://review.opendev.org/c/openstack/releases/+/877094)

* Discuss the implications of the `SLURP or non-SLURP`__ current release

.. __: https://governance.openstack.org/tc/resolutions/20220210-release-cadence-adjustment.html

* Sign up for group photo at the PTG (if applicable)


After PTG
---------

* Send PTG session summaries to the dev mailing list

* Add `RFE bugs`__ if you have action items that are simple to do but
  without a owner yet.

* Update IRC #openstack-watcher channel topic to point to new
  development-planning etherpad.

.. __: https://bugs.launchpad.net/watcher/+bugs?field.tag=rfe

A few weeks before milestone 1
------------------------------

* Plan a spec review day

* Periodically check the series goals others have proposed in the “Set series
  goals” link:

  * Example: https://blueprints.launchpad.net/watcher/<current-release>/+setgoals

Milestone 1
-----------

* Release watcher and python-watcherclient via the openstack/releases repo.
  Watcher follows the `cycle-with-intermediary`__ release model:

.. __: https://releases.openstack.org/reference/release_models.html#cycle-with-intermediary

  * Create actual releases (not just launchpad bookkeeping) at milestone points
  * No launchpad milestone releases are created for intermediary releases
  * When releasing the first version of a library for the cycle,
    bump
    the minor version to leave room for future stable branch
    releases

* Release stable branches of watcher

Stable Branch Release Process
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Prepare the stable branch for evaluation:

.. code-block:: bash

   git checkout <stable branch>
   git log --no-merges <last tag>..

Analyze commits to determine version bump according to semantic versioning.

Semantic Versioning Guidelines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Choose version bump based on changes since last release:

Major Version (X)
    Backward-incompatible changes that break existing APIs

Minor Version (Y)
    New features that maintain backward compatibility

Patch Version (Z)
    Bug fixes that maintain backward compatibility

Release Command Usage
~~~~~~~~~~~~~~~~~~~~~

Generate the release using OpenStack tooling:

* Use the `new-release command
  <https://releases.openstack.org/reference/using.html#using-new-release-command>`__
* Propose the release with version according to chosen semver format
  (x.y.z)

Summit
------

``Responsibility Precedence for Summit Activities:``

1. ``Project Update/Onboarding Liaisons`` (if appointed):

   * ``Project Update Liaison``: responsible for giving the project update
     showcasing team's achievements for the cycle to the community
   * ``Project Onboarding Liaison``: responsible for giving/facilitating
     onboarding sessions during events for the project's community

2. ``Event Liaison`` (if no Project Update/Onboarding liaisons exist):

   * Coordinates all Summit activities including project updates and onboarding

3. ``Release Liaison`` (if no Event Liaison is appointed):

   * Work with the team to ensure Summit activities are properly handled:

     * Prepare the project update presentation
     * Prepare the on-boarding session materials
     * Prepare the operator meet-and-greet session

.. note::

   The team can choose to not have a Summit presence if desired.

A few weeks before milestone 2
------------------------------

* Plan a spec review day (optional)

Milestone 2
-----------

* Spec freeze (unless changed by team agreement at PTG)

* Release watcher and python-watcherclient (if needed)

* Stable branch releases of watcher


Shortly after spec freeze
-------------------------

* Create a blueprint status etherpad to help track, especially non-priority
  blueprint work, to help things get done by Feature Freeze (FF). Example:

  * https://etherpad.opendev.org/p/watcher-<release>-blueprint-status

* Create or review a patch to add the next release’s specs directory so people
  can propose specs for next release after spec freeze for current release

Milestone 3
-----------

* Feature freeze day

* Client library freeze, release python-watcherclient

* Close out all blueprints, including “catch all” blueprints like mox,
  versioned notifications

* Stable branch releases of watcher

* Start writing the `cycle highlights
  <https://docs.openstack.org/project-team-guide/release-management.html#cycle-highlights>`__

Week following milestone 3
--------------------------

* If warranted, announce the FFE (feature freeze exception process) to
  have people propose FFE requests to a special etherpad where they will
  be reviewed.
  FFE requests should first be discussed in the IRC meeting with the
  requester present.
  The release liaison has final decision on granting exceptions.

  .. note::

    if there is only a short time between FF and RC1 (lately it’s been 2
    weeks), then the only likely candidates will be low-risk things that are
    almost done. In general Feature Freeze exceptions should not be granted,
    instead features should be deferred and reproposed for the next
    development
    cycle. FFE never extend beyond RC1.

* Mark the max microversion for the release in the
  :doc:`/contributor/api_microversion_history`

A few weeks before RC
---------------------

* Update the release status etherpad with RC1 todos and keep track
  of them in meetings

* Go through the bug list and identify any rc-potential bugs and tag them

RC
--

* Follow the standard OpenStack release checklist process

* If we want to drop backward-compat RPC code, we have to do a major RPC
  version bump and coordinate it just before the major release:

  * https://wiki.openstack.org/wiki/RpcMajorVersionUpdates

  * Example: https://review.opendev.org/541035

* “Merge latest translations" means translation patches

  * Check for translations with:

    * https://review.opendev.org/#/q/status:open+project:openstack/watcher+branch:master+topic:zanata/translations

* Should NOT plan to have more than one RC if possible. RC2 should only happen
  if there was a mistake and something was missed for RC, or a new regression
  was discovered

* Write the reno prelude for the release GA

  * Example: https://review.opendev.org/644412

* Push the cycle-highlights in marketing-friendly sentences and propose to the
  openstack/releases repo. Usually based on reno prelude but made more readable
  and friendly

  * Example: https://review.opendev.org/644697

Immediately after RC
--------------------

* Look for bot proposed changes to reno and stable/<cycle>

* Create the launchpad series for the next cycle

* Set the development focus of the project to the new cycle series

* Set the status of the new series to “active development”

* Set the last series status to “current stable branch release”

* Set the previous to last series status to “supported”

* Repeat launchpad steps ^ for all watcher deliverables.

* Make sure the specs directory for the next cycle gets created so people can
  start proposing new specs

* Make sure to move implemented specs from the previous release

  * Move implemented specs manually (TODO: add tox command in future)

  * Remove template files:

    .. code-block:: bash

       rm doc/source/specs/<release>/index.rst
       rm doc/source/specs/<release>/template.rst

* Ensure liaison handoff: either transition to new release liaison or confirm
  reappointment for next cycle

.. _glossary:

Glossary
--------

DPL
    Distributed Project Leadership - A governance model where traditional PTL
    responsibilities are distributed among various specialized liaisons.

FFE
    Feature Freeze Exception - A request to add a feature after the feature
    freeze deadline. Should be used sparingly for low-risk, nearly
    complete features.

GA
    General Availability - The final release of a software version for
    production use.

PTG
    Project Team Gathering - A collaborative event where OpenStack project
    teams meet to plan and coordinate development activities.

RC
    Release Candidate - A pre-release version that is potentially the final
    version, pending testing and bug fixes.

RFE
    Request for Enhancement - A type of bug report requesting a new feature
    or enhancement to existing functionality.

SLURP
    Skip Level Upgrade Release Process - An extended maintenance release
    that allows skipping intermediate versions during upgrades.

Summit
    OpenStack Summit - A conference where the OpenStack community gathers
    for presentations, discussions, and project updates.

Miscellaneous Notes
-------------------

How to track launchpad blueprint approvals
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Core team approves blueprints through team consensus. The release liaison
ensures launchpad status is updated correctly after core team approval:

* Set the approver as the core team member who approved the spec

* Set the Direction => Approved and Definition => Approved and make sure the
  Series goal is set to the current release. If code is already proposed, set
  Implementation => Needs Code Review

* Optional: add a comment to the Whiteboard explaining the approval,
  with a date
  (launchpad does not record approval dates). For example: “We discussed this
  in the team meeting and agreed to approve this for <release>. -- <nick>
  <YYYYMMDD>”

How to complete a launchpad blueprint
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Set Implementation => Implemented. The completion date will be recorded by
  launchpad