Commit Graph

36 Commits

Author SHA1 Message Date
Andreas Jaeger 82a708b09f Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I9b21866eee164c1c14d0e4333e842bd6fefcb820
2020-05-31 20:37:45 +02:00
OpenStack Release Bot fd0db53db1 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: I702f59f7783fee78aa83e6ec0c99a7b35af9183f
Sem-Ver: feature
2020-04-02 18:17:28 +00:00
Dmitry Tantsur efd56a806e Add a release note for Python 2 support removal
It's quite major, should be mentioned in the release notes.

Change-Id: I08958f7a0746f5345b5ecac792021a8a3336171e
2020-01-09 11:10:19 -06:00
OpenStack Release Bot 33823db959 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I7311b4d8699632adb447d749eaffcc1b2be63eea
Sem-Ver: feature
2019-09-20 16:27:16 +00:00
OpenStack Release Bot 0d0b033fb4 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: Icdb8ddd99ce0304f2adde263321a98b900e01cc2
Sem-Ver: feature
2019-03-18 14:41:55 +00:00
OpenStack Release Bot 02c91d7c60 Update reno for stable/rocky
Change-Id: Id9d008ebc3791bcdff329424ab83aa2553f0e159
2018-07-26 12:35:35 +00:00
Monty Taylor c4aa5695cb
Add release note for the vendor data regression
Change-Id: Ifde1f9b51f0c40d386d655d2c44492664438eb6c
2018-05-20 14:37:47 -07:00
Monty Taylor 5c2eae8f82
Replace guts with openstack.config
The code has been moved into openstacksdk. Make os-client-config a
thin wrapper around that code.

The legacy client code needs to stay, as it was removed in openstacksdk.

We also have to plumb os_client_config.defaults and
os_client_config.cloud_region.CloudRegion in so that users get the
os-client-config versions from the openstacksdk methods that return the
relevant objects.

Support for per-service region_name has been dropped. This was never
used anywhere and was added for compatibility with openstacksdk Profile
objects. Since Profile objects are no more, we can remove it. It never
made any sense.

Change-Id: I7180e20aa675c0ccbe3718493a6eff2be7e1b8b6
2018-04-27 08:42:17 -05:00
Logan V 9c9337234f Add Limestone Networks vendor info
Adds the Limestone Networks provider info for the Dallas and
Salt Lake regions.

Change-Id: Id457ea68938aea955162dc42a112568b2e55b850
2018-03-29 04:03:52 +00:00
OpenStack Release Bot 106bb783bd Update reno for stable/queens
Change-Id: I0e66c5ef109dc237455eedc59ae1c3af0bbf8b47
2018-02-01 14:15:21 +00:00
Christian Berendt 593ed45db9 Add betacloud to the vendors
Change-Id: I599156ee4e2ff52e4db5669fce6cacd22447c3b0
2017-12-11 22:31:01 +01:00
Andreas Jaeger 0d062b7d6f Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: I8eca3dae9db90d7c592eb5bcebb2273a81d1a571
2017-11-16 22:05:30 +01:00
Monty Taylor 162a7a59fd Added nat_source flag for networks.
In some more complex clouds there can not only be more than one valid network
on a server that NAT can attach to, there can also be more than one valid
network from which to get a NAT address. Allow flagging a network so that it
can be found.

Change-Id: I3d8dd6d734a1013d2d4a43e11c3538c3a345820b
2017-10-21 19:04:30 +00:00
Zuul da432d4a51 Merge "Update make_rest_client to work with version discovery" 2017-10-21 15:19:51 +00:00
Monty Taylor 3e66722b29
Update make_rest_client to work with version discovery
Using make_rest_client on clouds that put unversioned endpoints in the
catalog results in incorrectly set up adapters.

Add the plumbing to get_session_client to pass version args to
keystoneauth. Then use that from make_rest_client.

Change-Id: I69ad746f672ef0b12680e9db3c7b0c691c9f87e4
2017-10-18 15:49:23 +02:00
Monty Taylor 45fd7b4a94
Treat clouds.yaml with one cloud like envvars
If there is only one cloud and that cloud is envvars, things work as
expected. If there is only one cloud in clouds.yaml and no envvars
cloud, we throw an error, even though it should be obvious which cloud
was intended.

Change-Id: Ia49d0fb2cc7dca36476d0e5ae3fe2b2aa1209e59
2017-09-19 14:40:53 -05:00
OpenStack Release Bot 8c8f365a9f Update reno for stable/pike
Change-Id: Ie69ff1e5a5d3cf3a762d6915c5d596de4f919931
2017-07-28 21:04:06 +00:00
Doug Hellmann 30c8729f78 switch from oslosphinx to openstackdocstheme
Change-Id: Ie45909df0b5a118d0200a1ee71277f4dbfe41d08
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-22 15:26:16 -04:00
Monty Taylor 17debbb099
Fix interactions with keystoneauth from newton
keystoneauth in newton did not have app_name or app_version
as Session parameters. Although it isn't a super common combination,
user agent strings aren't a reason to break something. Add a
simple workaround.

Change-Id: Ib5774389fefdbc190a4b78dd6784c8006afbb270
2017-04-28 15:06:27 -05:00
Monty Taylor b2f7ceadb1
Add support for bailing on invalid service versions
At least for cinder for now, allow a consumer of get_legacy_client to
express the minimum version they find acceptable. This will use
cinder_client logic to figure out the version from the url.

