David Ribeiro Alves
f63c5a44c6
corrected formating issues and added headers
2012-05-10 09:07:12 +01:00
Adrian Cole
d99c18140e
cleanup on vbox
2012-05-07 11:51:29 -07:00
Andrew Gaul
b0cd47befb
Prefer ImmutableMap for static ErrorCode map
...
Also mark member as final and fix line wrapping.
2012-05-03 15:39:07 -07:00
David Ribeiro Alves
082158ac3f
image extension working on hpcloud, virtualbox and aws-ec2, cloudservers implemented but has issues
2012-05-03 03:55:40 +01:00
Andrew Gaul
646f8d8b13
Improve use of Throwables.propagate
...
Throwing the return value removes some unneeded asserts and return
statements. Also remove some useless and misspelled propogate
wrappers.
2012-05-02 11:05:22 -07:00
Andrew Gaul
198d19714e
Prefer unsynchronized StringBuilder
...
A few instances remain due to EasyMock and Matcher.
2012-04-30 09:50:18 -07:00
Matt Stephenson
381851b8ab
Remove IPSocket class, replace with Guava's HostAndPort class.
2012-04-25 17:52:01 -07:00
Adrian Cole
df7d2acbb4
wrapper -> view
2012-04-23 19:14:36 -07:00
Adrian Cole
886d2cafb9
created base Context class with ProviderMetadata and Identity
2012-04-23 16:16:51 -07:00
Andrew Bayer
9b80b984a4
Switch to calling apt-get update before every apt-get install.
...
I found that the previous "apt-get install || (apt-get update; apt-get
install) didn't work in all cases, but switching to always calling
apt-get update got things working properly.
2012-04-19 13:02:47 -07:00
Adrian Cole
98a205b603
Issue 891: ensure we run apt update when install jdk fails
2012-04-18 15:02:06 -07:00
David Ribeiro Alves
05212b75fa
implemented image extension
2012-04-18 09:37:44 +01:00
Andrew Gaul
a3161ba7ba
Throw return value instead of returning null
...
Throwables.propagate always throws its argument and throwing its
impossible return value better represents our intent than returning
null.
2012-04-16 13:45:23 -07:00
Adrian Cole
0b59dea073
removed ContextBuilder subclasses; added unwrap; undid generic params
2012-04-16 00:44:20 -07:00
Adrian Cole
23cb01f977
refactor PropertiesBuilder and related types into ApiMetadata and ProviderMetadata, and update all usage
2012-04-11 19:47:09 -06:00
Adrian Cole
af3a226b3d
Issue 894:update to guava 12
2012-04-02 11:44:10 -07:00
Adrian Cole
8cf71adedf
Merge pull request #537 from dralves/vbox-linux
...
oneiric update and a few other goodies
2012-04-02 07:28:28 -07:00
Adrian Cole
764e0907f7
Issue 657:ApiMetadata
2012-04-01 18:43:31 -07:00
David Ribeiro Alves
17c1abdb71
updated readme to include paswwordless ssh requirement
2012-04-02 01:15:08 +01:00
David Ribeiro Alves
f7f241a12f
reverted the preseed and corrected a test to account for multiple masters
2012-04-01 22:07:50 +01:00
David Ribeiro Alves
ba7a981a54
added unit test for defaultimagespredicate and corrected preseed
2012-04-01 21:06:07 +01:00
David Ribeiro Alves
a715b0e5ba
removed mac osx reference
2012-04-01 00:50:29 +01:00
David Ribeiro Alves
b62ef9ba9e
updated ubuntu, implemented multiple images for guests, consolidated jetty and enforced masters creation on itests
2012-04-01 00:03:11 +01:00
Andrea Turli
abeeb4b936
issue 384: fixed IMachineToNodeMetadataLiveTest as suggested by dralves
2012-03-31 11:44:47 +01:00
Andrea Turli
50815d2483
issue 384: added support for creation of hostOnly interface with DHCP enabled
2012-03-31 11:44:47 +01:00
Andrea Turli
af309232ad
issue 384: preparing vbox 1.5.1 - adapt ContextModule to external changes
2012-03-31 11:44:47 +01:00
Andrea Turli
e27db18cfd
issue 384: vbox 1.5.1
2012-03-31 11:44:47 +01:00
Andrea Turli
a2922006c9
issue 384: preparing 1.5.0-beta - guestAdditions installations fixed
2012-03-31 11:44:47 +01:00
Adrian Cole
5c6ce9f081
organize imports
2012-03-28 03:37:48 -04:00
Adrian Cole
025396be37
added new properties object
2012-03-28 03:37:41 -04:00
David Ribeiro Alves
6743f0bbf6
corrected spacing and new lines for README.md
2012-03-28 00:37:08 +01:00
David Ribeiro Alves
3be85a61de
updated readme.md
2012-03-27 20:39:02 +01:00
Adrian Cole
59f1d0b316
rename vbox live test
2012-03-22 14:46:03 -07:00
David Ribeiro Alves
893d2d9e55
removed lock printous
2012-03-22 17:58:58 +00:00
David Ribeiro Alves
1f31e96a9f
fixed locking transient bug
2012-03-22 17:49:04 +00:00
David Ribeiro Alves
28bd62edfc
added a unit test for guest additions installer. installguestadditions is now able to mount the pre-downloaded iso
2012-03-22 15:16:19 +00:00
David Ribeiro Alves
582423bd2d
commented machine utils
2012-03-22 03:46:22 +00:00
David Ribeiro Alves
6b4a4c6054
consolidated locking machines as locking was crashing all over the place
2012-03-22 03:36:42 +00:00
David Ribeiro Alves
4a32b0107f
parsed names from vm so that nodemetadata has correct group and name (updated unit test), corrected transient bug obtaining locks for vms
2012-03-22 02:44:41 +00:00
David Ribeiro Alves
aceaaf0eb0
updated readme
2012-03-21 22:36:14 +00:00
David Ribeiro Alves
5bca27923c
corrected IMachineToNodeMetadata to comply with the new non-natted ip
2012-03-21 22:19:03 +00:00
David Ribeiro Alves
92a940e95d
guests are now accessible because host-only ips are assigned in the same network as the default vbox host-only network (vboxnet0)
2012-03-21 22:04:05 +00:00
David Ribeiro Alves
68290ba2b2
added mock identity prop to prevent NPE in some cases
2012-03-21 22:04:05 +00:00
David Ribeiro Alves
d742d53f6b
reverted formatting changes
2012-03-21 22:03:48 +00:00
David Ribeiro Alves
f4d0e18320
prevented tests from failing due to missing property
...
!
2012-03-21 22:02:11 +00:00
David Ribeiro Alves
c4a02a6753
added ssh command to log into hosts
2012-03-17 01:27:36 +00:00
David Ribeiro Alves
fc8c5417e1
updated vbox readme
2012-03-17 01:17:31 +00:00
David Ribeiro Alves
e4259b5cc8
one machine was being wasted due to bad ip reporting
2012-03-15 07:58:04 +00:00
David Ribeiro Alves
d987e847ca
made vbox start nodes in HEADLESS mode (since we don't have access after AdminAccess anyway
2012-03-15 06:44:58 +00:00
David Ribeiro Alves
641f530e0c
preseed.cfg was being server from target/classes but not from the jar
2012-03-15 06:33:37 +00:00
David Ribeiro Alves
c9c4a1aef0
made jetty serve preseed.cfg from inside the jar (was serving from src/test/resources)
2012-03-15 04:42:33 +00:00
David Ribeiro Alves
04f72a67d7
made taking snapshots more resilient with retries
2012-03-15 03:24:53 +00:00
David Ribeiro Alves
b1333b1f2c
moved deleting gshadow lock to the clones since it was reappearing on the master
2012-03-15 03:03:53 +00:00
David Ribeiro Alves
ec7552cdbb
added waitForCompletion on snapshot creation and deletion has multi-node was failing
2012-03-15 02:57:22 +00:00
David Ribeiro Alves
6967743044
commented mastersloadingcache and nodecreator
2012-03-15 02:38:44 +00:00
David Ribeiro Alves
78d85fc960
fixed broken multi-node cloning due to missing synchronized keyword on NodeCreator. changed name of masterscache to mastersloadingcache. changed jetty port to a non common one. checked null on finally block
2012-03-15 02:20:31 +00:00
David Ribeiro Alves
1036c7a0f1
fixed broken master creation because guestAdditions was not executed.fixed but related to qemu ( https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/732864 ) where
...
a lock file (/etc/gshadow.lock) on the master prevents clones from adding users. AdminAccess should work now
2012-03-14 23:55:55 +00:00
David Ribeiro Alves
c161f9bc09
changed experiment live test to use admin access
2012-03-14 22:28:29 +00:00
David Ribeiro Alves
33b5cc2922
corrected compilation problem. unit and experiments tests pass
2012-03-14 04:23:30 +00:00
David Ribeiro Alves
0c55cf581b
merged bridged iface changes
2012-03-14 04:18:39 +00:00
Andrea Turli
d10f45ad46
issue 384: bridged support
2012-03-13 04:11:42 +00:00
David Ribeiro Alves
3b1a98323e
organized imports
2012-03-12 21:28:00 +00:00
David Ribeiro Alves
fb488c192d
added public address for vms and unit tested imachinetonodemetadata
2012-03-12 18:11:22 +00:00
David Ribeiro Alves
93b08a01e3
deleted extraneous exclamation point
2012-03-12 16:03:04 +00:00
David Ribeiro Alves
5efcea6839
changed delay to sockettester
2012-03-12 15:56:15 +00:00
David Ribeiro Alves
8ba6e91b7c
improved hardware matching. *adapter now returns the list of images instead of a no-id mock hardware
2012-03-12 15:32:31 +00:00
David Ribeiro Alves
8f92009699
improved hardware matching (hardware's id is now the same as the image id *without* prefix)
2012-03-12 15:03:56 +00:00
David Ribeiro Alves
3370dd819d
changed the vm/hardware identifier to the name instead of the id since the id will change over time!
2012-03-12 14:38:37 +00:00
David Ribeiro Alves
91a0980537
made destroying nodes synchornized due to session lock issues
2012-03-12 11:59:45 +00:00
David Ribeiro Alves
12a9b414e3
isolated experimentlivetest so that it emulates as closely as possible client usage
2012-03-12 11:27:44 +00:00
David Ribeiro Alves
1f17f07e97
made cloning single threaded
2012-03-12 10:59:28 +00:00
David Ribeiro Alves
be2177b167
made clone boot single threaded for now. all's working
2012-03-10 23:00:41 +00:00
David Ribeiro Alves
d158cee477
added properties form vboxpropertiesbuilder
2012-03-10 22:42:11 +00:00
David Ribeiro Alves
9c9ce80aa3
nit addressed :)
2012-03-10 21:39:06 +00:00
David Ribeiro Alves
3c776b8768
vboxadapter now deletes mediums on destroyNode() and non-exisitng nodes are handled in getNode(). VirtualBoxExperimentLiveTest passes consistently
2012-03-10 19:45:35 +00:00
David Ribeiro Alves
ad6b655ea1
moved host module creation to contextbuilder
2012-03-10 17:16:20 +00:00
David Ribeiro Alves
00c16d5315
removed unecessary assignment
2012-03-10 16:56:10 +00:00
David Ribeiro Alves
a77e4fda7d
addressed the issues raised in adrian's review
2012-03-10 15:59:50 +00:00
David Ribeiro Alves
4412aaf726
working cluster + live test using compute service + nat + host-only
2012-03-10 15:32:57 +00:00
David Ribeiro Alves
fe2d132067
readed the missing sysprop
2012-03-09 18:24:18 +00:00
David Ribeiro Alves
f24c344fce
fetching master at startup so that we make sure that isos are downloaded before all tests even if the adapter is not used
2012-03-09 03:38:30 +00:00
David Ribeiro Alves
176a8b3b3c
moved config dir creation to to masterscache
2012-03-08 04:15:41 +00:00
David Ribeiro Alves
e915fd3e7b
0conf for vbox. config dirs are created, isos downloaded and a default .yaml file is used
2012-03-08 02:38:30 +00:00
Adrian Cole
40429eaeca
Issue 855: use snakeyaml 1.6 constructor to avoid conflict w/testng-eclipse
2012-03-07 09:51:33 -08:00
Adrian Cole
7704b6b8f0
test tidies
2012-03-06 18:00:44 -08:00
David Ribeiro Alves
3e47867af4
updated readme
2012-03-06 20:37:54 +00:00
David Ribeiro Alves
0697494273
corrected IMachinePredicatesLiveTests that were failing and added workaround for transient function execution failure
2012-03-06 18:39:04 +00:00
David Ribeiro Alves
c64785d38e
minor error wrt to test group
2012-03-06 03:33:11 +00:00
David Ribeiro Alves
4850ffe759
got the clone to get networking
2012-03-06 03:12:16 +00:00
David Ribeiro Alves
2421847527
solved a problem running most live tests where the admin disk was the same
2012-03-06 01:14:01 +00:00
David Ribeiro Alves
d2e1e36256
corrected formatting and small bug in CloneAndRegisterMachineFromIMachineIfNotAlreadyExistsLiveTest
2012-03-05 18:04:50 +00:00
David Ribeiro Alves
fa26fe34f9
formatted most changed classes to comply with jclouds formatting guildelines
2012-03-05 17:03:15 +00:00
David Ribeiro Alves
cf02e7dcaf
clones are now booting, but without networking
2012-03-05 04:40:22 +00:00
David Ribeiro Alves
2e1f1e5da8
clone is created and boots sucessfully. still no network on the clone though
2012-03-05 04:23:58 +00:00
David Ribeiro Alves
3a4cd0b4bc
stuck on adapter problems
2012-03-05 02:28:00 +00:00
David Ribeiro Alves
d0b4d81f9f
added the possiblity for master machines to survive the jvm. first run creates and installs the master vm subsequent calls fetch the already created master from vm
2012-03-05 01:09:13 +00:00
David Ribeiro Alves
690bc9a4dc
adapter creates the master image. cloning next
2012-03-04 23:35:18 +00:00
David Ribeiro Alves
406c6a9fc4
sshclien to the master is now workign
2012-03-04 18:54:57 +00:00
David Ribeiro Alves
af662850a9
merged changes from upstream
2012-03-04 18:08:19 +00:00
David Ribeiro Alves
d0e770c99b
added dependencies
2012-03-04 17:52:34 +00:00