Commit Graph

136 Commits

Author SHA1 Message Date
Takashi Kajinami e059ab8a89 Bump hacking
hacking 4.0.x is very old (it was released 3 years ago).

Change-Id: Ia82da2421db271a97603930c6eef50e93cea77c5
2024-01-17 01:29:39 +09:00
Stephen Finucane c408db2dd9 Update pre-commit hook, hacking versions
This was done with 'pre-commit autoupdate'. An invalid message is
removed from the requirements.txt files as it no longer applies with
pip's new dependency resolver.

Change-Id: I01c3ece51f81d67c740e6faca6b77df7c9932435
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-04-08 17:49:08 +09:00
Ghanshyam Mann 5b2e14e109 Bump hacking min version to 3.0.1
hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new
version with new checks.

bumping the min version for hacking so that any older hacking versions
which auto adopt the new checks are not used.

Change-Id: I43ddb7bac8b7734f6e4fa4632d4524d454931709
2020-05-12 09:50:19 -05:00
Takashi Natsume 7ef2c28bf3 Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I4d45ae17f6f84f945f5dd049a929216ce6b6b58e
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2020-04-26 10:12:09 +00:00
Andreas Jaeger 0722e80886 Update to hacking 3.0
Hacking 3.0 was just released with minor changes, update to the new
version.

Change-Id: Id3c08f718899343b3ec12a8b53e1e08a5eba42f8
2020-03-31 12:20:38 +02:00
Stephen Finucane 8f50f84981 Bump to hacking 2.x
This is compatible with Python 3-only syntax.

Change-Id: I462f4242b9a5f8d8cd6b0cb3d328dfd9d93ba200
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-02-21 09:48:38 +00:00
翟小君 edbe4192bf Blacklist python-cinderclient 4.0.0
This release of the Cinder client broke support for the v3
volume-transfer APIs unless microversion 3.55 or higher was requested.
Depends-On https://review.opendev.org/#/c/587877/

Change-Id: I917b0a47896fcac3edab4b8e55bde71a0aa55632
2019-06-04 10:51:36 +08:00
zhangbailin 8c3311eefe Cap sphinx for py2 and drop keyring dependency
Sphinx 2.0.0 dropped Python 2.7 support. This is aligned with
[1] in requirements project.
[1]Change-Id If558f184c959e4b63b56dec3ca1571d1034cfe5c

keyring is also removed since it hasn't been used since change
I62188e73a48f6878ce920a3b4724dba101564aef.

Change-Id: Ib632c327637ba1161a8c07605fd3ef327f5606ee
2019-05-15 09:13:54 -04:00
ZhijunWei 85e9b58e9b Update hacking version
1. update hacking version to latest
2. fix the pep8 failed

Change-Id: I484a40fe3cb868d223a807edcd3e20f5e0ebdf4e
2019-01-04 14:46:07 +08:00
liuyamin 2d023bcb0e Replace os-client-config to openstacksdk
Since now os-client-config has been superceded by openstacksdk[1].
So need to replace the os-client-config.

[1]:https://docs.openstack.org/os-client-config/latest/

Change-Id: Ia0e0671720de4713098e9d0faa1d7dc0c4ae6147
2018-08-14 03:05:18 +00:00
Vu Cong Tuan 32a3244bb4 Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I55060b1d99b9a00b20c98fbb429d072568265695
2018-07-16 15:43:48 +07:00
shilpa.devharakar ab1f6bd763 Modify novaclient to support basic attributes
Added support for parsing OS_PROJECT_DOMAIN_ID, OS_PROJECT_DOMAIN_NAME,
OS_USER_DOMAIN_ID, and OS_USER_DOMAIN_NAME options.

Change-Id: I9e1a3426f174c2e6d9f4f6bf10e9aecb62bad8d0
Closes-Bug: #1744118
2018-06-15 11:51:31 +05:30
OpenStack Proposal Bot 41dde2a2b2 Updated from global requirements
Change-Id: I2bbc33f1b8047c28ee257f588f5b33ba0e11dbbd
2018-03-23 01:50:05 +00:00
OpenStack Proposal Bot c15a85ab0f Updated from global requirements
Change-Id: I3329b703944b9f39df1f6b70878abc0c58c2fc12
2018-03-07 18:57:24 +00:00
Takashi NATSUME a4966ea192 Add os-testr in test-requirements.txt
The py27 and py35 jobs fail because the subunit-trace command
is not found. The command is utilized in tools/pretty_tox.sh.
But os-testr is not included in test-requirements.txt.
So add it to fix the gate job failures.

