forked from gophercloud/gophercloud
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V1.11.0 ovh #24
Open
Rom123Soleil
wants to merge
564
commits into
master
Choose a base branch
from
v1.11.0-ovh
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
V1.11.0 ovh #24
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As per the [OpenStack object-storage docs](https://docs.openstack.org/api-ref/object-store/#create-container), container names must not contain a slash (`/`). With this patch, objectstorage functions error when called with a containerName containing a slash.
Even though this is a separate package, it's helpful to include some minimal documentation for same here rather than insisting folks root through the gophercloud/utils docs. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Expand docs on 'clientconfig' usage
Support propagate_uplink_status for Ports
Manila: add List for share-access-rules API
Fix invalid baremetal-introspection service type
networking v2: add extraroutes Add and Remove methods
Version 0.10 changes the default GIT_BASE to point to github repos rather than opendev.
The jobs are running in the Github infra and we should prefer github repos when possible.
It's not mirrored on github.
Swift V1: support object versioning
In order to help debugging, it can be useful to have the devstack's local.conf file around as well as an overview of devstack running services.
The devstack environment was not setup properly to enable acceptance tests developed for gophercloud#2571.
The new object versioning mode was introduced in Ussuri [1]. [1] https://docs.openstack.org/releasenotes/swift/ussuri.html#relnotes-2-24-0-stable-ussuri-new-features
…-tests Enable tests for object versioning
…#2550) Add Update operation
…#2576) Add delete operation
With this commit, all `IsEmpty() (bool, error)` functions now check the status code of the result. If it's `204`, they immediately confirm that the page is empty. This change was introduced in commit 64ed1bc in `objectstorage` to support Swift instances running behind a reverse proxy that was truncating `content-type` headers from `204 Empty` responses. With this change, the same check is applied to all services. While no functional impact is expected on non-proxied OpenStack modules, this patch will prevent issues on proxied clouds. In general, it also seems reasonable to expect `204 Empty` responses to be empty. --- This change is the result of running: ```shell find -name 'results.go' -exec sed -i 's|^\(func (\(.\+\) .\+) IsEmpty() (bool, error) {\)$|\1\nif \2.StatusCode==204 {\nreturn true,nil\n}\n|' {} \; go fmt ./... ```
[all] IsEmpty to check for HTTP status 204
[neutron v2]: Add support for network segments update
Also start using the commit hash of the release, rather than the tag.
[v1] build(deps): bump EmilienM/devstack-action from 0.11 to 0.14
Due to an error in implementing the addition of context.Context, the default reauth function caught the context passed when generating the ProviderClient, which could be long canceled when the reauthentication takes place.
[v1] Fix AllowReauth reauthentication
The volume attachments API operates on volumes, not attachments. Correct the variable name. Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Closes: gophercloud#2861
[v1] compute: Use volumeID, not attachmentID for volume attachments
Prepare v1.10.0
This reverts commit ac1ecd4.
…h* opts" This reverts commit 018a079.
This reverts commit af248d5.
This reverts commit 22c5682.
This reverts commit 2dbf414.
This reverts commit b8f25bc.
This reverts commit b0d7555.
This reverts commit ef06ea2.
When the Provider client contains a non-nil Context, the [`doRequest` method](https://github.com/gophercloud/gophercloud/blob/5b44c45ec947301d531178302c4cecc0a923ad96/provider_client.go#L401-L405) of the Provider client generated a new context by merging the Provider client's and the per-call context. However the new context is too short-lived to let the callers consume a response body. This version reverts the inclusion of Context in the v1 branch. This version replaces v1.9 and v1.10.
[v1] Remove context
Co-authored-by: Maxime Delord <maxime.delord@ovh.net>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add quota sets for manila