debian/0000775000000000000000000000000012421502053007162 5ustar debian/logging.conf0000664000000000000000000000251712413600753011473 0ustar [loggers] keys = root, cinder [handlers] keys = stderr, stdout, watchedfile, syslog, null [formatters] keys = legacycinder, default [logger_root] level = WARNING handlers = null [logger_cinder] level = INFO handlers = stderr qualname = cinder [logger_amqplib] level = WARNING handlers = stderr qualname = amqplib [logger_sqlalchemy] level = WARNING handlers = stderr qualname = sqlalchemy # "level = INFO" logs SQL queries. # "level = DEBUG" logs SQL queries and results. # "level = WARNING" logs neither. (Recommended for production systems.) [logger_boto] level = WARNING handlers = stderr qualname = boto [logger_suds] level = INFO handlers = stderr qualname = suds [logger_eventletwsgi] level = WARNING handlers = stderr qualname = eventlet.wsgi.server [handler_stderr] class = StreamHandler args = (sys.stderr,) formatter = legacycinder [handler_stdout] class = StreamHandler args = (sys.stdout,) formatter = legacycinder [handler_watchedfile] class = handlers.WatchedFileHandler args = ('cinder.log',) formatter = legacycinder [handler_syslog] class = handlers.SysLogHandler args = ('/dev/log', handlers.SysLogHandler.LOG_USER) formatter = legacycinder [handler_null] class = cinder.log.NullHandler formatter = default args = () [formatter_legacycinder] class = cinder.log.LegacyCinderFormatter [formatter_default] format = %(message)s debian/cinder-volume.postinst0000664000000000000000000000104012413600753013542 0ustar #!/bin/sh -e if [ "$1" = "configure" ]; then chown cinder:cinder /var/lib/cinder/volumes chmod 0750 /var/lib/cinder/volumes chown root:root /etc/cinder/rootwrap.d/volume.filters if which invoke-rc.d >/dev/null 2>&1; then invoke-rc.d tgtd restart > /dev/null 2>&1 || true else /etc/init.d/tgtd restart > /dev/null 2>&1 || true fi if which invoke-rc.d >/dev/null 2>&1; then invoke-rc.d cinder-volume restart > /dev/null 2>&1 || true else /etc/init.d/cinder-volume restart > /dev/null 2>&1 || true fi fi #DEBHELPER# debian/cinder-volume.upstart0000664000000000000000000000074112413600753013370 0ustar description "Cinder volume server" author "Chuck Short " start on runlevel [2345] stop on runlevel [!2345] chdir /var/run pre-start script mkdir -p /var/run/cinder chown cinder:cinder /var/run/cinder mkdir -p /var/lock/cinder chown cinder:root /var/lock/cinder end script exec start-stop-daemon --start --chuid cinder --exec /usr/bin/cinder-volume \ -- --config-file=/etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-volume.log debian/control0000664000000000000000000001252212413600753010576 0ustar Source: cinder Section: net Priority: extra Maintainer: Chuck Short Build-Depends: debhelper (>= 8.0.0), python-all (>= 2.6) Build-Depends-Indep: python-amqplib (>= 0.6.1), python-anyjson (>= 0.3.3), python-babel, python-coverage, python-d2to1, python-eventlet (>= 0.13.0), python-fixtures (>= 0.3.14), python-glanceclient (>= 1:0.9.0), python-greenlet (>= 0.3.2), python-hp3parclient (>= 3.0.0), python-hplefthandclient (>= 1.0.0), python-iso8601, python-keystoneclient (>= 1:0.4.2), python-kombu (>= 2.5.12), python-lockfile, python-lxml (>= 2.3), python-migrate, python-mock, python-mox, python-mysqldb, python-netaddr, python-novaclient (>= 1:2.15.0), python-oslo.config (>= 1:1.1.0), python-oslo.rootwrap, python-oslo.messaging, python-paramiko (>= 1.8), python-paste, python-pastedeploy, python-pbr (>= 0.5.21), python-routes, python-setuptools, python-six (>= 1.4.1), python-sphinx, python-sqlalchemy (>= 0.8.2), python-stevedore (>= 0.10), python-suds, python-swiftclient (>= 1:1.5), python-taskflow, python-testtools (>= 0.9.32), python-webob (>= 1.2.3), subunit, testrepository (>= 0.0.17) Standards-Version: 3.9.4 Homepage: http://launchpad.net/cinder Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-server-dev/cinder/icehouse/files Vcs-Bzr: https://code.launchpad.net/~ubuntu-server-dev/cinder/icehouse XS-Testsuite: autopkgtest Package: python-cinder Section: python Architecture: all Depends: python-amqplib (>= 0.6.1), python-anyjson (>= 0.3.3), python-babel, python-eventlet (>= 0.13.0), python-glanceclient (>= 1:0.9.0), python-greenlet (>= 0.3.2), python-iso8601, python-keystoneclient (>= 1:0.3.0), python-kombu (>= 2.5.12), python-lockfile, python-lxml (>= 2.3), python-migrate, python-netaddr, python-novaclient (>= 1:2.12.0), python-oslo.config (>= 1:1.1.0), python-oslo.messaging, python-paramiko (>= 1.8), python-paste, python-pastedeploy, python-routes, python-six (>= 1.4.1), python-sqlalchemy (>= 0.8.2), python-stevedore (>= 0.10), python-suds, python-swiftclient (>= 1:1.5), python-taskflow, python-webob (>= 1.2.3), ${misc:Depends}, ${python:Depends} Suggests: python-ceph, python-hp3parclient Description: Cinder Python libraries OpenStack is a reliable cloud infrastructure. Its mission is to produce the ubiquitous cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable. . Cinder is the OpenStack Block storage service. . This package contains the Python library for Cinder. Package: cinder-common Architecture: all Depends: adduser, python-cinder (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Provides: ${python:Provides} Description: Cinder storage service - common files OpenStack is a reliable cloud infrastructure. Its mission is to produce the ubiquitous cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable. . Cinder is the OpenStack Block storage service. . This package contains commons components for Cinder. Package: cinder-api Architecture: all Depends: cinder-common (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Description: Cinder storage service - API server OpenStack is a reliable cloud infrastructure. Its mission is to produce the ubiquitous cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable. . Cinder is the OpenStack Block storage service. . This package contains the Cinder API server. Package: cinder-volume Architecture: all Depends: cinder-common (= ${binary:Version}), lvm2, tgt, ${misc:Depends}, ${python:Depends} Breaks: cinder-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) Replaces: cinder-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) Description: Cinder storage service - Volume server OpenStack is a reliable cloud infrastructure. Its mission is to produce the ubiquitous cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable. . Cinder is the OpenStack Block storage service. . This package contains the Cinder Volume server. Package: cinder-scheduler Architecture: all Depends: cinder-common (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Description: Cinder storage service - Scheduler server OpenStack is a reliable cloud infrastructure. Its mission is to produce the ubiquitous cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable. . Cinder is the OpenStack Block storage service. . This package contains the Cinder Scheduler server. Package: cinder-backup Architecture: all Depends: cinder-common (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Description: Cinder storage service - Scheduler server OpenStack is a reliable cloud infrastructure. Its mission is to produce the ubiquitous cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable. . Cinder is the OpenStack Block storage service. . This package contains the Cinder backup service. debian/cinder-api.logrotate0000664000000000000000000000015112413600753013123 0ustar /var/log/cinder/cinder-api.log { daily missingok compress delaycompress notifempty } debian/cinder-scheduler.logrotate0000664000000000000000000000015712413600753014336 0ustar /var/log/cinder/cinder-scheduler.log { daily missingok compress delaycompress notifempty } debian/docs0000664000000000000000000000001312413600753010036 0ustar README.rst debian/cinder-api.install0000664000000000000000000000002312413600753012567 0ustar usr/bin/cinder-api debian/cinder-backup.upstart0000664000000000000000000000074112413600753013326 0ustar description "Cinder backup server" author "Chuck Short " start on runlevel [2345] stop on runlevel [!2345] chdir /var/run pre-start script mkdir -p /var/run/cinder chown cinder:cinder /var/run/cinder mkdir -p /var/lock/cinder chown cinder:root /var/lock/cinder end script exec start-stop-daemon --start --chuid cinder --exec /usr/bin/cinder-backup \ -- --config-file=/etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-backup.log debian/changelog0000664000000000000000000005345312421502053011046 0ustar cinder (1:2014.1.3-0ubuntu1.1) trusty-security; urgency=medium * No change rebuild for security: - [7eef596] Refuse invalid qcow2 backing files + CVE-2014-3641 + LP: #1350504 - [ec249ee] Sync latest process and str utils from oslo + CVE-2014-7230 + LP: #1343604 -- Marc Deslauriers Tue, 21 Oct 2014 12:02:55 -0400 cinder (1:2014.1.3-0ubuntu1) trusty; urgency=medium [ Corey Bryant ] * Resynchronize with stable/icehouse (360705a) (LP: #1377136): - [7eef596] Refuse invalid qcow2 backing files - [8f7823d] Fixes terminate_connection live migration issue - [db5a25d] NetApp NFS: Do not reference dst_img_local before assignment - [ec249ee] Sync latest process and str utils from oslo - [d3b1102] Fix KeyError exception in NetApp CDOT iscsi driver volume create. - [1604b49] Don't clear _mounted_shares list in remoteFS while updating - [da5c3e6] Update cinder.conf.sample - [8178590] Block sqlalchemy-migrate 0.9.2 - [5863f52] Mock glance client object in version unit tests - [03573a0] VMware: Disable suds caching - [c282636] Honor volume:get policy - [da65d08] Prevent tenant viewing volumes owned by another - [5f88296] Fix performance issues with brocade zone driver. - [36406c9] Cache snapshots in request for extension - [ce35e7a] volume_image_metadata missing from volume list - [69ade10] Add retry_on_deadlock to db update methods - [3b4d5b0] Add fix for reservation index to icehouse - [360705a] vmware: Force chunked transfer for upload-to-image * d/p/fix-requirements.patch: Rebased. -- Chuck Short Fri, 03 Oct 2014 15:32:56 -0400 cinder (1:2014.1.2-0ubuntu1) trusty; urgency=medium [ Corey Bryant ] * Resynchronize with stable/icehouse (00d456b) (LP: #1354159): - [a1135b7] Fix solidfire accept_transfer - [00b7574] Fixes HP LeftHand driver with Paramiko 1.13.0 - [22e451b] Set python hash seed to 0 in tox.ini - [cd7dd94] Get updated model info on volume transfer - [f6df82c] Ensure flushing of IO prior to removing FC device - [63ba651] Don't leave snapshots on the floor - [c74efd7] Retry lvremove with ignore_suspended_devices - [fe37a6e] Remove second get call to list/show volumes - [1d80539] Add cinder-manage cmd to update host column - [d12c513] Fix host option isn't set when using multiple backend - [570c90f] Add the -f option back to lvremove - [170632f] Update requirements.txt to disallow alpha libs - [04c7431] Allow host config to be overriden in backend - [f96e991] Storwize/SVC driver detach volume failed - [c4d3c1c] Fix handling multiple WWPNs on preferred FC node - [3877a73] vmware: Fix problems with VIM API retry logic - [cab4ef6] Specify lld in tgt config backends - [d4392f3] Fix retyping volume that has volume type None - [d6829c1] Ensure that lun_id is an int - [00d456b] GET details REST API next link missing 'details' * d/p/fix-requirements.patch: Refreshed. [ James Page ] * d/watch: Point to tarballs.openstack.org for release artifacts. -- Corey Bryant Fri, 08 Aug 2014 11:21:47 -0400 cinder (1:2014.1.1-0ubuntu2) trusty-proposed; urgency=medium [ Corey Bryant ] * Resynchronize with stable/icehouse (aa0e752) (LP: #1328134): - [d58abc1] Update cinder.conf - [5330d3b] Updated from global requirements - [41127fb] Properly initialize rpc in cinder-volume-usage-audit - [75fa69d] Storwize/SVC driver crashes when check volume copy status - [bc585a0] Fix solaris_execute in SolarisISCSIDriver. - [bc0442a] Fix wrong exception reference - [59fe59e] Correct metadata ordering issue in tests - [1e48833] Fallback to None on missing Glance image attrs - [767c2a6] Keep volume available if retype fails due to quota - [d0602f6] Fixes cinder error state volume delete on Windows - [1815c72] Re-raise exceptions in upload-to-image - [560740f] GlusterFS: Delete active snapshot file on volume delete. - [d17277d] Add exception catch if Storwize/SVC driver failed when retyping - [49446bc] Disable oslo.messaging debug logs - [aa0e752] Adjust sample config for keystoneclient 0.8.0 release * debian/patches/fix-requirements.patch: Refreshed, drop six requirement to align to 14.04 version. [ Jamie Strandboge ] * SECURITY UPDATE: specify /etc/cinder/rootwrap.conf for use with cinder-rootwrap - CVE-2013-1068 (LP: #1185019) -- Jamie Strandboge Wed, 18 Jun 2014 13:05:17 -0500 cinder (1:2014.1-0ubuntu1) trusty; urgency=medium * New upstream release (LP: #1299055). -- Corey Bryant Wed, 16 Apr 2014 13:06:37 -0400 cinder (1:2014.1~rc3-0ubuntu1) trusty; urgency=medium * New release candidate (LP: #1299010). -- Chuck Short Tue, 15 Apr 2014 09:02:40 -0400 cinder (1:2014.1~rc2-0ubuntu1) trusty; urgency=medium * New upstream release (LP: #1299010). -- Chuck Short Mon, 07 Apr 2014 11:18:57 -0400 cinder (1:2014.1~rc1-0ubuntu1) trusty; urgency=medium * New upstream release (LP: #1299010). * debian/patches/fixup-rbd-str-handling.patch: Dropped no longer needed. * debian/patches/fix-requirements.patch: Rediffed. * debian/control: Add python-oslo.messaging. -- Chuck Short Fri, 28 Mar 2014 09:48:21 -0400 cinder (1:2014.1~b3-0ubuntu3) trusty; urgency=medium * d/p/fixup-rbd-str-handling.patch: Cherry pick fix from upstream Gerrit to resolve issue deleting Ceph volumes and snapshots (LP: #1292433). * d/control,rules: Use upstream run_tests.sh wrapper to execute unit tests, add subunit to BD's to ensure output is correctly formatted. -- James Page Fri, 14 Mar 2014 11:19:16 +0000 cinder (1:2014.1~b3-0ubuntu2) trusty; urgency=medium * d/cinder-common.postinst: Correct use of getent (LP: #1224275). * d/cinder-common.postinst: Tidy detection of local sqlite database use for db sync operations (LP: #1290423). -- James Page Thu, 13 Mar 2014 10:11:20 +0000 cinder (1:2014.1~b3-0ubuntu1) trusty; urgency=medium [ Chuck Short ] * debian/patches/fix-requirements.patch: Refreshed. * debian/control: Bump python-keystoneclient to 0.4.2. * debian/patches/skip-tests.patch: Temporarily skip testlefthand tests since the needed python library hasnt been packaged yet. [ James Page ] * d/p/fix-requirements.patch: Refreshed. * d/control,d/p/series/skip-tests.patch: Add BD on python-hplefthandclient, bump version requirement on python-hp3parclient to >= 3.0.0 and drop patch that skips hplefthandclient tests. [ Corey Bryant ] * New upstream release. -- Corey Bryant Thu, 06 Mar 2014 13:16:02 -0500 cinder (1:2014.1~b2-0ubuntu1) trusty; urgency=low [ James Page ] * d/control: Add versioned dependency python-six >= 1.4.1 (LP: #1259203). * d/p/*: Refreshed. [Chuck Short] * New upstream release. * debian/control: Add python-taskflow as a dependency. * debian/control: Add python-oslo.rootwrap as a dependency. -- Chuck Short Thu, 23 Jan 2014 12:41:54 -0500 cinder (1:2014.1~b1-0ubuntu1) trusty; urgency=low [ Chuck Short ] * New upstream release. * debian/control: - Open icehouse release. - Add python-rtslib as a dependency. * debian/patches/fix-sqlalchemy-requirements.patch: Dropped no longer needed. * debian/patches/fix-babel-requirements.patch: Dropped no longer needed. * debian/paches/fix-requirements.patch: Fixed up requirements.txt for dependencies we have in Ubuntu. * debian/cinder-common.install: Add "cinder-rtstool". [ James Page ] * debian/patches/*: Refresh. -- Chuck Short Thu, 05 Dec 2013 21:30:40 -0500 cinder (1:2013.2-0ubuntu1) saucy; urgency=low * New upstream release (LP: #1236462). -- Chuck Short Thu, 17 Oct 2013 10:00:43 -0400 cinder (1:2013.2~rc3-0ubuntu1) saucy; urgency=low * New upstream release candidate (LP: #1240254). -- James Page Wed, 16 Oct 2013 08:59:28 +0100 cinder (1:2013.2~rc2-0ubuntu1) saucy; urgency=low * New upstream release candidate (LP: #1239156). -- James Page Sat, 12 Oct 2013 16:52:11 +0100 cinder (1:2013.2~rc1-0ubuntu1) saucy; urgency=low * New upstream release candidate. * debian/patches/skip-sqlachemy-failures.patch: Dropped * debian/patches/fix-sqlalchemy-requirements.patch: Refreshed. * debian/patches/fix-babel-requirements.patch: Revert dependency requirement for python-babel. * debian/control: - Dropped python-nose and python-setuptool-git. - Added python-netaddr as a build-dependency. (LP: #1227153) - Added python-six as a build-dependency. - Added versioned dependencies to python-pbr, python-amqplib, python-glanceclient, python-novaclient, and python-swiftclient, python-lxml, python-webob, python-oslo.config, python-sqlalchemy, python-fixtures, python-testtools, and python-fixtures - Bumped versioned dependencies for python-eventlet, python-hp3parclient, python-keystoneclient, and python-novaclient -- Chuck Short Fri, 04 Oct 2013 08:40:26 -0400 cinder (1:2013.2~b3-0ubuntu1) saucy; urgency=low [ James Page ] * d/control: Switch ceph-common -> python-ceph inline with upstream refactoring of Ceph RBD driver, move to Suggests of python-cinder. (LP: #1190791). [ Adam Gandelman ] * debian/patches/avoid_paramiko_vers_depends.patch: Dropped, no longer required. * Add minimum requirement python-greenlet (>= 0.3.2). * Add minimum requirement python-eventlet (>= 0.12.0). * Add minimum requirement python-paramiko (>= 1.8). [ Chuck Short ] * New upstream release. * debian/patches/skip-sqlachemy-failures.patch: Skip testfailures with sqlalchemy 0.8 until they are fixed upstream. * debian/control: Add python-babel to build-depends. * debian/control: Add python-novaclient to build-depends. -- Chuck Short Sun, 08 Sep 2013 21:09:46 -0400 cinder (1:2013.2~b2-0ubuntu3) saucy; urgency=low * debian/patches/fix-sqlalchemy-requirements.patch: Fix requirements for sqlalchemy 0.8. -- Chuck Short Mon, 22 Jul 2013 10:03:52 -0400 cinder (1:2013.2~b2-0ubuntu2) saucy; urgency=low * d/rules: Disable test parallel execution; causing FTBFS when high levels of concurrency occur on buildds. -- James Page Sun, 21 Jul 2013 10:10:10 +0100 cinder (1:2013.2~b2-0ubuntu1) saucy; urgency=low [ Chuck Short ] * debian/patches/avoid_paramiko_vers_depends.patch: Refreshed * debian/control: Add missing testrepostory. * debian/rules: Use testr directly. [ Adam Gandelman ] * debian/control: - Add minimum requirement python-anyjson (>= 0.3.3). - Add minimum requirement python-keystoneclient (>= 0.2.3). - Add minimum requirement python-kombu (>= 2.5.12). [ James Page ] * New upstream release. * d/control: Update VCS fields for new branch locations. * d/rules: Run unit tests in parallel. -- James Page Fri, 19 Jul 2013 14:14:40 +0100 cinder (1:2013.2~b1-0ubuntu2) saucy; urgency=low [ Chuck Short ] * debian/patches/avoid_paramiko_vers_depends.patch: Refreshed [ Adam Gandelman ] * debian/control: Bump min. stevedore version >= 0.9. [Yolanda Robla] * debian/tests: Added autopkgtests. -- Chuck Short Wed, 19 Jun 2013 12:45:18 -0500 cinder (1:2013.2~b1-0ubuntu1) saucy; urgency=low [ Chuck Short ] * New upstream version. * debian/patches/fix_cinder_dependencies.patch: Dropped. * debian/control: Bump standards version to 3.9.4. * debian/control: Add python-pbr and python-d2to1 to build-depends. * debian/control: Add python-testtools and python-fixtures to build-depends * debian/rules: Add work around to remove wonky setup.py setup * debian/cinder-common.install: Add cinder-rpc-zmq-receiver binary. [ James Page ] * debian/control: Drop surplus dependency on python-glance (LP: #1175600). * debian/control,rules: Drop dependency on pep8, don't run pep8 tests during package build process (its just way to late). * debian/control: Drop surplus BD on python-cheetah. [ Adam Gandelman ] * debian/patches/avoid_paramiko_vers_depends.patch: Avoid version requirement on paramiko. -- Chuck Short Fri, 31 May 2013 10:01:03 -0500 cinder (1:2013.1-0ubuntu2) raring; urgency=low * debian/control: Bump minimum stevedore version 0.8. (LP: #1169730) -- Adam Gandelman Tue, 16 Apr 2013 14:38:46 -0700 cinder (1:2013.1-0ubuntu1) raring; urgency=low * New upstream release. -- Chuck Short Fri, 05 Apr 2013 07:53:23 -0500 cinder (1:2013.1~rc3-0ubuntu1) raring; urgency=low * New upstream release. -- Chuck Short Wed, 27 Mar 2013 07:51:21 -0500 cinder (1:2013.1~rc2-0ubuntu2) raring; urgency=low * debian/rules: Fix FTBFS, we want '-v' and not '-V'. -- Chuck Short Mon, 25 Mar 2013 08:30:42 -0500 cinder (1:2013.1~rc2-0ubuntu1) raring; urgency=low * New upstream release. * debian/control, debian/cinder-volume.install: Dropped rtstool and python-rtslib since it was dropped upstream. * debian/rules: Run tests more verbosely. -- Chuck Short Mon, 25 Mar 2013 07:59:45 -0500 cinder (1:2013.1~rc1-0ubuntu1) raring; urgency=low [ Chuck Short ] * debian/patches/fix-ubuntu-tests.patch: Dropped. * debian/rules: Fix version number when building the testsuite. * debian/cinder-backup{.install, upstart, logroate}: Add cinder-backup service. * debian/rules: Run the testsuite against PYTHONPATH. * debian/control: Update build-depends and run-time depends. - Dropped python-glance not needed. - Dropped python-cheetah not needed. - Droped python-daemon not needed. - Dropped python-netaddr not needed. - Renamed python-oslo-config to python-oslo.config. - Added python-keystoneclient to depends. - Added python-swiftclient to depends. * debian/pydist-overrides: No longer needed. [ James Page ] * New upstream release candidate. * d/watch: Update uversionmangle to deal with upstream versioning changes, remove tarballs.openstack.org. * d/cinder.conf: Set lock_path to /var/lock/cinder (default is not sensible). -- James Page Sat, 16 Mar 2013 09:30:20 +0000 cinder (2013.1.g3-0ubuntu1) raring; urgency=low [ Yolanda Robla Mota ] * d/control: Add BD on python-hp3parclient. * d/patches: Drop patches related to disabling hp3parclient. [ James Page ] * d/control: Add Suggests: python-hp3parclient for python-cinder. * d/control: Add BD on python-oslo-config. * d/*: Wrapped and sorted. [ Chuck Short ] * New upstream release. * debian/rules, debian/cinder-volumes.install: - Fail if binaries are missing and install missing binaries. * debian/patches/fix-ubuntu-tests.patch: Fix failing tests. * debian/control: Add python-rtslib and python-mock. -- Chuck Short Fri, 22 Feb 2013 10:45:17 -0600 cinder (2013.1~g2-0ubuntu2) raring; urgency=low * debian/patches/series: Enable skip_failed_tests to fix FTBFS. -- Chris J Arges Tue, 15 Jan 2013 10:10:28 -0600 cinder (2013.1~g2-0ubuntu1) raring; urgency=low [ Chuck Short ] * New upstream release. * debian/patches/avoid_setuptools_git_dependency.patch: Rediff due to upstream changes. * debian/control: Add python-keystoneclient as a dependency [ James Page ] * Improve upstart configurations: - d/*.upstart: Switch to using start-stop-daemon instead of su, stop on [!2345] to catch all transitions. * d/control: General tidy of package descriptions. * d/control: Drop BD on python-all-dev as its not required. * d/*.postrm: Dropped; update-rc.d calls for purge are handled by debhelper and are not require for upstart configurations. [ Yolanda Robla Mota ] * d/patches: removing hp3parclient dependency from tools/test-requires * d/patches, d/control: adding stevedore dependency, merging deps patches * d/patches: remove failing tests -- Chuck Short Fri, 11 Jan 2013 07:33:57 -0600 cinder (2013.1~g1-0ubuntu1) raring; urgency=low * New upstream release. * debian/patches/avoid_setuptools_git_dependency.patch: Avoid git installation. (LP: #1075948) -- Chuck Short Fri, 23 Nov 2012 08:39:28 -0600 cinder (2013.1~g1~20121101.361-0ubuntu1) raring; urgency=low [ Adam Gandelman ] * New upstream release. * debian/patches/0001-Replace-builtin-hash.patch: Dropped. [ James Page ] * Cinder should suggest ceph-common, not python-ceph (LP: #1065901): - debian/control: cinder-volume Suggests: python-ceph -> ceph-common -- Adam Gandelman Thu, 01 Nov 2012 11:30:15 +0100 cinder (2012.2-0ubuntu2) quantal; urgency=low * debian/cinder_tgt.conf: Add missing configuration file. (LP: #1064366) * debian/README.Debian: Added note about migration from nova-volume to cinder-volume. -- Chuck Short Tue, 09 Oct 2012 08:26:21 -0500 cinder (2012.2-0ubuntu1) quantal; urgency=low * New upstream release. * debian/cinder-volume.postinst, debian/cinder-common.dirs, debian/cinder.conf: Properly configure tgtd to be used with cinder. * debian/pydist-overrides: Dont try to install babel. -- Chuck Short Thu, 27 Sep 2012 11:32:27 -0500 cinder (2012.2~rc3-0ubuntu1) quantal; urgency=low * New upstream release. * debian/patches/0001-Replace-builtin-hash-with-MD5-to-solve-32-64-bit-iss.patch: Fix FTBFS. -- Chuck Short Wed, 26 Sep 2012 14:07:35 -0500 cinder (2012.2~rc2-0ubuntu1) quantal; urgency=low [ Adam Gandelman ] * debian/control: Add python-mysqldb to python-cinder Depends. [ Chuck Short ] * New upstream release * debian/rules: Fail to build if the testsuite doesnt pass. -- Chuck Short Tue, 25 Sep 2012 10:17:21 -0500 cinder (2012.2~rc1-0ubuntu1) quantal; urgency=low [ Adam Gandelman ] * debian/control: Add lvm2 + tgt as a Dependency of cinder-volume. * debian/cinder-volume.{dirs, postinst}: - Create /var/lib/cinder/volumes (LP: #1047059) - chmod 0600, not chown. * debain/cinder-scheduler.postinst: Drop. * debian/cinder.conf: Fix defaults. * debian/*.upstart: Specify --log-file. * debian/*.logrotate: Update. * Only rootwrap filters with the packages that need them (cinder-volume). * Ensure /etc/cinder/rootwrap.d/ is only writable by root, ensure those permissions on /etc/cinder/rootwrap.conf and individual filter configurations. [ Chuck Short ] * New upstream version. * debian/control: Add python-ceph as a suggests -- Chuck Short Tue, 18 Sep 2012 14:24:45 -0500 cinder (2012.2~rc1~20120907.230-0ubuntu4) quantal; urgency=low [Chuck Short] * New upstream version. * debian/cinder.conf: Fix path for cinder-rootwrap. (LP: #1045438) * debian/control: Add python-glanceclient as a dep. * debian/cinder-common.postinst: Fix chmod thinko. * debian/*.upstart: Specify the configuration files. [Soren Hansen] * Update debian/watch to account for symbolically named tarballs and use newer URL. * Fix Launchpad URLs in debian/watch. -- Chuck Short Fri, 07 Sep 2012 11:27:55 -0500 cinder (2012.2~f3-0ubuntu3) quantal; urgency=low * debian/cinder.conf: Re-add sql_connection and set it to sqllite. -- Chuck Short Wed, 22 Aug 2012 20:14:41 -0500 cinder (2012.2~f3-0ubuntu2) quantal; urgency=low * debian/cinder.conf: Get rid of deprecated warnings. (LP: #1036240) -- Chuck Short Sun, 19 Aug 2012 13:36:22 -0500 cinder (2012.2~f3-0ubuntu1) quantal; urgency=low * New upstream version. * debian/patches/0001-Use-setuptools-git.patch: Dropped * debian/control: Add python-glanceclient -- Chuck Short Fri, 17 Aug 2012 10:18:57 -0500 cinder (2012.2~f3~20120809.102-0ubuntu2) quantal; urgency=low * debian/cinder.conf, cinder-common.install: Use rootwrap.conf. (LP: #1036240) * debian/control: Drop python-babel. -- Chuck Short Mon, 13 Aug 2012 14:14:31 -0500 cinder (2012.2~f3~20120809.102-0ubuntu1) quantal; urgency=low [ Adam Gandelman ] * debian/control: Add python-setuptools dependency. * debian/cinder-common.postinst: Fix syntax errors, fix permissions. * debian/cinder-common.dirs: Correct, etc/nova -> etc/cinder. * debian/{cinder_sudoers, rules, cinder-common.install}: Install proper cinder_sudoers. * debian/cinder-*.upstart: Close quotes, replace 'nova' references with 'cinder'. * debian/cinder.conf: Specify correct sql_connection. * debian/cinder-scheduler.postinst: Added. Migrate local databases only. [ Chuck Short ] * debian/*.upstart: Fix upstart jobs to run with right interfaces. (LP: #1030197) * debian/control: Drop python-babel, python-nosexcover * debian/control: Add python-mox, pep8 * debian/rules: Re-add get-orig-source * debian/rules: Enable testsuite. * debian/cinder.conf: Update config file. * debian/cinder-{api,volumes,scheduler}.manpages: Add manpages. * New upstream version. * debian/rules: Don't run pep8 tests * debian/patches/0001-Use-setuptools-git.patch: Cleanup manifest * debian/control: Add python-setuptools-git * debian/control: Add section for python-cinder * fix lintian warnings and errors. * debian/cinder-common.install: Remove clear_rabbit_queues since it will conflict with nova installed. -- Chuck Short Fri, 10 Aug 2012 12:05:11 -0500 cinder (2012.2~f1~20120503.2-0ubuntu1) quantal; urgency=low * Initial release. -- Chuck Short Tue, 22 May 2012 09:57:46 -0400 debian/cinder-api.manpages0000664000000000000000000000003012413600753012712 0ustar debian/man/cinder-api.8 debian/cinder-api.upstart0000664000000000000000000000073012413600753012630 0ustar description "Cinder api server" author "Chuck Short " start on runlevel [2345] stop on runlevel [!2345] chdir /var/run pre-start script mkdir -p /var/run/cinder chown cinder:cinder /var/run/cinder mkdir -p /var/lock/cinder chown cinder:root /var/lock/cinder end script exec start-stop-daemon --start --chuid cinder --exec /usr/bin/cinder-api \ -- --config-file=/etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-api.log debian/cinder-common.dirs0000664000000000000000000000012612413600753012605 0ustar etc/cinder etc/cinder/rootwrap.d var/lib/cinder var/log/cinder var/lib/cinder/volumes debian/source/0000775000000000000000000000000012413600753010471 5ustar debian/source/format0000664000000000000000000000001412413600753011677 0ustar 3.0 (quilt) debian/man/0000775000000000000000000000000012413600753007744 5ustar debian/man/cinder-manage.80000664000000000000000000000040612413600753012527 0ustar .TH cinder\-manage 8 .SH NAME cinder\-manage \- manages the cinder daemons .SH SYNOPSIS .B cinder\-manage .B .SH DESCRIPTION .B cinder\-manage This man page is a stub. Please contribute. .SH PARAMETERS .LP .B .IP cinder-manage.8 (END) debian/man/cinder-scheduler.80000664000000000000000000000047412413600753013262 0ustar .TH cinder\-api 8 .SH NAME cinder\-api \- frontend API server for cinder .SH SYNOPSIS .B cinder\-api .B \-\-config-file= .SH DESCRIPTION .B cinder\-api This man page is a stub. Please contribute. .SH PARAMETERS .LP .B \-\-config-file= .IP Path to the file containing options. debian/man/cinder-volume.80000664000000000000000000000047412413600753012613 0ustar .TH cinder\-api 8 .SH NAME cinder\-api \- frontend API server for cinder .SH SYNOPSIS .B cinder\-api .B \-\-config-file= .SH DESCRIPTION .B cinder\-api This man page is a stub. Please contribute. .SH PARAMETERS .LP .B \-\-config-file= .IP Path to the file containing options. debian/man/cinder-api.80000664000000000000000000000047412413600753012055 0ustar .TH cinder\-api 8 .SH NAME cinder\-api \- frontend API server for cinder .SH SYNOPSIS .B cinder\-api .B \-\-config-file= .SH DESCRIPTION .B cinder\-api This man page is a stub. Please contribute. .SH PARAMETERS .LP .B \-\-config-file= .IP Path to the file containing options. debian/man/cinder-rootwrap.80000664000000000000000000000051712413600753013157 0ustar .TH cinder\-rootwrap 8 .SH NAME cinder\-rootwrap \- Authorizes and executes sudo commands on cinder's behalf .SH SYNOPSIS .B cinder\-rootwrap .B .SH DESCRIPTION .B cinder\-rootwrap This man page is a stub. Please contribute. .SH PARAMETERS .LP .B .IP Command to be executed with sudo cinder-rootwrap.8 (END) debian/compat0000664000000000000000000000000212413600753010367 0ustar 8 debian/cinder-scheduler.upstart0000664000000000000000000000075212413600753014041 0ustar description "Cinder scheduler server" author "Chuck Short " start on runlevel [2345] stop on runlevel [!2345] chdir /var/run pre-start script mkdir -p /var/run/cinder chown cinder:cinder /var/run/cinder mkdir -p /var/lock/cinder chown cinder:root /var/lock/cinder end script exec start-stop-daemon --start --chuid cinder --exec /usr/bin/cinder-scheduler \ -- --config-file=/etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-scheduler.log debian/cinder_tgt.conf0000664000000000000000000000004212413600753012156 0ustar include /var/lib/cinder/volumes/* debian/cinder-volume.dirs0000664000000000000000000000002712413600753012624 0ustar var/lib/cinder/volumes debian/cinder-scheduler.manpages0000664000000000000000000000003612413600753014125 0ustar debian/man/cinder-scheduler.8 debian/cinder-common.manpages0000664000000000000000000000007012413600753013435 0ustar debian/man/cinder-manage.8 debian/man/cinder-rootwrap.8 debian/cinder-backup.install0000664000000000000000000000002612413600753013266 0ustar usr/bin/cinder-backup debian/patches/0000775000000000000000000000000012413600753010620 5ustar debian/patches/fix-requirements.patch0000664000000000000000000000067112413600753015154 0ustar Description: Requirement alignment for Ubuntu 14.04 rtslib-fb: not supported in Ubuntu, dropped. six: 1.5.2 present in 14.04, features of 1.6.0 not used. Forwarded: not-needed --- a/requirements.txt +++ b/requirements.txt @@ -22,8 +22,7 @@ requests>=1.1 Routes>=1.12.3,!=2.0 taskflow>=0.1.3,<0.2 -rtslib-fb>=2.1.39 -six>=1.6.0 +six>=1.5.2 SQLAlchemy>=0.7.8,!=0.9.5,<=0.9.99 sqlalchemy-migrate>=0.8.2,!=0.8.4,!=0.9.2 stevedore>=0.14 debian/patches/series0000664000000000000000000000002712413600753012034 0ustar fix-requirements.patch debian/cinder-backup.logrotate0000664000000000000000000000015412413600753013622 0ustar /var/log/cinder/cinder-backup.log { daily missingok compress delaycompress notifempty } debian/cinder-volume.install0000664000000000000000000000027512413600753013336 0ustar debian/cinder_tgt.conf etc/tgt/conf.d etc/cinder/rootwrap.d/volume.filters /etc/cinder/rootwrap.d usr/bin/cinder-clear-rabbit-queues usr/bin/cinder-volume usr/bin/cinder-volume-usage-audit debian/cinder-common.install0000664000000000000000000000046012413600753013313 0ustar debian/cinder.conf etc/cinder debian/cinder_sudoers etc/sudoers.d debian/logging.conf etc/cinder etc/cinder/api-paste.ini etc/cinder etc/cinder/policy.json etc/cinder etc/cinder/rootwrap.conf etc/cinder usr/bin/cinder-manage usr/bin/cinder-rootwrap usr/bin/cinder-rpc-zmq-receiver usr/bin/cinder-rtstool debian/cinder-scheduler.install0000664000000000000000000000003112413600753013773 0ustar usr/bin/cinder-scheduler debian/copyright0000664000000000000000000000203212413600753011121 0ustar Format: http://dep.debian.net/deps/dep5- Upstream-Name: nova Source: https://code.launchpad.net/nova Files: * Copyright: 2010 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. Copyright: 2010 OpenStack LLC Copyright: Others (See individual files for more details) License: Apache-2 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian-based systems the full text of the Apache version 2.0 license can be found in `/usr/share/common-licenses/Apache-2.0'. debian/watch0000664000000000000000000000017212413600753010222 0ustar version=3 opts="uversionmangle=s/\.([a-zA-Z])/~$1/;s/%7E/~/" \ http://tarballs.openstack.org/cinder cinder-(.*)\.tar\.gz debian/cinder-volume.logrotate0000664000000000000000000000015412413600753013664 0ustar /var/log/cinder/cinder-volume.log { daily missingok compress delaycompress notifempty } debian/README.Debian0000664000000000000000000000100012413600753011221 0ustar Migration from nova-volumes to cinder-volumes: 1. upgrade your nova install to folsom 2. upgrade your nova database using nova-manage db sync 3. install the folsom version of cinder 4. create a cinder database using cinder-manage db sync 5. copy data from nova database using cinder-manage migrate import_db --src=$NOVA_SQL_CONN --dest=$CINDER_SQL_CONN 6. disable the nova-volume-api in enabled apis in /etc/nova/nova.conf sed -i "s/osapi_volume,// /etc/nova/nova.conf" 7. restart nova-api 8. start cinder-api debian/cinder_sudoers0000664000000000000000000000016012413600753012121 0ustar Defaults:cinder !requiretty cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap /etc/cinder/rootwrap.conf * debian/cinder-common.postinst0000664000000000000000000000204212413600753013526 0ustar #!/bin/sh -e if [ "$1" = "configure" ]; then if ! getent group cinder > /dev/null 2>&1; then addgroup --system cinder >/dev/null fi if ! getent passwd cinder > /dev/null 2>&1; then adduser --system --home /var/lib/cinder --ingroup cinder --no-create-home \ --shell /bin/false cinder fi chown -R cinder:adm /var/log/cinder chmod 0750 /var/log/cinder chown -R cinder:cinder /var/lib/cinder /etc/cinder chmod 0750 /etc/cinder chmod 0440 /etc/sudoers.d/cinder_sudoers chown -R root:root /etc/cinder/rootwrap.d chmod 0755 /etc/cinder/rootwrap.d chown root:root /etc/cinder/rootwrap.conf if ! grep -qE "^(sql_)?connection.*" /etc/cinder/cinder.conf || \ grep -qE "^(sql_)?connection.*sqlite.*" /etc/cinder/cinder.conf then su -s /bin/sh -c 'cinder-manage db sync' cinder fi if [ -e /var/lib/cinder/cinder.sqlite ]; then chown cinder:cinder /var/lib/cinder/cinder.sqlite chmod 0600 /var/lib/cinder/cinder.sqlite fi fi #DEBHELPER# debian/clean0000664000000000000000000000001212413600753010167 0ustar setup.cfg debian/cinder.conf0000664000000000000000000000047712413600753011314 0ustar [DEFAULT] rootwrap_config = /etc/cinder/rootwrap.conf api_paste_confg = /etc/cinder/api-paste.ini iscsi_helper = tgtadm volume_name_template = volume-%s volume_group = cinder-volumes verbose = True auth_strategy = keystone state_path = /var/lib/cinder lock_path = /var/lock/cinder volumes_dir = /var/lib/cinder/volumes debian/python-cinder.install0000664000000000000000000000004012413600753013336 0ustar usr/lib/python*/dist-packages/* debian/tests/0000775000000000000000000000000012413600753010333 5ustar debian/tests/cinder-daemons0000775000000000000000000000047212413600753013154 0ustar #!/bin/bash #----------------------- # Testing cinder-daemons #----------------------- set -e DAEMONS=('cinder-api' 'cinder-scheduler') for daemon in "${DAEMONS[@]}"; do if pidof -x $daemon > /dev/null; then echo "OK" else echo "ERROR: ${daemon} IS NOT RUNNING" exit 1 fi done debian/tests/control0000664000000000000000000000020612413600753011734 0ustar Tests: python-cinder cinder-daemons cinder-volume Depends: python-cinder, cinder-api, cinder-scheduler, lvm2 Restrictions: needs-root debian/tests/cinder-volume0000775000000000000000000000066612413600753013042 0ustar #!/bin/bash #---------------------- # Testing cinder-volume #---------------------- set -e apt-get install -y cinder-volume cinder-backup 2>&1 > /dev/null DAEMONS=('cinder-volume' 'cinder-backup') for daemon in "${DAEMONS[@]}"; do if pidof -x $daemon > /dev/null; then echo "OK" else echo "ERROR: ${daemon} IS NOT RUNNING" exit 1 fi done apt-get remove -y cinder-volume cinder-backup 2>&1 > /dev/null debian/tests/python-cinder0000775000000000000000000000043312413600753013044 0ustar #!/bin/bash #------------------------- # Testing client utilities #------------------------- set -e result=$(python `dirname $0`/test_import_cinder.py 2>&1) if [ "$result" ]; then echo "ERROR: PYTHON-CINDER MODULE CANNOT BE IMPORTED" exit 1 else echo "OK" exit 0 fi debian/tests/test_import_cinder.py0000664000000000000000000000012112413600753014574 0ustar try: import cinder except ImportError, e: print "ERROR IMPORTING MODULE" debian/rules0000775000000000000000000000075012413600753010253 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with python2 get-orig-source: uscan --verbose --rename --destdir=../build-area ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) override_dh_auto_test: ./run_tests.sh -N -P endif override_dh_install: dh_install --fail-missing -Xbin/cinder-all override_dh_fixperms: dh_fixperms -Xcinder_tgt.conf override_dh_clean: # temporary workaround for d2to1 wonkyness dh_clean -Xsetup.cfg debian/cinder-volume.manpages0000664000000000000000000000003312413600753013453 0ustar debian/man/cinder-volume.8