16 Commits

Author SHA1 Message Date
Doug Hellmann
12fd34b963 add deprecation_reason to log message
When we log the warning that an option is deprecated for removal,
include the reason if we have one. Previously the deprecation reason was
only visible in the sample configuration file.

Add some tests for the log messages emitted when deprecated options are
used.

Change-Id: I5e309a3651041580fdf529ff31e18bbd90714f35
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-04-25 11:01:42 -04:00
73b68c0b27 Update reno for stable/ocata
Change-Id: I8cf513a719f766c6aff8f6c79b4290f9e1fa6757
2017-01-20 19:15:17 +00:00
Jenkins
bb8846a3ab Merge "Fixing HostName and adding support for HostAddress" 2016-12-07 06:35:28 +00:00
Dharini Chandrasekar
babff882c0 Fixing HostName and adding support for HostAddress
When config options in different projects use IPOpt as the opt's
type, it restricts operators to only IP addresses.
When the opt is set to HostnameOpt type, currently even an
incomplete or invalid IP passes as a valid hostname. Also, currently
HostnameOpt does not make sure that there is a presense of at least one
non-numeric character in the provided host name.

According to RFC 1123, (https://tools.ietf.org/html/rfc1123),
a valid host name can never have the dotted-decimal form #.#.#.#,
since at least the highest-level component label will be alphabetic.

This patch fixes the existing Hostname Opt to abide by the stated RFC
and also adds a new opt type that would enable operators to provide
either a hostname or an IP and at the same time perform checks on
both IPOpt type and HostnameOpt type, by setting opt type to
"HostAddressOpt" type. This would ensure that an invalid IP does
not pass as a valid hostname and at the same time retains the rules
required to be followed for the validation of an acceptable hostname.

Change-Id: I77bdb64b7e6e56ce761d76696bc4448a9bd325eb
Closes-Bug: #1619044
Closes-Bug: #1615028
2016-12-07 03:27:45 +00:00
Thomas Bechtold
f24b04ea87 Add defaults for config-dir
If no --config-dir switches are given on the command
line, use default directories to search for config
snippets.
This is similar to the default config-file support
oslo.config already includes. It is useful in environments
where command line arguments can not easily be added, like
mod_wsgi Apache envs.

Change-Id: I4df977911539777d1510e8b579375aca5b5f15f4
2016-11-30 06:58:12 +01:00
Andreas Jaeger
a17d135e36 Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: I9db09c7585e9e1041139970ca848f77b38424a6f
2016-10-06 20:41:54 +02:00
Doug Hellmann
916fa73312 standardize release note page ordering
In order to support automatically updating the release notes when we
create stable branches, we want the pages to be in a standard order.
This patch updates the order to be reverse chronological, so the most
recent notes appear at the top.

Change-Id: Ib364dcc8eb31275a31c83b68d7914263b183e393
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-09-07 16:50:43 -04:00
Doug Hellmann
02dd34dfe9 Update reno for stable/newton
Change-Id: I0e867b547b62e6c9b029f14aa6c159efc603f6ec
2016-08-30 10:13:52 +00:00
Adit Sarfaty
14ec2c67eb Add Port type to allow configuration of a list of tcp/ip ports
There was already a PortOpt, but this is not composable with ListOpt.
The new type inherits from Integer and therefore supports min/max
value and choices. For example, openstack/vmware-nsx wants to use this
to configure a default list of ports for a firewall rule.

Change-Id: I83bbec6add8ce2951e94e69ec14bb6d8137d4f0c
2016-08-11 12:05:59 +03:00
Adit Sarfaty
15d3ab88f2 Add min and max values to Float type and Opt
Just like Integers, Floats configuration should also have a minimum and
maximum possible values.
For example, the vmware-nsx plugin needs it for the QoS support.
See https://review.openstack.org/#/c/344763/

Change-Id: If1c47444e0c12b68d9d9cb645b8251e4462cfd49
2016-07-21 14:38:23 +03:00
Edan David
613fdcfd50 Fix typo: 'olso' to 'oslo'
Change-Id: If8965fe31f12bb924cb6036afbff17ddf163a78c
2016-06-02 01:29:42 -04:00
Doug Hellmann
8becbb6970 Update reno for stable/mitaka
Change-Id: I703cf069871821f6bf11fbdc11933b0287563864
2016-03-09 11:52:23 -05:00
Jenkins
64eea86e5a Merge "add unreleased page to release notes build" 2016-02-23 15:24:23 +00:00
Doug Hellmann
7a4ac4405e add unreleased page to release notes build
This page shows the notes for changes not yet in a stable branch,
including allowing us to test the release notes build as notes are
included in proposed patches.

Change-Id: I3c8bf84766a4effcc1cf5f8ed229185baee32ec3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-02-22 17:36:11 +00:00
Doug Hellmann
8247698827 add a release note mentioning our use of reno
Change-Id: I2748f4316627ebc6a270a66d1fcc3774557144e8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-02-22 17:35:40 +00:00
Alexis Lee
68d5def976 Add reno for release notes management
The release management team have indicated this is their preferred way
to collect release notes in future.

Change-Id: Icab591ed1b12c1fd84c15f7b4a5d1d56d1d7588a
2016-02-22 11:28:17 +00:00