Soren Hansen
9eb64af0d7
Make proxy.sh work with both openbsd and traditional variants of netcat.
2011-03-18 11:27:38 +01:00
Soren Hansen
9608ef7d49
Query the size of the block device, not the size of the filesystem.
2011-03-18 11:06:58 +01:00
Soren Hansen
83523c125a
Invert some of the original logic and fix a typo.
2011-03-17 23:45:35 +01:00
Soren Hansen
57e3d5abb5
Make the smoketests pep8 compliant (they weren't when I started working on them..)
2011-03-17 23:37:34 +01:00
Soren Hansen
27d5cbaf03
Make smoketests' exit code reveal whether they were succesful.
2011-03-17 14:51:59 +01:00
Josh Kearney
699abfe9e6
Log the use of utils.synchronized.
2011-03-16 20:36:22 +00:00
Mark Washenberger
de7707f970
Fix lp727225 by adding support for personality files to the openstack api.
...
Description:
This merge adds support for personality files to the openstack api. It leverages previous work which added this functionality to the compute api, compute manager, and xen api.
2011-03-16 19:37:00 +00:00
Christian Berendt
6b50c033b1
fixes bug 735298: start of nova-compute not possible because of wrong xml paths to the //host/cpu section in "virsh capabilities", used in nova/virt/libvirt_conn.py
2011-03-16 19:26:41 +00:00
Mark Washenberger
19a2f8ce51
merge lp:nova and resolve conflicts
2011-03-16 15:16:16 -04:00
jaypipes@gmail.com
7dbda7ca27
Keypairs are not required in the OpenStack API; don't require them!
...
This cleans up some weirdness from the original branch (https://code.launchpad.net/~justin-fathomdb/nova/bug732204/+merge/53359 ) with justin's LP username in r804.
2011-03-16 19:02:17 +00:00
Soren Hansen
9fa74cdae1
Add missing fallback chain for ipv6.
2011-03-16 18:56:47 +00:00
Christian Berendt
157ea09c03
fixed pep8 issue
2011-03-16 19:54:15 +01:00
jaypipes@gmail.com
663c1726d9
Re-commit r805
2011-03-16 14:49:25 -04:00
jaypipes@gmail.com
7fa96f6292
Re-commit r804
2011-03-16 14:49:18 -04:00
Justin Santa Barbara
dfd0e8a32a
Don't generate insecure passwords where it's easy to use urandom instead
2011-03-16 18:42:41 +00:00
Thierry Carrez
7dec290a12
Fixes euca-get-ajax-console returning Unknown Error, by using the correct
...
exception in get_open_port() logic. Patch from Tushar Patil.
2011-03-16 18:26:41 +00:00
Christian Berendt
ce205ea2c9
added new class Instances for managaging instances
...
added new method list in class Instances:
# nova-manage instance list
instance node type state launched image kernel ramdisk project user zone index
i-00000547 XXXXXXX m1.small running 2011-02-18 08:36:37 ami-a03ndz0q ami-0isqekvw testing berendt None 0
i-00000548 XXXXXXX m1.small running 2011-02-18 08:37:17 ami-a03ndz0q ami-0isqekvw testing berendt None 1
i-00000549 XXXXXXX m1.small running 2011-02-18 08:37:52 ami-a03ndz0q ami-0isqekvw testing berendt None 2
# nova-manage instance list ares
instance node type state launched image kernel ramdisk project user zone index
i-00000c1c ares m1.tiny running 2011-02-26 22:51:40 ami-pus9dj84 ami-zhcv0yyx ami-av96fu30 testing berendt None 1
extended the method list in class FixedIps to lookup ip addresses assigned to a specified node:
# nova-manage fixed list ares
network IP address MAC address hostname host
192.168.3.0/24 192.168.3.6 02:16:3e:75:d7:9a i-00000c1c ares
2011-03-16 17:06:30 +00:00
Christian Berendt
ba35831c1f
added correct path to cpu information (tested on a system with 1 installed cpu package)
2011-03-16 10:58:02 +01:00
Thierry Carrez
016669543a
Fix unknown exception error in euca-get-ajax-console
2011-03-16 10:38:48 +01:00
Christian Berendt
8b3e35b157
fixed pep8 errors (with version 0.5.0)
2011-03-16 10:29:04 +01:00
Mark Washenberger
fc07caece7
pep8
2011-03-15 19:23:46 -04:00
Mark Washenberger
f9d4b3b65f
merge lp:nova
2011-03-15 19:22:51 -04:00
Mark Washenberger
e237b4a565
ignore differently-named nodes in personality and metadata parsing
2011-03-15 19:11:21 -04:00
Mark Washenberger
70769dbe23
pep8
2011-03-15 18:12:46 -04:00
Mark Washenberger
3cc78174e0
internationalization
2011-03-15 18:11:54 -04:00
Mark Washenberger
e9ef6e0478
s/onset_files/injected_files/g
2011-03-15 17:56:00 -04:00
Josh Kearney
0eaf02efd5
Add logging to lock check
2011-03-15 16:21:22 -05:00
Brian Lamar
d36b4d5f37
Fixed lp732866 by catching relevant exception.NotFound
exception. Tests did not uncover this vulnerability due to "incorrect" FakeAuthManager. I say "incorrect" because potentially different implementations (LDAP or Database driven) of AuthManager might return different errors from get_user_from_access_key
.
...
Also, removed all references to 'bacon', 'ham', 'herp', and 'derp' and replaced them with hopefully more helpful terms.
Long story short it addresses the immediate issue while throughly ignoring the larger issue, which is correctly testing all implementations of Auth. I find this acceptable as currently the future of auth is in flux.
2011-03-15 19:01:27 +00:00
Mark Washenberger
1d69d49912
refactor onset_files quota checking
2011-03-15 14:33:45 -04:00
Justin Santa Barbara
22aad67001
Use random.SystemRandom for easy secure randoms, configurable symbol set by default including mixed-case
2011-03-15 11:24:07 -07:00
Mark Washenberger
47b751e246
merge lp:nova
2011-03-15 14:19:47 -04:00
Justin Santa Barbara
56ff680562
Support testing the OpenStack API without key_pairs
2011-03-15 10:42:32 -07:00
Ken Pepple
568528bb0f
just fixing a small typo in nova-manage vm live-migration
2011-03-15 16:41:12 +00:00
Soren Hansen
24142b1198
Make Authors check account for tests being run with different os.getcwd() depending on how they're run. Add missing people to Authors.
2011-03-15 15:54:55 +00:00
Justin Santa Barbara
2134911280
Removed duplicated tests.
...
One was a straight copy-and-paste, one was different, but the masked test didn't pass.
2011-03-15 15:51:17 +00:00
Josh Kearney
990f7f0a83
PEP8 0.5.0 cleanup.
2011-03-15 15:36:01 +00:00
Soren Hansen
8a41046dc7
Always put the ipv6 fallback in place. FLAGS.use_ipv6 does not exist yet when the firewall driver is instantiated and the iptables manager takes care not to fiddle with ipv6 if not enabled.
2011-03-15 09:48:21 +01:00
Christian Berendt
a5bf9b4561
merged with trunk and removed conflicts
2011-03-15 08:45:35 +01:00
Justin Santa Barbara
3d0cde272e
Clarify the logic in using 32 symbols
2011-03-14 21:01:48 -07:00
Justin Santa Barbara
da605eb84f
Don't generate insecure passwords where it's easy to use urandom instead
2011-03-14 20:48:33 -07:00
Justin Santa Barbara
cc0340d7f9
Merge remote branch 'justinsb/bug732204' into bug732204
2011-03-14 20:07:06 -07:00
Justin Santa Barbara
a4e94971b6
Make key_pair optional with OpenStack API
2011-03-14 19:57:30 -07:00
Justin Santa Barbara
5da32f8b91
Implements basic OpenStack API client, ready to support API tests
2011-03-15 00:26:35 +00:00
Justin Santa Barbara
c0ae4a4c85
Fix capitalization of ApiError (it was mistakenly called APIError)
2011-03-14 23:55:49 +00:00
Justin Santa Barbara
567e3bc3a7
So the first of those tests doesn't pass. Removing as it looks like
...
it was meant to be deleted.
2011-03-14 15:17:00 -07:00
Justin Santa Barbara
7c6aa5eb30
Removed duplicated test, renamed same-named (but non-identical) tests
2011-03-14 14:32:15 -07:00
Josh Kearney
408a2591d6
PEP8 cleanup
2011-03-14 16:21:33 -05:00
Soren Hansen
af747a5453
Fixes other half of LP#733609
2011-03-14 22:18:11 +01:00
Soren Hansen
337bda95a9
Add missing fallback chain for ipv6.
2011-03-14 22:17:14 +01:00
Justin Santa Barbara
ce57cff740
The exception is called "ApiError", not "APIError"
2011-03-14 14:02:27 -07:00