11477 Commits

Author SHA1 Message Date
Mark McLoughlin
b0ad7284aa install_venv: apply eventlet patch correctly with python 2.7 (#890461)
Looks like the fix for #884915 only works with RHEL6. Make it work
correctly on Fedora 16.

Change-Id: I8c996f20d49db688fd8e692bcd836dee693d362a
2011-11-15 08:43:46 +00:00
Jenkins
06c8064af5 Merge "Handle null ramdisk/kernel in euca-describe-images" 2011-11-15 00:44:48 +00:00
Brian Waldon
4201b01931 Converting network methods to use instance objects
Related to blueprint internal-uuids

Change-Id: I04f8f855411658674441a8d0cb7b589dee8b36fa
2011-11-14 15:25:28 -08:00
Brian Waldon
9c012d5153 Handle null ramdisk/kernel in euca-describe-images
Fixes bug 890426

Change-Id: I8b5dd4aa4df233a6fb04a6f62a71129c799e9f2c
2011-11-14 15:22:19 -08:00
Brian Waldon
d9dd8f2fd3 Converting attach_volume to use instance object
Related to blueprint internal-uuids

Change-Id: I84d6e76d58de29f49d30ad3f8ac051becac626bd
2011-11-14 09:15:01 -08:00
Jenkins
1851662edb Merge "Bug #887805 Error during report_driver_status(): 'LibvirtConnection' object has no attribute '_host_state'" 2011-11-12 17:53:58 +00:00
Jenkins
165cbc3942 Merge "Verify security group parameters" 2011-11-12 17:45:33 +00:00
Jenkins
31b5f88a18 Merge "Stop nova-ajax-console-proxy configuring its own logging." 2011-11-12 17:30:16 +00:00
Jenkins
f0a19e337f Merge "Removed some old cruft." 2011-11-12 17:22:41 +00:00
Jenkins
fb95f93bbd Merge "Convert pause/unpause, sus/res to use instance obj" 2011-11-12 17:15:00 +00:00
Jenkins
4efb01f4cb Merge "Converting rescue/unrescue to use instance objects" 2011-11-11 22:03:42 +00:00
Jenkins
45af0a0ac8 Merge "Converting consoles calls to use instance objects" 2011-11-11 21:53:35 +00:00
Brian Waldon
574166045c Converting rescue/unrescue to use instance objects
Related to blueprint internal-uuids

Change-Id: If256d9a1251e780ff044bd87e0805c9f511c05e9
2011-11-11 16:51:52 -05:00
Brian Waldon
bf7b89d577 Converting inject_file to use instance objects
Related to blueprint internal-uuids. This function also appeared to be
incomplete. It should actually work now.

Change-Id: I77ccd29c7ac5e0cbe60d52a4ff5a64ecdff6fa1a
2011-11-11 16:34:25 -05:00
Jenkins
615c4df320 Merge "Converting fixed ip calls to use instance objects" 2011-11-11 21:27:27 +00:00
Ewan Mellor
f492fced12 Bug #888730: vmwareapi suds debug logging very verbose
Set suds log level to INFO by default, using
default_log_levels.

Change-Id: I4a1b09470aeba006112734fae9feef3d228eaced
2011-11-11 11:47:43 -08:00
Jenkins
b9086d3ad2 Merge "Converting metadata calls to use instance objects" 2011-11-11 19:21:28 +00:00
Jenkins
314539cce7 Merge "Converting snapshot/backup to use instance objects" 2011-11-11 19:06:18 +00:00
Jenkins
ed3635f40f Merge "Converting set password to use instance objects" 2011-11-11 18:42:39 +00:00
Brian Waldon
0a2d839f1b Converting consoles calls to use instance objects
Related to blueprint internal-uuids

Change-Id: I39da4d98ff64e8db22eecb1966f6506e8f14361e
2011-11-11 13:33:56 -05:00
Brian Waldon
6bd44ccb3a Converting fixed ip calls to use instance objects
Related to blueprint internal-uuids

Change-Id: Ifad7a6ac39b0455f77602d9744f64425ebb3f49c
2011-11-11 13:33:55 -05:00
Jenkins
fb6a2d15be Merge "Refactor of QuotaError" 2011-11-11 17:50:32 +00:00
Jenkins
1778c61555 Merge "fix rebuild sha1 not string error" 2011-11-11 16:54:45 +00:00
Jenkins
41159b6ad5 Merge "Fix a notification bug when creating instances" 2011-11-11 16:25:35 +00:00
Alex Meade
43fb6880d9 Convert pause/unpause, sus/res to use instance obj
Related to blueprint internal-uuids

Change-Id: I02bd212b4878ed0fcb971c223518ecf7126bd597
2011-11-11 11:00:43 -05:00
David Subiros
17ae2d2662 fix rebuild sha1 not string error
fixes bug #889164
The sha1() parameter is converted to a string
before calling the funcion.

Change-Id: I9cb6ff43c106c214e027d3bdacb795b4b0269f94
2011-11-11 15:57:04 +00:00
Ahmad Hassan
1a12349c05 Verify security group parameters
Introduced various sanity checks before adding security group rule
into the database. The checks have been implemented both in EC2 and
openstack extension code.
Implemented the suggestions made in first patch by Brian
Fixed the unit tests in security groups
Fixed pep8 issues in security group unit tests

Fixes bug 869979.

Change-Id: I2ac28666e90e7bdeacb7b1c2676c0719cfb9e441
2011-11-11 09:46:15 +00:00
Brian Waldon
231f40af80 Converting set password to use instance objects
Related to blueprint internal-uuids

Change-Id: Ifd229c7b9a9b69040a04289d4a98385fc946c734
2011-11-10 22:00:35 -05:00
Brian Waldon
d29f9e3455 Converting snapshot/backup to use instance objects
Related to blueprint internal-uuids

Change-Id: I8d9768524d36f7066cc1550bba01326dc5167a8d
2011-11-10 21:54:14 -05:00
Joe Gordon
fa846dd343 Refactor of QuotaError
moved QuotaError from quota.py to exception.py

Change-Id: Ic03301492a2df323074d73e8481e0e3aee89f74c
2011-11-10 16:11:11 -08:00
Kevin L. Mitchell
57e73d3748 Fix a notification bug when creating instances
Fixes a notifier bug that caused 'launched_at' to be empty and
state to be reported as 'building', due to failure to refresh
instance data prior to generating the notification.  Fixes
bug 834867.

Change-Id: I70fbf3c67407c67b69040ee481ca6d51212cc55d
2011-11-10 17:35:44 -06:00
Jenkins
59dfaf9e02 Merge "Capture exceptions happening in API layer" 2011-11-10 23:32:18 +00:00
Jenkins
cd822c3bd7 Merge "nova-manage: exit with status 1 if an image registration fails" 2011-11-10 23:12:53 +00:00
Brian Waldon
255a363f78 Converting metadata calls to use instance objects
Related to blueprint internal-uuids

Change-Id: Ic21bffbdb538fb8c1bdd1d729982e2da0a56bdf8
2011-11-10 16:00:01 -05:00
Ewan Mellor
d7e5a79150 nova-manage: exit with status 1 if an image registration fails
This indicates the failure to the user through the exit status.

Original author: Renuka Apte <renuka.apte@citrix.com>

Change-Id: I73fc2cc35530e7ee7f113f5aaec7b577663e4dc1
2011-11-10 12:13:04 -08:00
Alex Meade
f2b9f3fa6c Converting start and stop to use instance objects
Related to blueprint internal-uuids

Change-Id: Ie94bef94e50620419a306eeedcdca756f83f1af6
2011-11-10 14:21:57 -05:00
Alex Meade
1a5418b7cb Converting delete to use instance objects
Related to blueprint internal-uuids

Change-Id: I8875d9785dd0d8f55120673c758edb4c011a4657
2011-11-10 13:57:38 -05:00
Jenkins
871e680c9c Merge "Add more error handling to glance xenapi plugin" 2011-11-10 18:26:43 +00:00
Ahmad Hassan
68111826af Capture exceptions happening in API layer
Added the faulwrapper around EC2 api so that it captures any unseen
exceptions and return a graceful error back. Also changed the openstack
exception message. The actual exception message will be printed in the
logs and would not return back the user.
Removed openstack wsgi dependency from
EC2 fault wrapper. Added unit tests for
EC2 fault wrapper
Fixes bug 869132.

Change-Id: I03d18f321f141ae96f1add99ea0b70e736253c89
2011-11-10 17:30:31 +00:00
Jenkins
9334893c83 Merge "Fixes bug 871877" 2011-11-10 17:11:15 +00:00
Monty Taylor
e5319dfbd2 Removed some old cruft.
Removed the builddeb.sh script, which is not used by debian packaging.
Removed bzrplugins for novalog, since we no longer use bzr.

Change-Id: Icaae040e31b73af1bad97320cd7893ae17ac1d85
2011-11-10 12:01:08 -05:00
Mark Washenberger
89f2fb00b9 Add more error handling to glance xenapi plugin
Also add some extra logging to help track down problems that occur
when getting images from glance.

Change-Id: I2246d06364211ae377c7a89f93a76f339a201a8d
2011-11-10 10:41:29 -05:00
Alvaro Lopez
6e7b0387e4 Fixes bug 871877
Added an aditional testunit to the VlanNetworkTestCase to check
if the FixedIpNotFoundForNetwork exception is raised properly.

Change-Id: I92a0ca22aadcfa9a7fd434375e239be8ccf4f387
2011-11-10 14:59:58 +01:00
Soren Hansen
41b4af111d Replace libvirt driver's use of libxml2 with ElementTree
libxml2 has been rather awkward as a dependency, and ElementTree
is in the standard library, so this replaces all use of libxml2 with
ElementTree instead.

Change-Id: Ib99983d5b04cc9f899584bfd4335fa9f7ece3c40
2011-11-10 13:35:54 +01:00
Soren Hansen
6c0fd03fc3 Extend fake image service to let it hold image data
Make the fake image service able to store image data in memory. This is
handy for unit testing, but probably not very useful otherwise (images
are pretty big, so holding them in memory is not a very good idea).

Change-Id: I2d07baf24cab544e19521b9486feee3272d0407e
2011-11-10 13:35:40 +01:00
Édouard Thuleau
1ecd70f23a Bug #887805 Error during report_driver_status(): 'LibvirtConnection' object has no attribute '_host_state'
Fixes the host status reports from LibvirtConnection driver.
This fix initializes in class 'LibvirtConnection', the local variable
'_host_state' and replaces the variable 'session' by the local
variable 'read_only'.

Change-Id: Ia3ba29dc287c793c79a2bbde0d5ec69eb6ada480
2011-11-10 09:52:11 +01:00
Jenkins
26d2bad187 Merge "Fixes LP878319" 2011-11-10 06:51:11 +00:00
Jenkins
8e3da64784 Merge "Fix exception reraising in volume manager." 2011-11-10 06:10:59 +00:00
Jenkins
3639fbb09e Merge "More spelling fixes inside of nova" 2011-11-10 04:26:07 +00:00
Jenkins
110a64a10d Merge "Replace socat with netcat." 2011-11-10 04:18:32 +00:00