Commit Graph

6408 Commits

Author SHA1 Message Date
Kelven Yang 3c780a500d Start and stop VM now works for CPVM and SSVM with new VMSync 2013-05-07 17:03:04 -07:00
Kelven Yang 006b2f8ed8 add support to job joining 2013-05-07 13:26:37 -07:00
Kelven Yang 444a15b619 Hook CPVM and SSVM into new sync framework 2013-05-06 16:59:20 -07:00
Kelven Yang a8a09ba287 hook-up new sync with VirtualMachineGuru(s) 2013-05-06 10:01:46 -07:00
Kelven Yang ba9a9480b6 Commit intermediate work 2013-05-02 18:06:24 -07:00
Kelven Yang 7de2af9457 Unit test to job heartbeat on message bus 2013-05-01 22:51:10 -07:00
Kelven Yang 9e4ebdd8b3 Add job monitor to help manage system concurrent level 2013-05-01 22:45:27 -07:00
Kelven Yang 17930685e4 Unit tests to VM work scheduling 2013-05-01 16:43:05 -07:00
Kelven Yang 86053cd8b2 Add VM work job dispatcher, MethodCapturer etc 2013-04-30 18:12:23 -07:00
Kelven Yang 9786f7b7bb consolidate VM work jobs 2013-04-26 17:44:28 -07:00
Kelven Yang 7ad0722b86 Unit test to added method to AsyncJobManager 2013-04-26 13:09:19 -07:00
Kelven Yang f1ba6586b9 Add Predicate and MesageDetector for message bus 2013-04-25 17:57:48 -07:00
Kelven Yang d0a7ca082f Decouple hypervisor resource from VM state sync 2013-04-24 17:25:08 -07:00
Kelven Yang e31e33ccd3 unit-test to track reset of hypervisor state sync 2013-04-24 11:38:32 -07:00
Kelven Yang ca3d6306f7 Add support to track host change 2013-04-24 10:41:47 -07:00
Kelven Yang 8b4ec1927c Unit test for power state sync DAO method 2013-04-23 17:05:52 -07:00
Kelven Yang 360a48bc7f More refactoring for decoupling 2013-04-22 18:16:33 -07:00
Kelven Yang f640a416d1 Revert back a previous change that was trying to carry more info in state machine listeners 2013-04-22 11:29:07 -07:00
Kelven Yang e7d7fb58c5 Some unit test work 2013-04-19 22:01:33 -07:00
Kelven Yang 96ebac1e47 server/test/com/cloud/async/AsyncJobTestConfiguration.java 2013-04-19 21:55:03 -07:00
Kelven Yang c51fae0b6c Add async job discriminator to allow merging of HA/ItWork jobs 2013-04-18 18:12:27 -07:00
Kelven Yang 56bc255355 Separate usage monitor from HA manager 2013-04-17 14:14:17 -07:00
Kelven Yang 58112a9e12 Add VM power state, use record event info to represent user/system intention for sync process to use 2013-04-12 18:53:24 -07:00
Kelven Yang aa108fcaec Get rid of annoying communicating through exception between API/Job manager, decouple job manager from API manager for VMsync usage 2013-04-09 18:05:14 -07:00
Kelven Yang 34cae6349c More refactoring work 2013-04-09 16:58:35 -07:00
Kelven Yang 2ee8fd2152 Merge branch 'master' into vmsync
Conflicts:
	plugins/hypervisors/kvm/src/org/apache/cloudstack/utils/qemu/QemuImgException.java
	server/src/com/cloud/async/AsyncJobManagerImpl.java
	server/src/com/cloud/async/SyncQueueManager.java
	server/src/com/cloud/hypervisor/kvm/discoverer/LxcServerDiscoverer.java
	server/src/com/cloud/storage/VolumeManagerImpl.java
	utils/src/com/cloud/utils/component/AdapterList.java
2013-04-09 14:39:09 -07:00
Kelven Yang a410652795 Add schema changes for job dispatcher 2013-04-09 14:21:00 -07:00
Kelven Yang 55935f9868 more job cleanup 2013-04-09 11:14:49 -07:00
Hugo Trippaers 6c9fcb8c8f Make the VpcManager check a list of supported providers 2013-04-09 18:27:23 +02:00
Murali Reddy 9180bd5990 CLOUDSTACK-1834: Events are not generated for registerUserKeys() 2013-04-09 17:45:57 +05:30
Chiradeep Vittal c6e226da74 CLOUDSTACK-524: in some cases (especially the built-in CentOS template), the template downloader does not use the configured http proxy
The DownloadProgress command is used to restart failed or stuck download jobs -- and it would not include the proxy information, unlike the DownloadCommand which always did

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-04-08 17:29:54 -07:00
Jessica Wang 98bc240d2a Revert "Dedicate Public IP range"
This reverts commit d6ed8d7cb5.

