]> review.fuel-infra Code Review - openstack-build/cinder-build.git/log
openstack-build/cinder-build.git
11 years agoUpdated upstream changelog
Thomas Goirand [Sun, 2 Dec 2012 07:02:03 +0000 (07:02 +0000)]
Updated upstream changelog

11 years agoTake over debian/changelog last entry, document new upstream version 2012.2.1
Thomas Goirand [Sun, 2 Dec 2012 07:01:29 +0000 (07:01 +0000)]
Take over debian/changelog last entry, document new upstream version 2012.2.1

11 years agoNow packaging 2012.2.1
Thomas Goirand [Sun, 2 Dec 2012 06:58:45 +0000 (06:58 +0000)]
Now packaging 2012.2.1

11 years agoMerge tag '2012.2.1' into debian/experimental
Thomas Goirand [Sun, 2 Dec 2012 06:58:10 +0000 (06:58 +0000)]
Merge tag '2012.2.1' into debian/experimental

2012.2.1

11 years agoFinal versioning for 2012.2.1
Mark McLoughlin [Thu, 29 Nov 2012 21:30:12 +0000 (21:30 +0000)]
Final versioning for 2012.2.1

Change-Id: I74e485f7fde8d34fa5e6e8852e06d522b2ccc1d1

11 years agoRemove unused python-daemon dependency
Eric Harney [Thu, 15 Nov 2012 20:26:16 +0000 (15:26 -0500)]
Remove unused python-daemon dependency

python-daemon is listed as a dependency, but it is not needed.

Change-Id: I4d6eadfef5d60cd277ff7395a12f5ad255db7155
(cherry picked from commit 6217a3df0a34b1d0ac6fad8e9ea5044d2056c45d)

11 years agoImprove provider_location cleanup code for RBD.
Adam Gandelman [Wed, 28 Nov 2012 01:51:26 +0000 (17:51 -0800)]
Improve provider_location cleanup code for RBD.

The RBD driver does not make use of the 'provider_location' field
but the current cleanup code assumes it does.  Ensure the field
is in use before testing whether or not it needs fixing.

Fixes bug 1083818.

Change-Id: Id6ff85101f85e70575ba244c2df7aca0196cf224
(cherry picked from commit d030c5b10e9e8d73d967562259e7db6146347108)

11 years agoOverrides lintian false positive warning about unused debconf templates.
Thomas Goirand [Wed, 28 Nov 2012 12:03:11 +0000 (12:03 +0000)]
Overrides lintian false positive warning about unused debconf templates.

11 years agocinder-api depends on adduser
Thomas Goirand [Wed, 28 Nov 2012 11:59:25 +0000 (11:59 +0000)]
cinder-api depends on adduser

11 years agoRan debconf-updatepo
Thomas Goirand [Wed, 28 Nov 2012 11:58:33 +0000 (11:58 +0000)]
Ran debconf-updatepo

11 years agoRemove now useless debian/rules targets (moved to pkgos.make)
Thomas Goirand [Wed, 28 Nov 2012 11:56:44 +0000 (11:56 +0000)]
Remove now useless debian/rules targets (moved to pkgos.make)

11 years agoFixes cinder-api keystone registration.
Thomas Goirand [Sat, 24 Nov 2012 09:16:09 +0000 (09:16 +0000)]
Fixes cinder-api keystone registration.

11 years agoSets keystone auth token debconf variable as a password and not just a string.
Thomas Goirand [Fri, 23 Nov 2012 17:33:19 +0000 (17:33 +0000)]
Sets keystone auth token debconf variable as a password and not just a string.

11 years agoRegisters the correct service with keystone
Thomas Goirand [Thu, 22 Nov 2012 17:29:09 +0000 (17:29 +0000)]
Registers the correct service with keystone

11 years agoAdded missing (conditional) lsb-base depends.
Thomas Goirand [Thu, 22 Nov 2012 17:26:45 +0000 (17:26 +0000)]
Added missing (conditional) lsb-base depends.

11 years agoAdded service and endpoint creation in cinder-api.
Thomas Goirand [Thu, 22 Nov 2012 17:13:42 +0000 (17:13 +0000)]
Added service and endpoint creation in cinder-api.

