Skip to content

Synchronise victoria with upstream#11

Merged
markgoddard merged 3 commits intostackhpc/victoriafrom
upstream/victoria-2022-06-20
Jun 21, 2022
Merged

Synchronise victoria with upstream#11
markgoddard merged 3 commits intostackhpc/victoriafrom
upstream/victoria-2022-06-20

Conversation

@github-actions
Copy link
Copy Markdown

This PR contains a snapshot of victoria from upstream.

rafaelweingartner and others added 2 commits December 13, 2021 17:36
The quote API method has been broken for a while now. This patch fixes
the API and makes it work again. To use it, one can issue the following
command.

    curl -s -X POST "http://cloudkitty_server_and_port/v1/rating/quote" -H "Accept: application/json" -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: ${ACCESS_TOKEN_KEYSTONE}" -d '{"resources": [{"service": "<cloudkitty_service_name>", "volume": "<quantity_to_quote>", "desc": {"metadata": {"<field_name_used_to_define_price>": "<value_to_activate_a_price>"}}}]}'

Change-Id: Ia6ef6543a5100445b203196d39b404bc74b75ba0
Story: 2009022
Task: 42744
(cherry picked from commit 21a8730)
oslo.policy expects the key project_id, not tenant_id anymore. This was
causing the GET /v2/dataframes policy check to fail:

    $ openstack --rating-api-version 2 rating dataframes get
    {"message": "You are not authorized to perform this action"} (HTTP 403)

In the v1 API, the storage:list_data_frames operation was not affected
because it uses project_id.

Change-Id: Ie4aa6a21e3829223aab0f91d809e311e0f0318cb
Story: 2009879
Task: 44618
(cherry picked from commit 32bf128)
@github-actions github-actions Bot added automated Automated action performed by GitHub Actions synchronisation labels Jun 20, 2022
@markgoddard markgoddard reopened this Jun 21, 2022
@markgoddard markgoddard requested a review from priteau June 21, 2022 08:19
@markgoddard markgoddard merged commit a6e3493 into stackhpc/victoria Jun 21, 2022
@markgoddard markgoddard deleted the upstream/victoria-2022-06-20 branch June 21, 2022 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automated action performed by GitHub Actions synchronisation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants