Hello community, here is the log from the commit of package ceph-iscsi for openSUSE:Factory checked in at 2019-03-26 15:45:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ceph-iscsi (Old) and /work/SRC/openSUSE:Factory/.ceph-iscsi.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ceph-iscsi" Tue Mar 26 15:45:08 2019 rev:8 rq:688345 version:3.0+1553528639.g1149ac6 Changes: -------- --- /work/SRC/openSUSE:Factory/ceph-iscsi/ceph-iscsi.changes 2019-03-20 13:22:55.181290549 +0100 +++ /work/SRC/openSUSE:Factory/.ceph-iscsi.new.25356/ceph-iscsi.changes 2019-03-26 15:45:13.968092820 +0100 @@ -1,0 +2,7 @@ +Mon Mar 25 15:44:13 UTC 2019 - [email protected] + +- Update to 3.0+1553528639.g1149ac6: + + '/settings' endpoint return required and support RBD features by backstore + + Enable/disable 'demo_mode_write_protect' when enabling/disabling ACL authentication + +------------------------------------------------------------------- Old: ---- ceph-iscsi-3.0+1553076762.g61c150a.tar.gz New: ---- ceph-iscsi-3.0+1553528639.g1149ac6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ceph-iscsi.spec ++++++ --- /var/tmp/diff_new_pack.YMyoxh/_old 2019-03-26 15:45:14.672091994 +0100 +++ /var/tmp/diff_new_pack.YMyoxh/_new 2019-03-26 15:45:14.676091990 +0100 @@ -20,7 +20,7 @@ Name: ceph-iscsi -Version: 3.0+1553076762.g61c150a +Version: 3.0+1553528639.g1149ac6 Release: 1%{?dist} Group: System/Filesystems Summary: Python modules for Ceph iSCSI gateway configuration management ++++++ ceph-iscsi-3.0+1553076762.g61c150a.tar.gz -> ceph-iscsi-3.0+1553528639.g1149ac6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ceph-iscsi-3.0+1553076762.g61c150a/ceph-iscsi.spec new/ceph-iscsi-3.0+1553528639.g1149ac6/ceph-iscsi.spec --- old/ceph-iscsi-3.0+1553076762.g61c150a/ceph-iscsi.spec 2019-03-20 11:12:42.804616000 +0100 +++ new/ceph-iscsi-3.0+1553528639.g1149ac6/ceph-iscsi.spec 2019-03-25 16:43:59.851691154 +0100 @@ -20,7 +20,7 @@ Name: ceph-iscsi -Version: 3.0+1553076762.g61c150a +Version: 3.0+1553528639.g1149ac6 Release: 1%{?dist} Group: System/Filesystems Summary: Python modules for Ceph iSCSI gateway configuration management diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ceph-iscsi-3.0+1553076762.g61c150a/ceph_iscsi_config/client.py new/ceph-iscsi-3.0+1553528639.g1149ac6/ceph_iscsi_config/client.py --- old/ceph-iscsi-3.0+1553076762.g61c150a/ceph_iscsi_config/client.py 2019-03-20 11:12:42.532616484 +0100 +++ new/ceph-iscsi-3.0+1553528639.g1149ac6/ceph_iscsi_config/client.py 2019-03-25 16:43:59.583689649 +0100 @@ -372,6 +372,7 @@ def _update_acl(self, target_config): if self.tpg.node_acls: self.tpg.set_attribute('generate_node_acls', 0) + self.tpg.set_attribute('demo_mode_write_protect', 1) if not target_config['acl_enabled']: target_config['acl_enabled'] = True self.change_count += 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ceph-iscsi-3.0+1553076762.g61c150a/ceph_iscsi_config/target.py new/ceph-iscsi-3.0+1553528639.g1149ac6/ceph_iscsi_config/target.py --- old/ceph-iscsi-3.0+1553076762.g61c150a/ceph_iscsi_config/target.py 2019-03-20 11:12:42.532616484 +0100 +++ new/ceph-iscsi-3.0+1553528639.g1149ac6/ceph_iscsi_config/target.py 2019-03-25 16:43:59.583689649 +0100 @@ -258,8 +258,10 @@ for tpg in self.tpg_list: if target_config['acl_enabled']: tpg.set_attribute('generate_node_acls', 0) + tpg.set_attribute('demo_mode_write_protect', 1) else: tpg.set_attribute('generate_node_acls', 1) + tpg.set_attribute('demo_mode_write_protect', 0) def create_tpg(self, ip): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ceph-iscsi-3.0+1553076762.g61c150a/rbd-target-api.py new/ceph-iscsi-3.0+1553528639.g1149ac6/rbd-target-api.py --- old/ceph-iscsi-3.0+1553076762.g61c150a/rbd-target-api.py 2019-03-20 11:12:42.536616477 +0100 +++ new/ceph-iscsi-3.0+1553528639.g1149ac6/rbd-target-api.py 2019-03-25 16:43:59.587689671 +0100 @@ -2224,15 +2224,21 @@ target_default_controls[k] = default_val disk_default_controls = {} + required_rbd_features = {} + supported_rbd_features = {} for backstore, ks in LUN.SETTINGS.items(): disk_default_controls[backstore] = {} for k in ks: default_val = getattr(settings.config, k, None) disk_default_controls[backstore][k] = default_val + required_rbd_features[backstore] = RBDDev.required_features(backstore) + supported_rbd_features[backstore] = RBDDev.supported_features(backstore) return jsonify({ 'target_default_controls': target_default_controls, 'disk_default_controls': disk_default_controls, + 'supported_rbd_features': supported_rbd_features, + 'required_rbd_features': required_rbd_features, 'backstores': LUN.BACKSTORES, 'default_backstore': LUN.DEFAULT_BACKSTORE, 'config': {