Change-Id: I5ea7269d75413ebcc1311e4d9e6e1d1f60092cc9
Closes-Bug: #1753898
2018-03-07 13:55:26 +09:00
OpenStack Proposal Bot 0537f3025f Updated from global requirements
Change-Id: Idab1627d1b4d6fecc02d482f931a9ae072b46f09
2018-02-14 12:29:58 +00:00
Guoqiang Ding d68f26ab95 Update new documentation PTI jobs
For compliance with the Project Testing Interface as described in [1].
For more detailed information, please refer to [2].

[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Iace251446bafbd8963bc5a073de50ade583f6e46
2017-12-28 23:59:44 +08:00
OpenStack Proposal Bot 19387b09df Updated from global requirements
Change-Id: If6afc12a2e76adcd3c7ceb085f4c2cb86fa91a7b
2017-12-23 10:11:36 +00:00
OpenStack Proposal Bot aca318c8e3 Updated from global requirements
Change-Id: Iefb2680c35d9d1eab550f914bb46f621162cf1c9
2017-11-16 11:25:20 +00:00
OpenStack Proposal Bot 2aeccd9527 Updated from global requirements
Change-Id: Ie231f3abecb182f46019ad611aefb77fb6fadce6
2017-11-15 12:02:15 +00:00
OpenStack Proposal Bot 98ef444974 Updated from global requirements
Change-Id: Ifbc3bdaf404aeb15642de33678f5b1c05b8e93d5
2017-09-13 13:02:47 +00:00
OpenStack Proposal Bot 4c483322fe Updated from global requirements
Change-Id: Ibc3f4fb199e47a29e721579096413c008724fee9
2017-09-02 12:12:46 +00:00
OpenStack Proposal Bot f27d3a3c60 Updated from global requirements
Change-Id: Iadb6ed4585639b21df50533f89d164b76bca2b11
2017-08-18 11:41:58 +00:00
OpenStack Proposal Bot 74ea37df5e Updated from global requirements
Change-Id: I73432970608b418e78990388258540e71e6143f1
2017-08-07 00:53:37 +00:00
OpenStack Proposal Bot 426a9798a5 Updated from global requirements
Change-Id: I449ac2094e2d03f2bf397dfea84b800ad8aa52dc
2017-07-28 04:25:45 +00:00
OpenStack Proposal Bot 79ae29aaee Updated from global requirements
Change-Id: Ic4fcb25e7577b671ba41ba6493a2f33450735c64
2017-07-27 20:33:04 +00:00
OpenStack Proposal Bot 19b3128034 Updated from global requirements
Change-Id: I431f85c07465a184af16a9956f40396c63b05985
2017-07-23 19:08:30 +00:00
OpenStack Proposal Bot 02145d765c Updated from global requirements
Change-Id: Ia28ac9c04a663a2ce36950dae9cb9b348af01bc4
2017-07-21 04:46:09 +00:00
OpenStack Proposal Bot 1945d1c3bc Updated from global requirements
Change-Id: Ia734b9f1dac610693a75df70ec1ffe0fe45dfcab
2017-07-19 22:30:30 +00:00
Jenkins 938e2e3bc9 Merge "doc: Switch from oslosphinx to openstackdocstheme" 2017-07-19 21:00:31 +00:00
OpenStack Proposal Bot 77f940c534 Updated from global requirements
Change-Id: I4d947576ce0e8bfe1fda9d662faac7d32c1f32f3
2017-07-13 14:24:25 +00:00
chenxing 945e155f05 doc: Switch from oslosphinx to openstackdocstheme
Change-Id: I4c242007dedf74821acae926329f4a59cedae6d5
2017-07-12 15:12:45 +01:00
OpenStack Proposal Bot 6ac6c5f8e0 Updated from global requirements
Change-Id: I2c603cc617628c6e2ef8f6b6cbec1087ffbe5165
2017-06-27 12:22:08 +00:00
OpenStack Proposal Bot 4b0c5e4a28 Updated from global requirements
Change-Id: I6b0a4cbb93ee0ec3a8d69990b2ae261c1786b50e
2017-06-07 11:59:58 +00:00
OpenStack Proposal Bot e55b578dd0 Updated from global requirements
Change-Id: I6dbafc7c7117c6bbd6f98c47b53c0cbbb406fd85
2017-05-30 13:43:19 +00:00
OpenStack Proposal Bot 0191fa2460 Updated from global requirements
Change-Id: Iada875aeb27820e93f08960ffd89d19df5f5b83d
2017-05-17 03:58:17 +00:00
OpenStack Proposal Bot 04ee0e1679 Updated from global requirements
Change-Id: Id9e673fecaa7a9b5165becf51b71bd81d26a2c18
2017-05-15 00:54:39 +00:00
OpenStack Proposal Bot 8cc95aa5d5 Updated from global requirements
Change-Id: I0b09a55c3d4d68e274a5d600420f3eca4f8676c4
2017-05-01 13:40:46 +00:00
Matt Riedemann 3a03a0e10d Remove deprecated network APIs
These were deprecated in Newton:

aaebeb05a0

The 'find network' convenience helper when
booting a server only works with neutron now,
and assumes the 'network' endpoint is in the
service catalog.

The functional tests are changed to use
python-neutronclient for listing and finding
the network to use. At this point, we don't
have any nova-network CI jobs that will work
with novaclient, so the non-voting mitaka
nova-network job is also being removed in change
I63b36fb8acc5c9a273e6adcb271df16d0f71031e.

As noted in the release note, the only remaining
pure nova-network CLI/API that will work is for
listing virtual interfaces, which is only implemented
for nova-network within Nova. The functional tests
for this API are removed since we don't have any
nova-network CI jobs that will test it besides
unit tests. Long-term we'll likely deprecate the
os-virtual-interfaces API as well and replace it with
the os-interface API.

Change-Id: I8c520100a0016eed3959619c71dae037ebd72939
2017-04-03 13:17:25 -04:00
OpenStack Proposal Bot 5e9e42e47c Updated from global requirements
Change-Id: I0f4997ce3e4eda167dbeced74525869cc280bb50
2017-03-24 16:36:14 +00:00
OpenStack Proposal Bot 45c501ff51 Updated from global requirements
Change-Id: I8f32fd359720c73d3a4ee8f87a6ce7764b921021
2017-03-06 01:18:45 +00:00
ricolin 7d79428b17 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: Idc1755ccd8d477ffd1ff0febf586238249f45c60
2017-03-02 20:28:42 +08:00
OpenStack Proposal Bot 814ae2986f Updated from global requirements
Change-Id: I77e91257dcfbe30f8c9d6937038d0dd718c1dfcd
2017-02-10 05:59:16 +00:00
Boris Pavlovic 0fed79fd8f Add profiling support to novaclient
To be able to create profiling traces for Nova, client should be
able to send special HTTP header that contains trace info.
This patch is also important to be able to make cross project
traces. (Typical case heat calls nova via python client, if
profiler is initialized in heat, nova client will add extra
header, that will be parsed by special osprofiler middleware in nova
api.)

Security considerations: trace information is signed by one of the
HMAC keys that are set in nova.conf. So only person who knows HMAC key
is able to send proper header.

oslo-spec: https://review.openstack.org/#/c/103825/
Based on: https://review.openstack.org/#/c/105089/

Co-Authored-By: Dina Belova <dbelova@mirantis.com>
Co-Authored-By: Roman Podoliaka <rpodolyaka@mirantis.com>
Co-Authored-By: Tovin Seven <vinhnt@vn.fujitsu.com>

Partially implements: blueprint osprofiler-support-in-nova

Depends-On: I82d2badc8c1fcec27c3fce7c3c20e0f3b76414f1
Change-Id: I56ce4b547230e475854994c9d2249ef90e5b656c
2017-01-19 03:50:06 +00:00
OpenStack Proposal Bot 29c880ceb6 Updated from global requirements
Change-Id: I68b5b9cb461037a301eb1b8c698363f67e6a51aa
2016-12-07 03:16:54 +00:00
OpenStack Proposal Bot c62981fd0a Updated from global requirements
Change-Id: Ifbcf7f937c33be7a3315bf7719681b0c43faf15c
2016-11-02 15:40:34 +00:00
OpenStack Proposal Bot 2ba65d00ca Updated from global requirements
Change-Id: I24e51d74ca70dfa86c949be8d4341cc2882061ac
2016-10-22 01:27:20 +00:00
OpenStack Proposal Bot a972977a46 Updated from global requirements
Change-Id: Ie9dea84731248b2d80cbb275548758c67edadacc
2016-10-19 17:45:55 +00:00
OpenStack Proposal Bot 0a16d41652 Updated from global requirements
Change-Id: I34f668657bd92584432a34797c2e119718070a21
2016-10-19 03:58:30 +00:00
OpenStack Proposal Bot 8e28309859 Updated from global requirements
Change-Id: I895c335fecaae34cda7cbb105a4a6907a0d7de47
2016-09-28 17:00:49 +00:00