Commit Graph

428 Commits

Author SHA1 Message Date
Kurt Taylor d17f9ab13d Update OpenStack LLC to Foundation
Update all references of "LLC" to "Foundation".

Change-Id: I009e86784ef4dcf38882d64b0eff484576e04efe
2013-02-26 19:15:29 -05:00
Jenkins 8f209c622b Merge "Fix inaccuracies in the development environment doc." 2013-02-20 13:26:19 +00:00
Jenkins 3f40de459c Merge "Documentation cleanups for nova devref" 2013-02-20 13:24:24 +00:00
Belmiro Moreira f619da2405 Multi-tenancy isolation with aggregates
A new scheduler filter that allows the creation of instances from
specific tenants in selected aggregates.
With this filter is possible to isolate tenants in a specific set
of compute nodes (aggregates).

If a host is in an aggregate that has the metadata key
"filter_tenant_id" it can only create instances from that tenant(s).
A host can be in different aggregates.
If a host doesn't belong to an aggregate with the metadata key
"filter_tenant_id" it can create instances from all tenants.

Implements: blueprint multi-tenancy-aggregates
DocImpact

Change-Id: I119c809c54da9e9dc3ac506c02203d2d4422b06e
2013-02-19 21:41:18 -08:00
Tom Fifield e79811b855 Documentation cleanups for nova devref
This patch contains a number of cleanups of the nova devref,
mostly related to outdated content.

1) remove outdated todo items from network
=> these have been long covered in the manuals

2) remove outdated multinic docs and images
=> this is now better covered in:
http://docs.openstack.org/trunk/openstack-compute/admin/content
/using-multi-nics.html

3) remove outdated cloudpipe docs, confs and scripts
=> This is now better covered in:
http://docs.openstack.org/trunk/openstack-compute/admin/content/
cloudpipe-per-project-vpns.html

4) remove outdated networking docs
=> These were marked as 'legacy' more than 2 years ago

Change-Id: I9321335031b4581c603a6f31c613e1b620d468a6
2013-02-20 00:03:09 +11:00
Jenkins 293b8c2356 Merge "Changes GA code for tracking cross-domain." 2013-02-12 20:00:33 +00:00
Jenkins 1e33917269 Merge "Support for scheduler hints for VM groups" 2013-02-12 08:31:57 +00:00
annegentle 4faa62e77e Fix inaccuracies in the development environment doc.
Change-Id: If2b0884de54b75e40896cee9b4fb5eb805de2624
2013-02-11 09:29:48 -06:00
Monty Taylor 4336152768 Update to simplified common oslo version code.
Based on https://review.openstack.org/#/c/19957/

Change-Id: Ieefee2af8812d0217e95eeffb3cf53d8e55c8fe6
2013-02-10 04:05:15 -06:00
annegentle 33ecb10b03 Changes GA code for tracking cross-domain.
Change-Id: I731d6b160588b59f01abe98699c144fdf4ae12ad
2013-02-09 08:43:46 -06:00
Gary Kotton 4cbf1f379c Support for scheduler hints for VM groups
This is part of the blueprint vm-ensembles. The patch introduces the
group as a scheduler hint.

The patch set adds group support for multi-VM deployment. This is achieved
as follows:
1. A new hint is added: group. This will contain the name and type for the
   group. At the moment only anti-affinity is supported. In the future
   we will add network proximity. It will be extended to <name>:<type>
2. In order to ensure that group policy will be honored for future VM
   deployments, the group is stored as system_metadata.
3. The anti affinity is implemented by a new filter called
   GroupAntiAffinityFilter.

DocImpact

Change-Id: I6ea2af5770b5ac4ff082b2a021d323ee38282205
2013-02-08 03:16:44 +00:00
Pádraig Brady f379db545c fix misspellings in logs, comments and tests
Flagged with: https://github.com/lyda/misspell-check
Run with: git ls-files | misspellings -f -

Fixes bug: 1100083
Change-Id: Icf1f844fea8ad0a1101d1dc64b9a126608e9536e
2013-01-21 23:14:13 +00:00
Jenkins 9ebcd1d91c Merge "correcting for proper use of the word 'an'." 2013-01-21 22:58:28 +00:00
Jenkins b76c5cfc8e Merge "Add nova-spicehtml5proxy helper" 2013-01-17 11:59:25 +00:00
Matt Joyce 0651e60e4e correcting for proper use of the word 'an'.
Change-Id: Ib6180284d806a00c520df378e651fba947e2397a
2013-01-16 11:50:01 -08:00
Sunil Thaha 35217e5fd7 Updates prerequisite packages for fedora
Adds gcc, libxslt-devel (has dependency on libxml2-devel) and mysql-devel to
the list of prerequisites

Change-Id: I9c27868b30ef17d73adf8ad2e72b3d0e76fe76d1
2013-01-17 00:40:15 +10:00
Daniel P. Berrange eab051ec68 Add nova-spicehtml5proxy helper
Add nova-spicehtml5proxy which provides a websockets proxy,
equivalent to nova-novncproxy

Blueprint: libvirt-spice
Change-Id: I48be78c97bb7dd6635fd4bba476ef22701418ba1
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-01-16 10:19:37 +00:00
Mikyung Kang eeff3ddcb6 CLI for bare-metal database sync.
Part 3 of 6: blueprint general-bare-metal-provisioning-framework.

