* change boto=1.9b to boto
* fix the tests
* remove nova-adminclient dependency
* remove the useless smoketests for nova-adminclient
Change-Id: Ie191453941e64774496a912cb64d1417f3f1bea3
Fix cut and paste error: change project_id to p['id'] as project_id
doesn't exist in this scope.
Also added project creation to the unit test which would have caught
this.
Change-Id: I1bd53265e3d622a59969eb286c3fbde471374c73
Fixes bug 887708
There are a handful of places where <object>.get_all is followed by a
<object>.get_record calls that are potentially racey. This patch fixes
all of these cases to use common code that is tolerant of HANDLE_INVALID
errors that would be indicative of a race between get_all and delete
Change-Id: Ib94adb6d21b6b55e7b26fc1da52ed46d9dba8275
- Removed image_state from compute api snapshot (only needed by ec2/s3)
- Only set backup_type when image_type is 'backup'
- Add testing to verify snapshots/backups get the correct metadata
Change-Id: Ib5461f9aa790d7ed5629c591bbe1510443dbc2aa
Additional work:
1. Added support for tasks being scheduled at differing rates via the
`ticks_between_runs` argument.
2. Fixed `reclaim_queued_deletes` so that it doesn't run if
`FLAGS.reclaim_instance_interval` is 0.
Change-Id: I18c01baf07bd06301a6fe26a7b29dc2452a4fa96
As discussed on the mailing list and described here:
http://wiki.openstack.org/CommonConfigModule
The module implements an API for defining configuration options and
reading values for those options that a user may have set in a config
file or on the command line.
The module will be part of openstack-common and glance will consume
it from there once openstack-common makes a release with an API
compatibility commitment.
Change-Id: Ib604c3de75d9066cd913c2de3007024b1f5ec9f8
Alternative to using a sudoers file to limit which commands can be run as
root in Nova. This one makes use of command filters defined in Nova code
itself, which can be customized to deeply inspect command arguments before
allowing a command to be executed.
This change puts the infrastructure in place, together with command filters
that replicate the level of filtering provided by a sudoers file (no deep
argument inspection yet). An example of an advanced filter (RegExpFilter) is
also provided. This new root wrapper is not active by default (root_helper
still defaults to "sudo"). Implements blueprint nova-rootwrap.
Change-Id: I7ad723b55e9446758876f21b4fbb09374a910425
Set vm_state to error if a driver raises an exception (of any type)
during resize_instance and finish_resize.
I want to highlight that there is a slight behavioral change here.
Before, on a MigrationError the exception was not reraised in the
resize_instance function. However, based on my understanding it is not
a big deal to make this change. The worst case is log duplication in
a fairly rare error state.
Change-Id: Ifd1ea66cf3f2e59ee06714f666e357a99936b4e3
Ubuntu Oneiric has a problem with the pip installed version of m2crypto.
This fix installs python-m2crypto via apt-get on Oneiric.
Change-Id: I8290a74b614eb0d0b8d620dbad19d2cc6843de8b
This commit begins to implement blueprint consolidate-testing-infrastructure by
adding a 'testing' subpackage and moving some modules into it.
Change-Id: I04bf860bc386bd2016e7dbc5a6f6ef7379a855bb
Since moving to bzr, we no longer generate ChangeLog and vcsversion.py
and since commit deb31cb55 we no longer even have the bzr specific code
for generating them. So, let's just remove any references to them.
Change-Id: I4f96b9be48e289f9129ae8e3ad4cbc1b22db07d2
* changes:
Adding an install_requires to the setup call. Now you can pip install nova on a naked machine.
Removing obsolete bzr-related clauses in setup.py
The 'collie cluster status' default output is more verbose since
sheepdog 0.24. The '-r' (raw) option has been added for less verbose
output but won't be used to ensure compatibility with pre-0.24 sheepdog.
Change-Id: Ie31bdded928772250515e439016fc5c5beb00d83