Commit Graph

704 Commits

Author SHA1 Message Date
Ghanshyam Mann e42ce0b09f Cleanup the retired repo
This repo is not properly retired. Retired repos can only have two files:
- README.rst
- gitreview

To cleanup the retirement of this repo, keeping these two files only and
removing the other remaining files if there is any.
Detail: https://etherpad.opendev.org/p/tc-retirement-cleanup

Change-Id: I38bd85921aef1d36a32820404d540a74b3a115b3
2020-08-05 20:13:09 -05:00
Julien Danjou cc6639ad63 Retire ceilometerclient
Depends-On: Ic2947fd066a2df685d52539d0756cd981cc16113
Change-Id: I65738a55db82053643f7580eee20b63df52b957f
2017-11-22 10:09:10 +01:00
Zuul 3ff6bac3da Merge "import content from cli-reference in openstack-manuals" 2017-10-18 21:45:55 +00:00
Nam Nguyen Hoai 8672cf0c92 Use generic user for both zuul v2 and v3
Zuul v2 uses 'jenkins' as user, but Zuul v3 uses 'zuul'.
Using $USER solves it for both cases.

Change-Id: Ida42122c0ad2fa123c2e245acfa4be5f964180a2
2017-10-17 07:50:22 +00:00
Jenkins d3c2d139bc Merge "Correct docs usage of keystoneauth1 session" 2017-09-13 09:24:20 +00:00
Jenkins 2701db70a4 Merge "Update reno for stable/pike" 2017-09-13 02:57:03 +00:00
Gage Hugo 2ac6b6da68 Correct docs usage of keystoneauth1 session
keystoneclient.session has been long deprecated in favor of
keystoneauth1.session. This change corrects entries in the
documentation to use the correct library's session.

Change-Id: I6ae71befe62aee567e44308ec9afec2dd34efda1
2017-09-12 16:22:28 -05:00
Jenkins dee72c601d Merge "Docs: switch to openstackdocstheme" 2017-08-04 15:37:45 +00:00
OpenStack Release Bot a11c189219 Update reno for stable/pike
Change-Id: I78a0056f8ffe0a49f76c462b7ae7f0fc21cef0ad
2017-07-28 21:06:24 +00:00
Hangdong Zhang a5f1795869 Update and optimize documentation links
1. Update URLs according to document migration
2. Update the dead and outdated links
3. Optimize (e.g. http -> https)

Change-Id: Ic847deff2b8344a35a31b76edc63296b01bde64c
2017-07-18 17:44:29 +08:00
Martin Kulhavy 3d4ec1b5fe Fix invalid url for event_types
Additionally fix the object name in the string representation.

Closes-Bug: 1704138
Change-Id: I2bb0963600cfc93d782f10480d5245d92c1c0f1d
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
2017-07-13 18:36:25 +03:00
Hanxi Liu 2bc27e6edf Docs: switch to openstackdocstheme
Project documents are being reprocessed due to document migration[1].
Update the docs theme to openstackdocstheme instead of oslosphinx.

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

Change-Id: Ic24ad9d7759ab9169bcc68db8c6d79e4bc69a76b
2017-07-12 23:39:32 +08:00
chenxing e6835249b4 import content from cli-reference in openstack-manuals
Change-Id: I27226913d8120136f312c0cd6391d01fea6a3a73
2017-07-11 00:17:30 +08:00
Jenkins 3b4e35abad Merge "Deprecate ceilometerclient" 2017-06-09 17:39:30 +00:00
Julien Danjou bb017e5f8f Deprecate ceilometerclient
Change-Id: I9259b2e44ac1ba815a6eec5019f0460065996eac
2017-05-29 13:24:53 +02:00
Jenkins 54e8544bc2 Merge "Remove log translations" 2017-05-23 19:07:39 +00:00
Jenkins cb34c240b8 Merge "[bugfix]with keystone v3 Could not find domain: default." 2017-05-10 14:48:19 +00:00
zhangjianfeng 499be2f758 [bugfix]with keystone v3 Could not find domain: default.
when we use adminrc with keystone v3  not set OS_PROJECT_DOMAIN_ID
OS_USER_DOAMIN_ID,default ceilometerclient code will set it to
string default.this will lead error.

value is often like fdc79c4b63e8492d98271412320e8672
so when change this code to set it as None.
last we delete the user_domain_id and project_domain_id
because it is not useful.

closes-bug: 1679934

Change-Id: I95c994406ed7a0b15ba6446e80f01e4f6787ec20
2017-05-09 14:02:49 +00:00
ForestLee 3c62ce27f6 delete bash_completion in subcommand
There are two "completion" in the subcommand table: bash-completion
and bash_completion. but "bash_completion" is not in help information
and it is repeated with "bash-completion", so delete it.

Change-Id: I5f3bc918a1ce5b6283cc865db4383f128b138d5e
Closes-Bug: #1670123
2017-05-01 11:07:48 +08:00
luqitao 1f5e51f732 Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I0dcc1b8e9f0dd51b6892126a2ef010e6f3a2d940
2017-03-21 02:28:06 -04:00
Rui Chen 6fcc675245 Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I0cfc7ac5bddad922349a38cd0b2bfea0595a97a8
2017-02-09 10:54:49 +08:00
Gábor Antal 2d0529347d Handle log message interpolation by the logger
According to OpenStack Guideline[1], logged string message should be
interpolated by the logger.

[1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages

Change-Id: Ia2bcd4387c406a3f7ffdb3cfe0badeccca22f278
Closes-Bug: #1661262
2017-02-07 14:46:58 +01:00
Jeremy Liu 4bd78939bc Adjust parameters order of tenant_xxx and project_xxx
We prefer project_xxx to tenant_xxx when authenticating.

Change-Id: I438854e6c9a9ea397ae4e7f21919a82c872f9693
2017-02-04 20:49:45 +08:00
Jenkins fb17f98318 Merge "shell: do not force domain to be present" 2017-01-26 18:02:58 +00:00
OpenStack Release Bot f59e283fbc Update reno for stable/ocata
Change-Id: If1bed5c3691b772f72e4d7501b51bd8118aa6952
2017-01-25 19:28:09 +00:00
Julien Danjou 536ebe2054 shell: do not force domain to be present
If OS_PROJECT_NAME and Keystone v2 is used there's no need to set a domain.

Change-Id: I9555b571224262b61255f70a30f540a32b8ae2fc
2017-01-25 19:08:36 +01:00
Jenkins 658d7e27ff Merge "cleanup aodh redirect" 2017-01-23 11:02:15 +00:00
Jenkins e60757c258 Merge "panko redirect" 2017-01-23 10:56:46 +00:00
Jenkins 909032dac3 Merge "cleanup aodh mocks" 2017-01-23 10:56:40 +00:00
Jenkins 089cb912a2 Merge "Adding default project and domain if nothing is specified" 2017-01-18 22:53:18 +00:00
Jeremy Liu fd218e9229 Enable coverage report in console output
Change-Id: I70cf768459360166bd0a76a74eff57bc0b7acda9
2017-01-13 10:53:22 +08:00
gord chung c93e68428d cleanup aodh redirect
Change-Id: I80684f79da471e22dbc1dacdeafa43c6cfa334a8
2017-01-11 23:14:10 +00:00
gord chung 72ea5ef824 panko redirect
same as aodh but with panko_endpoint

Change-Id: Iae7d60e1cf139b79e74caf81ed7bdbd0bf2bc473
2017-01-11 23:11:36 +00:00
gord chung 45f4f9584b cleanup aodh mocks
don't pass in arg we don't use

Change-Id: I14b9cd3178f929aa878f5caff97a6ba4318a42a0
2017-01-11 23:01:47 +00:00
Tony Breeds 0457179dc2 [doc] Note lack of constraints is a choice
Change-Id: I29f08edff6459e1acb7e33634e3d8426f09c8c41
2016-12-21 09:48:04 +11:00
Prateek Khushalani 7256c4b5bf Adding default project and domain if nothing is specified
Closes-Bug: 1543502

Change-Id: Iea57a6ed757bfa28eb09324378b5376667b0c120
2016-12-15 10:35:50 +00:00
Jenkins 158c97f75a Merge "Add __ne__ built-in function" 2016-12-08 16:31:24 +00:00
Jenkins bdd91689c8 Merge "Don't include openstack/common in flake8 exclude list" 2016-12-07 15:28:53 +00:00
gecong1973 033a251aaa Don't include openstack/common in flake8 exclude list
There is no this directory openstack/common which was used
to keep codes from oslo-incubator, we have retired oslo-incubator.
Removing openstack/commonfrom all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release. So
don't use this directory any more. We should drop it for improving
searching efficiency.

Change-Id: Ia154f7557575351173b9fe646e48bc5210ab698f
2016-11-25 12:32:53 +08:00
gecong1973 d65d3312e6 Add __ne__ built-in function
In Python 3 __ne__ by default delegates to __eq__ and inverts the
result, but in Python 2 they urge you to define __ne__ when you
define __eq__ for it to work properly [1].There are no implied
relationships among the comparison operators. The truth of x==y
does not imply that x!=y is false. Accordingly, when defining __eq__(),
one should also define __ne__() so that the operators will behave as
expected.
[1]https://docs.python.org/2/reference/datamodel.html#object.__ne_

Change-Id: I4ba5b370e34cd64b13d87ef3ce2869d224dd0969
2016-11-23 15:10:56 +08:00
Julien Danjou bd358b040d Bump hacking to 0.12
Change-Id: I0ca6c005df445c22fb171e816b1de6da0f4126c9
2016-11-07 22:43:35 +01:00
Steve Martinelli c1141ed5be move old oslo-incubator code out of openstack/common
As part of the first community-wide goal, teams were asked
to remove the openstack/common package of their projects
if one existed. This was a byproduct of the old oslo-incubator
form of syncing common functionality.

The package, apiclient, was moved to a top level location
and a new i18n module was created. There is no oslo.apiclient
library or equivalent, the recommended solution is to move it
in tree and maintain it there.

Change-Id: Ia788313e0926dc872a87b090ef0a350898bfb079
2016-11-04 19:18:45 -05:00
Luong Anh Tuan dc7e779891 Make method import_versioned_module work
Update function import_versioned_module in Oslo.utils 3.17.
This patch update to meet new version. For more information:
http://docs.openstack.org/developer/oslo.utils/history.html

Change-Id: Ia031b53b27fcea66dbf4f2798d58b51c53c2d0cc
Closes-Bug: #1627313
2016-11-03 10:08:57 +00:00
Ekaterina Khripunova 5328c3168a Fixes SSLError during cclient.meters.list() by https
The problem causes the function _adjust_kwargs(kwargs) which creates
    a new dict client_kwargs with new-named keys. It gets 'os_insecure' key
    from kwargs and gives it key-name 'insecure'.
    But the bug is in using kwargs.get('insecure') <which is None> to
    produse value of 'verify'.

Change-Id: If77b2d3c75beddcd1a0a82353b56c84b29184ec7
Closes-Bug: 1634027
Related-Bug: 1394449
2016-10-17 15:16:53 +03:00
Jenkins 79d6e3c5ac Merge "Enable release notes translation" 2016-10-11 15:07:39 +00:00
Mehdi Abaakouk b8a78396b2 Set code and details on HTTPException
Even the HTTPException is unknown for ceilometer we should set the code
and print it with the details.

Closes-bug: #1626404
Change-Id: Ib244d8822f7a1ebc1b8ec1b95d13b20bbb69ece0
2016-10-07 14:19:23 +02:00
Andreas Jaeger b0f291dd2a Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: I7c2902f64988c8b39ae8f13fec86622dcc2fb955
2016-10-06 20:49:02 +02:00
Anh Tran 6ed98bd6d6 Using assertIsNone() instead of assertEqual(None)
Following OpenStack Style Guidelines[1]:
[H203] Unit test assertions tend to give better messages for more
specific assertions. As a result, assertIsNone(...) is preferred
over assertEqual(None, ...) and assertIs(..,None)

[1] http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises

Change-Id: Iae83c4360336cf07b6045615ff38933f52844499
2016-09-27 09:14:00 +07:00
Hanxi Liu 1c53f7d098 Replace assertEqual(None, ...) with assertIsNone(...)
From OpenStack Style Guidelines [1], [H203] Use assertIs(Not)None to
check for None.

[1] http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises

Change-Id: Ib60e025af418678884d9bea91e1c318b3aadf4c9
2016-09-20 00:59:53 +08:00
Jenkins c3ff4a9a43 Merge "Update reno for stable/newton" 2016-09-13 14:40:22 +00:00