Commit Graph

38 Commits

Author SHA256 Message Date
d471440c6c Accepting request 1081608 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081608
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=68
2023-04-21 13:36:49 +00:00
Coly Li
4aa90f10d3 Accepting request 1069159 from home:dmdiss:bsc1206720_sle_changelog_merge
Add a couple of SLE bugzilla references to the changelog

OBS-URL: https://build.opensuse.org/request/show/1069159
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=66
2023-03-03 13:16:52 +00:00
Lee Duncan
ce04075aad Accepting request 975464 from home:lee_duncan:branches:devel:languages:python
- Update to version v2.1.75:
  * version 2.1.75
  * rtslib: fix missing ':' after else statement
  * dbroot: let the user change the dbroot directory freely.
  * handle target kernel module new attribute cpus_allowed_list
  * fix "This _Backstore already exists in configFS" exception
  * Check whether the enable attribute exists before fread
  * Filter fabric wwns by reading driver name
  * Add support of efct fabric driver
  * tcmu: add support for config param data_pages_per_blk
  * Relax restrictions on TPG Tag range
  * rtslib: Use O_RDWR for sg devices alone.

OBS-URL: https://build.opensuse.org/request/show/975464
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=64
2022-05-06 18:04:25 +00:00
92a5cd2075 Accepting request 951501 from home:trociny:lio_emulate_legacy_capacity
- Update parameters description in rbd-support.patch
- Add rbd-support-disable_emulate_legacy_capacity.patch

OBS-URL: https://build.opensuse.org/request/show/951501
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=63
2022-02-08 10:50:45 +00:00
Lee Duncan
96b38c3b66 Accepting request 923283 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/923283
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=62
2021-10-05 17:59:16 +00:00
99db447357 Accepting request 920167 from devel:languages:python
revert

OBS-URL: https://build.opensuse.org/request/show/920167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=61
2021-09-19 17:24:03 +00:00
Lee Duncan
f82845f897 Accepting request 919821 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/919821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=60
2021-09-17 21:13:12 +00:00
Lee Duncan
dcfd9cf84b Accepting request 846965 from home:lee_duncan:branches:devel:languages:python
- Fixed issue in SPEC file w/r/t package split with common.
  Now, packages python3-rtslib-fb and python-rtslib-fb-common
  are built, and the former depends on the latter. The common
  package has the non-python parts (documentation, etc),
  and the python3-* part the python parts.

OBS-URL: https://build.opensuse.org/request/show/846965
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=58
2020-11-08 19:08:39 +00:00
Lee Duncan
2ba1fb7494 Accepting request 843807 from home:lee_duncan:branches:devel:languages:python
- Split package into "common" part, python-rtslib-fb-common, which
  is python-verserion-agnostic, and either python2-rtslib-comon-fb
  or python3-rtslib-fb. This maens common files, like man pages,
  don't have to be duplicated.

OBS-URL: https://build.opensuse.org/request/show/843807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=57
2020-10-24 18:14:03 +00:00
Lee Duncan
5293d48576 Accepting request 842415 from home:lee_duncan:branches:devel:languages:python
- Update to version v2.1.74:
  * version 2.1.74
  * rtslib: safely call shutil.copy()
  * Fix fail when target_core_mod doesn't exists
  * Fix EPERM errors with scsi_generic devices
  Also, add this commit submitted upstream:
  * rtslib-Fix-handling-of-sysfs-RW-attrs-that-are-actually-RO.patch
  And this commit for SUSE:
  * rtslib-target-service-for-suse.patch
  Lastly, this package now installs systemd unit file target.service,
  which will replace eventually targetcli.service (from the
  targetcli-fb package), since this matches how upstream works.
  This also meant updating the SPEC file.

