Commit Graph

110 Commits

Author SHA1 Message Date
caihui e5f36293e5 Fix CI error
1. no_voting for lower-constraints CI
2.pep8 create: /home/zuul/src/opendev.org/openstack/freezer/.tox/pep8
pep8 installdeps: -c/home/zuul/src/opendev.org/openstack/requirements/upper-constraints.txt, -r/home/zuul/src/opendev.org/openstack/freezer/test-requirements.txt
ERROR: invocation failed (exit code 1), logfile: /home/zuul/src/opendev.org/openstack/freezer/.tox/pep8/log/pep8-1.log
================================== log start ===================================
Looking in indexes: https://mirror.bhs1.ovh.opendev.org/pypi/simple, https://mirror.bhs1.ovh.opendev.org/wheel/ubuntu-20.04-x86_64
Collecting astroid==2.1.0
  Downloading 8809bc008b36396c0cff6279841e8a/astroid-2.1.0-py3-none-any.whl (176 kB)
Collecting pylint==2.3.1
  Downloading b3f73f4ac00277237721ef1c151f0d/pylint-2.3.1-py3-none-any.whl (765 kB)
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of astroid to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r /home/zuul/src/opendev.org/openstack/freezer/test-requirements.txt (line 23) and astroid==2.1.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested astroid==2.1.0
    pylint 2.3.1 depends on astroid<3 and >=2.2.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
WARNING: You are using pip version 20.3.3; however, version 21.0 is available.
You should consider upgrading via the '/home/zuul/src/opendev.org/openstack/freezer/.tox/pep8/bin/python -m pip install --upgrade pip' command.
================================ log end ===============================

Change-Id: I898d03d716ebc6c6285c4589cd30f7875b0c51d2
2021-01-28 21:36:03 -08:00
wu.chunyang 68aea5698c Fix l-c testing for ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

- Bump the lower constraints for required deps which added python3.8 support
in their later version.

Story: #2007865
Task: #40206

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html

Change-Id: I1888e2c4e7bdcad425e8b49c8a03fa8b2f9fba7d
2020-09-18 22:18:09 +08:00
Caihui cad1afc828 Update oslo.config version
When import the old version, the unuseful infomation is printed.
Update to new version.

Change-Id: If151c7a3ed4e68af84933c4a6b4e162a1b78dc70
2020-07-17 23:01:36 -07:00
caihui 02e435f0ed Remove six usage from freezer package
We don't support Python 2 anymore so we don't need this
compatibility library.

This patch remove six usage.

Change-Id: I661e9cdaf33e89bdb905d1f34a001f3853c4c366
2020-01-22 03:52:35 -08:00
zhulingjie 63b5e271e4 Update json module to jsonutils
json is deprecated, should use oslo_serialization.jsonutils
instead.

Change-Id: Ib4b562c3f37a5c133f3a6ae8efa00a26c8b41846
2019-02-21 14:03:50 +08:00
Cai Hui 8c5013f17d Update python-freezerclinet version to 2.0.0
The new version is merged some new features. such as:
 Remove "--os-identity-api-version" argument
 Add backup create client support for freezer
 Add argument: "--os-backup-api-version"
 Add freezerclient.client module in order to use api directly
 ....

Change-Id: Ifa0e62be18dca4830e73ecc6705f832d99846b56
2018-11-07 07:09:24 +00:00
Matthew Thode 7c16877195
switch to cryptography
Fernet could not be used as it is not a streaming cipher.
CFB mode does not require padding, so removed padding code.

