38172d55876e78ff3c4326368de9ea9ddb99e76b
Commit Graph

11374 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Brad Hall
38172d5587 Add DHCP support to the QuantumManager and break apart dhcp/gateway
This introduces a new flag "quantum_use_dhcp=<boolean>" which indicates whether
or not to enable dhcp for all of the networks. If it is set then we start
dnsmasq (and provide it with the IP/MACs from Melange) similar to how this was
done in linux_net before.
Prior to this if you enabled dhcp then you would also get a gateway device..
some people may not want that so we now require that you specify the gateway
when creating the network in order to end up with a device that will act as a
gateway. If you're using Melange IPAM and you don't specify the gateway you
still end up with one because it doesn't allow you to not have one. This lays
the groundwork for the option of not having one in the future, at least :)
Also, fix quantum/melange ipam interaction
We now query for the subnets by net_id/vif_id instead of searching through all
the blocks to find the right one. Both of the allocate and deallocate for
instance calls are now using the vif_id -> network_id mapping instead of
searching the quantum networks. get_port_by_attachment was also changed to
take a net_id so that we don't have to search through all of the quantum
networks to find the corresponding port.
Change-Id: I6a84da35237b6c5f5cdee91ada92642103439a97
2011年11月04日 20:11:53 -07:00
Jenkins
f89f27b184 Merge "Change network delete to delete by uuid or cidr" 2011年11月08日 22:29:04 +00:00
Jenkins
bc50195e12 Merge "Speed up tests a further 35 seconds" 2011年11月08日 22:20:41 +00:00
Jenkins
25ac04b9b8 Merge "Adds extended status information via the Admin API to the servers calls" 2011年11月08日 22:06:08 +00:00
Jenkins
d672e0a773 Merge "changes logging reference in zone_manager.py" 2011年11月08日 21:43:13 +00:00
Jenkins
15076d36df Merge "Switch glance XenAPI plugin to use urllib2." 2011年11月08日 21:22:54 +00:00
Matt Dietz
0973f55856 Adds extended status information via the Admin API to the servers calls
Change-Id: I294e64e878f1f6ebf33b83198abb2cdd8b6c5185
2011年11月08日 14:13:21 -06:00
Josh Kearney
f60ad21da9 Wait until the instance is booted before setting VCPU_params.
Fixes bug 886189.
Change-Id: Ief0af1ef60aef3debce0a1e4a1ad4819c927e048
2011年11月08日 13:46:44 -06:00
Alex Meade
9b82062c31 changes logging reference in zone_manager.py
Fixes Bug 886281
Change-Id: Ib0312ecc2a0026a08d37a382144d37d745dea6ce
2011年11月08日 12:32:07 -05:00
Joe Gordon
1c389d0bd8 Exception cleanup in scheduler
Fixes NoValidHost and willNotSchedule by moving them to exception.py
Removed unneeded imports
Change-Id: Ib9bb4b36d5e4c00667bd0b2d73137ba9eac5b3b0
2011年11月08日 09:21:03 -08:00
Jenkins
2826e862d7 Merge "Optional --no-site-packages in venv" 2011年11月08日 16:59:19 +00:00
Jenkins
00d4a56c04 Merge "Fixing create_vbd call per VolumeHelper refactoring" 2011年11月08日 16:51:28 +00:00
Rick Harris
91c39baedc Fixing create_vbd call per VolumeHelper refactoring
Change-Id: I6a34984104b5c62e9b494beef521e447104ec408
2011年11月08日 16:41:07 +00:00
Brian Lamar
9a32891107 Switch glance XenAPI plugin to use urllib2.
Currently the plugin uses httplib which does not handle redirects
natively. XenAPI plugins require Python 2.4+ so using httplib2
as far as I know is not a possibility.
(Patch Set 2) Oops, forgot to PEP8 before putting up for review.
(Patch Set 3) Updated logging to be more verbose as per Waldon
Change-Id: I189093fe26dfee30b5b8b3c0f2c21a35fbfbc05e
2011年11月08日 11:17:41 -05:00
Jenkins
53ea6a8e09 Merge "Removing duplicate kernel/ramdisk check in OSAPI" 2011年11月08日 16:00:46 +00:00
Jenkins
ab633ec054 Merge "Remove unnecessary image list in OSAPI" 2011年11月08日 15:53:18 +00:00
Jenkins
d6f9b26ca3 Merge "Adding task_states.REBOOTING_HARD" 2011年11月08日 15:30:25 +00:00
Jenkins
d8165400ac Merge "Added code to libvirt backend to report state info." 2011年11月08日 15:12:06 +00:00
garyk
813794ed46 Blueprint lasterror
Add in a log report to nova-manage
Usages:
Get the last errors in the nova logs
 nova-manage logs errors
