Commit Graph

14353 Commits

Author SHA1 Message Date
Dan Prince 6582517c4a Prefix all nova binaries with 'nova-'.
Fixes LP Bug #1008625.

Change-Id: I2b0dc97133b3039818a52e0b8456dc31cdbd714e
2012-06-06 11:11:56 -04:00
Michael Still 1a007651c4 Migrate instance_metadata to use a uuid to refer to instances.
Continued work on blueprint finish-uuid-conversion.

Change-Id: I64302d0abb2e734422e6b0fee8f12e90f4ce711a
2012-06-06 14:08:59 +10:00
Jenkins d771496352 Merge "Adds disabled field for instance-types." 2012-06-06 03:50:07 +00:00
Rick Harris f371198b84 Adds disabled field for instance-types.
The `disabled` field is intended to be used when phasing out
instance-types. In this case, a delete wouldn't work because the
instance-type needs to still be available for live instances using that
type, but we don't want to allow *new* instances created from that type.

In addition, we don't want to list hidden instance-types for regular
users, but we *do* want to list them for admin-users to ensure they have
a complete view of what's going on in the system.

Once all references to the phased-out instance-type have been dropped,
it would be safe to mark the instance-type as `deleted=True`.

Change-Id: I2af1c027f4d8114aee31353007dfdd3d0bb679ed
2012-06-05 14:52:38 -05:00
Florian Haas 42998d0a6f More meaningful help messages for libvirt migration options
Change-Id: I08f4724a7ef664cfebba57c5c9495494853289a8
Reference: http://libvirt.org/html/libvirt-libvirt.html#virDomainMigrate
2012-06-05 21:42:51 +02:00
Jenkins 9a020a6ecf Merge "cleanup power state (partially implements bp task-management)" 2012-06-05 18:45:25 +00:00
Jenkins 5a24235c22 Merge "fix bug lp:1009041,add option "-F" to make mkfs non-interactive." 2012-06-05 18:45:18 +00:00
Pádraig Brady 84969afb3b fix the instance quota overlimit message
This addresses two closely related bugs.

Bug: 998199
Fix the "used" and "total" counts
in the returned diagnostic.

Bug: 902218
Itemize instance quota items exceeded,
in the returned diagnostic.

Change-Id: Iff7781a7fb53545d44c2b4ec0ca6d65114723c8d
2012-06-05 18:23:14 +01:00
yaguang tang 05130daeaa fix bug lp:1009041,add option "-F" to make mkfs non-interactive.
Change-Id: Ic8be1657dbad0cd91fdb5176f17f7b1ba034c2e0
2012-06-06 00:58:52 +08:00
Jenkins 1334ce8755 Merge "Use openstack-common's policy module" 2012-06-05 15:47:18 +00:00
Jenkins 68d5835cb9 Merge "Finish removing xenapi.HelperBase class" 2012-06-05 14:50:04 +00:00
Jenkins 16fd17e40a Merge "Remove network_util.NetworkHelper class" 2012-06-05 14:33:43 +00:00
Jenkins 4cf3b5ea85 Merge changes I26d1adfd,If8a20501,I13d6d495
* changes:
  Remove volume_util.VolumeHelper class
  Remove vm_utils.VMHelper class
  Start removing unnecessary classes from XenAPI driver
2012-06-05 14:20:46 +00:00
Jenkins b58b8373b6 Merge "XenAPI: Don't hardcode userdevice for VBDs" 2012-06-05 14:07:59 +00:00
Jenkins be9bcd8ea4 Merge "Finally ack consumed message" 2012-06-05 13:58:53 +00:00
Jenkins 2b9ff78f2c Merge "Use openstack.common.cfg.CONF." 2012-06-05 12:26:33 +00:00
Hengqing Hu d28f5bdaab Finally ack consumed message
To avoid bad messages fill up the queue.

Change-Id: Id57ff33cfcacf698f89fa7f1020c0c887ebe14ed
2012-06-05 14:54:28 +08:00
James E. Blair 626f64a716 Revert "blueprint <multi-process-api-service>"
This reverts commit e599636d09

