Commit Graph

85 Commits

Author SHA1 Message Date
OpenDev Sysadmins 0418fcbad9 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:42:57 +00:00
Doug Hellmann e6c3d5b48b Update .gitreview for stable/newton
Change-Id: I6532f4374b09d5e58758045ceb976b3f65d89613
2016-09-02 09:41:25 -04:00
zhangguoqing b24e261143 Fix the logic of do_hashmap_mapping_list
Only give the group_id should be allowed to do_hashmap_mapping_list,
and add the corresponding test case.

Depends-On: I4fe27a07e369728396d440b6b2f3462ee74d5f4d
Change-Id: Ia4272fff33b70db0dc24f7bf0a6d5971504cee7a
2016-09-01 16:01:11 +00:00
zhangguoqing 9acc36b4ca Add short arg for collector command
Change-Id: I92a9e03c6c8c517a78d03670ca19c3da54a4e3f2
2016-09-01 21:03:30 +08:00
Maxime Cottret a6093c5a36 Fix CLI threshold command
- Threshold commands now use 'type' API field instead of 'map_type'
- change CLI option from "-m, --map-type" to "-t, --type" (same as mapping commands option)
- change short option for threshold-id to "-i"

Change-Id: I8c0f6b135bdc206ce1fc3ea14debd8d2cafc9ea7
Closes-Bug: #1619150
2016-09-01 11:15:56 +02:00
Jenkins 9554c9e440 Merge "Replaces client_kwargs by empty dict in ckclient/shell.py" 2016-08-29 10:20:59 +00:00
Luka Peschke 8318891835 Replaces client_kwargs by empty dict in ckclient/shell.py
ckclient.get_client() doesn't need the command-line args.

The client_kwargs.update() altered the args, and caused the project_id
field to be overwritten, leading to an invalid http request in
some cases.

Closes-Bug: #1616805
Change-Id: I09fe3bc3c71a399bdcfaaa178543a2516494399b
2016-08-25 15:54:57 +02:00
Maxime Cottret b2a42f71fe Fix CLI auth user interface
This patch fixes how auth options are checked in CLI.

Use either:
- tenant-id or tenant-name
- project-id and user-domain (id or name)
- project-name and project-domain (id or name) and user-domain (id or name)

For consistency, the same checking is used in the client authentication plugin.

Change-Id: I2210d8bf21bba5d1faf72dfbe38756078d8bc0c1
Closes-Bug: #1616468
2016-08-25 10:11:09 +02:00
Jenkins 1d8378cc6c Merge "Removes MANIFEST.in as it is not needed explicitely by PBR" 2016-08-08 12:48:45 +00:00
Jenkins 44a2bb0b26 Merge "Support getting client with keystone session" 2016-08-08 12:48:40 +00:00
Jenkins 0417e30f76 Merge "Remove discover from test-requirements" 2016-08-08 12:43:23 +00:00
zhangguoqing a4dd6e1a61 [trivial] fix wrong typo
group_id --> tenant_id

Change-Id: Iaf3d3b4f83ae7007d3bda1f9adade881a298c7ec
2016-08-06 05:15:01 +00:00
Jenkins d503c98cbe Merge "Fix client V3 unscope bug" 2016-08-02 13:16:16 +00:00
Swapnil Kulkarni (coolsvap) 0efe6a0606 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: Ic92b43c09a0f8e4892b4fdd2b91c00e839e7adec
2016-07-22 03:52:26 +00:00
Jenkins 69399b5e5d Merge "Add client support for per tenant hashmap rules" 2016-06-30 16:01:19 +00:00
Jenkins df5087a344 Merge "[Trivial] Remove executable privilege of doc/source/conf.py" 2016-06-23 15:34:04 +00:00
Stéphane Albert 70771bf2d7 Add client support for per tenant hashmap rules
Change-Id: Id85a0de7115439131cef4d1a98f884c2334fc474
2016-06-15 04:47:12 +00:00
Gauvain Pocentek 367608ceeb Remove spec file since cloudkittyclient is in RDO
Change-Id: I7cfa01daf2a6aa64bbf9afb89e817ff9d3942c71
2016-06-15 06:46:13 +02:00
Gauvain Pocentek 92981a7bb4 Add an explicit dependency on prettytable
Update the requirements for neutron

Change-Id: I0237bc725c6ab1948b40218a01434440dd173e8c
2016-06-14 16:24:59 +02:00
ZhiQiang Fan 5faa8b0de6 [Trivial] Remove executable privilege of doc/source/conf.py
It is a configuration file, rather than a script.

Change-Id: I133c05be7de743d2a89a69ef100ebe5d43422cd9
2016-04-29 20:19:29 +08:00
Stéphane Albert 55f3a3fa75 Updated requirements for mitaka
Preparing mitaka release

Change-Id: Ida7ddf7fcf70f5b9dba91b9c37b4d30581531f32
2016-03-04 15:14:46 +01:00
Jenkins 336f1466e0 Merge "cloudkittyclient with keystone v3 not working" 2016-03-04 14:08:52 +00:00
Jenkins 5b6fd6c529 Merge "Add support for query cost by service" 2016-03-04 11:04:01 +00:00
Jenkins 778782c3c9 Merge "Fix argument order for assertEqual to (expected, observed)" 2016-03-04 10:20:04 +00:00
Jenkins 985e3c2304 Merge "Update requirements" 2016-03-04 10:11:43 +00:00
Pierre-Alexandre Bardina 0cad4b0e99 Update requirements
Update requirements for liberty

Change-Id: I01489c2bc79428174a1005cf45a0803f6dcedfd6
2016-03-04 11:02:42 +01:00
reedip 1703d5538b Fix argument order for assertEqual to (expected, observed)
assertEqual expects that the arguments provided to it should be (expected, observed).
If a particluar order is kept as a convention, then it helps to provide a cleaner
message to the developer if Unit Tests fail.
The following patch fixes this issue

TrivialFix

Change-Id: Id417fb43ecd62563239d492bff3981277565525e
Closes-Bug: #1259292
2016-03-03 22:02:06 +00:00
Aaron-DH c6e23ab770 Add support for query cost by service
Query cost of each service by using total-get -s servicetype

Change-Id: I7f579c70fe78cbd4031aa6ec20279d7661a2d67c
Closes-Bug: #1549687
2016-02-25 17:24:24 +08:00
Xiangjun Li 450aa61358 cloudkittyclient with keystone v3 not working
cloudkittyclient is failing to pass some domain/project related
information to keystoneclient, which caused "The service catalog
is empty" and "Expecting to find domain in project" error when
executing cloudkittyclient shell.

Change-Id: I386f4ecb38b947a1d8a0c8f1eee72e25ee12771a
Closes-Bug: #1547778
2016-02-20 15:10:44 +08:00
Chaozhe.Chen 066c9564fb Fix client V3 unscope bug
Client V3 will get unscope auth as no project provided. Unscope auth
will make client get empty catalog back from keystone.

This backport from ceilometer-client patch[1] and I verified it in my
devstack.

[1]https://review.openstack.org/#/c/169409/

Change-Id: I1fa5a5b1e9a40501dfbd563bf608d41eb4879bf8
Closes-Bug: #1522728
2016-02-16 17:02:11 +08:00
Jenkins 6abecf6348 Merge "Add helpinfo for collector commands." 2016-01-11 11:04:16 +00:00
Jenkins a63b75c555 Merge "Drop py33 support" 2016-01-11 10:58:51 +00:00
Adam f8c4caba43 Add helpinfo for collector commands.
Add some helpinfo for subcommand collector*, report*.

Change-Id: Ica1ad18fcaa4368a5d5a953839ab4499db034def
2016-01-10 14:33:21 +08:00
Jenkins c6f2cb4643 Merge "Fix name not defined error" 2016-01-04 09:31:39 +00:00
Aaron-DH 5c188a2306 Fix name not defined error
Add the missing import packages and format the log messages
Move i18n to package(cloudkittyclient)

Change-Id: I77e7059e8eb91aef131713f0720f58d23ae7c11f
Closes-Bug: #1524680
2016-01-02 20:55:12 +08:00
Jenkins 9dd1a6fbea Merge "Set AuthPlugin in __init__()" 2015-12-31 12:14:02 +00:00
sonu.kumar 4dc3e65e44 Removes MANIFEST.in as it is not needed explicitely by PBR
This patch removes `MANIFEST.in` file as pbr generates a sensible
manifest from git files and some standard files and it removes
the need for an explicit `MANIFEST.in` file.

Change-Id: Iddbd1a4b574223d840707351c5e8f025d56f2046
2015-12-17 14:45:11 +05:30
shu-mutou 8b69ecf237 Drop py33 support
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL.
https://wiki.openstack.org/wiki/Python3

And already the infra team and the oslo team are dropping py33
support from their projects.

Since we rely on oslo for a lot of our work, and depend on infra
for our CI, we should drop py33 support too.

Change-Id: I3aa4c969425d885873be222c0ea4e32cb1060341
Closes-Bug: #1526170
2015-12-15 18:52:50 +09:00
Jenkins ea21f9761b Merge "Fixed bug with report total" 2015-12-10 07:50:17 +00:00
Chaozhe.Chen df4e8360e2 Support getting client with keystone session
This change will allow cloudkitty client to use keystoneclient/
keystoneauth session object.

Change-Id: Icc4bf5da12fb24d189fc38daf1b5cfb4a43228aa
2015-12-10 01:30:50 +08:00
Chaozhe.Chen 236bf8b307 Set AuthPlugin in __init__()
self.auth_plugin should be set in __init__()

Change-Id: Ib23fd14a697e4a03acd8c62cf1b09670d169a115
2015-12-03 14:47:39 +08:00
Atsushi SAKAI 6dbfc4502e Fix help message
Fix Required to small case(required)
Add period.

This fix is coming from below patch set 1 comment.
https://review.openstack.org/#/c/251331/

Change-Id: I614a8143ed6cba37dc726f3c85606daaf6a767be
2015-12-01 12:24:30 +09:00
Stéphane Albert def167f77a Fixed bug with report total
The tenant filter was always sent even if not tenant filtering was used
for total retrieving.

Change-Id: I55565a30389b94f559e16d349d6aa3ef56053ea2
Closes-Bug: #1516484
2015-11-25 15:04:41 +01:00
Jenkins 4fe0255682 Merge "Add common arguments" 2015-11-25 12:24:05 +00:00
Chaozhe.Chen e4623d6663 Fix a typo in command help
Change-Id: Ib0b00cae66907bffddbbd28f6d77ea952ec08508
2015-11-25 17:08:05 +08:00
chenchaozhe1988 382a2d9565 Add common arguments
Merge same arguments in common arguments to make it concise and convenient.

Change-Id: I75e246d36ed7d38858e9dfdedcc77dd19ea587d5
2015-11-18 16:03:05 +08:00
Gauvain Pocentek 9428ab38aa Do no set the version in setup.cfg
Change-Id: I670e61c94f6f58cd5b31caa220e94f6a30bfb66c
2015-10-30 11:33:41 +09:00
Jenkins 1e095e6da9 Merge "Improve HashMap client" 2015-10-22 12:08:17 +00:00
Jenkins 621c06f8af Merge "Add support for PyScripts rating module" 2015-10-22 04:29:02 +00:00
Stéphane Albert e4df2e2105 Improve HashMap client
Modified tests to handle new functions.
Refactored tests to ease maintenance.

Change-Id: I24d74e0e9983091d4f81a3f72604fbae22476505
2015-10-21 12:20:51 +02:00