Hello community, here is the log from the commit of package openstack-cinder for openSUSE:Factory checked in at 2013-09-16 16:17:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openstack-cinder (Old) and /work/SRC/openSUSE:Factory/.openstack-cinder.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openstack-cinder" Changes: -------- --- /work/SRC/openSUSE:Factory/openstack-cinder/openstack-cinder.changes 2013-09-16 12:36:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openstack-cinder.new/openstack-cinder.changes 2013-09-16 16:17:05.000000000 +0200 @@ -1,0 +2,103 @@ +Mon Sep 16 11:43:24 UTC 2013 - [email protected] + +- add 0001-Use-temporary_chown-implementation-from-utils.patch + +------------------------------------------------------------------- +Sat Sep 14 00:04:57 UTC 2013 - [email protected] + +- Update to version 2013.2.a83.g7fbc2d4: + + Remove unused exceptions + + Turn db model object into a primitive object to avoid error + + Fixing UnicodeEncodeError against volume creating function + + Add default_availability_zone configuration option to cinder + + Fixes the use of exception.InvalidInput with the wrong arguments + + Fix client connection leaks in HP3PAR drivers + + Improves the parsing way of ssh returns + + nms.folder.create_with_opts not supported on Nexenta 3.1.4.2 + +------------------------------------------------------------------- +Thu Sep 12 23:36:13 UTC 2013 - [email protected] + +- Update to version 2013.2.a68.gae75e3f: + + Fix typo in cinder.tests.test_create_volume_flow + + Catch generic exceptions + + Imported Translations from Transifex + +------------------------------------------------------------------- +Thu Sep 12 00:06:45 UTC 2013 - [email protected] + +- Update to version 2013.2.a62.g21dc739: + + NetApp NFS efficient clone_image impl + + Fixed erroneous force full copy in ceph backup driver + + fix missing unit in log message + + Move novaclient to requirements.txt + + Adds Dell EqualLogic volume driver for Cinder + + Fix deleting qos specs key + +------------------------------------------------------------------- +Wed Sep 11 00:02:34 UTC 2013 - [email protected] + +- Update to version 2013.2.a50.g6ae44d9: + + Fixes pep8 violation in nova + + fix log string in conversion type + + Fix Qos Specs association corner case + + Call to_primitive on volumes.rpcapi.create_volume + + Fix bug in Nexenta NFS driver _do_create_volume + + Add check for qemu-img to image_utils fetch_to_raw + +------------------------------------------------------------------- +Mon Sep 9 23:35:27 UTC 2013 - [email protected] + +- Update to version 2013.2.a39.g83cb5b1: + + Replace assertEquals with assertEqual - 1/2 + + Do not attempt vg.update on uninitialized vg + + Check cinder-backup service before "backing-up" + + Send notifications when extending volume + + Replace assertEquals with assertEqual - 2/2 + + Restrict Volume type deletion with volumes assoc + +------------------------------------------------------------------- +Sun Sep 8 23:58:54 UTC 2013 - [email protected] + +- Update to version 2013.2.a27.g24cbfb3: + + Add support for LocalConnector type in brick + + Synchronize extend_volume methods in 3PAR drivers + + Remove unused/redundant methods in cinder/test.py + + Validate VV Set exists in 3PAR drivers + +------------------------------------------------------------------- +Sat Sep 7 08:08:02 UTC 2013 - [email protected] + +- Update to version 2013.2.a20.g326ef78: + + Added copy-on-write support for all RBD cloning + + Fix brick remotefs dependency on cinder + + Fixes misuse of assertTrue in test scripts + + Fix error casting value to float in lvm.py + + fix inconsistent i18n log message + + Remove deprecated assert_() usage + + Utilizes assertIsNotNone + + Utilize assertIsInstance + +------------------------------------------------------------------- +Thu Sep 5 23:51:41 UTC 2013 - [email protected] + +- Update to version 2013.2.a493.g4fe60f6: + + Use tempfile and cleanup in windows unit test + + Fixes brick Nova pep8 violation for lvm.py + + VMDK copy_image_to_volume and copy_volume_to_image + + This adds a README to brick + + Fix tuple usage error + + Remove quota fetch race condition + +------------------------------------------------------------------- +Wed Sep 4 23:55:27 UTC 2013 - [email protected] + +- Update to version 2013.2.a483.g337f936: + + Set vg_thin_pool to pool name instead of pool_path + + Add features to Zadara Storage Cinder driver + + extract 'limits.' to constant for ratelimiting logic + + QEMU-assisted-snapshots for GlusterFS volumes + + Fixes cinder-volume service startup on Windows + + Add view builder to QoS specs API extension + +------------------------------------------------------------------- New: ---- 0001-Use-temporary_chown-implementation-from-utils.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openstack-cinder-doc.spec ++++++ --- /var/tmp/diff_new_pack.LNqv2K/_old 2013-09-16 16:17:06.000000000 +0200 +++ /var/tmp/diff_new_pack.LNqv2K/_new 2013-09-16 16:17:06.000000000 +0200 @@ -19,7 +19,7 @@ %define component cinder Name: openstack-%{component}-doc -Version: 2013.2.a471.g1428e6f +Version: 2013.2.a83.g7fbc2d4 Release: 0 Summary: OpenStack Block Storage (Cinder) - Documentation License: Apache-2.0 @@ -62,7 +62,7 @@ This package contains documentation files for %{name}. %prep -%setup -q -n cinder-2013.2.a471.g1428e6f +%setup -q -n cinder-2013.2.a83.g7fbc2d4 %openstack_cleanup_prep %build ++++++ openstack-cinder.spec ++++++ --- /var/tmp/diff_new_pack.LNqv2K/_old 2013-09-16 16:17:06.000000000 +0200 +++ /var/tmp/diff_new_pack.LNqv2K/_new 2013-09-16 16:17:06.000000000 +0200 @@ -21,7 +21,7 @@ %define username openstack-%{component} Name: openstack-%{component} -Version: 2013.2.a471.g1428e6f +Version: 2013.2.a83.g7fbc2d4 Release: 0 Summary: OpenStack Block Storage (Cinder) License: Apache-2.0 @@ -33,6 +33,7 @@ Source3: cinder-sudoers Patch0: 0001-Avoid-using-GREENDNS-due-to-dnspython.patch Patch1: remove-babel-requirement.diff +Patch2: 0001-Use-temporary_chown-implementation-from-utils.patch BuildRequires: fdupes BuildRequires: openstack-suse-macros BuildRequires: openstack-suse-sudo @@ -178,9 +179,10 @@ functionality of OpenStack Cinder. %prep -%setup -q -n cinder-2013.2.a471.g1428e6f +%setup -q -n cinder-2013.2.a83.g7fbc2d4 %patch0 -p1 %patch1 +%patch2 -p1 %openstack_cleanup_prep %build ++++++ 0001-Use-temporary_chown-implementation-from-utils.patch ++++++ >From 1aee15147f9111bc071f17312b0d4db5a9c42bdd Mon Sep 17 00:00:00 2001 From: Dirk Mueller <[email protected]> Date: Mon, 16 Sep 2013 13:39:20 +0200 Subject: [PATCH] Use temporary_chown implementation from utils This way the root_helper is set correctly. Change-Id: I3e49764256bb001ccc071c846cd70e4345df017d Fixes: Bug LP #1226010 --- cinder/brick/iscsi/iscsi.py | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/cinder/brick/iscsi/iscsi.py b/cinder/brick/iscsi/iscsi.py index d1d7fa4..59dac90 100644 --- a/cinder/brick/iscsi/iscsi.py +++ b/cinder/brick/iscsi/iscsi.py @@ -33,6 +33,7 @@ from cinder.openstack.common import fileutils from cinder.openstack.common.gettextutils import _ from cinder.openstack.common import log as logging from cinder.openstack.common import processutils as putils +from cinder import utils LOG = logging.getLogger(__name__) @@ -243,26 +244,6 @@ class IetAdm(TargetAdmin): else: return CONF.iscsi_iotype - @contextlib.contextmanager - def temporary_chown(self, path, owner_uid=None): - """Temporarily chown a path. - - :params path: The path to chown - :params owner_uid: UID of temporary owner (defaults to current user) - """ - if owner_uid is None: - owner_uid = os.getuid() - - orig_uid = os.stat(path).st_uid - - if orig_uid != owner_uid: - putils.execute('chown', owner_uid, path, run_as_root=True) - try: - yield - finally: - if orig_uid != owner_uid: - putils.execute('chown', orig_uid, path, run_as_root=True) - def create_iscsi_target(self, name, tid, lun, path, chap_auth=None, **kwargs): @@ -284,7 +265,7 @@ class IetAdm(TargetAdmin): Lun 0 Path=%s,Type=%s """ % (name, chap_auth, path, self._iotype(path)) - with self.temporary_chown(conf_file): + with utils.temporary_chown(conf_file): f = open(conf_file, 'a+') f.write(volume_conf) f.close() @@ -303,7 +284,7 @@ class IetAdm(TargetAdmin): vol_uuid_file = vol_name conf_file = CONF.iet_conf if os.path.exists(conf_file): - with self.temporary_chown(conf_file): + with utils.temporary_chown(conf_file): try: iet_conf_text = open(conf_file, 'r+') full_txt = iet_conf_text.readlines() -- 1.8.4 ++++++ cinder-master.tar.gz ++++++ ++++ 370852 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