The nova test runner is leaking processes after this change.

Change-Id: Id74463d53f3b7cd749cba293619abef01499b90d
2012-06-04 22:19:10 -07:00
Jenkins b33d445b90 Merge "Eliminate a race condition on instance deletes." 2012-06-05 03:07:38 +00:00
Kevin L. Mitchell 18ed0b0940 Use openstack-common's policy module
Reworks nova to use the new policy module in openstack-common.

Change-Id: Iea8651bad85f26804285616330107d9d5f23e6cb
2012-06-04 18:49:44 -05:00
Russell Bryant fd49b0ec89 Use openstack.common.cfg.CONF.
Part of blueprint common-rpc.

This patch makes the rpc code use the global config object from
openstack-common.  Based on some recent discussions on the mailing list,
this may not be the final way configuration handling is done here, but
it is certainly better than the register_opts() hack that is removed by
this patch.

Change-Id: Id128126e0bc064a2a1c710c6bd32fb3d137dc7f6
2012-06-04 16:41:51 -04:00
Jenkins bf9fd420ae Merge "convert virt drivers to fully dynamic loading" 2012-06-04 20:24:37 +00:00
Jenkins 3bed846084 Merge "Add missing import to quantum manager." 2012-06-04 19:57:45 +00:00
Jenkins b1cfea8b97 Merge "bug #1006094 correct typo in addmethod.openstackapi.rst" 2012-06-04 19:08:19 +00:00
Jenkins c4987ef9a2 Merge "Correct use of uuid in _get_instance_volume_bdm." 2012-06-04 18:54:09 +00:00
Jenkins ebf63c9d18 Merge "blueprint <multi-process-api-service>" 2012-06-04 18:42:12 +00:00
Jenkins d964f5da73 Merge "Add a comment to rpc.queue_get_for()." 2012-06-04 18:10:20 +00:00
Jenkins 36522d059e Merge "defensive coding against None inside bdm resolves bug 1007615" 2012-06-04 17:56:12 +00:00
daisy-ycguo 664723bde9 bug #1006094 correct typo in addmethod.openstackapi.rst
Change-Id: Ic03996357aacb6f135b95fc1e5810066b776b980
2012-06-04 10:35:31 +08:00
MotoKen 42a4fd986a Correct use of uuid in _get_instance_volume_bdm.
Fixes bug 1007267.

Change-Id: Icc3cfbef7beabebdaba88a6f81579ae784771bd2
2012-06-04 09:28:32 +08:00
Dan Wendlandt e6e0bf343f Quantum Manager disassociate floating-ips on instance delete.
bug #997763

Change-Id: I4a1e6c63d2a27c361433b9150dd5ad5218578c02
2012-06-01 17:07:13 -07:00
Joe Heck 7d57cc16a6 defensive coding against None inside bdm
resolves bug 1007615

Change-Id: If7afa4fb030b3c53a0b80737ff792e42cc4d3101
2012-06-01 21:51:48 +00:00
Russell Bryant adf7afa00e Add missing import to quantum manager.
This patch adds a missing import of rpc to the quantum manager.  rpc
usage was added in d901b44fea, but the
import was never there.

Change-Id: Id98a7034d190338c48d7e8c787b3d152cafe6353
2012-06-01 15:09:45 -04:00
Russell Bryant 62bea64940 Add a comment to rpc.queue_get_for().
Part of blueprint common-rpc.

Add a comment to the rpc.queue_get_for() function that notes that this
is simply a naming convention and is dependent on how queues are set up
on the consumer side.

Change-Id: Ifa7d648e9b33ad2416236dc6966527c257baaf88
2012-06-01 14:49:42 -04:00
Jenkins 18734e9bc7 Merge "Fix instance update notification publisher id" 2012-06-01 17:16:53 +00:00
Jenkins 44ac6e69a0 Merge "[PATCH] Allow [:print:] chars for security group names" 2012-06-01 17:02:50 +00:00
Jenkins aae9f61409 Merge "Add compare_cpu to the compute rpcapi." 2012-06-01 16:47:19 +00:00
Zhiteng Huang e599636d09 blueprint <multi-process-api-service>
Add multiprocess support for API serivces (EC2/OSAPI_Compute/OSAPI_Volume/Metadata).

