Commit Graph

558 Commits

Author SHA1 Message Date
Davanum Srinivas 205fb7c8b3 Switch to oslo.cache lib
Common memorycache was replaced by analogous tool
from oslo.cache lib. In-memory cache was replaced
by oslo.cache.dict backend. Memcached was replaced
by dogpile.cache.memcached backend.

Implements blueprint oslo-for-mitaka

Closes-Bug: #1483322
Co-Authored-By: Sergey Nikitin <snikitin@mirantis.com>
Co-Authored-By: Pavel Kholkin <pkholkin@mirantis.com>

Change-Id: I371f7a68e6a6c1c4cd101f61b9ad96c15187a80e
2016-02-02 08:20:13 -05:00
Jenkins 836180bcdb Merge "Migrate from keystoneclient to keystoneauth" 2016-02-01 14:59:02 +00:00
Monty Taylor f19ddc4c50 Migrate from keystoneclient to keystoneauth
keystoneauth was split out last cycle as a library specifically to deal
with doing auth functions so that people who do not need to do keystone
CRUD operations can just consume only the auth session parts. As part
of modernizing keystone interactions, use keystoneauth instead of
keystoneclient.

A change to tests was made to stop checking how often the keystone auth
session is called. This could be broken in the future depending on how
the keystoneauth1 loader works. It is incorrect to mock out and check
how often Session is called when nova has no direct control over this.
The number of times barbican client is called is correctly in the
control of Nova and will continue to be tested.

bp: keystoneclient-to-keystoneauth

Co-Authored-By: Morgan Fainberg <morgan.fainberg@gmail.com>
Depends-On: I1f754a9a949ef92f4e427a91bbd1b1e73e86c8c4
Change-Id: I09a5da761bdc02c83b087f3cec40b7fa022a7a63
2016-01-28 10:55:29 -06:00
OpenStack Proposal Bot 0e2202b9d4 Updated from global requirements
Change-Id: I7c2d92824392dc7cccc62951ec0660c6f705f044
2016-01-28 13:23:09 +00:00
OpenStack Proposal Bot eefb744f7e Updated from global requirements
Change-Id: I31d15eb7f1a5b67ee9c82946efefc0c226b01114
2016-01-25 00:14:26 +00:00
OpenStack Proposal Bot 29c1deb681 Updated from global requirements
Change-Id: I591916e882b56eec790f169cf59a6ba771e24f39
2016-01-22 04:07:37 +00:00
OpenStack Proposal Bot 386a7f05b2 Updated from global requirements
Change-Id: I08c6bd226a2e9e38d81fa3d251e939a976a3e090
2016-01-07 14:03:22 +00:00
OpenStack Proposal Bot c6a87e463c Updated from global requirements
Change-Id: I6b8050b5d8cf6f9eac6ec11652714f89837b22e9
2016-01-04 04:17:55 +00:00
Jenkins e95e8c55d5 Merge "Updated from global requirements" 2015-12-18 02:42:00 +00:00
Jenkins 8d693f0e6c Merge "Add signature_utils module" 2015-12-17 21:58:57 +00:00
OpenStack Proposal Bot 1103826aed Updated from global requirements
Change-Id: I26b12cdf913ad761fb1a27467289a0ef7a5c5016
2015-12-15 21:28:00 +00:00
Matt Riedemann ba82e4a875 Block requests 2.9.0
Breaks the wsgi IPv6 unit tests.

Depends-On: Ifb080c72a16ed4b93040fb7c06bdc072b7247f6e

Change-Id: I158bd1cba9bc85521ac0e236f66e7780a59e9ac2
Closes-Bug: #1526413
2015-12-15 08:38:17 -08:00
Dane Fichter 60a2383b68 Add signature_utils module
This change adds the signature_utils module, which
is needed to support Nova's verification of signed
Glance images.

