Commit Graph

11703 Commits

Author SHA1 Message Date
Jenkins 8a8dd22aea Merge "Refactors periodic tasks to use a decorator." 2011-12-07 18:29:57 +00:00
Jenkins 42b571181b Merge "Update associate_floating_ip to use instance objs" 2011-12-07 18:22:00 +00:00
Jenkins 0b28e574af Merge "First steps towards consolidating testing infrastructure" 2011-12-07 18:13:48 +00:00
Rick Harris 2b42968a53 Refactors periodic tasks to use a decorator.
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
2011-12-07 18:07:08 +00:00
Mark McLoughlin 0c78c2ed61 Remove extra_context support in Flags
This doesn't seem to be used at all any more.

Change-Id: I3a4a1eb271f547ad1723676dc47f1d8c8bad88ea
2011-12-07 15:25:47 +00:00
Jenkins 45e31ab90d Merge "Change cloudServersFault to computeFault" 2011-12-07 04:11:26 +00:00
Jenkins 3e3e378f83 Merge "vm_state:=error on driver exceptions during resize" 2011-12-07 02:39:42 +00:00
Joe Gordon d39d06e276 Remove bzr related code in tests/test_misc
Change-Id: If15b337d2150706162958e8fdf89e3bdae16a699
2011-12-06 15:48:08 -08:00
Alex Meade dca73f7c8c Change cloudServersFault to computeFault
Fixes bug 862649.

Change-Id: Ic7b24fcd706d18563d4addd0373a863697747d75
2011-12-06 17:12:14 -05:00
Jenkins b71afdb54a Merge "Remove some remnants of ChangeLog and vcsversion.py generation" 2011-12-06 21:35:40 +00:00
Jenkins 154cd05c84 Merge "Use system M2Crypto package on Oneiric, bug 892271" 2011-12-06 21:27:47 +00:00
Jenkins 2b4ece610e Merge "Remove remnants of babel i18n infrastructure" 2011-12-06 20:47:08 +00:00
Alex Meade 3d9f0ed000 Update associate_floating_ip to use instance objs
Related to blueprint internal-uuids.
Also cleans up some unused variables

Change-Id: I8adeceac8f4ab2894c48c1e1c7e1c7eab52e42d0
2011-12-06 15:33:33 -05:00
Mark Washenberger 8eb5af2d40 vm_state:=error on driver exceptions during resize
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
2011-12-06 15:29:28 -05:00
Adrian Smith dbbd6cf107 Use system M2Crypto package on Oneiric, bug 892271
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
2011-12-06 19:45:21 +00:00
Dan Prince 882b1e475d Update compute manager so that finish_revert_resize runs on the source
compute host. Fixes bug #900849.

Change-Id: I838604a5c623a3970ce36cdb3d12279812eb8401
2011-12-06 13:49:51 -05:00
Duncan McGreggor f845891184 First steps towards consolidating testing infrastructure
This commit begins to implement blueprint consolidate-testing-infrastructure by
adding a 'testing' subpackage and moving some modules into it.

Change-Id: I04bf860bc386bd2016e7dbc5a6f6ef7379a855bb
2011-12-06 09:37:57 -08:00
Jenkins 82d80e5299 Merge "Pass '-r' option to 'collie cluster status'." 2011-12-06 16:31:34 +00:00
Jenkins c63685fcf4 Merge "Remove autogenerated pot file" 2011-12-06 16:21:33 +00:00
Jenkins 31eac6d9c0 Merge "Add NAT/gateway support to QuantumManager" 2011-12-06 12:25:59 +00:00
Mark McLoughlin 0bbb0e8cb1 Remove some remnants of ChangeLog and vcsversion.py generation
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
2011-12-06 12:08:43 +00:00
Jenkins 48755d74c6 Merge changes Ia6debb64,I31786a20
* 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
2011-12-06 12:07:34 +00:00
François Charlier fb0f0388de Pass '-r' option to 'collie cluster status'.
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
2011-12-06 13:00:47 +01:00
Jenkins 0b0d573fd3 Merge "remove duplicate netaddr in nova/utils" 2011-12-06 11:57:48 +00:00
Jenkins d92d083253 Merge "Make admin_password keyword in compute manager run_instance method match what we send in the compute API. Fixes bug #900591." 2011-12-06 11:49:58 +00:00
Mark McLoughlin 3de787b58c Remove remnants of babel i18n infrastructure
We use distutils-extra now instead of babel.

Change-Id: I10625cc4ef2ac8eefd46ee09e36f8cfaef85061f
2011-12-06 11:31:02 +00:00
François Charlier 35df6a4714 Fixes a typo preventing attaching RBD volumes.
A typo in spelling 'rbd' as 'rdb' prevents attaching RBD volumes
to instances.