Conflicts:

	server/test/com/cloud/configuration/ConfigurationManagerTest.java
2013-04-08 17:15:51 -07:00
Chiradeep Vittal 67a99cbbc3 CLOUDSTACK-524: in some cases (especially the built-in CentOS template), the template downloader does not use the configured http proxy
The DownloadProgress command is used to restart failed or stuck download jobs --
It would not include the proxy information, unlike the DownloadCommand which always did

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-04-08 17:07:35 -07:00
Chiradeep Vittal 3cbbe2bb04 RAT check broken by d6ed8d7cb. Fix 2013-04-08 16:51:10 -07:00
Likitha Shetty d6ed8d7cb5 Dedicate Public IP range 2013-04-08 14:46:21 -07:00
Hugo Trippaers d9f7bb2854 Changing the number of threads in the test from 1000 to 750. 1000 will more often than not result in build failures due to constraints on the build systems.
Most recent centos based systems have process limit of 1024. Running this test will result in an OutOfMemory exception with description unable to create native thread.
2013-04-07 12:17:53 +02:00
Mice Xia a85b498afd 1) fix CLOUDSTACK-1946 2) remove redundant VMSnapshotVO.java 2013-04-07 17:41:26 +08:00
Alena Prokharchyk 42ffac3ae8 CLOUDSTACK-1895: save placeholder nic with not null vmType='DomainRouter' when placeholder is used for the VR ip address 2013-04-04 13:29:17 -07:00
Hugo Trippaers f1259d50bd Fix for _pingTimeout being 0 in AgentMonitor
With commit d79f1f6fdc the AgentMonitor
was replaced with a pluggable service. However the ping timeout in the
original constructor was not passed on anymore, leading to a default
pingTimout of 0. This would fail all agents constantly.

Modified the startMonitor command to take a pingtimeout as an argument
and instruct AgentManagerImpl to pass it along.
2013-04-04 14:23:42 +02:00
Edison Su f18a1d6f14 fix bunch of bugs related to zone wide storage 2013-04-03 21:51:17 -07:00
Brian Spindler 469c4dd139 Removing ^M's from code.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-04 00:53:20 +05:30
Wido den Hollander fa1e9a24a6 conf: Add a @ so @MSUSER@ is replaced by "cloud" 2013-04-03 16:54:00 +02:00
Dave Cahill eddf7b9357 MidoNet Networking Plugin
- Supports DHCP, Source NAT, Static NAT, Firewall rules, Port Forwarding
- Renamed MidokuraMidonet to MidoNet
- Related Jira ticket is CLOUDSTACK-996

Signed-off-by: Dave Cahill <dcahill@midokura.com>
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-04-03 12:03:11 +02:00
Kelven Yang 5585b5ea6e Async job management cleanup 2013-04-02 18:27:22 -07:00
Vijayendra Bhamidipati 2dbdc46337 CLOUDSTACK-1734: Make SHA1 default password encoding mechanism
Description:

	Making SHA256SALT the default encoding algorithm to encode
	passwords when creating/updating users.

	Introducing a new configurable list to allow admins to
	separately configure the order of preference for encoding
	and authentication schemes.

	Since passwords are now sent by clients as clear text,
	fixing the Plain text authenticator to check against the
	password passed in rather than its md5 digest.
2013-04-02 17:40:50 -07:00
Kelven Yang 58c962ef15 Retire unused files to avoid confusions 2013-04-02 15:55:41 -07:00
Kelven Yang 1b81979956 Retire unused files to avoid confusions 2013-04-02 15:53:09 -07:00
Min Chen f52820f2fd CLOUDSTACK-1890: listProjects is not listing state in the response. 2013-04-02 20:24:31 +01:00
Kelven Yang f2ad38aa0f CLOUDSTACK-1865: Change StatsCollector to be a manager so that it can initialize itself at proper run level 2013-04-02 11:22:56 -07:00
Prasanna Santhanam b798c45114 maven+marvin+simulator: Changes to the lifecycle steps
integration test is now run as follows:

Build
$ mvn -Pdeveloper -Dsimulator clean install

DB:
$ mvn -Pdeveloper -pl developer -Ddeploydb
$ mvn -Pdeveloper -pl developer -Ddeploydb-simulator

Setup:
$ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/advanced.cfg -pl :cloud-marvin integration-test

Test:
$ mvn -Pdeveloper,marvin.test -Dmarvin.config=setup/dev/advanced.cfg -pl :cloud-marvin integration-test

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-02 19:56:33 +05:30