Change-Id: I904a7489c8759951daa6c9ffb1cf444822132258
Implements: blueprint nova-support-image-signing
2015-12-14 12:27:53 -05:00
OpenStack Proposal Bot 17be5e6247 Updated from global requirements
Change-Id: I7e4b5b494dad01dac6345969204a141242c102af
2015-12-14 06:52:19 +00:00
OpenStack Proposal Bot b086a78007 Updated from global requirements
Change-Id: I756cc85316e269caed4eaa8a24ccd13361b60bfe
2015-12-10 12:45:13 +00:00
Jenkins c087e5fcd0 Merge "Updated from global requirements" 2015-12-03 02:40:56 +00:00
Jenkins c1b7de4081 Merge "Hyper-V: adds os-win library" 2015-12-03 02:40:04 +00:00
OpenStack Proposal Bot 7b4fcc8497 Updated from global requirements
Change-Id: I09c2cf975debd252ef578f94b55d4736d723f8be
2015-12-02 20:30:28 +00:00
Claudiu Belu dc2edc2882 Hyper-V: adds os-win library
Adds os-win to requirements.txt.
Replaces the current usage of *Utils classes in the
Hyper-V Driver with the equivalent *Utils classes
from os-win.

Adds decorators to the HyperVDriver methods that prevent
os-win specific exceptions to leak outside the driver.

Depends-On: Id5cd1dce195b38611f4f8c74857087620048b13f

Co-Authored-By: Lucian Petrut <lpetrut@cloudbasesolutions.com>

Partially Implements: blueprint add-os-win-library

Change-Id: I04509843210dcedf98a0cd9e08fa07865c8a76de
2015-12-02 16:34:24 +02:00
Jenkins 76cc283dde Merge "use graduated oslo.policy" 2015-12-02 05:53:02 +00:00
OpenStack Proposal Bot b7dee16e76 Updated from global requirements
Change-Id: I9722e3f01b7f7500b12e022bb56cb0bd0a91f6f0
2015-11-27 22:40:45 +00:00
Jeffrey Zhang a4b2ade479 use graduated oslo.policy
- Add oslo.policy to requirements.txt
- Remove in-tree copy of oslo.policy

Change-Id: Ia6fef939cfe0df33476ccee365934a5d2878f90d
Partial-Bug: #1458945
2015-11-26 13:04:52 +08:00
OpenStack Proposal Bot 1734ce7101 Updated from global requirements
Change-Id: I335204a2455d47540e4ac0734251422e08e81db2
2015-11-19 22:56:58 +00:00
OpenStack Proposal Bot 6c0ea9ed3d Updated from global requirements
Change-Id: I0d6a6e2242bfd585c0b8093ad6c46f021694955c
2015-11-18 23:06:23 +00:00
OpenStack Proposal Bot cb24a2aefc Updated from global requirements
Change-Id: Ib5f4f7fa2e4292a20cafbec38930cb533d2ca453
2015-11-18 00:21:54 +00:00
OpenStack Proposal Bot 3ac21cbe4b Updated from global requirements
Change-Id: Ie1da4c73c492c4cbb4db7d53bce4743691153f74
2015-11-11 19:07:16 +00:00
Matt Riedemann acb97e6388 Block oslo.messaging 2.8.0
There is a locking regression in the 2.8.0 release that is
causing nova unit/functional tests to time out.

Depends-On: #I37eeb57e99db5f77a11eed471ac6c55c4547e821

Change-Id: I3ec6a6429bb1032e47fb0317ce9ca4b769666370
Closes-Bug: #1514876
2015-11-10 07:33:33 -08:00
OpenStack Proposal Bot 71d2ed1795 Updated from global requirements
Change-Id: I5ca44ecbc9453a90f8dbca1bf32169b73c935bf1
2015-10-23 18:48:16 +00:00
OpenStack Proposal Bot 2f2dc90219 Updated from global requirements
Change-Id: I4e0de18417b0c45161f384cceb0bb56c1d7a0536
2015-10-20 00:52:51 +00:00
OpenStack Proposal Bot 64e066d111 Updated from global requirements
Change-Id: I5abfb40a9b0e4cd3c26be205eabde3b61e057e45
2015-10-16 14:21:40 +00:00
OpenStack Proposal Bot 549a3d637a Updated from global requirements
Change-Id: I9751ee303fa3de83bf15dea3c62657fb54dcb6c4
2015-10-14 09:32:07 +00:00
OpenStack Proposal Bot bcb5cfb49a Updated from global requirements
Change-Id: If861ffd0e96babed284ca6d1ea9707bbe185364b
2015-10-13 00:57:31 +00:00
OpenStack Proposal Bot 2ad82d4ac8 Updated from global requirements
Change-Id: If2234ba7c1a1fb7ef50eed1b5feabd6ce3646d6b
2015-10-09 05:03:16 +00:00
OpenStack Proposal Bot fc8d101606 Updated from global requirements
Change-Id: I7366d189441f9e06a04a160ec1b1f6872c73721d
2015-10-07 01:44:49 +00:00
OpenStack Proposal Bot 1dcb339334 Updated from global requirements
Change-Id: I00bea6e97e95b8aa7d3881f7c21ac6dcccc78a27
2015-09-17 16:41:48 +00:00
OpenStack Proposal Bot 98d450f59c Updated from global requirements
Change-Id: I4410aad36549aa5433572e0af61d3f338038a13b
2015-09-10 00:07:48 +00:00
OpenStack Proposal Bot c44f8ca5ab Updated from global requirements
Change-Id: Iedae83b1c4d6e53fc1f80fe30ed47766f83e64d5
2015-09-08 16:30:02 +00:00
Matt Riedemann cc9c96d132 Update from global requirements
Because the patch from the sync bot keeps auto-rebasing
and we need to get this in sooner than later.

