Commit Graph

149 Commits

Author SHA1 Message Date
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
andreaturli 6e8b985a18 issue 384: NetworkSpec refactored - Adrian comments addressed 2012-03-02 23:41:38 +00:00
David Ribeiro Alves 960e6f8e0a added a computeservicecontext provider for the vbox host (byon) 2012-03-02 19:15:52 +00:00
andreaturli 01fa802dd7 issue 384: NetworkSpec refactored - Adrian comments addressed 2012-03-02 18:19:59 +00:00
Andrea Turli edd16d0e26 Merge branch 'dev' of github.com:andreaturli/jclouds into dev
Conflicts:
	labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/AttachBridgedAdapterToMachine.java
	labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/CloneAndRegisterMachineFromIMachineIfNotAlreadyExists.java
	labs/virtualbox/src/test/java/org/jclouds/virtualbox/functions/CloneAndRegisterMachineFromIsoIfNotAlreadyExistsLiveTest.java
2012-03-01 17:32:56 +00:00
Andrea Turli cf57f250a2 issue 384: network support refactored 2012-03-01 17:29:18 +00:00
Andrea Turli dbd669caf8 issue 384: network support refactored 2012-03-01 16:55:38 +00:00
David Ribeiro Alves e00181d74e circular dependencies problem with CreateAndInstallVm 2012-02-29 01:44:22 +00:00
David Ribeiro Alves 40a95be772 still failing matching the default image to the yaml images 2012-02-28 20:45:42 +00:00
David Ribeiro Alves 51e24096fe refactored image from yaml creation 2012-02-28 19:39:32 +00:00
David Ribeiro Alves eab826fd42 refactored image from yaml creation 2012-02-28 19:11:37 +00:00
David Ribeiro Alves c015f9f699 moving forward no more guice errors 2012-02-28 18:43:10 +00:00
David Ribeiro Alves 80f6b65d4b yaml desc reader added to compute adapter 2012-02-27 15:38:35 +00:00
Adrian Cole fa7f81c4e7 Issue 847:version updates 2012-02-23 15:11:05 +02:00
Adrian Cole 6317c880ad Merge pull request #378 from andreaturli/development
issue 384: fixed GuestAdditions LiveTest
2012-02-19 06:48:55 -08:00
andreaturli 328621e961 issue 384: fixed GuestAdditions LiveTest - Adrian comments addressed 2012-02-19 10:59:45 +00:00
Adrian Cole 636c3bb6e5 Issue 357:Init script should check for errors + herefile fixes + script events 2012-02-19 01:53:19 +02:00
andreaturli 290c5d5f47 issue 384: fixed GuestAdditions LiveTest 2012-02-18 12:44:44 +00:00
Ioannis Canellos 5490b3068c [842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles. 2012-02-17 00:49:39 +02:00
Adrian Cole e88a32a75d refactored virtualbox classes 2012-02-14 23:22:24 +01:00
Adrian Cole 481421569c refactored virtualbox scripts to use new scriptbuilder functions 2012-02-14 02:02:18 +01:00
Andrei Savu af104325a7 Fixed broken build due to recent changes in labs/virtualbox 2012-02-13 14:38:01 +02:00
David Ribeiro Alves ca602e7db0 Moved RunScriptData to src/main as there are non test dependencies; Deleted orpah and duplicate file GuestAdditionsInstallation.java (wrong place and duplicated in InstallGuestAdditions.java) as well as duplicate script installGuestAdditions.sh (duplicated in installModuleAssistantIfNeeded.sh) 2012-02-13 05:36:14 -06:00
andreaturli 40d19e0cf6 issue 384: GuestAdditions installer - jclouds comments addressed 2012-02-12 19:20:41 +00:00
andreaturli 20ec953fb6 issue 384: GuestAdditionsInstaller - fix scripts 2012-02-12 00:55:12 +00:00
andreaturli af553b6294 issue 384: GuestAdditionsInstaller - fix future 2012-02-11 18:56:19 +00:00
andreaturli 623f3c6daa issue 384: GuestAdditionsInstaller 2012-02-11 18:56:19 +00:00
Adrian Cole fe4d148528 updated current version to 1.5.0-SNAPSHOT 2012-02-04 11:06:07 -08:00
Adrian Cole c388fc41b4 Issue 826: removed eager supplier of @Provider endpoint 2012-02-03 13:51:26 -08:00
Adrian Cole d225df57e4 virtualbox related changes for Issue 826 2012-02-03 00:29:35 -08:00
Adrian Cole abeffc1119 Issue 824:add field for hypervisor 2012-01-30 22:52:35 -08:00
Adrian Cole f50e3f5b8e added scancode for # 2012-01-30 16:38:19 -08:00
Adrian Cole 51066b392b added vbox to labs 2012-01-30 16:38:11 -08:00