Commit Graph

11514 Commits

Author SHA1 Message Date
Jenkins 36dcc2d923 Merge "Separate metadata api into its own service" 2011-11-16 23:35:08 +00:00
Jenkins 381e5e5b0d Merge "Makes sure gateways forward properly" 2011-11-16 23:24:03 +00:00
Jenkins 217af7df59 Merge "Convert remaining calls to use instance objects" 2011-11-16 21:33:48 +00:00
Jenkins 7c34941b89 Merge "Add logging, error handling to the xenstore lib." 2011-11-16 21:19:31 +00:00
Jenkins e14b0644fb Merge "Make run instances respect availability zone" 2011-11-16 21:04:47 +00:00
Brian Waldon 1dba0cdc33 Convert remaining calls to use instance objects
Related to blueprint internal-uuids. This touches get_diagnostics,
get_actions, and restore.

Change-Id: Ic4b3d9476fb53cb97b4ea75ad2e846374b2b4a41
2011-11-16 13:03:12 -08:00
Jenkins 3278f4d72f Merge "Replacing disk config extension to match spec." 2011-11-16 20:56:29 +00:00
Jenkins c987f78853 Merge "Convert security_group calls to use instance objs" 2011-11-16 20:40:12 +00:00
Vishvananda Ishaya b6644ffe43 Make run instances respect availability zone
* includes test
 * fixes bug 888918

Change-Id: I40985e9dcc153fae53675f3da5e2d5b5763cfca3
2011-11-16 12:26:07 -08:00
Rick Harris 84ac4d84ab Replacing disk config extension to match spec.
Related to instance-disk-management blueprint.

Change-Id: I84689583562f23356064a502577b2924bcbbc460
2011-11-16 14:12:03 -06:00
Vishvananda Ishaya 41af372219 Makes sure gateways forward properly
* Fixes bug 890195
 * Fixes missing context in dhcp call
 * Adds test to verify call is correct

Change-Id: Ic099082a18d9fd8f48c338e092cd4a2d227b927b
2011-11-16 10:20:33 -08:00
Jenkins 57ad4de648 Merge "Bind engine to metadata in migration 054." 2011-11-16 17:04:47 +00:00
Jenkins 21f0f30d7c Merge "Fixes bug 890206" 2011-11-16 16:56:41 +00:00
Brian Waldon 53e14f578e Convert security_group calls to use instance objs
Related to blueprint internal-uuids

Change-Id: I7abe1506de3ce1dd1cec20885229149cd21fbeb5
2011-11-16 08:29:25 -08:00
Brian Lamar bc74440a17 Remove hostname update() logic in compute.API
I recently added update logic which had a severely faulty
assumption. That assumption was that an instnace object was
always going to be passed to update(). Since that is not the
case we'll have to revisit this logic.

Change-Id: Ib2303d8719d2f3f8b5c123168864c97d64881544
2011-11-16 09:34:12 -05:00
Alvaro Lopez aa7dd96f1c Fixes bug 890206
Add a check when creating the volume definition for the libvirt manager
to use the apporpiate driver for the disk, according to [1].

[1] http://libvirt.org/formatdomain.html#elementsDisks

Change-Id: I89cf3bb308cff28194de0beb36d69f0e32224cbe
2011-11-16 09:46:18 +01:00
Jenkins 7ece1e7e60 Merge "install_venv: apply eventlet patch correctly with python 2.7 (#890461)" 2011-11-15 23:36:05 +00:00
Jenkins 9f3f056bd5 Merge "Follow hostname RFCs" 2011-11-15 23:28:13 +00:00
Jenkins a3090f2a3a Merge "Fixing image create in S3ImageService" 2011-11-15 23:18:43 +00:00
Jenkins 6ae372fc78 Merge "Bug #886353: Faults raised by OpenStack API Resource handlers fail to be reported properly" 2011-11-15 22:51:52 +00:00
Brian Lamar bcfff3dd53 Follow hostname RFCs
Updated hostname sanitization method to more closely follow RFC-952
and RFC-1123. Also moved it to nova.utils, where it seems to fit
better.

Fixes bug 885374

(Patch Set 1) Updated hostname sanitization with more efficient and
              [opinion] more readable implementation.