Change-Id: Ia19ce00edb84aa924c2ab2c9c2217f6b49073d69
Co-authored-by: Mikyung Kang <mkkang@isi.edu>
Co-authored-by: David Kang <dkang@isi.edu>
Co-authored-by: Ken Igarashi <igarashik@nttdocomo.co.jp>
Co-authored-by: Arata Notsu <notsu@virtualtech.jp>
2013-01-08 22:56:14 +09:00
Mikyung Kang abe1db6f88 PXE bare-metal provisioning helper server
a part of blueprint general-bare-metal-provisioning-framework.

Implement nova-baremetal-deploy-helper.

This service listens for HTTP requests from baremetal deploy ramdisk,
formats the remote disk and writes an image to it, as part of baremetal
PXE provisioning.

blueprint improve-baremetal-pxe-deploy shows how we plan to improve this
process.

Change-Id: I0a1b020cc5f81d49559acd4dcc781397a58e2c01
Co-authored-by: Mikyung Kang <mkkang@isi.edu>
Co-authored-by: David Kang <dkang@isi.edu>
Co-authored-by: Ken Igarashi <igarashik@nttdocomo.co.jp>
Co-authored-by: Arata Notsu <notsu@virtualtech.jp>
Co-authored-by: Devananda van der Veen <devananda.vdv@gmail.com>
2013-01-08 08:55:02 +13:00
Jenkins dcb79ba1e6 Merge "Clarify & fix docs for nova-novncproxy" 2013-01-03 19:32:49 +00:00
Daniel P. Berrange 977f4e0f5a Clarify & fix docs for nova-novncproxy
Clarify docs for nova-novncproxy to indicate that it only serves
noVNC web content. Also remove duplicated link from manpage

Change-Id: Ia1f4aff21591132a5c41810a371d248ea0001e1f
2013-01-03 11:01:33 +00:00
Joe Gordon 352eac12e3 Update nova-cert man page
nova-cert is:
* Used to generate certificates for euca-bundle-image.
* Only needed for EC2 API.

Change-Id: If941e964d152a9af5980a2589bc0f0f8ee4842b7
2012-12-27 17:57:12 -08:00
Jenkins 0e17114aac Merge "Update command on devref doc" 2012-12-19 12:28:11 +00:00
Sulochan Acharya 694bcb7f7c Update command on devref doc
Update the apt-get command to build mysql dependency for ubuntu.
It currenly says apt-get install build-dep python-mysqldb
which should just be apt-get build-dep python-mysqldb

Change-Id: I541f7b80802a6b7191f2fe0338965ef425e7c2fd
2012-12-14 11:40:22 -06:00
Xiangyang Chu 461a966d75 Add the missing replacement text in devref doc.
Add AggregateInstanceExtraSpecsFilter's replacement text in
doc/source/devref/filter_scheduler.rst

Change-Id: I5b74c5f51eb85f79f79a2d2c556d6522d97f1497
2012-12-14 09:47:32 +08:00
Brian Elliott e937a53065 Add generic customization hooks via decorator.
Hooks add the ability to insert custom code around operations that
declare a named hook:

e.g.

@hooks.add_hooks('create_instance')
def create_instance(....):
   ....

The above hook allows Hook objects to be run 'pre' and 'post' the
execution of create_instance()

Hook objects are discovered via the setuptools entry point group
'nova.hooks'.

Change-Id: I3961df12ef415085de7459438967edacc34500c2
2012-11-30 20:47:53 +00:00
Jenkins dd28988b57 Merge "Enhance compute capability filter to check multi-level" 2012-11-20 01:05:56 +00:00
Dan Smith 4ea757b880 Add the beginnings of the nova-conductor service
This adds a new service called "nova-conductor" which will provide
services for nova-compute, such as completing database updates and
handling long-running tasks.

Right now, this just adds a fraction of the database-related work
so that we can proceed with incremental changes to nova-compute.

For compatibility/flexibility, both LocalAPI and (RPC)API classes
are provided. Users concerned with performance or compatibility
who wish to maintain compute-node-local database accesses can
set the [conductor] use_local=True, which will mimic the legacy
behavior.

DocImpact

Change-Id: Ib81d879f40b7daceeffad5af0631c7db68168661
2012-11-19 11:41:34 -08:00
Yunhong, Jiang 8ce8e4b6c0 Enhance compute capability filter to check multi-level
Host state capabilities include multi-level information, like
cpu features are presented in capabilities:cpu_info:features, cpu
core number in capabilities:cpu_info:topology:cores.
    Multi-level capability check maybe helpful in some situation, like
user want to make sure host support SSE3 instructions or AES-NI, or
user want to make sure the host has >4 cores for SMP instance. Current
capability filter does not support these requirements.
    To support multi-level check, also add scope to capability filter,
so, now capability filter will handle no-scope extra_specs, or scope-format
as "capabilities:xxx:xxx" etc.

    Related to bp hw-feature-to-vm

Change-Id: Id714f99b4babbdb328b8e47f5a270be517b528d2
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
2012-11-14 18:10:08 +08:00
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