Depends-On: https://review.openstack.org/c/575199/
Change-Id: I14f58d9d473c20ce7863baa0b2adadbfda268b7a
2018-06-19 10:54:05 -05:00
OpenStack Proposal Bot 8a63a0016c Updated from global requirements
Change-Id: I06e10d0064f3a7c83a90ddb87e2d382e3e7e8c2d
2018-03-15 06:53:37 +00:00
OpenStack Proposal Bot 60f4e925a7 Updated from global requirements
Change-Id: Iee906866f8f056d68ad18cc277b41ca97a8ea5ee
2018-03-04 10:02:16 +00:00
OpenStack Proposal Bot 98cff5322a Updated from global requirements
Change-Id: I1d4ef21b9017d7944d75b66d07fcf1d6794ed51d
2018-02-17 09:26:22 +00:00
OpenStack Proposal Bot 8088ecada5 Updated from global requirements
Change-Id: Ib9aa984dda8cc755c668eee2e6f1941ef399b7c9
2018-02-14 12:02:40 +00:00
OpenStack Proposal Bot 7f719955a1 Updated from global requirements
Change-Id: I2adfaeaf2b272abcb94b67249064a4bdf9e0eda7
2018-01-17 20:31:47 +00:00
OpenStack Proposal Bot 5043100fec Updated from global requirements
Change-Id: Ibe4a6b509b2b36786d8da831f216edcf83b744f1
2018-01-12 02:57:46 +00:00
OpenStack Proposal Bot b268bea3d1 Updated from global requirements
Change-Id: I2d3b6687d724e66e0f5930924d1c9ce318f9d1f8
2017-12-22 02:51:28 +00:00
OpenStack Proposal Bot 9bba86a6ed Updated from global requirements
Change-Id: I434f11a56dab3fd5279883e25b0fafa8883c7d52
2017-12-19 01:15:13 +00:00
OpenStack Proposal Bot b84df3d5c0 Updated from global requirements
Change-Id: Iacce37040af89eb2ccd48f10ad9c4920e51330b5
2017-12-05 03:01:26 +00:00
OpenStack Proposal Bot 0027b747d7 Updated from global requirements
Change-Id: Ia8a7c7ab40cd555934d9a2e595d803da5c07c77e
2017-12-03 21:00:59 +00:00
OpenStack Proposal Bot 2d2d77dbd7 Updated from global requirements
Change-Id: I43494d3c636ba741459f77b60733b5b360848ecc
2017-12-03 02:02:41 +00:00
OpenStack Proposal Bot 05f25e67e7 Updated from global requirements
Change-Id: I85a191c0db6584c7b63f2642961fbcd9149f7034
2017-09-20 16:13:30 +00:00
OpenStack Proposal Bot e312a3ac04 Updated from global requirements
Change-Id: I0c056424110882d25be0bbb9ac40d483830f4298
2017-09-13 23:56:15 +00:00
OpenStack Proposal Bot 4df02e1db7 Updated from global requirements
Change-Id: I94c44a7fa86cc23614b14ecc04ef8e2674c9bc3f
2017-09-02 12:01:36 +00:00
Jenkins a048ccbac4 Merge "Increase the fullbackup-rotation for cinder backup" 2017-08-26 21:33:56 +00:00
OpenStack Proposal Bot 0a44ad9f39 Updated from global requirements
Change-Id: Ic43220a988505e0a7a31a4016f5665e00185ca1d
2017-08-24 11:37:19 +00:00
OpenStack Proposal Bot 4ccbc5b437 Updated from global requirements
Change-Id: I182c7e7e3202ca48a7f7823fb3565e631522cc17
2017-08-07 00:42:49 +00:00
yangyapeng 0157b2df50 Increase the fullbackup-rotation for cinder backup
Define fullbackup-rotation for cinder fullbackup,
and delete the fullbackup off limit.

Usage:
freezer-agent --action admin --mode cindernative \
--cindernative-vol-id 111 --fullbackup-rotation 2

Change-Id: Iaa529735d6c6bb5339ececc6fa49f6dc8e975d43
2017-08-04 07:48:53 +00:00
OpenStack Proposal Bot b0b4968404 Updated from global requirements
Change-Id: I8933d499d059acba287fbdf08e12597b26ae49da
2017-08-01 13:27:19 +00:00
OpenStack Proposal Bot b5e1af0286 Updated from global requirements
Change-Id: I9d8675a4c75b791cfe24115af41abfdadb5f4b2d
2017-07-28 04:13:49 +00:00
OpenStack Proposal Bot 918a5f8614 Updated from global requirements
Change-Id: I4a44570ea782443b335ed261121f4f935685380c
2017-07-23 18:57:30 +00:00
OpenStack Proposal Bot ed7d13dda6 Updated from global requirements
Change-Id: I6ec65a53b591b28b8a9b49188b87edf5d5a0b5ab
2017-07-20 15:58:15 +00:00
OpenStack Proposal Bot 90941e0235 Updated from global requirements
Change-Id: I55ab1f50ef49b8253cae8eb202475ea011bd3d4f
2017-07-13 19:29:27 +00:00
Jenkins f8060ae001 Merge "Increase s3 driver support" 2017-07-06 11:19:04 +00:00
OpenStack Proposal Bot b71edf78fb Updated from global requirements
Change-Id: I4459e89d4f210a57e8dbbbc009029201b4b1d237
2017-06-30 12:14:10 +00:00
Pengju Jiao c4d1afac07 Increase s3 driver support
When use s3 driver, you should specify storage type with
'--storage s3', specify the auth info like '--access-key xxx'
and '--secret-key xxx', and specify the S3 compatible storage
endpoint with '--endpoint  http://ip:port'.

