Continuation of I0b540e54dbabd26901a7530035a38583bb521fda
* delete scheduler.simple
* modify scheduler.multi instead of delete to continue supporting
I753e87fc8979fd0b62529974f00cf11fa55b3d63
* update scheduler.multi docstring
* scheduler.rpcapi bumped to 2.3
* change default scheduler to scheduler.filter_scheduler
DocImpact
part of bp delete-nova-volume
Change-Id: Ie9d9b46742b2d92cd1e9ffe982ef658907a1d411
This removes the majority of the nova-volume code from the codebase.
It updates relevent config options to default to cinder. It updates a
number of existing tests that were depending on code that was removed.
A few things still need to be removed:
* volume/driver.py & volume/iscsi.py
These files are used by the libvirt volume driver tests. These
tests should be updated to mock the relevant calls.
* scheduler/simple.py & scheduler/multi.py
These files should no longer be necessary so they can be removed
in a subsequent patch
* exception.py cleanup
Once the above files are removed there are a number of unused
exceptions which can be removed
* database calls and database tables
The database calls have not been removed and the tables have not
been dropped. This can be done in a separate migration
* additional config options and nova.conf.sample
There may be a few extra config options that can be removed and the
conf sample can be regenerated
Implements bp delete-nova-volume
Change-Id: I0b540e54dbabd26901a7530035a38583bb521fda
In file doc/source/devref/development.environment.rst added packages
build-dep and python-mysqldb which I have had to add on ubuntu 12.04
to enable the dev environment to be setup. Without these run_tests.sh
fails with error 'mysql_config not found' when setting up the virtual env.
Change-Id: I4af775386469deecf122a9e165457f241339b20b
fixes bug 912108
Nova volumes' ATAoE is long gone. This patch merely removes the
remaining comments about it from the nova devref documentation.
Change-Id: Ic5586c0d596acae05cdee4ba9cb5ec453315b773
There are several new operators added for extra_specs that are used
in compute capability filter and aggregate filter. These are
described in document in this patch. Fixed bug 1047036.
Change-Id: Id86c6672d7bda458ecb918f1900d6f8a9526ad41
fixes bug 1024903
As noted in the bug report, without libxml2-dev and libxslt-dev
installed on ubuntu 12.04, the virtualenv creation will fail.
This fix simply adds the packages to the first
"Install the prerequisite packages." line
Change-Id: I588ce14f63fa75d54405562f83d202d05c8a05c6
Commit d39137fa added functionality to the ComputeFilter to filter on
architecture, hypervisor_type, and vm_mode. The existing ArchFilter
already filtered on architecture. This patch merges the ComputeFilter
functionality introduced in d39137fa with the ArchFilter to create the
ImagePropertiesFilter. The ImagePropertiesFilter uses image properties
specified in the request_spec to filter hosts.
This patch also adds the ImagePropertiesFilter to the list of default
filters specified by the scheduler_default_filters FLAG.
Fixes LP Bug #1037339
DocImpact
Change-Id: Ifa6fccf2db266b0fe3457d58fc81fdb50ffcbc0f
The FilterScheduler doc was overlooked when new filters were added
or existing filters were changed. This change updates the doc with
information skimmed from the individual filters.
nova.conf.sample is updated as well with the current list of default
filters.
Change-Id: I48af75c472195ded89b34db76a22947614ffb99b
Fix some PEP8 issues in doc/ext/nova_todo.py and doc/source/conf.py
and make the code look more clearly.
Change-Id: I2b0ce1b09a4a707cffaa565747aabd5346eb9f41
We already allow the stop API to be called when the VM is in Error
state. This is to update the diagram in devref doc.
Change-Id: I792028dc6f851f66d42b852c27505c479eab4df7
Update devref to explain the new definition of host aggregates.
part of blueprint general-host-aggregates
Change-Id: I5d46c4c4253a4d9e74a52192d1e6244843d11711
This gets us up to date with common/setup.py and replaces custom nova
autodoc generation with the port of that code found in common.
Change-Id: I2a1c5d2c0fdcf40dbea50cc123b537adb068cdc2
Drop support for management of deprecated auth by deleting
the following nova-manage commands:
* role *
* export *
* project/account * (except scrub and quota)
* shell export
* user *
Additionally, delete relevant documentation and tests.
Related to bp remove-deprecated-auth.
Change-Id: Iad9787f696cb55d4673d68fc60851c7f5bd25805
Added diagrams to RST docs that show required vm_state / task_state
transitions for compute api operations.
(Set Sandy Walsh as author since he created the diagrams)
Change-Id: Ie6a9cd4b54321a98fea5429ee52eb781f57f31a4