2c14f1818d95cfc9e5dcbc6592b74cac79fb8dfb
Commit Graph

13671 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Joe Gordon
2c14f1818d Remove nova Direct API
blueprint remove-nova-direct-api
Change-Id: I3229f8d7f37d66fcd6b978966f3a428a69e08bb1
2012年04月10日 09:23:30 -04:00
Jenkins
384b758166 Merge "Delete fixed_ips when network is deleted" 2012年04月10日 00:18:57 +00:00
Jenkins
24effa38bd Merge "Cloudpipe tap vpn not always working" 2012年04月09日 23:54:41 +00:00
Jenkins
1e63b8d182 Merge "Create compute.api.BaseAPI for compute APIs to use" 2012年04月09日 23:52:38 +00:00
Vishvananda Ishaya
761e4e0cbe Delete fixed_ips when network is deleted
* adds failing test
 * adds exception that is raised when network is in use
 * fixes bug 754900
Change-Id: Ib95dc5927561b979b1eea237d4d6dc323483d4a5
2012年04月09日 16:51:41 -07:00
Jenkins
a0c80152de Merge "Give all VDIs a reasonable name-label and name-description" 2012年04月09日 23:48:55 +00:00
Jenkins
ca40779dc5 Merge "Remove unecessary --repeat option for pep8." 2012年04月09日 23:44:47 +00:00
Jenkins
2c3a4f1cf8 Merge "Information about DifferentHostFilter and SameHostFilter added." 2012年04月09日 23:43:46 +00:00
Jenkins
689fd02c06 Merge "HACKING fixes, sqlalchemy fix." 2012年04月09日 23:41:10 +00:00
Jenkins
f4f66c8783 Merge "Add index to fixed_ips.address" 2012年04月09日 23:21:44 +00:00
Rick Harris
203d51f0e4 Remove unecessary --repeat option for pep8.
Fixes bug 977489
--repeat became the default in 0.7; since we're now requiring 1.0 or
above, this can go away.
Change-Id: I85ee8ab274594ce96ece6610247dfd8a6f082af5
2012年04月09日 20:43:50 +00:00
Chris Behrens
1478aa3478 Create compute.api.BaseAPI for compute APIs to use
Fixes bug 960226 where compute.api.HostAPI called non-existent methods
Regression was introduced here:
https://review.openstack.org/#change,5252
Added tests for HostAPI
Change-Id: Id17927bc608ff638ea9b0b5509f0f0bb14503f85
2012年04月09日 19:59:52 +00:00
Johannes Erdfelt
72050828c0 Give all VDIs a reasonable name-label and name-description
Add image id to cached glance images as well as disk type so it's easy
to see if a VDI is an os, swap or ephemeral disk.
Change-Id: I7c1e21e26a98bd38898483f4230ede3099c6099d
2012年04月09日 19:58:26 +00:00
Jenkins
7be39f19a0 Merge "bug 968452" 2012年04月09日 19:41:46 +00:00
Joe Gordon
22008a96fc Remove last two remaining hyperV references
Change-Id: I6fd21df97884234eee53c67023e9ce0f58f6d133
2012年04月09日 15:10:32 -04:00
Brian Elliott
549616d122 bug 968452
Update test-requires to use pep8>=1.0. Removed PEP8 warning suppression
around 3-arg raises.
Change-Id: Ib4ed42adc167aa1e8078619a36b409b76b9f5d73
2012年04月09日 19:06:03 +00:00
Sean Dague
27ea547fbd Add index to fixed_ips.address
Addresses one of the Critical items in bug #964824
Add migration to add an index to fixed_ips.address to remove a table
scan from active code.
Change-Id: Ic5a56bbddd0d434f8a37ad049753e6d25c7ca760
2012年04月09日 14:56:33 -04:00
Johannes Erdfelt
93874bacf7 Use 'root' instead of 'os' in XenAPI driver
Instance types define disk names as root, swap and ephemeral. The
XenAPI driver however uses os, swap and ephemeral. Standardize on
calling them 'root' disks instead of 'os' disks.
Change-Id: Ia34346d463d06cb971537c305602926ceb0dc175
2012年04月09日 18:20:21 +00:00
Jenkins
1c47d8a9cf Merge "Fixes bug 952176" 2012年04月09日 16:53:33 +00:00
Dina Belova
c1e397b746 Information about DifferentHostFilter and SameHostFilter added.
Change-Id: Ice5f03db5f3d24455c43af86bf5722b863cbe959
2012年04月09日 19:18:38 +04:00
Yuriy Taraday
f7a6c58d92 HACKING fixes, sqlalchemy fix.
Add exceptions to hacking.py make sqlalchemy stuff legal and prevent
clutter.
Change-Id: I44b100b4c0c4dfcec81beea7aba2d8598d5a08d0
2012年04月09日 18:00:40 +04:00
Brian Waldon
21dbbaa386 Add test to check extension timestamps
* Prevents bug 975287 from cropping up in the future
Change-Id: Ief04c285cb2356db5ea6695c55416cee76512842
2012年04月08日 19:57:45 -07:00
MotoKen
0f7db908f9 Fixes bug 952176
Checks if value is string or not before decode.
Change-Id: I3f839770fdd7b00223ce02b95b2a265d903fa00e
2012年04月09日 10:46:54 +08:00
Cor Cornelisse
bc9f8d4fff Cloudpipe tap vpn not always working
Fixes bug 975043
Since Essex, all instances will have an eth0 MAC address in the range
of FA:16:3E, which is near the end of the MAC address space.
When openvpn is started, a TAP interface is created with a random
generated MAC address. Chances are high the generated MAC address is
lower in value than the eth0 MAC address. Once the tap interface is
added to the bridge interface, the bridge interface will no longer have
the eth0 MAC address, but take over the TAP MAC address. This is a
feature of the linux kernel, whereby a bridge interface will take the
MAC address with the lowest value amongst its interfaces. After the ARP
entries expire, this will result in the cloudpipe instance being no
longer reachable.
This fix, randomly generates a MAC address starting with FA:17:3E, which
is greater than FA, and will thus ensure the brige will keep the eth0 MAC
address.
Change-Id: I0bd994b6dc7a92738ed23cd62ee42a021fd394e2
2012年04月08日 17:21:29 +02:00
Jenkins
5f5295b884 Merge "Use -1 end-to-end for unlimited quotas" 2012年04月06日 21:45:22 +00:00
Jenkins
27acf7b066 Merge "Stop libvirt test from deleting instances dir" 2012年04月06日 19:42:29 +00:00
Jenkins
b573276e00 Merge "Cleanup xenapi driver logging messages to include instance" 2012年04月06日 16:44:45 +00:00
Jenkins
72c1dd677b Merge "Remove unused user_id and project_id parameters to fetch_image()" 2012年04月06日 16:02:30 +00:00
Johannes Erdfelt
2fde2294d8 Cleanup xenapi driver logging messages to include instance
Also, use the logging instance kwarg so it gets logged in a consistent
format.
Change-Id: I4429e9660ff72e1f79d889f89b5abbf1949720de
2012年04月06日 15:07:43 +00:00
Vishvananda Ishaya
0d03119e20 Stop libvirt test from deleting instances dir
* fixes bug 974293
Change-Id: Id41ab20193a70246ad2e3e1cc18edf47059d312d
2012年04月05日 17:04:41 -07:00
Johannes Erdfelt
7a51a3f962 Move product_version to XenAPISession
This keeps it together with host_uuid and is_slave
Change-Id: Ib408586baec116def6c73c6cda1ff4eba15a3127
2012年04月05日 21:34:16 +00:00
Johannes Erdfelt
5f184e9d95 glance plugin no longer takes num_retries parameter
Change-Id: Ic377a1f8ff0f012de82791cec01f6fcb33554f11
2012年04月05日 18:16:29 +00:00
Johannes Erdfelt
4e4605694f Remove unused user_id and project_id parameters to fetch_image()
Change-Id: I36d3b5d849b23cd4ebf55c5a2ef8ba14e3808ee6
2012年04月05日 17:56:04 +00:00
Johannes Erdfelt
a69e3efa54 Cleanup _make_plugin_call()
Not all calls to plugins need a path argument, so make it optional.
Fix TODO to use _make_agent_call() again. Use 'instance' instead of
'vm' to make it clearer what kind of object it is.
Change-Id: I279317cd07a5753b6c8dd686d2b4786ff24b66df
2012年04月05日 16:55:35 +00:00
Johannes Erdfelt
30bdadad88 Push id generation into _make_agent_call()
None of the callers use the id generated for any purpose other than
passing to _make_agent_call(), so just have _make_agent_call()
generate it for the caller
Change-Id: I5bd4392d2666dcb609891f3017fb9eb0d8c243ad
2012年04月05日 16:55:35 +00:00
Johannes Erdfelt
5265a66e9d Remove unused path argument for _make_agent_call()
Change-Id: I6b516fa506be06446b496555d42510c25e656ce1
2012年04月05日 16:55:35 +00:00
Johannes Erdfelt
5e09136303 Remove unused xenstore methods
Since we're in there, fix a TODO to use helper method instead of
session directly and simplify a couple of methods that don't need to
be so complicated
Change-Id: I6eeb290e4112844381ebe0c710e54f67ca61596e
2012年04月05日 16:55:35 +00:00
Jenkins
7f4a7b3916 Merge "Fixed bug 962840, added a test case." 2012年04月05日 16:19:46 +00:00
Johannes Erdfelt
7ae65242bd Combine call_xenapi and call_xenapi_request
The comment is incorrect and all commands can be used with either variant.
In XenAPI.py, they have somewhat different calling styles, but our
wrappers only differ by a tuple.
Change-Id: Ideadc0deb5bd870135f732ffadd9c09d90460c83
2012年04月05日 15:13:53 +00:00
Yun Mao
bc173ec44e Fixed bug 962840, added a test case.
eventlet.tpool.Proxy doesn't work with old-style class in __str__()
or __repr__() calls. See bug #962840 for details.
We perform a monkey patch to replace those two instance methods.
Change-Id: Ia51bbd3e71cad7df45da5b3b27eef70f9d9e9002
2012年04月05日 09:57:28 -04:00
Eoghan Glynn
f49d1441f7 Use -1 end-to-end for unlimited quotas
Dispense with the mapping of -1 to None for unlimited quota and
quota-class thresholds.
Now -1 is persisted directly in the quotas table to represent unlimited.
Avoids the asymmetry of -1 representing unlimited on quotas create/update
versus None for quotas show.
Change-Id: Ic9d3e22c4d68447af6a7f79a9703fa6ac26f01cc
2012年04月05日 14:21:15 +01:00
Mike Lundy
c7532c62ea fix bug where nova ignores glance host in imageref
This is related to bug 883328.
Change-Id: Iadd1aec8d1bda3bd75bd0ab7f6797b643626db90
2012年04月04日 12:03:20 -07:00
Jenkins
7ac5fbcc30 Merge "Extend FilterScheduler documentation." 2012年04月04日 18:18:31 +00:00
Johannes Erdfelt
e26bca75e5 Remove unused _parse_xmlrpc_value
Change-Id: Ic38592ab09c1f0a569dec2b644bdefd29ee00dff
2012年04月04日 17:38:20 +00:00
Chuck Short
f698eba457 Fix traceback in image cache manager.
When nova is running as a different user, the image
cache manager can cause tracebacks because it is not
able to access the file. This fixes bug: 973377
Change-Id: I7902b024e7d564fbda97ce8532c1de84ab1a4206
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2012年04月04日 10:18:45 -07:00
Vishvananda Ishaya
cabe27b955 Fixes regression in release_dhcp
* regression from c96e75d680
 * fixes out of order update and retrieval of vif_id
 * includes failing test
 * fixes bug 973442
Change-Id: I3bea1c754042ad5960f285fbcdc1d45445079f81
2012年04月04日 16:24:19 +00:00
Dina Belova
6ca171810e Extend FilterScheduler documentation.
Added more specific information on filters and weight functions.
Change-Id: If0463cd9d29568dfe44c6e5ce3f2e42af5ffe240
2012年04月04日 19:40:16 +04:00
Jenkins
d9019f7aa6 Merge "Allow unprivileged RADOS users to access rbd volumes." 2012年04月04日 01:17:14 +00:00
Jenkins
01b9cece5c Merge "Get unit tests functional in OS X" 2012年04月04日 00:42:23 +00:00
Jenkins
06407be0da Merge "Grab the vif directly on release instead of lookup" 2012年04月03日 23:31:20 +00:00