Change-Id: I60d7ee89867c05950bec1fd53b072a1c6247ebea
2011-11-15 17:36:02 -05:00
Jenkins dd5c3f7bad Merge "Bug #888719: openvswitch-nova runs after firstboot scripts" 2011-11-15 22:27:07 +00:00
Lorin Hochstein dfcb237904 Remove contrib/nova.sh and other stale docs.
Removed contrib/nova.sh and any references to it in the RST docs.

removed refernece to old livecd that has nova circa 2010 on it.

.gitignore'ing some additional autogenerated doc files.

Change-Id: I7a07a58a9a6f1112fc7e486367a06f6916207784
2011-11-15 16:32:37 -05:00
Vishvananda Ishaya e6073532e5 Separate metadata api into its own service
part 1 of blueprint separate-nova-metadata

 * adds api/metadata/ and moves code from ec2
 * moves metadata into separate binary
 * changes metadata forward to use metadata host and port
 * moves the metadata accept rule to the metadata api
 * adds nova-api-* to setup.py

Change-Id: I7f5d8e6cafc55b5c383cd88991f29c6059fb8d82
2011-11-15 13:27:58 -08:00
Jenkins 097d122609 Merge "Fixes Bug #861293 nova.auth.signer.Signer now honors the SignatureMethod parameter for SHA1 when creating signatures" 2011-11-15 21:27:39 +00:00
Mark Washenberger c51104ab01 Add logging, error handling to the xenstore lib.
Change-Id: If007ba117105d63b1eecfee5b8941d98032d2c9a
2011-11-15 16:21:54 -05:00
Jenkins 80ffed4f0a Merge "Converting lock/unlock to use instance objects" 2011-11-15 20:34:06 +00:00
Jenkins 4dd21a3501 Merge "Log the URL to an image_ref and not just the ID." 2011-11-15 17:50:32 +00:00
Brian Waldon d2db9790dd Converting lock/unlock to use instance objects
Related to blueprint internal-uuids

Change-Id: I5a7842953da64cd2a060e5e384d06cdf535c7a1f
2011-11-15 09:02:25 -08:00
Mark McLoughlin f2fc0929d2 Deepcopy optparse defaults to avoid re-appending multistrings (#890489)
This is actually a bug in optparse itself, but luckily we can work
around it. I'll file it upstream when bugs.python.org's account
registration isn't broken.

Change-Id: I87c3271562caa4336c11fe445475650a9f16950c
2011-11-15 16:14:30 +00:00
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
Mark McLoughlin 065a7ea03d Fix multistring flags default handling (#890489)
With its 'append' action, optparse appends values to the supplied
default value. This leaves the user with no way of overriding the
default value. If you want to support overriding, you need to manually
handle setting the default value after parsing.

gflags supports overriding the default value so we must do the same.

Change-Id: I5810e16806e74876c7a310edbb6f8f27f0a3313b
2011-11-15 07:54:57 +00:00
Jenkins 06c8064af5 Merge "Handle null ramdisk/kernel in euca-describe-images" 2011-11-15 00:44:48 +00:00
Brian Waldon 81c8c3ab19 Fixing image create in S3ImageService
Fixes bug 890486

Change-Id: I80b7fc1952acf8d6bc0eaa4fc5fffe8d097a043c
2011-11-14 16:24:06 -08: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
Rick Harris be3f24d7f3 Bind engine to metadata in migration 054.
Fixes bug #890474

Change-Id: I5094a98295a478c0cfb5e1a251014706d3ede3c7
2011-11-14 23:20:24 +00:00
Josh Kearney e105c53e67 Log the URL to an image_ref and not just the ID.
Change-Id: Iaae6b969d9ef3cd0f50dd3297d4b0bb51f61f5c9
2011-11-14 15:30:23 -06: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 f11f6f789e Bug #888719: openvswitch-nova runs after firstboot scripts
Move openvswitch-nova to 23 in the boot order.

The openvswitch-nova init.d script used on XenServer has been set to run
at 96 in the boot order (i.e. very late).  This is inconvenient, because it
means that it runs after the firstboot scripts, so if you want to do an
automated install of a compute VM, say, you can't rely on the Open vSwitch
rules being ready.

23 places it after the networking start up (9 through 14) and before the
firstboot scripts (24).

Change-Id: I5c4f2f02c78bd7b8ccc6cac4d6549209a6dcbdb0
2011-11-11 11:53:05 -08:00