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
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
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
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
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
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
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