Commit Graph

35 Commits

Author SHA1 Message Date
OpenStack Release Bot 4a7c0e9944 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

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

Sem-Ver: feature
Change-Id: I3eea72b8a5e19add16fe497f817e6b28afa06dc0
2024-03-08 13:58:34 +00:00
Zuul 62e25aa314 Merge "reno: Update master for unmaintained/wallaby" 2024-03-05 20:55:39 +00:00
Zuul 5fd5976f35 Merge "reno: Update master for unmaintained/victoria" 2024-03-05 20:51:07 +00:00
OpenStack Release Bot ee25d60157 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Ib3a6fecc31123480781b423766de9c0dd3163d7d
2024-03-05 18:28:07 +00:00
OpenStack Release Bot d9cc3a591a reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Id965647eac46762d168eefe8befa34e4445a98ff
2024-03-05 18:27:26 +00:00
OpenStack Release Bot 9e2684e500 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I5c6f2103c9e041637379f48ec23e01342b0123c1
2024-03-05 18:26:46 +00:00
OpenStack Release Bot 8eabd1e8a3 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I5c90433de528f8743f34e3d636af62d5cd314e58
2024-02-05 17:00:16 +00:00
OpenStack Release Bot e491d3c656 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

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

Sem-Ver: feature
Change-Id: I8923bd604b541be5aca5b06852c46af9f63bf252
2023-09-08 14:43:41 +00:00
OpenStack Release Bot 9acb735cfe Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

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

Sem-Ver: feature
Change-Id: I8eb0d9e32b16730495ba358706d36296ce1db053
2023-02-24 15:14:17 +00:00
jakecoll 30eab20112 Add Resource Allocations API support
The Resource Allocation API was added in Stein. This adds support for
querying it with blazarclient. Only the host resource type is supported
for now.

Co-Authored-By: Matt Crees <mattc@stackhpc.com>
Co-Authored-By: Pierre Riteau <pierre@stackhpc.com>
Change-Id: I28f45320164188df73b70d4c9e04c5e53655062e
2023-02-17 09:50:42 +01:00
Matt Crees 6c0ae07ee2 Separate ID parser argument from ShowCommand
Move the ID parser argument from the base ShowCommand class to the
resource classes. This allows us to define arguments in any order,
instead of requiring the ID to be first.

Change-Id: I8929e631562dc1ed5cd78f71e59517aa50429aca
2023-01-23 10:39:36 +00:00
OpenStack Release Bot f13f7f265d Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

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

Sem-Ver: feature
Change-Id: I275e468216b589bb5e2f44474337b469849cdc2d
2022-09-06 12:28:59 +00:00
niuke 2dabe78770 remove unicode prefix from code
Change-Id: I364acb3efbd1cb9e1025b19ebf5c08b4ac8626e2
2022-08-12 22:30:16 +08:00
Pierre Riteau dc24087857 Update configuration for compatibility with Sphinx 5
Change-Id: Iffcc27894844c0f281d1fcafc25fed583542e634
2022-06-06 20:09:51 +02:00
OpenStack Release Bot 1739dd763b Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

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

Sem-Ver: feature
Change-Id: Ic442465b7278d16a4747f8f8b70d0e96e34374d9
2022-03-03 10:51:09 +00:00
Mark Powers cf2de7cb63 Add commands for resource property API
This adds commands for interacting with the resource property API
that is specified in blueprint resource-properties-discovery-api.

Change-Id: Ibe024dc9b2d02d4061ab7eb68a4607d1356a6318
2022-02-23 22:47:39 +01:00
OpenStack Release Bot 55395d00f9 Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

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

Sem-Ver: feature
Change-Id: I7d25847dba4a0bfe0a41c7efc6d66c6498d886ea
2021-09-10 15:55:21 +00:00
Mark Powers f2277b5f7a Add openstackclient support
This adds support for the recommended CLI using the OpenStackClient,
without modifying the existing Blazar shell CLI.

The existing shell command classes are used, by introducing a check in
the base comand class to use either the client passed by Blazar shell,
or the client using the osc_lib client_manager.

The argument --physical-reservation is also removed for the create lease
command when using the OpenStack client.

Implements: blueprint openstackclient-support
Change-Id: I97a7b91f0d05efc887307ac167e5c368276d4f81
2021-08-05 10:24:28 -05:00
OpenStack Release Bot c3fef3d890 Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

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

Sem-Ver: feature
Change-Id: Id9f779a7bb378518711906c9a59ea934550d304b
2021-03-18 10:21:20 +00:00
Pierre Riteau 22cafd21a5 Provide a default affinity value
Change-Id: Ifd55fce5f9a6eb78aa6a909beab0d502b67c1d7a
Closes-Bug: #1917636
2021-03-03 16:28:05 +01:00
OpenStack Release Bot c393b6d2cd Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

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

