Commit Graph

399 Commits

Author SHA1 Message Date
Joe Gordon 58373748ac Remove nova-volume scheduling support
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
2012-10-31 23:10:11 +00:00
Jenkins f3d2669280 Merge "Addtional 2 packages for dev environment on ubuntu" 2012-10-29 18:26:21 +00:00
Vishvananda Ishaya 7e2b93acc5 removes the nova-volume code from nova
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
2012-10-28 11:34:05 -07:00
Jolyon Brown 73f56fa819 Addtional 2 packages for dev environment on ubuntu
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
2012-10-25 12:51:16 +01:00
Michael Still 0d4e6dbe6f Migrate to fileutils and lockutils.
Migrate nova to using openstack-common's file and lock utilities.
Resolves bug 1063230.

Change-Id: I1a4c87856bc08cd33b61d7098ed856baa4583654
2012-10-25 09:20:46 +11:00
Tom Fifield 43bc7d6996 Remove refs to ATAoE from nova docs
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
2012-09-23 14:12:42 +10:00
Jenkins 1ec8b5d06c Merge "Added description of operators for extra_specs" 2012-09-20 20:28:58 +00:00
Joe Gordon c8b15fc78c Add man pages
Add partially written manpages for:
* nova-all
* nova-api-ec2
* nova-api-metadata
* nova-api-os-compute
* nova-api-os-volume
* nova-api
* nova-cert
* nova-compute
* nova-console
* nova-consoleauth
* nova-dhcpbridge
* nova-network
* nova-novncproxy
* nova-objectstore
* nova-rootwrap
* nova-rpc-zmq-receiver
* nova-scheduler
* nova-volume-usage-audit
* nova-volume
* nova-xvpvncproxy

Change-Id: I3734831ce2f6b5d765e98b3f50fe8c1ad7965685
2012-09-17 12:00:08 -07:00
Jinwoo 'Joseph' Suh 611ee3b213 Added description of operators for extra_specs
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
2012-09-11 12:13:14 -04:00
Joe Gordon 847fb38c5b Add documentation for scheduler filters scope
Add documentation for bug 1039386

Fix other devref typos

Change-Id: Ife19ee5feb72dd75b91a03c4167d8f4e578a4a04
2012-09-10 11:01:15 -07:00
Tom Fifield 5f529511c6 Add two prereq pkgs to nova devref env guide
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
2012-08-23 09:18:34 +10:00
Jenkins 84505b8a47 Merge "Code clean up" 2012-08-22 18:54:11 +00:00
Jenkins b090bdd088 Merge "Introduce ImagePropertiesFilter scheduler filter" 2012-08-22 07:02:45 +00:00
Ray Chen d41aa7aed7 Code clean up
Some code clean up in the file doc/source/conf.py
to make the code more pretty.

Change-Id: Icb25428739725c530977a011bf28f17fda1c29fb
2012-08-21 21:49:50 +08:00
Jenkins d0a35e999d Merge "OpenStack capitalization added to HACKING.rst" 2012-08-21 02:27:00 +00:00
Jenkins acb1f3fe32 Merge "Fix PEP8 issues" 2012-08-20 20:24:15 +00:00
Jim Fehlig 5ea7db9b71 Introduce ImagePropertiesFilter scheduler filter
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
2012-08-17 22:25:54 -06:00
Joe Gordon b0392d3017 OpenStack capitalization added to HACKING.rst
Along with capitalization fixes to comments in code

Change-Id: I72ddc582001f80d954ca5a121903c689f40d08d1
2012-08-17 15:59:32 -05:00
Jim Fehlig 460ba0416e Update FilterScheduler doc
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
2012-08-17 10:41:33 -06:00
Ray Chen 9424514e6f Fix PEP8 issues
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
2012-08-17 11:35:57 +08:00
Yun Mao 65255ae22b Allow stop API to be called in Error
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
2012-08-14 10:27:14 -04:00
Joe Gordon 0e6fc4f4dd Update devref for general host aggregates
Update devref to explain the new definition of host aggregates.
part of blueprint general-host-aggregates

Change-Id: I5d46c4c4253a4d9e74a52192d1e6244843d11711
2012-08-07 14:20:21 -07:00
Joe Gordon 8ba14de31f Remove unused testing.fake
Change-Id: If86a65a6908b53e6f467d0e7a36c2ea941bf5040
2012-07-18 14:04:37 -07:00
jakedahn 3ddece6553 Making docs pretty!
* Before: http://stsh.me/2Qv
  * After: http://stsh.me/2Qw

Change-Id: I4609e66820cd49b7443d18b9e0decf638da42581
2012-07-11 15:30:42 -07:00
Jenkins 4e251fec89 Merge "Removed a bunch of cruft files." 2012-07-11 05:13:27 +00:00
Jenkins 3580021d43 Merge "Update common setup code to latest." 2012-07-10 23:45:55 +00:00
Brian Waldon 3ff63d029b Remove deprecated auth docs
Related to bp remove-deprecated-auth

