Release notes are important for change management within manila. Since manila follows a release cycle with milestones, release notes provide a way for the community and users to quickly grasp what changes occurred within a development milestone. To the OpenStack release management and documentation teams, release notes are a way to compile changes per milestone. These notes are published on the OpenStack Releases website. Automated tooling is built around releasenotes and they get appropriately handled per release milestone, including any back-ports to stable releases.
- New APIs
- Changes to the response schema of existing APIs
- Changes to request/response headers
- Non-trivial API changes such as response code changes from 2xx to 4xx
- Deprecation of APIs or response fields
- Removal of APIs
We use Reno to create and manage release notes. The new subcommand combines a random suffix with a “slug” value to make the new file with a unique name that is easy to identify again later. To create a release note for your change, use:
$ reno new slug-goes-here
If reno is not installed globally on your system, you can use it from venv of your manila’s tox. Prior to running the above command, run:
$ source .tox/py27/bin/activate
Or directly as a one-liner, with:
$ tox -e venv -- reno new slug-goes-here
Then add the notes in yaml format in the file created. Pay attention to the type of section. The following are general sections to use:
prelude
General comments about the change. The prelude from all notes in a release are combined, in note order, to produce a single prelude introducing the release.
features
New features introduced
issues
A list of known issues with respect to the change being introduced. For example, if the new feature in the change is experimental or known to not work in some cases, it should be mentioned here.
upgrade
A list of upgrade notes in the release. Any removals that affect upgrades are to be noted here.
deprecations
Any features, APIs, configuration options that the change has deprecated. Deprecations are not removals. Deprecations suggest that there will be support for a certain timeline. Deprecation should allow time for users to make necessary changes for the removal to happen in a future release. It is important to note the timeline of deprecation in this section.
critical
A list of fixed critical bugs (descriptions only).
security
A list of fixed security issues (descriptions only).
fixes
A list of other fixed bugs (descriptions only).
other
Other notes that are important but do not fall into any of the given categories.
---
prelude: >
Replace this text with content to appear at the
top of the section for this change.
features:
- List new features here, or remove this section.
issues:
- List known issues here, or remove this section.
upgrade:
- List upgrade notes here, or remove this section.
deprecations:
- List deprecation notes here, or remove this section
critical:
- Add critical notes here, or remove this section.
security:
- Add security notes here, or remove this section.
fixes:
- Add normal bug fixes here, or remove this section.
other:
- Add other notes here, or remove this section.
The following need only be considered as directions for formatting. They are not fixes or features in manila.
---
deprecations:
- displaying mount options via the array listing API is deprecated.
fixes:
- users can mount shares on debian systems with kernel version 32.2.41.*
with share-mount API
---
features:
- librsync support added for NFS incremental backup
upgrade:
- Copy new rootwrap.d/librsync.filters file into /etc/manila/rootwrap.d
directory.
issues:
- librsync has not been tested thoroughly in all operating systems that
manila is qualified for. m-bkup is an experimental feature.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.