Fixes bug 900359.

Change-Id: I872369a21b5935c37c4299f3f748d2d133a78bb3
2011-12-06 10:48:34 +01:00
Julien Danjou e6dc250296 Remove autogenerated pot file
Change-Id: I25c33e2a91458d2eaa41232eb54b2c1e4e273854
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2011-12-06 09:56:56 +01:00
Dan Prince f0e6bea08a Make admin_password keyword in compute manager run_instance method match
what we send in the compute API. Fixes bug #900591.

Change-Id: I857b7787189d454e8ed17a43654d6bf944da003e
2011-12-05 22:46:47 -05:00
Joe Gordon d9f9f42b84 remove duplicate netaddr in nova/utils
Change-Id: Ib9b7ddc619ce62010b5661579fe32cc55b68f7e6
2011-12-05 17:10:08 -08:00
Joe Gordon 803f6f6af7 cleanup: remove .bzrignore
Change-Id: I87ba2a419322c4746c61be114997b5bc86a3bab2
2011-12-05 15:40:41 -08:00
Jenkins 2f0f27dfd6 Merge "Document nova-tarball Jenkins job." 2011-12-05 21:32:36 +00:00
Jenkins 63593ff80b Merge "Add availabity_zone to the refresh list" 2011-12-05 21:24:44 +00:00
Jenkins e3ecd38deb Merge "Implement resize down for XenAPI" 2011-12-05 21:16:40 +00:00
Jenkins b3c9a019dc Merge "Bug #896997: nova-vncproxy's flash socket policy port is not configurable" 2011-12-05 19:42:22 +00:00
Jenkins d02c7d4717 Merge "EC2 rescue/unrescue is broken, bug 899225" 2011-12-05 19:02:34 +00:00
Jenkins 8e3ceba1bf Merge "add index to instance_uuid column in instances" 2011-12-05 18:49:56 +00:00
Trey Morris 2e000f3502 add index to instance_uuid column in instances
Change-Id: I4d5313cfbd97eba7bd755567a0bed9b65adb14dc
2011-12-05 12:38:23 -06:00
Duncan McGreggor 5f72723b41 Add missing documentation for shared folder issue with unit tests and Python
lock file.

Addresses documentation need raised in bug 897155

Change-Id: Idc95c12f939948bbbefd84a79b3785e3c2fd752c
2011-12-05 09:54:31 -08:00
Jenkins 3d46b46a3a Merge "Adds extension documentation for some but not all extensions" 2011-12-05 16:36:26 +00:00
Ghe Rivero 2c438f55be Updated nova-manage to work with uuid images
Fixes bug 899299

Change-Id: Ib0be692503b8761a5600902a1e0d7a4dc371a680
2011-12-05 16:59:31 +01:00
Jenkins ae697c4f36 Merge "Bug #898290: iSCSI volume backend treats FLAGS.host as a hostname" 2011-12-05 14:37:30 +00:00
Joseph W. Breu 85f9d927f5 Add availabity_zone to the refresh list
The availability_zone column for a service record is not updated if the
availability_zone is changed after the record was created.  This patch
adds availability_zone to the update list in report_state if the
availability_zone stored in the database does not match the local flag

Change-Id: I869384af113517adfba3a675f757e51687b3c15e
2011-12-02 16:41:20 -06:00
Lorin Hochstein 0655d2bb15 Document nova-tarball Jenkins job.
Change-Id: I1034cceaa4fa3aa66e54fd082a078f802bc27baf
2011-12-02 15:43:54 -05:00
Jenkins 022295ecc2 Merge "Better exception handling during run_instance" 2011-12-02 19:43:09 +00:00
annegentle 032a07785d Adds extension documentation for some but not all extensions
Change-Id: I187483ccacd9c29c1c414fbf8481ead23f9c457a
2011-12-02 13:02:06 -06:00
Jenkins 2903bf1e4b Merge "Add templates for selected resource extensions." 2011-12-02 18:32:44 +00:00
Jenkins f1a22ee83a Merge "Fix for EC2 API part of bug 897164" 2011-12-02 18:24:37 +00:00
Kevin L. Mitchell 1598696554 Add templates for selected resource extensions.
Related to bug 852141; adds XML serialization and deserialization for
the following extensions:

* FlavorExtraSpecs (os-flavor-extra-specs)
* Floating_ips (os-floating-ips)
* Hosts (os-hosts)
* Keypairs (os-keypairs)
* Quotas (os-quota-sets)

Change-Id: I96ace8252f8f77612ab8c866e03eff8faee2c12b
2011-12-02 17:35:00 +00:00
Jenkins 23f89c94ec Merge "Remove some unused imports from db" 2011-12-02 17:08:22 +00:00