As a follow on, expand this to all of the clients and make it support
microversions for the clients that support microversions. (Right now
it's just going to be major versions, so min_version=1 will throw an
exception if the cinder service returns a v1 endpoint.

Also, because we override the volume/volumev2/volumev3 service type
stuff, we need to do extra special logic in get_session_endpoint to try
all three in the case where do not have a configured api_version.

Change-Id: I7b6b3588fec9a6be892cf20d344667f0b9a62f0a
2017-03-09 09:17:48 -06:00
Monty Taylor d321a14ecb
Pass ironic microversion through from api_version
If someone sets baremetal_api_version to 1.29 right now, we don't really
do anything with that information. Pass it through to the constructor
for ironicclient in get_legacy_client().

Change-Id: I470fbb8852eac7d5cb35aef549ac591d63f3636f
2017-02-28 11:31:11 -06:00
Monty Taylor 81e04fcec6
Add ability to skip yaml loading
Added a flag, 'load_yaml_config' that defaults to True.
If set to false, no clouds.yaml files will be loaded. This
is beneficial if os-client-config wants to be used inside of
a service where end-user clouds.yaml files would  make things
more confusing.

Change-Id: Idbc82bb931e9edf1bbcc575237c0e202e219c218
2017-02-27 09:36:57 -06:00
OpenStack Release Bot 707adab1bc Update reno for stable/ocata
Change-Id: Iace25f1919632b5de8d6bf81add7ce0416a874ef
2017-01-31 21:04:24 +00:00
Andreas Jaeger 8a8a218f09 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: Ic34d4d11adf4aacd91a7fd682a6d15597004ff49
2016-10-06 20:41:15 +02:00
Doug Hellmann 91eb5e062a Update reno for stable/newton
Change-Id: I829a65b2104ec3c039859dce2594b701981b1fa3
2016-09-02 16:11:54 +00:00
Dean Troyer 37dcc7e8d8 Add release notes for 1.19.0 release
Change-Id: I92ffcf611d31f7a4f11e5228022ea64864823389
2016-08-03 10:44:47 -05:00
Monty Taylor 7d63f12edd
Add shade constructor helper method
We have helper factory methods for REST Client, legacy client and
OpenStack SDK all with the same interface ... we might as well have one
for shade too. It makes documenting and talking about the simple case of
all of them easy.

Change-Id: I046da85ae4a3e2a6333223921d5ae9ce3673121d
2016-06-02 10:07:27 +03:00
Monty Taylor 6a834063a2
Rename session_client to make_rest_client
While writing some docs, it became clear that session_client was just a
horrible horrible name and that I'm a bad person. Rename it so that we
can make docs that make humans happy.

Also, move the REST client section of the README up a bit.

Change-Id: I1a27853e3031489da5916308a76f19bc72185d24
2016-06-01 10:39:42 +03:00
Monty Taylor 41ac1562b5
Add helper method for OpenStack SDK constructor
openstacksdk already has a helper method for dealing with occ, but if a
user is already using the occ helper methods, there is no reason we
should not provide them an easy path to using the SDK.

Change-Id: I1040efb94385fdac0aa02ac960ba95089b954377
2016-06-01 10:26:24 +03:00
Monty Taylor 7c439073f3 Flesh out netowrk config list
Add support for indicating default_interface. Also, add some validation
and normalization code, some interface methods and, shockingly,
documentation.

Change-Id: Ib45b68894585ac02821d5d2376510fd7a8e8ee40
2016-04-02 09:09:54 -05:00
Monty Taylor 278a761df6 Change network info indication to a generic list
Networks can have more information than just internal or external. Notably,
if you have two private networks and you're trying to assign floating
ips, you need to know which network should be the recipient.

This should be backwards compatible with existing external_network and
internal_network options.

Change-Id: I0d469339ba00486683fcd3ce2995002fa0a576d1
2016-03-30 16:15:49 -07:00
Doug Hellmann a71511468e Update reno for stable/mitaka
Fix a few page titles at the same time

Change-Id: I68d082f1cad51bbe58deed6a7e4b0de122c22fc7
2016-03-11 15:06:47 -05:00
Monty Taylor 7a4993da41 Allow session_client to take the same args as make_client
make_client is a great, simple yet flexible way to get a fully featured
Client object. simple_client is similar for Session objects, but lacks
the argparse and arbitrary kwargs that make_client - plus it has a weird
name. Since adding those two features to make_client did not make it too
confusing - do the same for simple_client. Also, rename it to
session_client (with a backwards-compat alias) and add it to the README
docs.

In the process of doing this, extract the "get me a cloud config"
functinality into an additional helper function - get_config.

Change-Id: Iadd24dfa021f870b3e5858bab8cd91fc96a373c2
2016-02-22 09:29:18 -08:00
Clark Boylan 7865abc22b Add release notes
Catch up the release notes from the previous release to current state.
This does not catch up from the beginning of oscc's history.

Change-Id: Ic981fdfbb79cd7fc70167091bdfed281c11eff03
2016-02-17 11:46:57 -08:00
Doug Hellmann 2f1d184a8e set up release notes build
Add release notes build files and tox environment so the existing
release notes job has something to build from.

Change-Id: I717d4e7af438cbc94eecf32472f6d1f8213761b8
2016-01-15 08:33:01 -05:00
Monty Taylor 594e31a4c2 Use reno for release notes
The OpenStack Release team has created a great release notes management
tool that integrates with Sphinx. Start using it. For reference on how
to use it, see http://docs.openstack.org/developer/reno/

Change-Id: I8153ec7861b508297a28a1916771776dee2deafe
2015-12-30 13:35:40 -06:00