Commit Graph

152 Commits

Author SHA1 Message Date
Ivan Pchelintsev a5ce771687 Add Cinder NFS driver for Dell PowerStore
Implements: blueprint powerstore-nfs-driver
Co-Authored-By: Alexander Malashenko <alexander.malashenko@dell.com>
Change-Id: Ide1d002acb8e1730767b15afc0566b2bb25999ed
2022-07-28 01:27:22 -07:00
Ivan Kolodyazhny cddcc6e507 Delete TSM Backup driver
TSM backup driver is not supported by vendor
for a while and deprecated in Victoria release,
so it's safe to delete it now.

Change-Id: I0ab07708843fcbb64bf932667e9b79aab259f698
2020-11-03 18:53:39 +02:00
Takashi Kajinami d1124633ce Fix outdated comment in rootwrap filter
GlusterFS volume driver has been removed[1], and chgrp is now used
in NFS backup driver and GlusterFS backup driver.

[1] 16e93ccd4f

Change-Id: I297274905a1416c6041c7572a89d9336e6951e60
2020-05-06 15:52:59 +00:00
Liang Fang 9073f7591e Leverage hw accelerator in image compression
When trying to upload volume to glance as image, currently all the
format transformation is done by software and the performance is not
good.

Leverage hardware accelerator to do the image compression, so as to
offload CPU, release CPU to do more common and complex thing.
Professional hardware accelerator will get better performance and
shorter conversion time than software solution. Currently hardware
accelerator is getting more popular and some are integrated in server
chipset by default.

This patch includes:

1. Uses the new image container_format 'compressed' introduced by Glance
in the Train release

2. Implemented a simple framework: if there's an accelerator detected in
system, then try to use it

3. Supported Intel QAT as one of the accelerator

4. Add command filter for command 'qzip' and 'gzip' in rootwrap

5. New configuration option 'allow_compression_on_image_upload' and
'compression_format' added

6. Releasenote added

Change-Id: I8460f58d2ad95a6654cf4d6a6bb367f3c537536b
Implements: blueprint leverage-compression-accelerator
Signed-off-by: Liang Fang <liang.a.fang@intel.com>
2019-09-18 03:01:18 +00:00
Eric Harney 330f1ae453 Rekey volume on clone
When cloning an encrypted volume, change the
encryption key used on the destination volume.

This is currently implemented for iSCSI/FC
drivers only.

Change-Id: Id797af4f8ff001ec3d55cb4eda19988a314b700d
2019-09-13 00:09:31 -04:00
Jay S. Bryant 0423642951 Remove the Tintri Driver
The Tintri driver was marked as unsupported in
the Stein release.  It hasn't reported on a patch in 312
days which is outside of Cinder's 3rd Party CI requirements.
As a result the driver should be removed.

This patch proposes that removal.

Change-Id: I8e69dc2199ad28b99144ba2618d114392e6fa5e5
2019-06-13 10:20:15 -05:00
Eric Harney ade7d89c2e Revert "Remove truncate from rootwrap filters"
This reverts commit a62c9dfdd4.

This did not account for cases where truncate is
called w/o elevated privileges.

Related-Bug: #1818504
Change-Id: I3cb85be854e68fda525cfebe254ce7c85d8e3d37
2019-03-06 10:08:10 -05:00
Zuul 711946061f Merge "Use new target_* options in documentation" 2019-03-01 21:56:56 +00:00
Mark Goddard 583bc0899c Use new target_* options in documentation
Various iscsi_* options were replaced with target_* options. The former
were initially deprecated and have now been removed.

This patch updates relevant documentation to use the new names.

There were some other hits in the documentation and code for these
names, but these appeared to be for third-party drivers, and I don't
have the context about which, if any, need to change.

Change-Id: Ic37ea85f4ec778644bc9d49f513e58dc28c87907
2019-03-01 09:52:41 +00:00
Charles Short a62c9dfdd4 Remove truncate from rootwrap filters
Use oslo.privsep for the truncate command.

Change-Id: Ic287c64a4e0f663738e23d22e819b6ffee9c84c1
Signed-off-by: Charles Short <chucks@redhat.com>
2019-02-21 16:34:01 -05:00
Zuul b984410333 Merge "Remove 'ln' command from rootwrap filter" 2019-02-21 18:00:50 +00:00
Zuul 786246e66f Merge "Replace 'lvconvert' from rootwrap" 2019-02-21 14:43:20 +00:00
Zuul f20f67d9e8 Merge "Remove vgc-cluster" 2019-02-21 14:27:59 +00:00
Chuck Short b295dd4a7c Remove drbdadm from filters
Remove drbdadm from rootwrap filters
no longer being used.