Change-Id: If35468b3bd3a156ac5ade60c771ec8ff1a320139
Implements: blueprint s3-driver-support
2017-06-28 00:01:35 +08:00
OpenStack Proposal Bot 2eb19108d4 Updated from global requirements
Change-Id: I53f8129103cd0fb795fc9c83760c0cd7e20ec217
2017-06-15 16:22:33 +00:00
OpenStack Proposal Bot 1fd0a89c40 Updated from global requirements
Change-Id: If3214607ee9e482bd935b07e216b00ced5d6d4be
2017-06-10 11:36:43 +00:00
OpenStack Proposal Bot fb8357ef56 Updated from global requirements
Change-Id: Ie8ac09d34f6c80ce8c7fa5c4663f8282c3f20024
2017-06-08 16:16:50 +00:00
OpenStack Proposal Bot cf7a5a63af Updated from global requirements
Change-Id: Ia75553be67e1074562e94beded9b619a2b0a5b03
2017-06-07 17:22:12 +00:00
OpenStack Proposal Bot 7e3efd8b0d Updated from global requirements
Change-Id: Ib91e04ce54619e4ee51ba19ab9a842aed1a18c04
2017-05-26 17:18:33 +00:00
OpenStack Proposal Bot 75e3c6f519 Updated from global requirements
Change-Id: I8cba2421d2940d290f78b88909c5776e3092c2d9
2017-05-25 16:18:57 +00:00
Pengju Jiao 5cb2c7a226 Fix restore nova instance fail
Currently, restore nova feature is broken, it is because the
latest python-novaclient has removed the 'nova.network'. This
patch use python-neutronclient instead and will fix the issue.

Change-Id: Ifb2ab820a3cfc347d86a1b0b2fac79217752d227
Closes-Bug: #1693437
2017-05-25 16:16:58 +08:00
OpenStack Proposal Bot 293131ec8b Updated from global requirements
Change-Id: I4d7160e3c665de16fe2929322478be634675363e
2017-05-23 18:00:30 +00:00
OpenStack Proposal Bot 6e57751bfa Updated from global requirements
Change-Id: I657c440a73f5ac7e503307843c92ab4d6fcec84c
2017-05-03 12:12:28 +00:00
Saad Zaher e1f61a37ea Added python-keystoneclient as dependency
Change-Id: I569485e0439e764c7120df85e8a9f8d14fe810bd
Closes-Bug: #1687618
2017-05-02 12:55:35 +00:00
OpenStack Proposal Bot fef8fea9fb Updated from global requirements
Change-Id: I3236f7e695140167cfd9d4b4b2d637a98c9f54f7
2017-04-27 20:54:32 +00:00
OpenStack Proposal Bot 092d1eb0ff Updated from global requirements
Change-Id: I24f0a474f67fb24b4ea21267e55ff60e2ae51f00
2017-04-21 16:43:06 +00:00
OpenStack Proposal Bot bcfe5e2f55 Updated from global requirements
Change-Id: I9d5703e4824115f809077f3609151d458f84a403
2017-04-12 04:11:04 +00:00
OpenStack Proposal Bot 9c070214b3 Updated from global requirements
Change-Id: Ie547b2c82b40fa0e1a876be4ff191c3909cdd400
2017-04-08 03:56:11 +00:00
Ruslan Aliev 82ebec0bb5 Os-brick engine for backup volumes
This is a completely new engine that allows to backup
content of a cinder volume attaching it to localhost
using os_brick functionality.

Implements: blueprint cinder-osbrick
Change-Id: I5ebde164424e80bde80350099d6f1a7ea0b30cbd
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2017-04-07 19:23:55 +04:00
Vitaliy d5eba8791a Follow up to I3dedb1137994cbe3974c6878aa8d4ebcb672f95d
Drop unused requirements.

Change-Id: I81f995515945efd4efa3d199d7e0198135036ec7
2017-04-05 08:56:11 +00:00
Vitaliy d78ac0faac Change requirements files
Remove oslo.i18n as unused.
Move astroid and python-openstackclient to test-requirements.

Change-Id: I3dedb1137994cbe3974c6878aa8d4ebcb672f95d
2017-04-03 22:51:31 +00:00