Change-Id: I2637188e75e1881e6cc5af09d86eaf45581b3e9e
2012-07-10 11:09:37 -07:00
Monty Taylor c586de1c58 Removed a bunch of cruft files.
Ohai. We dont't uses any of theses anymores. Let's just make buh-bye.

Change-Id: Ib81c92ab9196552150d81d158befb0747966965d
2012-07-07 16:32:19 -05:00
Monty Taylor eb2de037a3 Update common setup code to latest.
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
2012-07-07 16:32:19 -05:00
Brian Waldon f953091dfe Remove auth-related nova-manage commands
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
2012-07-05 09:16:29 -07:00
Jenkins aa802e0204 Merge "vm state and task state management" 2012-06-25 18:24:30 +00:00
Joe Gordon 1b40708287 Fixes ram_allocation_ratio based over subscription
Fix for bug 1016273

Change-Id: I7f7b227e71e93b4bcded150791fb0b9e9df98e4c
2012-06-21 17:49:16 -07:00
Yun Mao 129b87e17d vm state and task state management
partially implements bp task-management
fixes bug 997867

also see http://wiki.openstack.org/VMState

Refactored the following API/state:
* rebuild
* migrate
* resize
* start
* stop
* delete
* soft delete
* rework sync_power_state in compute/manager.

fix broken tests, add transition diagram in dot

Change-Id: I3c5a97508a6dad7175fba12828bd3fa6ef1e50ee
2012-06-21 15:34:53 -04:00
daisy-ycguo 664723bde9 bug #1006094 correct typo in addmethod.openstackapi.rst
Change-Id: Ic03996357aacb6f135b95fc1e5810066b776b980
2012-06-04 10:35:31 +08:00
Matt Joyce d5cc5fd2f0 Grammar fixes.
Change-Id: Iff3f5765193e0bc98dfc377ee5a9b6f47ae11859
2012-05-29 13:01:57 -07:00
Jenkins 0598ec2d36 Merge "Docs for vm/task state transitions." 2012-05-11 15:46:44 +00:00
Jenkins 36a810e545 Merge "Mistake with the documentation about cost function's weight corrected." 2012-05-09 19:12:06 +00:00
Joe Gordon fa02377645 Fix devref docs
Fix filter_scheduler namespace (no more distributed_scheduler)

Change-Id: I03ae3403a670ba3fdc33983da8df9e97c728080a
2012-05-07 15:07:45 -07:00
Sandy Walsh 42b09d91f7 Docs for vm/task state transitions.
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
2012-05-06 19:36:15 -04:00
Dina Belova 8c938d3f7e Mistake with the documentation about cost function's weight corrected.
Change-Id: I131d6abc100682ae78c7ac2edfffadc491b9d437
2012-05-05 13:24:13 +04:00
Joe Gordon ca2bb061a7 Remove unused images
Change-Id: I23a3de8197ca34948d55dd3be65c8d9c88bbdd71
2012-05-02 11:31:23 -07:00
annegentle fd6b21b948 Removes RST documentation and moves it to openstack-manuals
Avoiding redundant information and confusion.

Change-Id: Iab1913ff359699db977b74554bad6088fab6ab2f
2012-04-30 12:45:48 -05:00
Jenkins 4f631ca24b Merge "Update doc to mention nova tool for type creation" 2012-04-10 22:23:11 +00:00
Jenkins d5daf415b9 Merge "Change Diablo document reference to trunk" 2012-04-10 16:14:25 +00:00
Jenkins 2c3a4f1cf8 Merge "Information about DifferentHostFilter and SameHostFilter added." 2012-04-09 23:43:46 +00:00
Joe Gordon 22008a96fc Remove last two remaining hyperV references
Change-Id: I6fd21df97884234eee53c67023e9ce0f58f6d133
2012-04-09 15:10:32 -04:00
Dina Belova c1e397b746 Information about DifferentHostFilter and SameHostFilter added.
Change-Id: Ice5f03db5f3d24455c43af86bf5722b863cbe959
2012-04-09 19:18:38 +04:00
Joe Gordon 6606f036a6 Update doc to mention nova tool for type creation
Change-Id: I5ce1b4b7032f6f82dfaa7a8f60139e148a250db8
2012-04-08 22:21:43 -04:00
Joe Gordon 995d3e295f Change Diablo document reference to trunk
Change-Id: I1e43668ec8624f722c32e2ffebc81a387551cebc
2012-04-08 22:01:41 -04:00
Dina Belova 6ca171810e Extend FilterScheduler documentation.
Added more specific information on filters and weight functions.

Change-Id: If0463cd9d29568dfe44c6e5ce3f2e42af5ffe240
2012-04-04 19:40:16 +04:00