Get the last x nova messages in the syslog. The default is 10
 nova-manage logs syslog <x>
Change-Id: Id5d3a546051e25175b6523711f437618d07c3f19
2011年11月08日 16:50:46 +02:00
Jenkins
2d434e1389 Merge "Add auto-reloading JSON config file support to scheduler." 2011年11月08日 14:40:32 +00:00
Jenkins
f98121e1a1 Merge "Fix for launchpad bug #882568 " 2011年11月08日 14:25:36 +00:00
Jenkins
c1b5b3f6ea Merge "Removed autogenerated API .rst files." 2011年11月08日 14:18:08 +00:00
Jenkins
3f8fad9653 Merge "Clean up docstrings for faults.Fault and it's usage" 2011年11月08日 14:10:35 +00:00
Jenkins
89a200d9f2 Merge "Change floating-snat to float-snat" 2011年11月08日 00:20:35 +00:00
Brian Waldon
d5d2df5718 Adding task_states.REBOOTING_HARD
Fixes bug 884906
Change-Id: I546d0ddd7afee7596a4c47053dae3cb3ba18fdb2
2011年11月07日 17:36:43 -05:00
Johannes Erdfelt
affb582134 Clean up docstrings for faults.Fault and it's usage
Many extensions wrapped exceptions manually with faults.Fault and ther
continues to be some confusion if it's necessary. This patch clears up
what faults.Fault does as well as documents that wsgi.Resource
automatically wraps webob.exc.HTTPException
Change-Id: Ieed63b8641499bc7449bae2684d5f63e5839d369
2011年11月07日 18:05:35 +00:00
Johannes Erdfelt
233dd3c73d Fix typo in docstring
Change-Id: I0bc998d134f9c5fed23380f6b24650700f6cede5
2011年11月07日 16:41:20 +00:00
Jenkins
d90aaaafbc Merge "Fix to a documentation generation script." 2011年11月05日 21:28:50 +00:00
Brad Hall
c32258c77d Change network delete to delete by uuid or cidr
With melange it will be possible to have overlapping cidrs so it would be
better to specify the uuid of the network to delete.
Change-Id: I6781225d587952cbab3387cd40164d8ac77c58d6
2011年11月04日 15:00:21 -07:00
Johannes Erdfelt
0d36d2bf9e Speed up tests a further 35 seconds
This changes more OSAPI tests to using their Controller directly, bypassing
the slow wsgi setup process.
Change-Id: Ic014c32786cb10c541f7d367573adb7a069c1a88
2011年11月04日 18:19:19 +00:00
Brian Waldon
77e1684332 Removing duplicate kernel/ramdisk check in OSAPI
Fixes bug 886169
Change-Id: Id68de3284367e789f1295b61fe6bf9c400470ba8
2011年11月04日 11:33:32 -04:00
Brian Waldon
2915d05d15 Remove unnecessary image list in OSAPI
Fixes bug 886139
Change-Id: I152b0e29a5742b7fc0fb25fc64f5bfb25f351b56
2011年11月04日 11:33:32 -04:00
Jenkins
67a1c257f9 Merge "Set nova-manage to executable Fixes LP885778" 2011年11月04日 14:31:14 +00:00
Jenkins
c978bcab84 Merge "Log the exception when we get one." 2011年11月04日 14:21:56 +00:00
Sandy Walsh
e6b8c4d16e Add auto-reloading JSON config file support to scheduler.
This branch adds the ability to define a local JSON file that will hold
configuration information that the scheduler can use.
This dict will be passed into the filter and weighing functions so that
Operations can tweak the scheduler without having to bring down the scheduler
service.
Currently the polling time on the file is hardcoded at 5 minutes, but certainly
this could be made into a flag.
Next update will be to remove the host_filter and weighing_functions flags
and fix the scheduler to get these values from the config file.
Change-Id: Ia2487e933483761276058689fad84564d96a451e
2011年11月04日 04:41:50 -07:00
Brad Hall
8700a97b70 Change floating-snat to float-snat
With iptables v1.4.10 I'm running into an issue with the chain length of the
"nova-dhcpbridge-floating-snat" table (iptables it complaining that the name
is too long; 28 chars max). This shortens the name of that table.
Change-Id: I00b1003aaa0b3771c29d6459d07023a8caa47706
2011年11月04日 02:09:30 -07:00
Vishvananda Ishaya
36f6da47b0 Allows non-admin users to use simple scheduler
Fixes bug 885955
Change-Id: I88be04cbc55e272162328a33656fc5d6e1831c32
2011年11月03日 20:06:12 -07:00
Jenkins
7c5fa147ea Merge "Don't update database before resize" 2011年11月04日 01:54:21 +00:00
Brad Hall
e4c74596bf Fix for launchpad bug #882568
Use tunctl to create the tap device if we are on a system where the ip command
is too old (and doesn't have support for tuntap).
Change-Id: I9e22010e4c7dd2671267de6d0e7a7bc9ae76a854
2011年11月03日 13:49:48 -07:00
Jenkins
15b2e713d5 Merge "fix bug 816630" 2011年11月03日 20:32:31 +00:00
Jenkins
03b366d434 Merge "Gracefully handle Xen resize failure" 2011年11月03日 20:25:06 +00:00
Jenkins
fec3c19c49 Merge "Fixing immediate delete after boot on Libvirt" 2011年11月03日 19:55:18 +00:00
Brian Waldon
ca6295e5dd Gracefully handle Xen resize failure
Fixes bug 885723
Change-Id: I8cd04a88f809f49141dc6aa5be7217811e0141e3
2011年11月03日 15:33:07 -04:00
Jenkins
907f219b6a Merge "Adds documentation for Xen Storage Manager" 2011年11月03日 19:01:55 +00:00
Gabe Westmaas
e45029ced1 Don't update database before resize
Fixes bug lp885815 by ensuring the scheduler doesn't update the database with destination host. Compute manager now updates upon completion of resize.
Change-Id: I3f9ac664c8807e8523802e2485d316a731190764
2011年11月03日 19:01:43 +00:00
Joe Gordon
a6a7e936fe fix bug 816630
Off by one error fixed
With test case
Change-Id: I5060c0a59949d69d6f859a01e7cf5fa8e0227d8a
2011年11月03日 10:52:24 -07:00
Jenkins
005db2d7d4 Merge "Log original dropped exception when a new exception occurs" 2011年11月03日 17:28:43 +00:00
Jenkins
05370d0aa8 Merge "exception.KeypairNotFound usage correction" 2011年11月03日 17:13:57 +00:00
Jason Kölker
a032825eb4 Set nova-manage to executable
Fixes LP885778
Change-Id: I0d78d91e4e93183848aa287007caa7027a751e65
2011年11月03日 12:07:43 -05:00
Jenkins
ee515c588c Merge "Bug #884534 : nova-ajax-console-proxy crashes on shutdown" 2011年11月03日 15:26:13 +00:00