We don't support Python 2 anymore so we don't need this
compatibility library.
This patch remove six usage.
Change-Id: I661e9cdaf33e89bdb905d1f34a001f3853c4c366
Currently, Freezer doesn't support image backup and restore,
It is necessary for us to increase support for image backup and
restore.
Implements: bp Add-support-for-glance-image-backup
Co-authored-by: gengchc2 <geng.changcai2@zte.com.cn>
Change-Id: I2a3ce511aa3c5357799a97babbe3eb0a3818fdfd
Story: #2005855
Task: #33648
Standardize on oslo.log.
Log exception stack traces where appropriate.
Add logging to all files.
Remove '[*]' from log messages.
Log command line arguments at Freezer Agent start
so that errors can be traced to specific invocations.
Leave scheduler module mostly unchanged because it
is doing python logging configuration.
Change-Id: I23de0558409e63978303963d592a4e5ee4dee2b5
It is failed to load instance of MongoDbMode when the mode is 'mongo' and
loading the mode instance at BackupJob.execute_method. Because the
mod_name=freezer.mode.mongo.MongoMode is not exist, the current
mod_name=freezer.mode.mongo.MongoDbMode. It needs to change the class name
of MongoDbMode to MongoMode
Change-Id: I687f411c98bc1841df5e60937ed87078eae405d6
Closes-Bug: #1589788
1) new snapshot module with code vss,
lvm and part of backup.py -
create_snapshot and remove_snapshot
This module should contain all code related shadow,
vss and any new snapshots.
2) new openstack module with code from osclient,
restore and backup (BackupOS)
This module should contain code related to cinder/nova backups
3) new utils module with code from utils, win_utils,
bandwidth, config, exec_cmd, validator, streaming
This module should containd code related to anything
that cannot be extracted to its own module
4) new test modules - snapshot, utils, openstack and apiclient.
Test scheduler daemon is now located in scheduler module.
5) Backup.py is deleted and code placed to
openstack.backup (BackupOS) and to job.BackupJob
Change-Id: I46194b40b3a65c15b6095cfb7388dcfd30d95997