2012-06-1 v7:
    * Add unittest to cover worker recovery, service termination functionality
    in wsgi.py, fix python 2.6 compatibility issue.
    * Modify generate_uid() to introduce per-process seeds in utils.py to avoid
    collisions.
    * Add worker session to nova.conf.sample.
2012-05-21 v6:
    * Fix 'test_wsgi' unittest error.
2012-04-28 v5:
    * Add SIGINT handler and fix child-parent race condition when Ctrl+C is
    pressed.
2012-03-31 v4:
    * Fixed typo, removed debug code.
2012-03-30 v3:
    * Fixed localization/pep8 error in unittest, add metadata test.
    * nova/wsgi.py:Server: use the greenthread pool created for each process.
    * nova/service.py: remove debug code
2012-03-27 v2:
    * Fixed unittest error.
    * nova/wsgi.py:Server: Use self._logger to do logging in multiprocess mode.
    * nova/wsgi.py:Server: Move self._pool creation into proper place.
    * code style fix.
2012-03-25 v1:
    * Modification to nova/service.py and nova/wsgi.py in order to support
    multiprocess (a.k.a. workers) for various API services.  If multiprocess
    mode is enabled, (i.e. flags 'APINAME_workers' set to positive numbers),
    corresponding API service will run in target number of process(es). There
    is also a master_worker process spawned for managing all workers (handling
    signal/termination).
    * Add unittest for multiprocess API service, also alter testing/runner.py
    to adopt new unittest.

Change-Id: Ia045e595543ddfd192894b2a05801cc4b7ca90cb
2012-06-02 00:34:55 +08:00
Jenkins 31108020fc Merge "Add get_console_topic() to the compute rpcapi." 2012-06-01 16:31:24 +00:00
Jenkins 8184a33681 Merge "Add refresh_provider_fw_rules() to compute rpcapi." 2012-06-01 16:18:32 +00:00
Jenkins 05164ce0ec Merge "Use compute rpcapi in nova-manage." 2012-06-01 16:08:50 +00:00
Jenkins dffc2ec401 Merge "Add post_live_migration_at_destination() to compute rpcapi." 2012-06-01 15:53:01 +00:00
Jenkins 2684de57f9 Merge "Add pre_live_migration() to the compute rpcapi." 2012-06-01 15:36:46 +00:00
Jenkins 3779981380 Merge "Add rollback_live_migration_at_destination() to compute rpcapi." 2012-06-01 15:18:05 +00:00
Jenkins 9dcc4da525 Merge "Add finish_resize() to the compute rpcapi." 2012-06-01 14:58:47 +00:00
Jenkins f799d758b0 Merge "Add resize_instance() to the compute rpcapi." 2012-06-01 14:36:26 +00:00
Jenkins a91693bae9 Merge "Add finish_revert_resize() to the compute rpcapi." 2012-06-01 14:12:17 +00:00
Jenkins 2f48ee1621 Merge "Add get_console_pool_info() to the compute rpcapi." 2012-06-01 13:52:34 +00:00
Johannes Erdfelt fb0eb9ecf4 Finish removing xenapi.HelperBase class
The XenAPI driver has the concept of helper classes. All methods
have been classmethods and the classes themselves are never
instantiated. As a result, they only add an extra namespace
lookup and provide no value.

This is the last patch in this series

Change-Id: I314dfa6555d38be9b0988270b3367c4ae86b19bb
2012-06-01 00:03:04 +00:00
Johannes Erdfelt 3ae2c6abcd Remove network_util.NetworkHelper class
The XenAPI driver has the concept of helper classes. All methods
have been classmethods and the classes themselves are never
instantiated. As a result, they only add an extra namespace
lookup and provide no value.

Change-Id: Ief7d51013d8f313ca8c78cb157599858b156ac3f
2012-06-01 00:03:04 +00:00