Change-Id: Ic067acf944dc5eb1a5aeab2f8782a6fc51b1edc2
Signed-off-by: Chuck Short <chucks@redhat.com>
2019-02-17 18:14:58 -05:00
Charles Short ec6eaa21fd Replace 'lvconvert' from rootwrap
Use oslo.privsep to run the lvconvert command.

Change-Id: I6c2dce7beb1c3f8bb777066f62ced134f763e640
Signed-off-by: Charles Short <chucks@redhat.com>
2019-02-17 14:33:31 -05:00
Zuul 342b3d56ac Merge "Use oslo.privsep for 'lvcreate'" 2019-02-16 07:43:43 +00:00
Zuul 7d22c78041 Merge "Remove 'tgtadm' from rootwrap" 2019-02-15 23:06:14 +00:00
Charles Short 303741a4b3 Use oslo.privsep for 'lvcreate'
Use olso.privsep rather than oslo.rootwrap for the 'lvcreate'

Change-Id: I9e8f74ef74ef3f7cbbcf7967304246e9dfafb5c0
Signed-off-by: Charles Short <chucks@redhat.com>
2019-02-07 02:59:02 -05:00
Zuul a97be2c848 Merge "Remove 'lvrename' from rootwrap" 2019-02-06 23:21:09 +00:00
Zuul 783bc7c5fb Merge "Cleanup rootwrap filters" 2019-02-06 22:50:07 +00:00
Charles Short 6511f0a225 Remove 'tgtadm' from rootwrap
Remove 'tgtadm' from rootwrap, its been moved to privsep.

Change-Id: I498be7f69530079d5370cd0518478b74d25ce7cc
Signed-off-by: Charles Short <chucks@redhat.com>
2019-02-04 09:30:54 -05:00
Charles Short 4fc2963709 Cleanup rootwrap filters
Remove 'mmcrsnapshot' and 'mmdelsnapshot' since
they are no longer being used.

Change-Id: I2eb00fb1323d91d0834a222964b7db768207ba60
Signed-off-by: Charles Short <chucks@redhat.com>
2019-01-21 12:53:44 -05:00
Charles Short 26ede03486 Remove 'lvrename' from rootwrap
Use oslo.privsep to use 'lvrename'.

Change-Id: Ied9cf22adbe8f2cec20b02f4aa122a1f2ec35aae
Signed-off-by: Charles Short <chucks@redhat.com>
2019-01-15 16:00:37 +00:00
Chuck Short 89e1b0258a Switch ietadm to use olso.privsep
Switch ietadm to use oslo.privsep rather than olso.rootwrap.
This is mostly a straight copy of the the methods used to
create targets.

Change-Id: Ia4dc63d75960935e770a7fef352b51a7c75be4d6
Signed-off-by: Chuck Short <chucks@redhat.com>
2019-01-11 13:30:55 +00:00
Zuul fc2661e13a Merge "Remove scstadmin from rootwrap" 2019-01-11 03:59:49 +00:00
Charles Short 6c261d81d0 Remove vgc-cluster
Remvoe vgc-cluster command from rootwrap filers.

Change-Id: I4178f8273fd50b947e3bbaabc9628f8b05fc5b31
Signed-off-by: Charles Short <chucks@redhat.com>
2018-12-21 08:55:25 -05:00
Chuck Short 07180623f5 Remove 'ln' command from rootwrap filter
Remove 'ln' command from rootwrap filter and oslo.privsep.

Change-Id: I78307620d4dd350656c3350aace2069c9929e850
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-12-20 21:39:26 -05:00
Zuul ea844fbee8 Merge "Remove umount from volume.filters" 2018-12-20 17:03:45 +00:00
Chuck Short 923fc52074 Remove umount from volume.filters
Use umount to umount volumes via oslo.privsep.

Change-Id: I83972fbfaf0842800c65ed8c391e2089de9807fe
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-12-20 08:13:16 -05:00
Zuul d69b047553 Merge "Move tgt targets to privsep" 2018-12-19 18:49:25 +00:00
Alan Bishop 18d0576bb5 Revert "Remove mount from volume.filters"
This reverts commit ca81be15a8.