OBS-URL: https://build.opensuse.org/request/show/842415
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=55
2020-10-19 01:23:19 +00:00
Tomáš Chvátal
1edb5164f3 Accepting request 829856 from home:mattoliverau:branches:devel:languages:python
- Updated the rbd-support.patch (bsc#1175808):
  * Fixed the signiture of the RBDStorageObject to match changes made
    to parent StorageObject class.

OBS-URL: https://build.opensuse.org/request/show/829856
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=53
2020-08-27 06:47:39 +00:00
Lee Duncan
040b715555 Accepting request 817941 from home:lee_duncan:branches:devel:languages:python
- Update to version v2.1.73 (bsc#1173257 CVE-2020-14019):
  * version 2.1.73
  * save_to_file: fix fd open mode
  * saveconfig: copy temp configfile with permissions
  * saveconfig: open the temp configfile with modes set
  * Fix "is not" with a literal SyntaxWarning
  * Fix an incorrect config path in two comments
  * version 2.1.72
  * Do not change dbroot after drivers have been registered
  * Remove '_if_needed' from RTSRoot._set_dbroot()'s name
  Replacing old tarball with python-rtslib-fb-v2.1.73.tar.xz

OBS-URL: https://build.opensuse.org/request/show/817941
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=51
2020-06-30 20:52:09 +00:00
Lee Duncan
31ed18413d Accepting request 781619 from home:lee_duncan:branches:devel:languages:python
Updated incorrect jre# in Changes file.

OBS-URL: https://build.opensuse.org/request/show/781619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=49
2020-03-04 18:12:29 +00:00
Lee Duncan
595face9e2 Accepting request 781293 from home:lee_duncan:branches:devel:languages:python
- Update to version v2.1.71 (jre#SLE-9345) from v2.1.70:
  * version 2.1.71
  * restoreconfig: fix skipping of targets [re]loading
  Replacing python-rtslib-fb-v2.1.70.tar.xz with python-rtslib-fb-v2.1.71.tar.xz

OBS-URL: https://build.opensuse.org/request/show/781293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=47
2020-03-03 17:15:41 +00:00
Tomáš Chvátal
0ca720d41b Accepting request 731355 from home:lee_duncan:branches:devel:languages:python
- Update to version v2.1.70:
  * version 2.1.70
  * restoreconfig: add ability to restore/reload single target or storage_object
  * rtslib: fix __version__
  * saveconfig: add hw_block_size support in control string
  * remove extra semicolons in _get_saveconf
  * Add 'readable' param to Group list_*() methods
  * Handle write-only parameters like attributes
  * save_to_file() function breaks symbolic link when saving configuration
  * Handle write-only attributes.
  * Allow bs_cache to be bypassed
  * report the correct size for partitions
  * restoreconfig: support restore when list is non-empty
  Replacing python-rtslib-fb-2.1.69.tar.xz with python-rtslib-fb-v2.1.70.tar.xz,
  and removing patches:
  * 0001-Handle-write-only-attributes.patch
  * 0002-Handle-write-only-parameters-like-attributes.patch
  * 0003-Add-readable-param-to-Group-list_-methods.patch

OBS-URL: https://build.opensuse.org/request/show/731355
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=45
2019-09-17 06:17:54 +00:00
Lee Duncan
6f28e9a230 Accepting request 677186 from home:lee_duncan:branches:devel:languages:python
- Added 3 patches subbmitted and accepted upstream, to deal with
  possibly-write-only sysfs attributes (bsc#1123933), adding:
  * 0001-Handle-write-only-attributes.patch
  * 0002-Handle-write-only-parameters-like-attributes.patch
  * 0003-Add-readable-param-to-Group-list_-methods.patch

OBS-URL: https://build.opensuse.org/request/show/677186
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=43
2019-02-18 18:02:54 +00:00
Tomáš Chvátal
a41e969040 Accepting request 656018 from home:dmdiss:bsc1118516_targetcli_rbd_15spx
- Enable RBD support for SLE/Leap 15+ (bsc#1118516)

OBS-URL: https://build.opensuse.org/request/show/656018
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=41
2018-12-07 13:07:22 +00:00
70ddc6f4f0 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=40
2018-12-04 14:01:13 +00:00
Lee Duncan
7874bf6b49 Accepting request 643047 from home:lee_duncan:branches:devel:languages:python
- Update to version 2.1.69:
  * version 2.1.fb69
  * fix compiler warning
  * version 2.1.fb68
  * Fix typo
  * - remove underscore in hostname
  * tcm: allow to enable asynchronous I/O for file backing stores
  * saveconfig: way for block-level save with delete command
  * saveconfig: fix missing import
  * saveconfig: handle no attr exception in _parse_info()
  * saveconfig: fix failure in absence of save file
  * saveconfig: dump control string containing control=value tuples
  * restoreconfig: fix alua tpg config setup
  * tcmu: add control constructor arg
  * save_to_file: support saveconfig at storage object level
  * Allow creating more than 256 LUNs per target
  * Ship a systemd service file
 Which replaces python-rtslib-fb-2.1.67.tar.xz with
 python-rtslib-fb-2.1.69.tar.xz, and updates the SPEC file as well.

OBS-URL: https://build.opensuse.org/request/show/643047
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=37
2018-10-18 23:44:32 +00:00
Lee Duncan
11c7b534cb Accepting request 596385 from home:dmdiss:bsc1079329_krbd
- Merge RBD support from non-fb version (bsc#1079329)
  + rbd-support.patch (SLE/Leap only, due to LIO kernel dependency)
  + Add explicit Provides for "python-rtslib-rbd"

- Automatically generate version string from upstream tag
  + Retain current fb-removed version format used
  + Rename rtslib-fb-2.1.fb67.tar.xz to python-rtslib-fb-2.1.67.tar.xz and
    cleanup hardcoded duplicate name/version values in spec

OBS-URL: https://build.opensuse.org/request/show/596385
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=35
2018-04-16 20:19:21 +00:00
Lee Duncan
4542f882f7 Accepting request 595001 from home:lee_duncan:branches:devel:languages:python
- Update to version 2.1.fb67:
  * Add missing dependency on six in setup.py
  * Display a more meaningful error when targetcli cannot change "dbroot"
  * Raise an error about failing to change the dbroot value only if the directory does not exist
  * More compatibility syntax for legacy distros
  * Remove hba-only directories in clear_existing()
  * Correct name for Xen pvscsi
  * version 2.1.fb65
  * Fix unqualified reference to pyudev.Device
  * version 2.1.fb66
  * create: remove stale hba-only dir
  * version 2.1.fb67
- This replaced rtslib-fb-2.1.fb64.tar.xz with
  rtslib-fb-2.1.fb67.tar.xz, and it also removed
  the patch correct-name-for-xen-pvscsi.patch,
  since it is already in the updated tarball

OBS-URL: https://build.opensuse.org/request/show/595001
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=33
2018-04-09 22:42:50 +00:00
Lee Duncan
4e5d2875ce Accepting request 579909 from home:olh
- Fix upgrade path by provide/obsolete python-rtslib (bsc#1082693)

OBS-URL: https://build.opensuse.org/request/show/579909
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=31
2018-02-25 20:09:51 +00:00
Lee Duncan
bc16ce6754 Accepting request 569367 from home:lee_duncan:branches:devel:languages:python
- Fix incorrect naming for XEN (bsc#1076455), adding patch:
  * correct-name-for-xen-pvscsi.patch

OBS-URL: https://build.opensuse.org/request/show/569367
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=29
2018-01-24 19:00:54 +00:00
Tomáš Chvátal
784245ce5a - Fix the conflict to the rtslib properly
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=27
2018-01-09 14:34:06 +00:00
Tomáš Chvátal
47fed20b10 - Drop the epydoc dependency/documentation generating from the package
to allow building in py3 only enviroment

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=26
2018-01-03 16:11:34 +00:00
e0a7ec0bea Accepting request 556305 from home:lee_duncan:branches:devel:languages:python
- Converting RPM SPEC file to singlespec format (bsc#1045332),
  updating SPEC file only.
- ran 'spec-cleaner' on SPEC file to clean it up.
- Converted from manually-added rtslib-fb-2.1.fb64.tar.gz to
  tar_scm service-retrieved rtslib-fb-2.1.fb64.tar.xz

OBS-URL: https://build.opensuse.org/request/show/556305
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=25
2017-12-11 22:16:48 +00:00
10ab83e55f Accepting request 518023 from home:LSZhu:branches:devel:languages:python
Update to version 2.1.fb64,improve ALUA and TCMU support

OBS-URL: https://build.opensuse.org/request/show/518023
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=22
2017-09-05 08:05:16 +00:00
Jan Matejek
83b1112e0b Accepting request 504260 from home:lee_duncan:branches:devel:languages:python
- Enable Persistent Reservations (bsc#1042944):
  * Add patch Switch-target-driver-DB-root-dir-to-etc-target.patch
  * Add /etc/target/pr and /etc/target/alua to SPEC file

OBS-URL: https://build.opensuse.org/request/show/504260
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=20
2017-07-04 15:29:24 +00:00
Lee Duncan
f2b1ae59ee Accepting request 491070 from home:lee_duncan:branches:devel:languages:python
Merged "Changes" file with SLE version.

OBS-URL: https://build.opensuse.org/request/show/491070
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=18
2017-04-25 19:53:22 +00:00
Lee Duncan
05204777b7 Accepting request 487779 from home:hreinecke:branches:devel:languages:python
- Update to version 2.1.63:
  * Get/Set LUN's ALUA group
  * Add ALUA restore support
  * Delete ALUA groups with its storage object
  * version 2.1.fb62
  * Do not set alua_tg_pt_gp if not supported
  * Add ability to invalidate caches
  * Add ALUA supported method
  * Don't raise exception when getting/setting a LUNs ALUA group
  * update to 2.1.fb63

OBS-URL: https://build.opensuse.org/request/show/487779
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=16
2017-04-13 17:32:40 +00:00
Lee Duncan
281f9b6bbb Accepting request 404551 from home:lee_duncan:branches:devel:languages:python
- Updated spec file: Removed Provides/Obsoletes for python-rtslib,
  and added Conflicts for same (bsc#986475)

OBS-URL: https://build.opensuse.org/request/show/404551
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=14
2016-06-24 23:33:50 +00:00
Lee Duncan
06b3cdc285 Accepting request 396531 from home:lee_duncan:branches:devel:languages:python
- Fixing build issue: removed 'noarch' from main package

OBS-URL: https://build.opensuse.org/request/show/396531
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=12
2016-05-18 16:19:20 +00:00
Lee Duncan
cb374c193b Accepting request 394723 from home:lee_duncan:branches:devel:languages:python
- Added SPEC-file Requires for pyudev, since
  testing found this was needed

OBS-URL: https://build.opensuse.org/request/show/394723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=10
2016-05-11 20:05:22 +00:00
c8fae01a7f Accepting request 391087 from home:lee_duncan
- Update to version 2.1.fb60
  * no changelog available, but git log shows 59 changes,
    some trivial

OBS-URL: https://build.opensuse.org/request/show/391087
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=8
2016-04-21 10:30:18 +00:00
Denisart Benjamin
91f7ffc3c2 Accepting request 306586 from home:benoit_monin:branches:devel:languages:python
update to version 2.1.51

OBS-URL: https://build.opensuse.org/request/show/306586
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=6
2015-05-16 13:23:02 +00:00
Todd R
84cfcc2b85 Accepting request 247397 from Cloud:OpenStack:Master
- update to 2.1.49:
  * Improve error message when NetworkPortal restore fails
  * Python 3.x porting fixes
  * targetctl: A missing restore file is not an error 
  * Add a message if no configfile is found
  * Add StorageObjectFactory
  * Convert all exceptions in set_parameter/attribute to RTSLibError
  * Change set_parameters/attributes to take an err_func
  * Fix missing err_func parameter to set_attributes 
  * '!' allowed character in block and partition names 
  * Don't add to cache if cfs create fails 
  * Don't lower-case return values from _parse_info functions

OBS-URL: https://build.opensuse.org/request/show/247397
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=4
2014-09-04 08:43:45 +00:00
Sascha Peilicke
aa14eb0e46 - Drop python-pip build-requires, it's only used at runtime to bootstrap
the venv (until it has it's own pip binary).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=2
2014-01-14 14:57:49 +00:00
Sascha Peilicke
637127a2cc Accepting request 213705 from Cloud:OpenStack:Master
OBS-URL: https://build.opensuse.org/request/show/213705
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=1
2014-01-14 09:00:40 +00:00