This is really needed because we've landed code that requires
oslo.versionedobjects>=0.9.0 and are broken downstream without
that.

Change-Id: I4446b148472aa56be05346b80dc3c0add939a726
2015-09-03 07:12:34 -07:00
OpenStack Proposal Bot 241e009f07 Updated from global requirements
Change-Id: I41c3f48cd05c2fd3aeef7211d82c51ee6a7e4da1
2015-08-25 13:23:05 +00:00
OpenStack Proposal Bot 4791bc0876 Updated from global requirements
Change-Id: I4ccf3d37af19095d26a9d25953194dd5228c4d16
2015-08-24 09:51:57 +00:00
OpenStack Proposal Bot f70011366b Updated from global requirements
Change-Id: I28b7ab2e49ef4063a33c6122ea8355a16c3105a5
2015-08-22 18:20:23 +00:00
OpenStack Proposal Bot 5cec767593 Updated from global requirements
Change-Id: I54433814635fce99904b6dfffd5a52a23177834c
2015-08-18 01:29:30 +00:00
OpenStack Proposal Bot e7337a67c5 Updated from global requirements
Change-Id: I4b1d1e59e0c983ce3220021b263a5793de06621f
2015-08-14 09:18:58 +00:00
OpenStack Proposal Bot 7bfbf4d2f9 Updated from global requirements
Change-Id: I1f7a1a60e3bb3ca9f1cb8481303f57ec710b902b
2015-08-13 20:20:25 +00:00
OpenStack Proposal Bot b656e18145 Updated from global requirements
Change-Id: I4e8b7c27cb90d80e8cc80bd34a1157e0788e1754
2015-08-13 09:27:57 +00:00
OpenStack Proposal Bot 241c6c8ea1 Updated from global requirements
Change-Id: I30cf08d67d8df08b01ba3d6dbc86b8440a1c869a
2015-08-10 01:09:05 +00:00
OpenStack Proposal Bot d593d6950b Updated from global requirements
Change-Id: I71fe6e2d34ddb006da15f30c684262ff7047f9b8
2015-08-04 18:17:53 +00:00
Jenkins 6039044592 Merge "Replace openssl calls with cryptography lib" 2015-07-28 20:06:27 +00:00
Jenkins a43a1a3703 Merge "Switch to using os-brick" 2015-07-28 15:14:19 +00:00
Eric Brown 452fe92787 Replace openssl calls with cryptography lib
This patch is a code reduction cleanup fix. Exec calls to openssl
can mostly be replaced with a proper python library called
cryptography.

Changed the following:
* Removed convert_from_sshrsa_to_pkcs8 and _to_sequence since
  cryptography already has a method to do this conversion.
* Replaced openssl rsautl call in ssh_encrypt_text and decrypt_text
  with cryptography's public key encrypt and decrypt methods.
* Replaced call to openssl x509 with cryptography's
  load_pem_x509_certificate which also includes a way to retrieve
  the fingerprint.
* generate_fingerprint's calls to paramiko were replaced with
  cryptography's serialization module. Cryptography supports all
  key sizes of elliptic curve keys whereas paramiko did not.
* Removed the requirement on pyasn1

Change-Id: I750b49e6a73cd18af8199c1c859c9f6047252387
2015-07-27 14:41:44 -07:00