The mount command is used by the NFS driver, via os-brick.

Change-Id: Ie9e1142b1412cc7bd1bdc75c6a8765a2cf308461
2018-11-13 11:22:05 -05:00
Zuul d0b4775aa5 Merge "Remove scsi_id from rootwrap filter" 2018-10-26 02:25:58 +00:00
Zuul 3448211455 Merge "Remove mount from volume.filters" 2018-10-26 02:25:55 +00:00
Zuul c48b000828 Merge "Remove touch command from volume.filters" 2018-10-26 02:25:53 +00:00
Chuck Short b4a7d50671 Move tgt targets to privsep
Convert usage of tgt-admin and tgtadm to use privsep rather than
the rootwrap wrapper.

Change-Id: Ibdb94fc3aebb01fee6e2e76adeaa5d34a4af8753
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-10-24 14:28:59 -04:00
Chuck Short 9703e14cbe Remove scstadmin from rootwrap
Use oslo.privsep for scstadmin and remove it from
etc/cinder/rootwrap.d/volume.filters.

Change-Id: I55c8d40ee082a32fa51c893845a0b0aa4dad1492
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-10-22 11:57:33 -04:00
Chuck Short a86eb80b2e Remove scsi_id from rootwrap filter
Remove scsi_id from rootwrap filter no longer being used.

Change-Id: I1a3e527765c23a4b64a6493913f99e15ea25a7d4
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-10-18 14:36:03 -04:00
Chuck Short ca81be15a8 Remove mount from volume.filters
Remove the mount command from volume.filters it is not being
used anywhere.

Change-Id: Iafdb783deb769cdee4028e42ec62027c8b2951d1
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-10-18 11:42:42 -04:00
Chuck Short 47eb87fc48 Drop drv_cfg from rootwrap filters
Drop "drv_cfg" from rootwrap filters its not being used
anywhere.

Change-Id: I10d58665d12565036d6a0dbb90743903071b3bd7
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-10-18 11:04:52 -04:00
Chuck Short d02aebf2ab Remove touch command from volume.filters
Move touch to privsep and remove it from volume.filters.

Change-Id: I169b45f1176537448871cf23b6362c7ffbb16fff
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-10-18 13:19:42 +00:00
Zuul 23cfc4fdea Merge "Remove udevadm from rootwrap" 2018-10-10 03:42:53 +00:00
Chuck Short a5ce711a58 Remove sg_scan
Brick was moved to os-brick so remove sg_scan
from rootwrap and associated documentation.

Change-Id: I56d67ebd24f3af74f26100b2d8fba3868b1acdbb
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-10-04 14:27:18 +00:00
Chuck Short c03f3c891e Remove systool from rootwrap
Remove systool from rootrwrap its no longer being used.

Change-Id: I3ef59743f2a240a0a15452d9532ca18cf0f4dcab
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-09-29 14:18:02 -04:00
Chuck Short dd5f136442 Remove udevadm from rootwrap
Use oslo.privsep for udevadm

Change-Id: Ib89354c9555c4b2c9f5a8331a788d7fe4ac46694
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-09-18 11:36:08 -04:00
Charles Short cf805cd3bb Remove aoe-revalidate, aoe-discover, aoe-flush
Remove from rootwrap.d/volume.filters since they are
not being used anywhere.

Change-Id: I0cabd55bcef569212ac0e2c188051e62ee265c22
Signed-off-by: Charles Short <chucks@redhat.com>
2018-09-17 17:24:50 -04:00
Chuck Short 4d54ceaa19 Move hscli to privsep
Move the hscli usage to privsep, this is basically a straight
copy of the hsexecute function.

Change-Id: I0a8f1502506b32fdd6599bc2d0c385ebeb968172
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-09-17 09:09:42 -04:00
Zuul f310a103a4 Merge "Remove tee from volume.filters" 2018-07-16 19:18:31 +00:00
Zuul 40230b093d Merge "Remove hus-cmd from rootwrap volume.filters" 2018-07-12 20:14:02 +00:00
Zuul 8ddca1ed55 Merge "Remove unused commands from volume.filters" 2018-07-11 21:32:35 +00:00
Chuck Short 2b2dbcd293 Remove hus-cmd from rootwrap volume.filters
Remove the hus-cmd and hus-cmd_local from volume.filters because
its not being used anywhere.

Change-Id: If4068378ed4804a3aa707c218f35dcd2685d06c2
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-07-11 11:13:25 -04:00