11 years agoAdded upstream changelog
Thomas Goirand [Tue, 20 Nov 2012 13:11:11 +0000 (13:11 +0000)]
Added upstream changelog

11 years agoRemoved duplicate get-orig-source: (it's in pkgos.make)
Thomas Goirand [Tue, 20 Nov 2012 13:07:51 +0000 (13:07 +0000)]
Removed duplicate get-orig-source: (it's in pkgos.make)

11 years agoRemove duplicate Build-Depends: openstack-pkg-tools
Thomas Goirand [Tue, 20 Nov 2012 12:56:42 +0000 (12:56 +0000)]
Remove duplicate Build-Depends: openstack-pkg-tools

11 years agoMove some stuff to pkgos.make
Thomas Goirand [Fri, 16 Nov 2012 14:58:53 +0000 (14:58 +0000)]
Move some stuff to pkgos.make

12 years agoMerge branch 'debian/experimental' of ssh://git.debian.org/git/openstack/cinder into...
Thomas Goirand [Thu, 1 Nov 2012 16:55:49 +0000 (16:55 +0000)]
Merge branch 'debian/experimental' of ssh://git.debian.org/git/openstack/cinder into debian/experimental

12 years agoNow auto-detects and prompts for a volume group using debconf.
Thomas Goirand [Thu, 1 Nov 2012 16:41:11 +0000 (16:41 +0000)]
Now auto-detects and prompts for a volume group using debconf.

12 years agoDetect and fix issues caused by vol ID migration
John Griffith [Wed, 31 Oct 2012 22:43:09 +0000 (16:43 -0600)]
Detect and fix issues caused by vol ID migration

The migration from volume ID to UUID neglected to update the provider_location
field on the volume.  As a result the iqn and volume name no long match and
existing volumes are no longer able to be attached after an upgrade
(essex -> folsom and then nova-vol->cinder).

This patch adds a method to the volume driver that will check for the
mismatch of volume name in the iqn during service start up.  If
detected it will update the provider_location field in the database
to include the new ID.  Also it will create a symlink to the device backing
file that also has the correct naming convention.

Note: We don't disturb an connections that are currently attached.
For this case we add a check in manager.detach and do any provider_location
cleanup that's needed at that time.  This ensures that connections
persist on restarts of tgtd and reboot.

Change-Id: I4683df4ef489972752dc58cb4e91d458a79a8ef2
Fixes: bug 1065702enter the commit message for your changes. Lines starting
12 years agopin sqlalchemy to the 0.7.x series
Sean Dague [Wed, 31 Oct 2012 15:39:40 +0000 (11:39 -0400)]
pin sqlalchemy to the 0.7.x series

sqlalchemy 0.8beta is now out and has internal changes
which means it's not an in place seemless upgrade. This pins
sqlalchemy to the 0.7.x series to avoid those breaks.

Fixes bug #1073569

Change-Id: If204690569eb92b9077833a5da121fc072c6dcfa

12 years agoRemoved set -x
Roland Mas [Tue, 30 Oct 2012 13:16:48 +0000 (14:16 +0100)]
Removed set -x

12 years agoRemoved set-x in debian/cinder-common.postinst.in
Thomas Goirand [Tue, 30 Oct 2012 06:08:10 +0000 (06:08 +0000)]
Removed set-x in debian/cinder-common.postinst.in

12 years agoStart using factored pkgos_* stuff from openstack-pkg-tools
Roland Mas [Mon, 29 Oct 2012 14:33:37 +0000 (15:33 +0100)]
Start using factored pkgos_* stuff from openstack-pkg-tools

12 years ago* Now asking for Keystone credentials using the new pkg_os function.
Thomas Goirand [Fri, 26 Oct 2012 15:31:24 +0000 (15:31 +0000)]
* Now asking for Keystone credentials using the new pkg_os function.
* Patches api-paste.ini for syntax.

12 years agoCopy of pkgos_func from glance.
Thomas Goirand [Fri, 26 Oct 2012 15:18:39 +0000 (15:18 +0000)]
Copy of pkgos_func from glance.

12 years ago * Now uses pkgos_func functions for debconf and dbconfig-common handling.
Thomas Goirand [Fri, 26 Oct 2012 11:07:48 +0000 (11:07 +0000)]
  * Now uses pkgos_func functions for debconf and dbconfig-common handling.
  * Renames /etc/sudoers.d/cinder_sudoers as /etc/sudoers.d/cinder-common.
  * Debconf now users cinder/<debconf-screen-name> and not cinder-common/.
  * Reviewed long and short descriptions in debian/control.
  * Bumped Build-Depends-Indep: python-all to 2.6.6-3~ since we are using dh_python2.
  * Added everyone in the team as Uploaders:.
  * Changed Homepage field to http://cinder.openstack.org/.
  * Dependencies are now by alpha order.
  * Removed useless empty cinder-volume.postrm, cinder-api.postrm,
  cinder-scheduler.postinst, cinder-scheduler.postrm.
  * Pre-Depends: dpkg (>= 1.15.6~) because we use xz compression.

12 years agoMerge "Restore SIGPIPE default action for subprocesses" into stable/folsom
Jenkins [Sun, 14 Oct 2012 00:43:16 +0000 (00:43 +0000)]
Merge "Restore SIGPIPE default action for subprocesses" into stable/folsom

12 years agoSet defaultbranch in .gitreview to stable/folsom
Mark McLoughlin [Sat, 13 Oct 2012 21:47:27 +0000 (22:47 +0100)]
Set defaultbranch in .gitreview to stable/folsom

This allows people run git-review without any arguments.

Change-Id: I2b2488ffffd783b64e5c760324e7d4a00d5a39db

12 years agoFixes wrong handling (eg: policy violation) of /etc/cinder/cinder.conf
Thomas Goirand [Tue, 9 Oct 2012 15:41:23 +0000 (15:41 +0000)]
Fixes wrong handling (eg: policy violation) of /etc/cinder/cinder.conf

12 years agoAdded setuptools_git-*-py2.*.egg in .gitignore
Thomas Goirand [Tue, 9 Oct 2012 09:29:17 +0000 (09:29 +0000)]
Added setuptools_git-*-py2.*.egg in .gitignore

12 years agoAdded a gbp.conf file.
Thomas Goirand [Tue, 9 Oct 2012 09:16:17 +0000 (09:16 +0000)]
Added a gbp.conf file.

12 years agoRe-added ubuntu upstart files using the .in extension.
Thomas Goirand [Tue, 9 Oct 2012 09:15:50 +0000 (09:15 +0000)]
Re-added ubuntu upstart files using the .in extension.

12 years agoAdded a get-vcs-source target and sets compression to use XZ level 9.
Thomas Goirand [Tue, 9 Oct 2012 09:07:29 +0000 (09:07 +0000)]
Added a get-vcs-source target and sets compression to use XZ level 9.

12 years agoRestore SIGPIPE default action for subprocesses
Thierry Carrez [Thu, 20 Sep 2012 12:21:00 +0000 (14:21 +0200)]
Restore SIGPIPE default action for subprocesses

Python ignores SIGPIPE on startup, because it prefers to check every
write and raise an IOError exception rather than taking the signal. Most
Unix subprocesses don't expect to work this way. This patch (adapted
from Colin Watson's post at http://tinyurl.com/2a7mzh5) sets SIGPIPE
back to the default action for cinder.utils.execute and cinder-rootwrap
created subprocesses.

Fixes bug 1053364

Change-Id: I4b3307bd2f0f5d0da529d8b7d80fabae28c57732

12 years agoNew upstream release 2012.2
Mehdi Abaakouk [Sat, 29 Sep 2012 07:23:55 +0000 (09:23 +0200)]
New upstream release 2012.2

12 years agoMerge tag '2012.2' into debian/experimental
Mehdi Abaakouk [Sat, 29 Sep 2012 07:21:04 +0000 (09:21 +0200)]
Merge tag '2012.2' into debian/experimental

2012.2

12 years agoBump next version to 2012.2.1
Thierry Carrez [Fri, 28 Sep 2012 14:21:33 +0000 (16:21 +0200)]
Bump next version to 2012.2.1

Open stable/folsom by bumping next version to 2012.2.1.

Change-Id: If60a8e714ba78c8d9bfcc5f07d9abaea5c4cf785

12 years agoMerge "Fix NetAppCmodeISCSIDriver._get_lun_handle() method" into milestone-proposed
Jenkins [Wed, 26 Sep 2012 00:48:40 +0000 (00:48 +0000)]
Merge "Fix NetAppCmodeISCSIDriver._get_lun_handle() method" into milestone-proposed

12 years agoMerge "Revert explicit usage of tgt-adm --conf option." into milestone-proposed
Jenkins [Tue, 25 Sep 2012 23:55:17 +0000 (23:55 +0000)]
Merge "Revert explicit usage of tgt-adm --conf option." into milestone-proposed

12 years agoFixes remove_export for IetAdm
MotoKen [Tue, 25 Sep 2012 05:08:34 +0000 (13:08 +0800)]
Fixes remove_export for IetAdm

* Corrects indentation.
* Uses specific iqn as keyword argument.

Fixes bug 1055401

Change-Id: Ie99dd8a34924f0d7f447cf41a305353659a51d11
(cherry picked from commit 5b61536fdf17332f48af4b422fe23c2e153934a1)

12 years agoFix NetAppCmodeISCSIDriver._get_lun_handle() method
Ben Swartzlander [Mon, 24 Sep 2012 16:30:48 +0000 (12:30 -0400)]
Fix NetAppCmodeISCSIDriver._get_lun_handle() method

bug 1055578

Change-Id: I06da6a9a59fa2320f1cae9698e5e63562e534916
(cherry picked from commit b2627b27dae521d719b90831dcc41695b389712f)

12 years agoRevert explicit usage of tgt-adm --conf option.
Eoghan Glynn [Tue, 25 Sep 2012 14:52:38 +0000 (15:52 +0100)]
Revert explicit usage of tgt-adm --conf option.

Fixes bug 1056246.

This reverts commit 0903603971033536751ba40df98a3c39175d3189.

This ensures that we fail-fast if the tgtd configuration does
not include the directory for volume iscsi target configs,
instead of only blowing up when tgtd is restarted.

Change-Id: I30aa3f1d8944eb33cd4a42d65e227031023406b4

12 years agoAdd missing entries in setup, fix up pip-requires
John Griffith [Mon, 24 Sep 2012 18:59:15 +0000 (12:59 -0600)]
Add missing entries in setup, fix up pip-requires

setup.py still has references to nova/compute and was missing some
requires statements, and more importantly didn't hvae the install_requires.

Also, tools/pip-requires needed lxml versions set, as well as
added the missing setuptools_git entry.

This was exposed when trying to run Grenade as the requires.txt
file was never generated.

Fixes bug #1055693

Change-Id: Iaf9669d66e89507989ef3fde630dc2b488a97cfc
(cherry picked from commit 7f00d13640edac8136241e546076f2106f7bfa61)

12 years agoFix cinder-volume-usage-audit
Julien Danjou [Thu, 20 Sep 2012 16:37:36 +0000 (18:37 +0200)]
Fix cinder-volume-usage-audit

It seems many point in the internal API and openstack.common changed, but
this binary has been forgotten.

Also, context ie needed when using the notifier, so import it.

This fixes bug #1053502

Change-Id: I306b8671e7b0ed8c2ce2548a51a4c5e6393e13cb
Signed-off-by: Julien Danjou <julien@danjou.info>
(cherry picked from commit 186143ecc81369c02aca51b81feb976259bcad41)

12 years agoReturn 400 if create volume snapshot force parameter is invalid
Rongze Zhu [Wed, 12 Sep 2012 10:18:31 +0000 (10:18 +0000)]
Return 400 if create volume snapshot force parameter is invalid

Fixes bug #1014689

* Add is_valid_boolstr function in utils.py
* Add force parameter check in SnapshotsController.create()
* Add unittest for invalid force parameter.

Change-Id: I0f64326f33eb4fad1cf384bd825f56f09e935f40
(cherry picked from commit c678b045c9839ed30e13fe5e7e655e3cb2e2c3f9)

12 years agoMerge "Stop double logging to the console" into milestone-proposed
Jenkins [Fri, 21 Sep 2012 05:45:15 +0000 (05:45 +0000)]
Merge "Stop double logging to the console" into milestone-proposed

12 years agoStop double logging to the console
Vishvananda Ishaya [Thu, 20 Sep 2012 16:52:51 +0000 (16:52 +0000)]
Stop double logging to the console

The code in nova for logging added an extra root handler to be
able to log messages to the console during log setup. This handler
was removed in the setup method. The common setup method no longer
removes this handler, so don't create it. Note that there may be
a small period before the logging setup is finished where messages
will not appear.

Fixes bug 1053512

Change-Id: I559cca8ffc2a33beff22025e42a9713487245980
(cherry picked from commit a1cbbe2e9e5d7a5ec55ec1197571cd68fcdbad15)

12 years agoRemove cinder gating hack
Vishvananda Ishaya [Fri, 21 Sep 2012 00:32:56 +0000 (00:32 +0000)]
Remove cinder gating hack

The hack was necessary while we switched the name used for az's
in the gating tests. Now it can be removed

Change-Id: I970205910ac0950ab4a961aa0537eb964d7f0d3c
(cherry picked from commit bc0fb113af225878b4305da7d834673a6b7f5e97)

12 years agoMerge "Set the default availability zone back to nova" into milestone-proposed
Jenkins [Fri, 21 Sep 2012 04:04:03 +0000 (04:04 +0000)]
Merge "Set the default availability zone back to nova" into milestone-proposed

12 years agoSet the default availability zone back to nova
Vishvananda Ishaya [Thu, 20 Sep 2012 16:34:59 +0000 (16:34 +0000)]
Set the default availability zone back to nova

Currently nova and cinder have to have the same set of az's for
the ec2 api to work properly. Therefore, set the default az for
cinder to nova so they will match.

Includes a hack to az to set cinder to nova to work around gate
issues. The hack can be removed once the gate sets the zone to
nova properly.

Fixes bug 1053508

Change-Id: I9c30ccc5c79b9c4e6c1ebeb3e80d0098e1ffbb11
(cherry picked from commit d051ca9cdf828b1e47ef5158c4b83beb9484109e)

12 years agoAdd lun number (0) to model_update in HpSanDriver
John Griffith [Thu, 20 Sep 2012 23:27:13 +0000 (17:27 -0600)]
Add lun number (0) to model_update in HpSanDriver

The HpSanDriver was not setting the lun number in model_update
and as a result default value of 1 was being used.  Trouble is the
Lun number used by LeftHand is 0, so the connect info would be
wrong and fail when trying to attach the volume.

Fixes bug #1053717

Change-Id: If82a66c6a78ab03da09223a7b79abe559a6f702f
(cherry picked from commit f55198570fd59b7a2a4ddd2f5e77b3d03d0a3d64)

12 years agoFixes to the SolarisISCSI Driver
Yosef Berman [Thu, 20 Sep 2012 17:34:24 +0000 (10:34 -0700)]
Fixes to the SolarisISCSI Driver

Even when the san_is_local config option was set to false, the
SolarisISCSIDriver's _execute method was accidentally set to
util.execute by the VolumeDriver's __init__ method.

Fix bug 1053041

Change-Id: Ie3299f5065e2b084644ec2956f0c6ebae4264a49
(cherry picked from commit 3b8a6303e6c04f0c7b45043c2fcd53948910d37e)

12 years agoUpdate MANIFEST.in patch
Mehdi Abaakouk [Thu, 20 Sep 2012 09:48:40 +0000 (11:48 +0200)]
Update MANIFEST.in patch

12 years agoMerge snapshot 6b31057
Mehdi Abaakouk [Thu, 20 Sep 2012 09:39:32 +0000 (11:39 +0200)]
Merge snapshot 6b31057

12 years agoMerge remote-tracking branch 'upstream/milestone-proposed' into debian/experimental
Mehdi Abaakouk [Thu, 20 Sep 2012 09:38:47 +0000 (11:38 +0200)]
Merge remote-tracking branch 'upstream/milestone-proposed' into debian/experimental

12 years agoDon't suppress upstream file on dh_clean
Mehdi Abaakouk [Thu, 20 Sep 2012 09:25:57 +0000 (11:25 +0200)]
Don't suppress upstream file on dh_clean

12 years agodump version to folsom rc1
Mehdi Abaakouk [Thu, 20 Sep 2012 08:51:18 +0000 (10:51 +0200)]
dump version to folsom rc1

12 years agoMerge tag 'folsom-rc1' into debian/experimental
Mehdi Abaakouk [Thu, 20 Sep 2012 08:50:50 +0000 (10:50 +0200)]
Merge tag 'folsom-rc1' into debian/experimental

folsom-rc1

12 years agoAdd rules to generate quickly the manifest.in
Mehdi Abaakouk [Thu, 20 Sep 2012 08:50:11 +0000 (10:50 +0200)]
Add rules to generate quickly the manifest.in

12 years agoSet important path
Mehdi Abaakouk [Thu, 20 Sep 2012 08:49:34 +0000 (10:49 +0200)]
Set important path

12 years agoMerge "Correct IetAdm remove_iscsi_target" into milestone-proposed
Jenkins [Thu, 20 Sep 2012 03:14:43 +0000 (03:14 +0000)]
Merge "Correct IetAdm remove_iscsi_target" into milestone-proposed

12 years agoAdd nova migrate_version check to cinder import
John Griffith [Tue, 18 Sep 2012 19:29:20 +0000 (13:29 -0600)]
Add nova migrate_version check to cinder import

Cinder-manage migrate import only works from Nova/Folsom--->Cinder/Folsom
this change adds an explicit check of the nova migrate_version (133)
to make sure we have all of the volume id/uuid changes that are needed
to be compatable, and presents an error message if that's not the case.

Addresses bug #1052598

Change-Id: I7f32cf35e33320f4348b7bc44a8e92b5716b71d8
(cherry picked from commit 321d32379cd6044378f2f9c32c068de18f514df5)

12 years agoCorrect IetAdm remove_iscsi_target
John Griffith [Wed, 19 Sep 2012 17:18:51 +0000 (11:18 -0600)]
Correct IetAdm remove_iscsi_target

Remove logical units should be done before delete the target while
unexport iSCSI volume. Or ietd will show "No such file or directory"
error.

Fix bug 1043107

Change-Id: Iab5b97044c5a30c788fcabce827923ff82a84b91
(cherry picked from commit f14e955735065a998cd78280661f6d33c850d9e2)

12 years agoChange two remaining rename mistake
Mehdi Abaakouk [Tue, 18 Sep 2012 20:36:06 +0000 (22:36 +0200)]
Change two remaining rename mistake

12 years agoMark Cinder 2012.2 Final as we near RC1
Thierry Carrez [Tue, 18 Sep 2012 18:12:45 +0000 (20:12 +0200)]
Mark Cinder 2012.2 Final as we near RC1

Mark Final=True as we prepare to publish Folsom RC1.

Change-Id: Ie95dd290aef49633586a4b483c3c80dca3e72aa2

12 years agoMerge "Clean up db.volume_create()"
Jenkins [Tue, 18 Sep 2012 16:30:19 +0000 (16:30 +0000)]
Merge "Clean up db.volume_create()"

12 years agoMerge "Fix volume deletion when device mapper is used"
Jenkins [Tue, 18 Sep 2012 08:12:09 +0000 (08:12 +0000)]
Merge "Fix volume deletion when device mapper is used"

12 years agoClean up db.volume_create()
John Griffith [Mon, 17 Sep 2012 21:36:10 +0000 (15:36 -0600)]
Clean up db.volume_create()

 Adding the metadata return to db.volume_create() introduced some
 messy and unnecessary repitition in the code.  This patch
 cleans that up and makes use of existing volume_get functions rather
 than duplicating the code in volume_create.

 This syncs cinder up with the patch as it's been submitted for nova
 in https://review.openstack.org/#/c/10461/

 Addresses bug #1052176

Change-Id: I17aca069fbb0240770613f176430a1b2fcf2b25a

12 years agoMerge "Update quota when deleting volume that failed to be scheduled"
Jenkins [Mon, 17 Sep 2012 20:37:07 +0000 (20:37 +0000)]
Merge "Update quota when deleting volume that failed to be scheduled"

12 years agoFix volume deletion when device mapper is used
Rafi Khardalian [Wed, 5 Sep 2012 05:51:43 +0000 (05:51 +0000)]
Fix volume deletion when device mapper is used

Call dmsetup remove if there is a /dev/mapper/nova--volumes-
element present.

Resolves bug 979020

Change-Id: Iddaaed411a77dda4bd32f9a97687ff17744119eb

12 years agoMerge "Fix FLAGS.volumes_dir help message"
Jenkins [Mon, 17 Sep 2012 18:14:34 +0000 (18:14 +0000)]
Merge "Fix FLAGS.volumes_dir help message"

12 years agoUpdate quota when deleting volume that failed to be scheduled
Zhiteng Huang [Mon, 17 Sep 2012 09:26:09 +0000 (17:26 +0800)]
Update quota when deleting volume that failed to be scheduled

If one volume was failed to get scheduled, removing such volume should
also clean up reservation.
Also when create_volume is ready to send to scheduler, reservation
should be committed no matter backend can successfully create that
volume or not since deleting volume call will do a minus reservation
even on volume with 'error' status.

Fix bug 1052052

Change-Id: Iaec9926024ad5adb38b08b07772095f49b8593c2

12 years agoAdd files that need to be installed
Mehdi Abaakouk [Mon, 17 Sep 2012 09:00:58 +0000 (11:00 +0200)]
Add files that need to be installed

12 years agoAdd debconf po directory and dependency
Mehdi Abaakouk [Mon, 17 Sep 2012 08:12:35 +0000 (10:12 +0200)]
Add debconf po directory and dependency

12 years agoFix error in configuration file
Mehdi Abaakouk [Mon, 17 Sep 2012 08:11:45 +0000 (10:11 +0200)]
Fix error in configuration file

12 years agoClean /var/lib/cinder on purge
Mehdi Abaakouk [Mon, 17 Sep 2012 08:11:14 +0000 (10:11 +0200)]
Clean /var/lib/cinder on purge

12 years agoMispelling in init script arguments
Mehdi Abaakouk [Sun, 16 Sep 2012 08:31:54 +0000 (10:31 +0200)]
Mispelling in init script arguments

12 years agoAdd dbconfig-common support
Mehdi Abaakouk [Sun, 16 Sep 2012 08:30:59 +0000 (10:30 +0200)]
Add dbconfig-common support

12 years agoFix some lintian warning
Mehdi Abaakouk [Sun, 16 Sep 2012 08:29:29 +0000 (10:29 +0200)]
Fix some lintian warning

12 years agoAdd po rules
Mehdi Abaakouk [Sun, 16 Sep 2012 08:28:51 +0000 (10:28 +0200)]
Add po rules

12 years agoRemove update-rc.d, it's already done by DEBHELPER
Mehdi Abaakouk [Sun, 16 Sep 2012 08:27:57 +0000 (10:27 +0200)]
Remove update-rc.d, it's already done by DEBHELPER

12 years agoSync a change to rpc from openstack-common.
Russell Bryant [Fri, 14 Sep 2012 17:50:47 +0000 (13:50 -0400)]
Sync a change to rpc from openstack-common.

This commit pulls in the following change from openstack-common:

    ee44222 Change the qpid_heartbeat default to 60 seconds.

Fix bug 1050661.

Change-Id: I999e16c18227f9aab4dc8c2ff88cd6907c7c8191

12 years agoMerge "Sync notifier changes from openstack-common"
Jenkins [Fri, 14 Sep 2012 03:43:28 +0000 (03:43 +0000)]
Merge "Sync notifier changes from openstack-common"

12 years agoMerge "Add a resume delete on volume manager startup"
Jenkins [Fri, 14 Sep 2012 03:43:06 +0000 (03:43 +0000)]
Merge "Add a resume delete on volume manager startup"

12 years agoMerge "Improve entity validation in volumes APIs"
Jenkins [Fri, 14 Sep 2012 03:41:14 +0000 (03:41 +0000)]
Merge "Improve entity validation in volumes APIs"

12 years agoAdd a resume delete on volume manager startup
John Griffith [Thu, 13 Sep 2012 16:53:52 +0000 (10:53 -0600)]
Add a resume delete on volume manager startup

  Currently if for some reason the volume service was stopped
  during the zero out operation of a volume delete there was
  no way to get the volume removed from the system (it would
  be present in deleting status forever).

  This change adds a simple check of volumes in the DB with status
  of deleting, and if any are found it restarts the delete process
  on them.

  addresses bug #1011150

Change-Id: Id4c4a3bc61f95245ebc6658234b4b88029956562

12 years agoMerge "Add entity body validation helper"
Jenkins [Thu, 13 Sep 2012 16:45:10 +0000 (16:45 +0000)]
Merge "Add entity body validation helper"

12 years agoImprove entity validation in volumes APIs
Mark McLoughlin [Wed, 12 Sep 2012 11:51:40 +0000 (12:51 +0100)]
Improve entity validation in volumes APIs

Fixes bug #1048565

Use the new Controller.is_valid_body() helper to validate the entity
body in various volumes related POST/PUT handlers and return 422
as appropriate.

Change-Id: I04127972981522c1ed81903893396c4f9665bcd3

12 years agoAdd entity body validation helper
Mark McLoughlin [Wed, 12 Sep 2012 11:51:23 +0000 (12:51 +0100)]
Add entity body validation helper

Add a _valid_body() helper for the to avoid repeating the same tests in
multiple methods. Include a check that the entity itself is actually a
dict.

(Cherry-picks part of commit d1ad73ee from Nova)

Change-Id: If8114cc76d68567005c85c803f29e30e034db89a

12 years agoShould've added super().tearDown() in test_iscsi
John Griffith [Thu, 13 Sep 2012 14:50:09 +0000 (08:50 -0600)]
Should've added super().tearDown() in test_iscsi

  Made changes to use tempfiles and implemented teardown,
  but should have also called super().tearDown as well.

  Associated with chage: I9b9a2400

Change-Id: I2e9d1cb7bfbe78323630eb2f3270698a7ce7e4c4

12 years agoAdd debian dir
Mehdi Abaakouk [Thu, 13 Sep 2012 14:14:57 +0000 (16:14 +0200)]
Add debian dir

12 years agoFixes bug 1050135.
Avishay Traeger [Tue, 11 Sep 2012 14:11:41 +0000 (17:11 +0300)]
Fixes bug 1050135.

Regenerate cinder.conf.sample and fix a couple related bugs.

Change-Id: I3e472f9c69ad4888dc15f901f4bc7cd825fb5ba1

12 years agoFix FLAGS.volumes_dir help message
Joe Gordon [Thu, 13 Sep 2012 01:06:34 +0000 (18:06 -0700)]
Fix FLAGS.volumes_dir help message

And other nova/volume/iscsi.py typos

Change-Id: I781a07b4f11b6cf336c278a6994bd5575ae1a70a

12 years agoMerge "Use tmpdir and avoid leaving test files behind"
Jenkins [Thu, 13 Sep 2012 00:16:08 +0000 (00:16 +0000)]
Merge "Use tmpdir and avoid leaving test files behind"

12 years agoMerge "Sync log format changes from openstack-common."
Jenkins [Thu, 13 Sep 2012 00:15:40 +0000 (00:15 +0000)]
Merge "Sync log format changes from openstack-common."

12 years agoMerge "Update rpc from openstack-common."
Jenkins [Thu, 13 Sep 2012 00:15:16 +0000 (00:15 +0000)]
Merge "Update rpc from openstack-common."