Change-Id: Ibf43fb846edd1cf76af59aa5e93ccd9de7ffe4c6
Sem-Ver: feature
2020-09-10 19:52:03 +00:00
Jason Anderson 886a4d3505 Use KSA loading to support more auth methods
Currently Blazar has hard-coded support for only two login methods:
'token' and 'password'. There are many more auth mechanisms supported by
Keystone and the clients. The complexity of parsing arguments and
constructing an auth/session entity is taken care of in the
keystoneauth1.loading module, which this commit takes advantage of.

Change-Id: I7173d1880c8938ac54a0fb3495417f5ce40db4e7
2020-09-08 14:18:28 +02:00
Andreas Jaeger 2917320d31 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.

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.

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.

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

Change-Id: I84ad61a25101e9bcf67908382d272b447b605fd9
2020-05-22 17:16:38 +00:00
OpenStack Release Bot 8c04b8e290 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: Ifa67860398e382ed6349eb932f27280973c8fc42
Sem-Ver: feature
2020-04-09 21:46:20 +00:00
Tetsuro Nakamura aa7690b48c Stop testing with py2
Python 2 is no longer supported. Python 3 is required.
This patch stops testing with Python 2 and issues the release note.

Change-Id: I7dc416927ea23d581dbee366d54a733ee53498cf
2019-12-06 04:15:12 +00:00
OpenStack Release Bot 0965a4eebc 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: Ie9a285b88b2544ff7f73ed9de7aade432b681d08
Sem-Ver: feature
2019-09-13 21:56:48 +00:00
Pierre Riteau e98421c919 Support floating IP reservation parameters in lease-update
The lease-update command needs to know about all possible keys that can
be passed as reservation parameters. Also treat required_floatingips as
a list, like in commit 9183950833.

Change-Id: Iad95ebf662fb052000f05aa3d76f76308704fd1d
Related-Bug: #1843258
2019-09-11 17:50:43 +02:00
Pierre Riteau 9183950833 Parse required_floatingips parameter as a JSON array
An API request to create a floating IP reservation is expected to pass
the required_floatingips parameter as a list, not as a string. Modify
the CLI to parse required_floatingips as a JSON array so it can be
passed to the API in the right format.

Change-Id: Ia84ceb881f0889266c8f0349a1ffb047597bac2d
Closes-Bug: #1843258
2019-09-10 09:52:21 +00:00
Pierre Riteau c464858149 Add release note for floating IP support
Change-Id: I2974b600d1f65e91e490eb80029a67e601d6a78e
2019-08-22 10:33:29 +02:00
OpenStack Release Bot 8408918998 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: I50cd486f57ba1ce7adaae87866a720f14d7581f2
Sem-Ver: feature
2019-03-18 14:49:14 +00:00
OpenStack Release Bot bf5bd3cf28 Update reno for stable/rocky
Change-Id: I1df38713cd342c85cb337596b607a1212119d313
2018-07-26 13:35:32 +00:00
Pierre Riteau f017a924d3 Set start date to 'now' rather than current time
When the Blazar CLI client is run without specifying a start date, it
uses the current time on the client machine. If the lease creation
request is sent to the Blazar service just before the end of a minute,
e.g. at 12:34:59, the Blazar manager might only process it during the
next minute (i.e. after 12:35:00). In this case, the manager will reject
the request with:

    Start date must be later than current date

This can also be an issue if the clocks on the client and server are not
synchronized closely.

This patch uses the special start date value 'now' which is resolved to
the current time on the server rather than on the client. Note that this
can result in leases that are one minute shorter than what the user
might expect, as the end date is still specified by the client.

It also clarifies help messages for start and end dates.

Change-Id: Ib761d8f4f15e44e28452497f282447472f0cf918
Closes-Bug: #1783296
2018-07-24 11:56:15 +01:00
Tetsuro Nakamura 98b2414eec Catch exceptions for session client
Exceptions from the API were not properly caught when it uses
keystone session client path. As a result, error messages in the
response body from blazar REST APIs were not displayed.

This patch fixes it creating the new SessionClient class, which
is basically the same as its parent class, but it can raise
BlazarClientException if requests to the blazar server failed.

Change-Id: I98ba3949742f2a987beb7e16400608b8ebb60065
Closes-Bug: #1777548
2018-07-09 15:23:33 +09:00
Pierre Riteau f7a8b5705a Add release note about region support
Change-Id: Id58981488c954ada032d6b071a8ed3fd9157fc8d
2018-06-26 14:57:03 +02:00
Pierre Riteau d22c8e3ebe Add reno for release notes management
Change-Id: Idad067060648eab4350a312048b750109ea5b1c4
2018-06-26 14:56:31 +02:00