Commit Graph

76 Commits

Author SHA256 Message Date
Ana Guerrero
2152d1b042 Accepting request 1137851 from devel:languages:python
- Clean up the SPEC file
- Drop downstream-only LIO target_core_rbd support (bsc#1218634)
  * rbd-support-disable_emulate_legacy_capacity.patch
  * rbd-support.patch

OBS-URL: https://build.opensuse.org/request/show/1137851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=34
2024-01-10 20:50:22 +00:00
dd36504bef - Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=73
2024-01-09 21:43:29 +00:00
e5b6f6ef9e Accepting request 1137723 from home:dmdiss:bsc1218634_targetcli_drop_rbd
- Drop downstream-only LIO target_core_rbd support (bsc#1218634)
  * rbd-support-disable_emulate_legacy_capacity.patch
  * rbd-support.patch

OBS-URL: https://build.opensuse.org/request/show/1137723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=72
2024-01-09 14:05:51 +00:00
Ana Guerrero
6a7bbf2364 Accepting request 1115776 from devel:languages:python
- Update to version v2.1.76:
  * version 2.1.76
  * rtslib: remove the limit of 255 max mapped LUNs
  * setup.py: match __version__ with optional trailing ".g<hash>".
  * rtslib: Don't create /var/run on import
  * Fix inability to create ACLs for some FC cards

OBS-URL: https://build.opensuse.org/request/show/1115776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=33
2023-10-06 19:12:31 +00:00
1483f0354b - Update to version v2.1.76:
* version 2.1.76
  * rtslib: remove the limit of 255 max mapped LUNs
  * setup.py: match __version__ with optional trailing ".g<hash>".
  * rtslib: Don't create /var/run on import
  * Fix inability to create ACLs for some FC cards

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=70
2023-10-05 09:09:16 +00:00
Dominique Leuenberger
c17e3b988c Accepting request 1081769 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=32
2023-04-22 19:58:47 +00:00
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
Dominique Leuenberger
d9e0e18fe3 Accepting request 1069161 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1069161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=31
2023-03-04 21:42:21 +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
Dominique Leuenberger
c143c58a9f Accepting request 975466 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/975466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=30
2022-05-08 19:52:04 +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
Dominique Leuenberger
a0f9be9755 Accepting request 952652 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/952652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=29
2022-02-09 19:38:15 +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
Dominique Leuenberger
6ccca3adaa Accepting request 923332 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/923332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=28
2021-10-25 13:16:49 +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
Dominique Leuenberger
cbe8096e1e Accepting request 846968 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/846968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=27
2020-11-12 21:36:54 +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
Dominique Leuenberger
1f78fa8249 Accepting request 842426 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/842426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=26
2020-10-22 12:20:25 +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
Dominique Leuenberger
5aaeb8e61c Accepting request 829899 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/829899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=25
2020-09-01 18:05:44 +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
Dominique Leuenberger
67315a8f78 Accepting request 817942 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/817942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=24
2020-07-02 21:54:09 +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
Dominique Leuenberger
3780763bc6 Accepting request 781620 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/781620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=23
2020-03-05 22:21:50 +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
Dominique Leuenberger
9560cb9fef Accepting request 781294 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/781294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=22
2020-03-04 08:47:52 +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
Yuchen Lin
f260b51bfa Accepting request 731405 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/731405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=21
2019-09-17 11:39:44 +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
Yuchen Lin
7f45989495 Accepting request 677187 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/677187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=20
2019-02-19 11:02:47 +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
Dominique Leuenberger
3cd24314c0 Accepting request 662617 from devel:languages:python
Resubmit, repo-checker has a stale review

OBS-URL: https://build.opensuse.org/request/show/662617
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=19
2019-01-03 17:09:49 +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
Dominique Leuenberger
1a13a6dd6e Accepting request 643053 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/643053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=18
2018-10-22 09:23:14 +00:00
Lee Duncan
1df3581194 Accepting request 643052 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

OBS-URL: https://build.opensuse.org/request/show/643052
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=38
2018-10-19 00:48:16 +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
Dominique Leuenberger
dc6909d021 Accepting request 597224 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/597224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=17
2018-04-19 13:29:22 +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
Yuchen Lin
3b201bbc2f Accepting request 595002 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/595002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=16
2018-04-11 12:00:35 +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
Dominique Leuenberger
3d42346d1b Accepting request 579975 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/579975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=15
2018-02-27 15:58:11 +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
Dominique Leuenberger
5a99fed04b Accepting request 569368 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/569368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=14
2018-01-25 11:40:55 +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
Dominique Leuenberger
153151c378 Accepting request 562902 from devel:languages:python
- Fix the conflict to the rtslib properly

- Drop the epydoc dependency/documentation generating from the package
  to allow building in py3 only enviroment

- 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/562902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=13
2018-01-10 22:35:45 +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