12483 Commits

Author SHA1 Message Date
Chip Childers
6747df6d32 Added devcloudbase provisioning logic 2012-08-02 15:58:32 -04:00
Chip Childers
34cedcf37f Corrected box label 2012-08-02 15:34:14 -04:00
Chip Childers
f25842f142 Devcloud setup scripts - work in progress 2012-08-02 15:17:49 -04:00
Edison Su
3996094e55 Fix bug: can not deploy VM on ESXi due to incorrect
secondaryStorageResource used for SSVM

Issue:
For deploying VMware VMs, cloud service on SSVM needs to be started with
PremiumSecondaryStorageResource, a bunch of VMware related commands rely
on it.

Changes:
1)include cloud-vmware.jar in systemvm.zip
2)start cloud service in SSVM with PremiumSecondaryStorageResource

RB: https://reviews.apache.org/r/6320/
Send-by: mice_xia@tcloudcomputing.com
2012-08-02 11:20:35 -07:00
Edison Su
e116c24989 Removed obsolete file SearchCriteria2Test.java which caused ant unittest
to fail.
cleanup.sql cleans up CLOUD and CLOUD_USAGE databases which are required
by many unit-testcases.
RB: https://reviews.apache.org/r/6283/diff/3/
Send-by: saksham.srivastava@citrix.com
2012-08-02 10:33:06 -07:00
mice xia
895b6a3e4b CS-15780 Global configuration 'account.cleanup.interval' is used by event purge thread
changes:
add a new global configuration event.purge.interval for event purge thread
leave account.cleanup.interval only for account cleanup thread.
2012-08-02 21:50:44 +05:30
Chip Childers
9ee803ee02 License header updates for the deps folder 2012-08-02 10:45:48 -04:00
Prasanna Santhanam
1a18d5ca7f Removing the obsolete scripts directory from agent-simulator
These are legacy bash scripts which were used to setup configurations of
mgmt server when testing its scalability.
2012-08-02 19:44:17 +05:30
Chip Childers
714a9fad12 License header updates for debian folder 2012-08-02 10:02:22 -04:00
Chip Childers
9ed5d3840a License header updates for the core folder 2012-08-02 09:22:36 -04:00
Chip Childers
42ef767c4a License header updates. 2012-08-02 09:16:16 -04:00
Hugo Trippaers
9c127cf608 Fix rpm build after kvm move 2012-08-02 11:56:33 +02:00
Pranav Saxena
eb116b6ecb CS-15318: Do not allow user to stop a VM in Starting State (hiding the stop button) 2012-08-02 14:22:53 +05:30
Alena Prokharchyk
1168747128 Fixed numerous bugs in listNetworks call related to filtering by projectId/listAll/domainId/etc. All the rules below are followed now:
1) When account/domainId or projectId are passed in:

* list all account specific networks of the account/project
* list all domain level networks from the domainId + subdomains if the targeted network has allowSubdomainAccess = true

In other words, we use all the networks that can be used for vm deployment by account/domainId.

If listAll is not specified in the request, account/domainId are being defaulted to the account/domainId of the caller
listAll is ignored if the call is being done by the regular user.

2) listAll is passed in by the Root admin, we list:

* all Account specific networks in the system
* all domain specific networks in the system

3) listAll is passed by the Domain admin, we list:

* All Account specific networks belonging to domain/subdomains of the domain admin.
* All domain specific networks belonging to domain/subdomains of the domain admin
* All domain specific networks allowing subdomain access belonging to the parent domain.

4) domainId - can be passed either with or without listAll. We list:

* all account specific networks belonging to the domain
* all domain specific networks of the domain
* all domain specific networks of the subdomains if isRecursive = true is passed in

Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2012-08-01 18:46:36 -07:00
Jessica Wang
10cf9c2f20 CS-15687: cloudstack 3.0 UI - zone wizard - change timer setting for adding netcaler provider. 2012-08-01 17:18:28 -07:00
Edison Su
387fe57771 don't log null response 2012-08-01 16:54:50 -07:00
Rohit Yadav
db7ace389d README: fix brand This is just a dummy patch to test post-review cmd tool Hope this works
Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>
2012-08-01 16:54:50 -07:00
Brian Federle
8120785bab listView UI: Fix case where $breadcrumb isn't present 2012-08-01 15:57:00 -07:00
Edison Su
88b317f7fd Do not log null lines in agent logfile 2012-08-01 15:26:41 -07:00
Brian Federle
ef9dd4210e cloudBrowser / list view UI: Show subsection in breadcrumb
If in a section with multiple subsections, show active subsection in
the breadcrumb.

For example, if in storage->snapshots, display 'Storage - Snapshots'
based on the 'title' attribute for the main section and subsetion.

-- Note: this disables the 'fixSize' functionality which resizes long
   breadcrumb trails, due to incompatibility with this new feature. It
   is going to be reimplemented anyway, as it is fairly glitchy in its
   current incarnation.
