Skip to content
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

Product sync from testing #6

Open
wants to merge 4 commits into
base: product
Choose a base branch
from
Open

Conversation

Farice4
Copy link

@Farice4 Farice4 commented Oct 9, 2017

No description provided.

zqfan and others added 4 commits October 9, 2017 15:06
After we port to oslo-incubator.apiclient, the project_id can no
longer be specified for alarm-{,threhsold,combination}-{create,update}
and sample-create, this is because client.AuthPlugin registers a CLI
argument named --os-project-id which will shadow the project-id
argument.

Since os-project-id is used for Keystone V3 API, we should not
remove it from AuthPlugin, so this patch moves the dest of project_id
to {alarm,sample}_project_id, and adds a decorator to restore shadowed
project_id field when we call v2 client.

Change-Id: I0ce2416dccd61eb50584799e6df0b8c45d44cdda
Closes-Bug: #1393489
(cherry picked from commit 0c23c62)

Bug-ES #9670
http://192.168.15.2/issues/9670

(cherry picked from commit c9ab7a9)
(cherry picked from commit b2092c5)
Currently, if we specify --timeout 30 in CLI commands. we will get
'a float is required' error. Since we already specify timeout is
ingeter in ceilometer.v2.client, this patch converts CLI argument
timeout to integer.

Note, if zero is passed to v2.client, we treat it as disable timeout.

Change-Id: I213b6c24964095297cb4e87c25bb871ebd668bb4
Closes-Bug: #1391606
(cherry picked from commit 878e32e)

Bug-ES #6423
http://192.168.15.2/issues/6423

(cherry picked from commit 01ff4c8)
(cherry picked from commit 51669a5)
Bug-ES #9809
http://192.168.15.2/issues/9809

Signed-off-by: Yuanbin.Chen <[email protected]>
(cherry picked from commit 7ac2499)
(cherry picked from commit 269f0ca)
Signed-off-by: Yuanbin.Chen <[email protected]>
(cherry picked from commit 7cb4b92)
(cherry picked from commit 530a2b2)
@Farice4 Farice4 changed the title Product Product sync from testing Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants