Hello community,

here is the log from the commit of package openstack-cinder.2119 for 
openSUSE:13.1:Update checked in at 2013-10-22 16:31:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/openstack-cinder.2119 (Old)
 and      /work/SRC/openSUSE:13.1:Update/.openstack-cinder.2119.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openstack-cinder.2119"

Changes:
--------
New Changes file:

--- /dev/null   2013-10-11 12:16:15.204037506 +0200
+++ 
/work/SRC/openSUSE:13.1:Update/.openstack-cinder.2119.new/openstack-cinder-doc.changes
      2013-10-22 16:31:50.000000000 +0200
@@ -0,0 +1,227 @@
+-------------------------------------------------------------------
+Fri Jul 19 20:34:16 UTC 2013 - dmuel...@suse.com
+
+- adjust rm command 
+
+-------------------------------------------------------------------
+Tue Feb 26 11:21:48 UTC 2013 - dmuel...@suse.com
+
+- add python-oslo-config buildrequires 
+
+-------------------------------------------------------------------
+Fri Feb 22 11:23:00 UTC 2013 - sasc...@suse.de
+
+- BuildRequire openstack-suse-macros instead of openstack-macros
+
+-------------------------------------------------------------------
+Tue Jan 15 15:36:50 UTC 2013 - sasc...@suse.de
+
+- Revert "fix", it's sufficient to require python-cinder
+
+--------------------------------------------------------------------
+Tue Jan 15 14:08:28 UTC 2013 - cloud-de...@suse.de
+
+- Update to version 2013.1+git.1358255308.7905b6b:
+  + Factor out LVM code.
+
+--------------------------------------------------------------------
+Mon Jan 14 12:01:00 UTC 2013 - dmuel...@suse.com
+
+- Update to version 2013.1+git.1358161260.643f916:
+  + Implement filter scheduler
+  + Revert "Implement filter scheduler"
+  + Provide HP 3PAR array iSCSI driver
+  + Fix CinderClient exception name in EMCISCSIDriver.
+  + Enable cinder exception format checking in tests.
+  + Update exceptions to pass correct kwargs.
+  + Add option to make exception format errors fatal.
+  + Implement filter scheduler
+  + Use tempdir for lock_path in tests.
+  + Make WebOb version specification more flexible
+  + Fix cmds clearing in TargetAdminTestCase.
+  + Add missing library
+  + use deleted = False, not 0 for update
+  + Implement ability to Clone volumes in Cinder.
+  + Add pyflakes
+  + Adds synchronization to attach volume.
+  + Add EMC Volume Driver in Cinder
+  + Adding marker, pagination, sort key and sort direction to v2 api
+  + Fix typo in image_utils tempfile handling
+  + Make the NetAppISCSIDriver._is_clone_done() method able to handle
+  + Make sure we don't double remove tmp on exception
+  + Add service mgmt extension.
+  + Added the lockutils, fileutils, gettextutils
+  + Fixes a Windows volume driver bug on disk export
+  + Moving host admin extension with other extensions
+  + Allow the lvm backed drivers to use mirrrors
+  + CHAP support for IBM Storwize/SVC driver.
+  + Remove instance quota re-sync code
+  + Add image metadata API extension
+  + Raise NotImplemented for drivers that don't support images
+  + Add *.swp to gitignore.
+  + Support glance servers over https
+  + Add commands used by NFS volume driver to rootwrap
+  + Changing display_name to name in v2 api
+  + Make summary and detail view consistent with other projects
+  + creating separate v1 and v2 stubs and general fakes
+  + Make copy_to_volume a bit more useful.
+  + Delete type call in api needs update to use ID.
+  + Convert volume_type id from int to uuid.
+  + Rename Config osapi_compute_link_prefix to osapi_volume_base_URL
+  + Fix exception when size is None.
+  + Ensure request_spec can be serialized.
+  + attaching volumes will set instance_uuid instantly
+  + Revert changes to monkey_patch.
+  + Improve provider_location cleanup code for RBD.
+  + Fix import order to make it alphabetical.
+  + Fix None being passed into as_int().
+  + Use auth_token middleware from keystoneclient.
+  + Provide i18n to those messages without _()
+  + Revert "use O_DIRECT when copying from /dev/zero too"
+  + Make pep8 checks a bit stricter.
+  + Unpin lxml requirements
+  + use O_DIRECT when copying from /dev/zero too
+  + Add CONTRIBUTING file.
+  + Add the persistency to the volume created by iscsi IET.
+  + adding copy of v1 as v2
+  + Moving contrib to cinder.api
+  + Moving api v1 implementation into v1 directory
+  + Switching api to use base extension manager
+  + moving all middleware code in cinder.api.middleware
+  + Moving common api code into cinder.api
+  + Cleaning up volume driver paths
+  + Add volume bootable information to api response
+  + Add XenAPINFSDriver
+  + Add db table for Glance Metadata
+  + Remove redundant db.volume_update() in volume manager create_volume()
+  + Pin pep8 1.3.3
+  + Removes the xensm driver
+  + Pass in correct volume_ref to create_from_snapshot.
+  + Add hosts extension to Cinder.
+  + Remove unused python-daemon dependency
+  + Make tox.ini run pep8/hacking checks on bin.
+  + Various pep8/HACKING fixes for Cinder.
+  + Volume RPC API Versioning
+  + Remove gen_uuid()
+  + Remove obsolete use_local_volumes
+  + Import order cleanup per HACKING
+  + Remove unused volume API method - remove_from_compute()
+  + Scheduler API clean up and refactor
+  + Remove dm_setup(remove) call in volume_delete.
+  + Add ability to disable secure volume delete.
+  + Remove the zeroing out of the volume altogether
+  + Add 'create_volume' to scheduler RPC API.
+  + Fix run_tests.sh ambiguous usage msg and behaviour for -x option
+  + Add admin only action for force detach
+  + Changes bit mode of zadara.py to 644
+  + Port openstack-common/uuidutils to Cinder
+  + Fix 401 from auth_token middleware
+  + Splitting out volume drivers in driver.py
+  + Minor optimization in create_volume in HpSanISCSIDriver
+  + Adding a SSH Connection Pool.
+  + Return volume type name on volume create
+  + pin sqlalchemy to the 0.7 series
+  + Add VolumeTenantAttribute API extension
+  + Log the body of an /action
+  + Detect and fix issues caused by vol ID migration
+  + Split out drivers in san.py
+  + Add VolumeHostAttribute API extension
+  + Add default volume type flag
+  + Fix typo so setting volume_tmp_dir works
+  + Rollback for resources during volume creation failure
+  + Allow the user to update a volume's metadata
+  + Add the generation of the username and password for iSCSI target.
+  + Update HACKING.rst and related changes from Nova/PEP8.
+  + Add trove classifiers for PyPI
+  + Ensure device node exists before wiping during volume deletion
+  + Update volume and snapshot status on delete
+  + Drop unused quota_usage db methods
+  + Drop duplicate sqlalchemy db api methods
+  + Change output strings to i18ned
+  + Adds support for Windows 2012 Storage Server
+  + Update common.
+  + Fix incorrect class path for legacycinder formatter in logging_sample.conf
+  + Error message references incorrect variable
+  + Loosen anyjson dependency to avoid clash with ceilometer
+  + Configuration Options clean up
+  + Fix typo in policy documentation
+  + Add snapshot force delete admin action
+  + Mock out sleep in some retry tests
+  + Use policy based rule to define context.is_admin
+  + Sync openstack common and add policy
+  + Fix typo in sample configuration file
+  + Update distribute version in test requires.
+  + Revert explicit usage of tgt-adm --conf option.
+  + Fixes remove_export for IetAdm
+  + Add missing entries in setup, fix up pip-requires
+  + Fix NetAppCmodeISCSIDriver._get_lun_handle() method
+  + Remove unused code: check_for_export.
+  + Return 400 if create volume snapshot force parameter is invalid
+  + Fix cinder-volume-usage-audit
+  + Sync with nova change I135ed85a.
+  + Remove cinder gating hack
+  + Set the default availability zone back to nova
+  + Add lun number (0) to model_update in HpSanDriver
+  + Fixes to the SolarisISCSI Driver
+  + Stop double logging to the console
+  + Restore SIGPIPE default action for subprocesses
+  + Replace builtin hash with MD5 to solve 32/64-bit issues.
+  + Correct IetAdm remove_iscsi_target
+  + Add nova migrate_version check to cinder import
+  + Bump version to 2013.1
+  + Clean up db.volume_create()
+  + Fix volume deletion when device mapper is used
+  + Update quota when deleting volume that failed to be scheduled
+  + Sync a change to rpc from openstack-common.
+  + Add a resume delete on volume manager startup
+  + Improve entity validation in volumes APIs
+  + Add entity body validation helper
+  + Should've added super().tearDown() in test_iscsi
+  + Fixes bug 1050135.
+  + Fix FLAGS.volumes_dir help message
+  + Use tmpdir and avoid leaving test files behind
+  + Sync log format changes from openstack-common.
+  + Update rpc from openstack-common.
+  + Add volume quota in volume/api.py and olume/manager.py
+  + Fixes bug 1049446.
+  + Revert "Don't zero out snapshot volume on snapshot_delete"
+  + Add update to volume and snapshot controllers
+
+-------------------------------------------------------------------
+Wed Dec 19 15:34:13 UTC 2012 - sasc...@suse.de
+
+- It's a noarch package
+
+--------------------------------------------------------------------
+Wed Dec 19 12:23:37 UTC 2012 - sasc...@suse.de
+
++++ 30 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:13.1:Update/.openstack-cinder.2119.new/openstack-cinder-doc.changes
New Changes file:

--- /dev/null   2013-10-11 12:16:15.204037506 +0200
+++ 
/work/SRC/openSUSE:13.1:Update/.openstack-cinder.2119.new/openstack-cinder.changes
  2013-10-22 16:31:50.000000000 +0200
@@ -0,0 +1,2127 @@
+-------------------------------------------------------------------
+Thu Oct 17 15:26:40 UTC 2013 - dmuel...@suse.com
+
+- update to 2013.2:
+  + No changes
+
+-------------------------------------------------------------------
+Sat Oct 12 11:47:39 UTC 2013 - speili...@suse.com
+
+- Update to version 2013.2.rc2:
+  + No changes
+
+-------------------------------------------------------------------
+Wed Oct  9 11:04:54 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.rc1:
+  + usedevelop in tox
+  + Disable lazy translation
+  + Clean CONF out of brick initiator
+  + Create volume revert fails for non admin user
+  + VMware: Usng RetrvProprtisEx & does multi ESX scan
+  + Pass through args and kwargs in brick connectors
+  + Remove CONF from brick remotefs
+  + After commiting quota we should avoid certain reverts
+  + NetApp fix clone image compatibility issue with ssc
+  + Update Babel from Openstack Requirements
+  + Validate force_host_copy API param for migration
+  + Changed header from LLC to Foundation based on trademark policies
+  + Check for backing lun on iscsi target create
+  + v2 api - return bootable attr value on volume list
+  + Improve gpfs config flag help text readability
+  + Storwize SVC driver hostname can't start with number
+  + Fixes incorrect class path in logging_sample.conf
+  + Quotas roll back failure of create volume task
+  + Remove need for CONF acces in brick iscsi
+  + Add key manager implementation with static key
+  + Remove incorrect class in cinder.conf.sample
+  + VMware ESX: Fixes vol clone & clone from snapshot
+  + Add support for querying the quotas usage
+  + Fixes ceph backup import errors
+  + Imported Translations from Transifex
+  + Clean CONF out of brick iser
+  + Fix broken solidfire create-snapshot
+
+-------------------------------------------------------------------
+Wed Oct  2 00:37:11 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a225.ga2673b0:
+  + Dont retry if target creation succeeds
+  + Set vol driver initialized before deleting volumes
+  + Add XML response tests for qos specs manage ext
+  + Fix Huawei HVS driver attaching volume error
+  + Fix mandatory and optional args for create_volume
+  + Fix translation of CinderExceptions in REST API
+  + Fix finish_volume_migration() on SQLAlchemy 0.8.x
+  + Fixes backup with multiple volume backend
+
+-------------------------------------------------------------------
+Tue Oct  1 00:30:19 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a210.g0f7d937:
+  + Clean CONF out of brick exception
+  + Update OpenStack Style Commandments link
+  + Fix type change in bootable setting of volume view
+  + Allow upgrade from Grizzly with ThinLVMVolumeDriver
+  + Add error logs for Huawei driver
+  + Imported Translations from Transifex
+  + Use module units for some drivers
+  + Add debug logging for targets
+  + Fix XML serializer for QoS Specs extension
+  + Fix chown fail for nfs file without necessary permission
+
+-------------------------------------------------------------------
+Sun Sep 29 00:09:08 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a190.g76498dc:
+  + Get host group id when Huawei driver initializing
+
+-------------------------------------------------------------------
+Fri Sep 27 16:31:31 UTC 2013 - dmuel...@suse.com
+
+- switch to crudini 
+
+-------------------------------------------------------------------
+Thu Sep 26 10:25:32 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a188.g4e27ca1:
+  + Update rootwrap with code from oslo
+  + Allow v2 Volume API to create volume with type name
+  + Fix check for mount.nfs helper installation
+  + Fix NetApp iscsi drivers for cinder backup
+  + VMware: Handles no datastores case
+  + Fix processutils.execute errors on windows
+  + Revert "Fix volume_rpcapi calls for chance/simple scheds"
+  + LVM volume_clear: error on unexpected inputs
+  + Sync gettextutils from oslo
+  + Pass correct args to vol_rpc create_volume calls
+
+-------------------------------------------------------------------
+Tue Sep 24 23:45:16 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a168.gbedcc2d:
+  + Add sg_scan filter to rootwrap
+  + Add delete support for volume type encryption
+  + GPFS Driver missing clone depth limit for snapshots
+  + Fixes some typos in cinder
+  + Specific /usr/local/bin/hus-cmd rootwrap filter
+  + Fix volume_rpcapi calls for chance/simple scheds
+  + Imported Translations from Transifex
+  + Added mapper for update_all on snapshot_metadata
+
+-------------------------------------------------------------------
+Mon Sep 23 23:41:16 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a153.ge6f4d33:
+  + Soft delete tmp migration volume
+  + NetApp check for 7 mode controller version
+  + Add extend to reference LVM driver
+  + Fix issues with failed lvremove
+  + Add a retry to create_iscsi_target for LVM
+  + GlusterFS: Use image_utils for qemu-img calls
+  + GlusterFS: Copy snap from correct source file
+  + Fix over-indent in compute/nova
+  + Require assisted_volume_snapshots from novaclient
+  + Storwize/SVC: Optional CHAP authentication
+  + Fixes vol restore discard final bytes unzeroed
+
+-------------------------------------------------------------------
+Sun Sep 22 23:43:17 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a131.g4925c1a:
+  + Remove default root_helper of sudo for remotefs
+
+-------------------------------------------------------------------
+Sun Sep 22 00:07:08 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a129.g6786027:
+  + Add volume metadata to v2
+
+-------------------------------------------------------------------
+Fri Sep 20 23:50:32 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a127.gf61aeb4:
+  + Enforce driver is initialized
+  + Fix HP3PAR iSCSI path connection
+
+-------------------------------------------------------------------
+Fri Sep 20 06:56:10 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a123.gdee4c86:
+  + Sync gettextutils from oslo
+  + remove VolumeNotFoundForInstance class
+  + VMware driver: Fix for invalid datastore selection
+  + Pass down root_helper in more cases
+  + Add logging to prior to raising exceptions
+  + NetApp fix create vol different size than snapshot
+  + Added mapper for snapshot_metadata
+
+-------------------------------------------------------------------
+Fri Sep 20 06:55:28 UTC 2013 - dmuel...@suse.com
+
+- remove 0001-Use-temporary_chown-implementation-from-utils.patch 
+
+-------------------------------------------------------------------
+Thu Sep 19 00:11:30 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a110.g26044e7:
+  + Fix secure delete for thick LVM snapshots
+  + Allow display_name for v2 snapshot-update
+  + Fixes call GlanceConnectionFailed in invalid ARG
+  + Use built-in print() instead of print statement
+  + assertEquals is deprecated, use assertEqual
+  + Fixes call VolumeNotFound in the invalid argument
+  + fix wrong desciption of monkey_patch config
+  + Fix huawei driver test issues
+  + Fix __init__ methods of brick initiator connectors
+
+-------------------------------------------------------------------
+Wed Sep 18 08:50:18 UTC 2013 - dmuel...@suse.com
+
+- fix requires 
+
+-------------------------------------------------------------------
+Wed Sep 18 00:15:59 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a92.g1f563d6:
+  + Set rootwrap_config path to rootwrap.conf
+
+-------------------------------------------------------------------
+Mon Sep 16 23:46:24 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a90.g2a725ef:
+  + Use $state_path/conversion for image_conversion_dir default
+  + Imported Translations from Transifex
+  + Do not use qemu-img --backing-chain or --output=json
+  + Fixes ceph volume restore to larger image than source
+
++++ 1930 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:13.1:Update/.openstack-cinder.2119.new/openstack-cinder.changes

New:
----
  0001-Avoid-using-GREENDNS-due-to-dnspython.patch
  _service
  cinder-2013.2.tar.gz
  cinder-sudoers
  openstack-cinder-doc.changes
  openstack-cinder-doc.spec
  openstack-cinder.changes
  openstack-cinder.init
  openstack-cinder.logrotate
  openstack-cinder.spec
  rpmlintrc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openstack-cinder-doc.spec ++++++
#
# spec file for package openstack-cinder-doc
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define component cinder

Name:           openstack-%{component}-doc
Version:        2013.2
Release:        0
Summary:        OpenStack Block Storage (Cinder) - Documentation
License:        Apache-2.0
Group:          Documentation/HTML
Url:            https://launchpad.net/cinder
Source:         cinder-2013.2.tar.gz
BuildRequires:  graphviz
BuildRequires:  openstack-suse-macros
BuildRequires:  python-Babel
BuildRequires:  python-Paste
BuildRequires:  python-PasteDeploy
BuildRequires:  python-Routes
BuildRequires:  python-SQLAlchemy
BuildRequires:  python-Sphinx
BuildRequires:  python-WebOb
BuildRequires:  python-base
BuildRequires:  python-cinder = %{version}
BuildRequires:  python-cinderclient
BuildRequires:  python-d2to1
BuildRequires:  python-distribute
BuildRequires:  python-eventlet
BuildRequires:  python-feedparser
BuildRequires:  python-glanceclient < 2
BuildRequires:  python-iso8601
BuildRequires:  python-lxml
BuildRequires:  python-mox
BuildRequires:  python-oslo.config
BuildRequires:  python-oslo.sphinx
BuildRequires:  python-paramiko
BuildRequires:  python-pbr
BuildRequires:  python-sqlalchemy-migrate
BuildRequires:  python-suds
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Cinder is the OpenStack Block storage service. This is a spin out of
cinder-volumes.

This package contains documentation files for %{name}.

%prep
%setup -q -n cinder-2013.2
%openstack_cleanup_prep

%build
python setup.py build_sphinx
rm doc/build/html/.buildinfo # Remove unneeded files

%install

%files
%defattr(-,root,root,-)
%doc LICENSE doc/build/html

%changelog
++++++ openstack-cinder.spec ++++++
#
# spec file for package openstack-cinder
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define component cinder
%define groupname openstack-%{component}
%define username openstack-%{component}

Name:           openstack-%{component}
Version:        2013.2
Release:        0
Summary:        OpenStack Block Storage (Cinder)
License:        Apache-2.0
Group:          System/Management
Url:            https://launchpad.net/cinder
Source:         cinder-2013.2.tar.gz
Source1:        %{name}.init
Source2:        %{name}.logrotate
Source3:        cinder-sudoers
Patch0:         0001-Avoid-using-GREENDNS-due-to-dnspython.patch
BuildRequires:  fdupes
BuildRequires:  openstack-suse-macros
BuildRequires:  openstack-suse-sudo
BuildRequires:  python-base
BuildRequires:  python-d2to1
BuildRequires:  python-distribute >= 0.6.24
BuildRequires:  python-oslo.config
BuildRequires:  python-six
# Documentation build requirements:
BuildRequires:  crudini
BuildRequires:  python-Babel
BuildRequires:  python-Sphinx
BuildRequires:  python-WebOb
BuildRequires:  python-argparse
BuildRequires:  python-eventlet
BuildRequires:  python-iso8601
BuildRequires:  python-oslo.sphinx
BuildRequires:  python-paramiko
BuildRequires:  python-pbr
BuildRequires:  python-stevedore >= 0.8
Requires:       logrotate
Requires:       openstack-suse-sudo
Requires:       python >= 2.6.8
Requires:       python-cinder = %{version}
Requires:       python-kombu >= 2.4.8
Requires:       python-oslo.config >= 1.1.0
Requires:       python-swiftclient >= 1.5
%if 0%{?suse_version} > 1110
Requires(pre):  pwdutils
%else
Requires(pre):  shadow-utils
%endif
%if 0%{?fedora}
Requires(pre):  shadow-utils
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch:      noarch
%endif

%description
Cinder is the OpenStack Block storage service. This is a spin out of
nova-volumes.

%package -n python-cinder
Summary:        OpenStack Block Storage (Cinder) - Python module
Group:          Development/Languages/Python
Requires:       python >= 2.6.8
Requires:       python-Babel >= 1.3
Requires:       python-Paste
Requires:       python-PasteDeploy >= 1.5.0
Requires:       python-Routes >= 1.12.3
Requires:       python-SQLAlchemy >= 0.7.8
Requires:       python-WebOb >= 1.2.3
Requires:       python-amqplib >= 0.6.1
Requires:       python-anyjson >= 0.3.3
Requires:       python-d2to1 >= 0.2.10
Requires:       python-eventlet >= 0.13.0
Requires:       python-glanceclient >= 0.9.0
Requires:       python-greenlet >= 0.3.2
Requires:       python-iso8601 >= 0.1.4
Requires:       python-keystoneclient >= 0.3.0
Requires:       python-lockfile >= 0.8
Requires:       python-lxml >= 2.3
Requires:       python-netaddr
Requires:       python-novaclient >= 2.15.0
Requires:       python-paramiko >= 1.8.0
Requires:       python-six
Requires:       python-sqlalchemy-migrate >= 0.7.2
Requires:       python-stevedore >= 0.10
Requires:       python-suds >= 0.4
Requires:       python-wsgiref >= 0.1.2

%description -n python-cinder
Cinder is the OpenStack Block storage service. This is a spin out of
nova-volumes.

This package contains the core Python module of OpenStack Keystone.

%package api
Summary:        OpenStack Block Storage (Cinder) - API
Group:          Development/Languages/Python
Requires:       %{name} = %{version}

%description api
This package contains the OpenStack Cinder API.

%package backup
Summary:        OpenStack Block Storage (Cinder) - Volume Backup Service
Group:          Development/Languages/Python
Requires:       %{name} = %{version}

%description backup
This package contains the OpenStack Cinder Backup Service.

%package scheduler
Summary:        OpenStack Block Storage (Cinder) - Scheduler
Group:          Development/Languages/Python
Requires:       %{name} = %{version}

%description scheduler
This package contains the OpenStack Cinder scheduler.

%package volume
Summary:        OpenStack Block Storage (Cinder) - Volume
Group:          Development/Languages/Python
Requires:       %{name} = %{version}
# needed by EMC
Requires:       python-pywbem
Provides:       openstack-nova-volume = 2013.1
Obsoletes:      openstack-nova-volume < 2013.1

%description volume
This package contains the OpenStack Cinder volume manager.

%package test
Summary:        OpenStack Block Storage (Cinder) - Testsuite
Group:          Development/Languages/Python
Requires:       %{name} = %{version}
Requires:       git-core
Requires:       python-amqplib >= 0.6.1
Requires:       python-cinderclient
Requires:       python-coverage >= 3.6
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
Requires:       python-discover
%endif
Requires:       python-fixtures >= 0.3.14
Requires:       python-flake8 >= 2.0
Requires:       python-glanceclient >= 0.9.0
Requires:       python-hacking >= 0.5.6
Requires:       python-hp3parclient >= 2.0
Requires:       python-mock >= 1.0
Requires:       python-mox >= 0.5.3
Requires:       python-pbr >= 0.5.21
Requires:       python-pep8 >= 1.4.5
Requires:       python-psycopg2
Requires:       python-pyflakes >= 0.7.2
Requires:       python-python-subunit
Requires:       python-testrepository >= 0.0.17
Requires:       python-testtools >= 0.9.32

%description test
The OpenStack Cinder testsuite. It is used to verify the
functionality of OpenStack Cinder.

%prep
%setup -q -n cinder-2013.2
%patch0 -p1
%openstack_cleanup_prep

%build
python setup.py build
python setup.py build_sphinx -b man

%install
python setup.py install --skip-build --prefix=%{_prefix} --root=%{buildroot}

### directories
install -d -m 755 %{buildroot}%{_localstatedir}/{lib,log,run}/%{component}
install -d -m 755 %{buildroot}%{_sysconfdir}/%{component}

### configuration files
install -p -D -m 644 etc/cinder/cinder.conf.sample 
%{buildroot}%{_sysconfdir}/%{component}/%{component}.conf
install -p -D -m 644 etc/cinder/{api-paste.ini,policy.json,rootwrap.conf} 
%{buildroot}%{_sysconfdir}/%{component}/
cp -a etc/cinder/rootwrap.d/ %{buildroot}%{_sysconfdir}/%{component}/

# bash-completion/logrotate/etc.
install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}

### init scripts
mkdir -p %{buildroot}%{_sbindir} %{buildroot}%{_initddir}
for i in api backup scheduler volume ; do
    install -m 755 %{SOURCE1} %{buildroot}%{_initddir}/%{name}-$i
    sed -i -e "s/__NAME__/$i/g" %{buildroot}%{_initddir}/%{name}-$i
    ln -s ../..%{_initddir}/%{name}-$i %{buildroot}%{_sbindir}/rc%{name}-$i
done

### sudoers configuration for cinder-rootwrap:
install -D -m 440 %{SOURCE3} 
%{buildroot}%{_sysconfdir}/sudoers.d/openstack-cinder