2012-08-01 14:36:15 -07:00
Brian Federle
8c8c10fbbd CS-15799: Show 'network domain' instead of 'network domain text' 2012-08-01 14:36:15 -07:00
Edison Su
05df0a1965 Another clean up for unnecessary parameter conn Clean up unused
parameter conn. Add test for LibvirtVMDef Add support for ethernet type
RB: https://reviews.apache.org/r/6284/
Send-by: tomoe@midokura.com
2012-08-01 13:59:11 -07:00
Edison Su
3a184a1b49 remove the unused files 2012-08-01 13:57:33 -07:00
Chip Childers
99b0ea7b10 License header update for the client folder 2012-08-01 13:49:10 -04:00
Chip Childers
c34fc9eed2 Corrected license header for build.xml 2012-08-01 11:43:19 -04:00
Chip Childers
d6689072d9 License header updates for the build folder. 2012-08-01 11:36:10 -04:00
Wido den Hollander
2ffc9907f7 kvm: Use libvirt for polling storage pool capacity and allocation
Since we are using libvirt for handling our storage pools we should rely on that information as well.

Before fetching the capacity we refresh the pool so libvirt has the most up-to-date information.

This is not needed with newly created pools since libvirt does a refresh on creation.
2012-08-01 17:18:11 +02:00
Chip Childers
a1b2f7aec1 Corrected SQL license header comment format 2012-08-01 10:30:45 -04:00
Chip Childers
c6b891ae76 License header update for awsapi-setup 2012-08-01 10:30:45 -04:00
Koushik Das
3f571684aa CS-15631 : Support for up to 16 VDIs per VM on XS 6.0 and above
Support for up to 16 VDIs per VM on XS 6.0 and above (16 VDIs => root + cd + 14 data volumes). Currently in CS number of data disk that can be attached to VM is hard-coded to 6. Made this setting configurable by moving it to hypervisor capabilities. Although XS 6.0 and above supports upto 16 VDIs but while testing on XS 6.0.2 found that only 13 data volumes can be attached to a VM. So for XS 6.0 and 6.0.2 max_data_volumes_limit is set to 13 currently.

Signed-off-by: Koushik Das <Koushik.Das@citrix.com>
2012-08-01 19:39:30 +05:30
Chip Childers
3cbc0e324f awsapi license header changes 2012-08-01 09:34:12 -04:00
Nitin Mehta
85398bb2e0 bug CS-13935: correcting description for create.volume.from.snapshot.wait global setting
Reviewed-by: Kishan
2012-08-01 18:16:01 +05:30
Wido den Hollander
34ed15e44e kvm: Remove main methods in various classes
This is dead code which seems to be in there from the VMOps time.

No reason for this to be here, so this can safely be removed
2012-08-01 14:42:31 +02:00
Hugo Trippaers
65daade79a Add a "ping" function to the resource and allow commands to be retried. 2012-08-01 14:11:32 +02:00
Pranav Saxena
250501c56d CS-14907:Download volume option to be present only if it is in READY state since it has moved to the primary storage 2012-08-01 10:58:22 +05:30
Chip Childers
9ef5b42202 Build configuration change from Ewan Mellor: https://reviews.apache.org/r/6266/ 2012-07-31 21:21:35 -04:00
Chip Childers
640087b534 api license header fixes 2012-07-31 20:31:57 -04:00
Chip Childers
a777f515ef Agent-simulator license header corrections 2012-07-31 20:21:13 -04:00
Chip Childers
d204fa9940 Agent-simulator license header corrections 2012-07-31 20:18:02 -04:00
Wido den Hollander
d333e31069 agent: Add cloud-plugin-hypervisor-kvm.jar to the classpath
Without this the JAR won't end up in the CLASSPATH in the agent init script
2012-07-31 23:50:48 +02:00
Chip Childers
2d1d43dd2b License file header updates for agent 'dot' files. 2012-07-31 17:30:26 -04:00
Wido den Hollander
43b68a8dbe ui: Add label for management IP addresses 2012-07-31 23:00:09 +02:00
Wido den Hollander
cc08eee215 plugin: Rename cloud-kvm.jar to cloud-plugin-hypervisor-kvm.jar
This way we stay consistent with naming our plugins.
2012-07-31 22:18:56 +02:00
chip.childers@gmail.com
90c5e89320 Agent directory license headers. 2012-07-31 14:07:01 -04:00
Edison Su
9a9c96df64 Patch fixes file names and imports wherever used, in files introduced in
73be77a4c1877ae7e3613c7562d562ad96cde7ee
I've renamed discover to discoverer to fix the issue. My ant debug fails
with:
     [java] ERROR [utils.component.ComponentLocator] (main:) Unable to
load configuration for management-server from components.xml
     [java] com.cloud.utils.exception.CloudRuntimeException: Unable to
find class: com.cloud.hypervisor.kvm.discoverer.KvmServerDiscoverer

RB: https://reviews.apache.org/r/6239/
Send-by: rohit.yadav@citrix.com
2012-07-31 10:38:11 -07:00
Alena Prokharchyk
721d3ef3dc Fixed listNetworks to return domain level networks when listAll is passed to the request
Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2012-07-31 10:24:09 -07:00
Tomoe Sugihara
9078550073 Fix the agent path according to 7a0a9231c355fee42c67799abe111edcd79998bb 2012-07-31 22:05:04 +05:30
chip.childers@gmail.com
1bad242f7b Adding management server startup to puppet config. 2012-07-31 08:43:50 -04:00
Prasanna Santhanam
3610401edc Fail with non-zero exit code when toc category missing 2012-07-31 17:23:41 +05:30
Prasanna Santhanam
911261a2ce Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-31 16:40:04 +05:30