### documentation
install -d %{buildroot}%{_mandir}/man1
install -m 644 doc/build/man/*.1 %{buildroot}%{_mandir}/man1

### test subpackage
%openstack_test_package_install
%fdupes %{buildroot}%{_localstatedir}/lib/%{name}-test

### misc
%fdupes %{buildroot}%{python_sitelib}/%{component}

### set default configuration (mostly applies to package-only setups and 
quickstart, i.e. not generally crowbar)
%define cinder_conf %{buildroot}%{_sysconfdir}/cinder/cinder.conf
crudini --set %{cinder_conf} DEFAULT verbose True
#NOTE(saschpe): Don't set 'log_file', each cinder deamon will create it's own 
if only 'log_dir' is set:
crudini --set %{cinder_conf} DEFAULT log_dir /var/log/cinder
crudini --set %{cinder_conf} DEFAULT auth_strategy keystone
crudini --set %{cinder_conf} DEFAULT iscsi_helper ietadm
crudini --set %{cinder_conf} DEFAULT rootwrap_config /etc/cinder/rootwrap.conf
crudini --set %{cinder_conf} DEFAULT state_path /var/lib/cinder
#NOTE(saschpe): Do we want to use sqlite per default or demand PostgreSQL right 
away?
crudini --set %{cinder_conf} DEFAULT sql_connection 
sqlite:////var/lib/cinder/cinder.db
#NOTE(saschpe): Can't hurt to set the default volume_group, only the LVM driver 
has a it otherwise:
crudini --set %{cinder_conf} DEFAULT volume_group cinder-volumes

%pre
getent group %{groupname} >/dev/null || groupadd -r %{groupname}
getent passwd %{username} >/dev/null || useradd -r -g %{groupname} -d 
%{_localstatedir}/lib/%{component} -s /sbin/nologin -c "OpenStack Cinder 
Daemons" %{username}
exit 0

%post api
%{fillup_and_insserv -f %{name}-api}

%preun api
%stop_on_removal %{name}-api

%postun api
%restart_on_update %{name}-api
%insserv_cleanup

%post backup

%preun backup
%stop_on_removal %{name}-backup

%postun backup
%restart_on_update %{name}-backup
%insserv_cleanup

%post scheduler
%{fillup_and_insserv -f %{name}-scheduler}

%preun scheduler
%stop_on_removal %{name}-scheduler

%postun scheduler
%restart_on_update %{name}-scheduler
%insserv_cleanup

%post volume
%{fillup_and_insserv -f %{name}-volume}

%preun volume
%stop_on_removal %{name}-volume

%postun volume
%restart_on_update %{name}-volume
%insserv_cleanup

%files
%defattr(-,root,root)
%doc LICENSE README.rst
%dir %attr(0755, %{username}, %{groupname}) %{_localstatedir}/lib/%{component}
%dir %attr(0750, %{username}, %{groupname}) %{_localstatedir}/log/%{component}
%ghost %dir %attr(0750, %{username}, %{groupname}) 
%{_localstatedir}/run/%{component}
%dir %{_sysconfdir}/%{component}
%dir %{_sysconfdir}/%{component}/rootwrap.d
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%config %{_sysconfdir}/sudoers.d/openstack-cinder
%config %attr(0640, root, %{groupname}) 
%{_sysconfdir}/%{component}/api-paste.ini
%config(noreplace) %attr(0640, root, %{groupname}) 
%{_sysconfdir}/%{component}/%{component}.conf
%config %{_sysconfdir}/%{component}/policy.json
%config %{_sysconfdir}/%{component}/rootwrap.conf
%{_bindir}/%{component}-all
%{_bindir}/%{component}-clear-rabbit-queues
%{_bindir}/%{component}-manage
%{_bindir}/%{component}-rootwrap
%{_mandir}/man1/%{component}-manage.1%{?ext_man}

%files -n python-%{component}
%defattr(-,root,root,-)
%doc LICENSE
%{python_sitelib}/%{component}/
%{python_sitelib}/%{component}-*.egg-info
%exclude %{python_sitelib}/%{component}/test*

%files api
%defattr(-,root,root,-)
%doc LICENSE
%{_initddir}/%{name}-api
%{_sbindir}/rc%{name}-api
%{_bindir}/%{component}-api
%{_bindir}/%{component}-rpc-zmq-receiver

%files backup
%defattr(-,root,root,-)
%doc LICENSE
%{_initddir}/%{name}-backup
%{_sbindir}/rc%{name}-backup
%{_bindir}/%{component}-backup

%files scheduler
%defattr(-,root,root,-)
%doc LICENSE
%{_initddir}/%{name}-scheduler
%{_sbindir}/rc%{name}-scheduler
%{_bindir}/%{component}-scheduler

%files volume
%defattr(-,root,root,-)
%doc LICENSE
%config %{_sysconfdir}/%{component}/rootwrap.d/volume.filters
%{_initddir}/%{name}-volume
%{_sbindir}/rc%{name}-volume
%{_bindir}/%{component}-volume
%{_bindir}/%{component}-volume-usage-audit

%files test
%defattr(-,root,root)
%{_localstatedir}/lib/%{name}-test/
%{python_sitelib}/%{component}/test*

%changelog
++++++ 0001-Avoid-using-GREENDNS-due-to-dnspython.patch ++++++
>From 4a73fecb380a4ef18acfe3eb020cf0be34c7c586 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <d...@dmllr.de>
Date: Sun, 23 Jun 2013 13:28:24 +0200
Subject: [PATCH] Avoid using GREENDNS due to dnspython

If dnspython is present in your environment then
eventlet monkeypatches socket.getaddrinfo() with an implementation
which doesn't work for IPv6. To turn this off you need to set an
environment variable before you do the import.

Resolves bug 1164822

Change-Id: I4aa3d40d0f8d0f125c3a89c4ba062ad0d13f1c55
---
 cinder/tests/__init__.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/cinder/tests/__init__.py b/cinder/tests/__init__.py
index cb73bd3..36cb11d 100644
--- a/cinder/tests/__init__.py
+++ b/cinder/tests/__init__.py
@@ -30,6 +30,21 @@
 .. moduleauthor:: Andy Smith <a...@anarkystic.com>
 """
 
+import os
+import sys
+
+# NOTE(mikal): All of this is because if dnspython is present in your
+# environment then eventlet monkeypatches socket.getaddrinfo() with an
+# implementation which doesn't work for IPv6. What we're checking here is
+# that the magic environment variable was set when the import happened.
+if ('eventlet' in sys.modules and
+    os.environ.get('EVENTLET_NO_GREENDNS', '').lower() != 'yes'):
+    raise ImportError('eventlet imported before nova/cmd/__init__ '
+                      '(env var set to %s)'
+                      % os.environ.get('EVENTLET_NO_GREENDNS'))
+
+os.environ['EVENTLET_NO_GREENDNS'] = 'yes'
+
 import eventlet
 
 eventlet.monkey_patch()
-- 
1.8.3.1

++++++ _service ++++++
<services>
  <service name="git_tarballs" mode="disabled">
    <!--<param 
name="url">http://tarballs.openstack.org/cinder/cinder-master.tar.gz</param>-->
    <param 
name="url">http://tarballs.openstack.org/cinder/cinder-2013.2.tar.gz</param>
    <param name="email">opensuse-cl...@opensuse.org</param>
    <param name="plain-version">True</param>
  </service>
</services>
++++++ cinder-sudoers ++++++
openstack-cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap 
/etc/cinder/rootwrap.conf *
++++++ openstack-cinder.init ++++++
#!/bin/sh

### BEGIN INIT INFO
# Provides:          openstack-cinder-__NAME__
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:      mysql postgresql rabbitmq-server
# Should-Stop:       mysql postgresql rabbitmq-server
# Default-Start:     3 5
# Default-Stop:      0 1 2 6
# Short-Description: OpenStack Block Storage (Cinder) - __NAME__
# Description:       OpenStack Block Storage (Cinder) - __NAME__
### END INIT INFO

DAEMON="__NAME__"
USER="openstack-cinder"
CONFFILE="/etc/cinder/cinder.conf"
RUNDIR="/var/run/cinder"

# $RUNDIR can be tmpfs, thus we have to create/own it here:
mkdir -p $RUNDIR && chown $USER. $RUNDIR

. /etc/rc.status

case "$1" in
    start)
        echo -n "Checking for DB Migrations"
        /usr/bin/cinder-manage db sync
        rc_status -v

        echo -n "Starting cinder-$DAEMON"
        /sbin/startproc -q -s -u $USER /usr/bin/cinder-$DAEMON 
--config-file=$CONFFILE
        rc_status -v
        ;;
    stop)
        echo -n "Shutting down cinder-$DAEMON"
        /sbin/killproc /usr/bin/cinder-$DAEMON
        rc_status -v
        ;;
    restart)
        $0 stop
        $0 start
        rc_status
        ;;
    force-reload)
        $0 try-restart
        rc_status
        ;;
    reload)
        echo -n "Reload service cinder-$DAEMON"
        rc_failed 3
        rc_status -v
        ;;
    status)
        echo -n "Checking for service cinder-$DAEMON"
        /sbin/checkproc /usr/bin/cinder-$DAEMON
        rc_status -v
        ;;
    try-restart|condrestart)
        if test "$1" = "condrestart"; then
            echo "${attn} Use try-restart ${done}(LSB)${attn} rather than 
condrestart ${warn}(RH)${norm}"
        fi
        $0 status
        if test $? = 0; then
            $0 restart
        else
            rc_reset # Not running is not a failure.
        fi
        rc_status # Remember status and be quiet
        ;;
    *)
        echo "Usage: $0 
{start|stop|status|try-restart|restart|force-reload|reload}"
        exit 1
        ;;
esac
rc_exit
++++++ openstack-cinder.logrotate ++++++
compress

/var/log/cinder/*.log {
    rotate 15
    size 1M
    weekly
    dateext
    missingok
    notifyempty
    su openstack-cinder openstack-cinder
    copytruncate
    sharedscripts
}
++++++ rpmlintrc ++++++
#TODO: Fix this later on (i.e. SLE-12), Python on SLE-11 is way beyond broken:
addFilter("no-binary")
# This symling is for the -test package and can be ignored:
addFilter("dangling-symlink /var/lib/openstack-cinder-test/cinder")
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to