16130 Commits

Author SHA1 Message Date
Pranav Saxena
ab24e84191 Cpu and Memory overcommit ratio Ui integration 2013-02-22 18:06:59 +05:30
Pranav Saxena
215621daa8 CPU&RAM overcommit ratio uI integration code 2013-02-16 22:01:43 +05:30
Radhika PC
2beb66fd32 Egress Firewall Rules Documentation 2013-02-15 21:31:30 +05:30
Chip Childers
6279433f45 CLOUDSTACK-625: Correcting legal documentation for the require.js file
that was added for the UI plugin feature.
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-15 10:24:16 -05:00
Prasanna Santhanam
05437d0e97 maven pom: put apache cloudstack tools together in umbrella pom
minor pom refactor to put all the tools under one placeholder pom.
Also adds a profile for marvin to run deployDataCenter via mvn options.

$mvn -Pdeveloper,marvin -pl :cloud-marvin -Dmarvin.config=<path/to/config>

OR
$cd tools/marvin
$mvn -Pmarvin -pl :cloud-marvin -Dmarvin.config=path/to/config

will deploy the datacenter using the marvin.config property's value

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-15 20:53:41 +05:30
Hugo Trippaers
1dd40518a4 Make sure initial log messages go somewhere for agent and usage 2013-02-15 15:49:51 +01:00
Rohit Yadav
825c1c17a1 CLOUDSTACK-1066: Add building script to build appliance
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-15 19:51:26 +05:30
Kishan Kavala
7d61ee6e99 CLOUDSTACK-1295 : Added usage unit tests
Fixed Component annontation for usage parsers
Fixed mvn target to run usage
removed UsageServerComponentConfig which is not required
Added region_id to account table in cloud_usage db

Conflicts:
	setup/db/db/schema-40to410.sql
2013-02-15 18:41:28 +05:30
Likitha Shetty
3c764c0be7 CLOUDSTACK-1207. UpdateNetwork API fails with NPE if the network offering is not being updated and is non-persistent. 2013-02-15 17:18:43 +05:30
Koushik Das
bc493bd39b CLOUDSTACK-672: Set VMware cluster max. limit based on HV version
Max. number of hosts in a Vmware clueter is specific to the version of the HV. This limit is read from the hypervisor_capabilities table
2013-02-15 16:19:40 +05:30
Min Chen
bd4661e467 CLOUDSTACK-1137: force reconnect to a disconnected host throws error. 2013-02-14 17:57:41 -08:00
Marcus Sorensen
ddcad148e4 Summary: centos63/package.sh, slightly better version parsing
Description: current package.sh fails if user hasn't downloaded all maven poms
prior to running package.sh. Now we match for something that vaguely resembles
a cloudstack version.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360889840 -0700
2013-02-14 17:57:20 -07:00
Sheng Yang
ca5c6d5d14 CLOUDSTACK-1219, CLOUDSTACK-1220: Fix IPv6 error messages 2013-02-14 16:28:29 -08:00
Min Chen
cf7ac9d6c4 CLOUDSTACK-1277: populating transit password field to UserVmJoinVO in
converting from UserVm to UserVmJoinVO.
2013-02-14 12:03:18 -08:00
Marcus Sorensen
298c5ee06b Summary: Adjust systemvm.iso path for KVM, due to packaging changes
Detail: Removing references to /usr/lib/cloud and /usr/lib64/cloud so that old
systemvm.iso files aren't found by accident. systemvm.iso should exist in
/usr/share/cloudstack-common/vms now.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360860243 -0700
2013-02-14 09:45:57 -07:00
Rohit Yadav
4364cb9784 rat: Fix license for file from recent ui-plugins merge
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-14 17:18:22 +05:30
Rohit Yadav
9e32fc4c83 maven: Fix stray characted in client/pom.xml introduced in 4572bc06
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-14 16:30:24 +05:30
Rohit Yadav
afbc950652 CLOUDSTACK-1272: Fix incorrect annotation for service offering id
Fixes param annotation in:
   api/src/org/apache/cloudstack/api/command/admin/router/UpgradeRouterCmd.java
   api/src/org/apache/cloudstack/api/command/admin/systemvm/UpgradeSystemVMCmd.java
   api/src/org/apache/cloudstack/api/command/user/autoscale/CreateAutoScaleVmProfileCmd.java

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-14 16:30:23 +05:30
Sebastien Goasguen
ec8d204d3d Docs: Fixed typo in nicira plugin guide 2013-02-14 11:31:12 +01:00
Radhika PC
26679e88de Persistent Networks documentation:Reviewed-By: Jessica Tomechak and Likitha Shetty 2013-02-14 15:33:03 +05:30
radhikap
8db8ee71d6 dev guide updates for 4.1
Signed-off-by: radhikap <radhika.puthiyetath@citrix.com>
2013-02-13 23:55:57 -05:00
Mice Xia
fe44e39dfd CS648 ckeck in missing VO file 2013-02-14 10:01:38 +08:00
Likitha Shetty
f0086df0c7 CLOUDSTACK-1134: [EC2 Query API] DescribeSnapshots, 'n' ListVolumes get fired on CS for displaying 'n' Snapshots taken from the same Volume
For snapshots taken from the same volume re-use the response obtained by calling listVolumes
2013-02-13 17:54:23 -08:00
Marcus Sorensen
35cf56862f Summary: KVM - Fix physical net parsing when traffic label points to tagged dev
Detail: If your traffic label points to a bridge that is on a tagged interface
rather than a real physical interface, cloudstack may not parse the physical
interface correctly, bringing up tagged interfaces on the tagged interface.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360798665 -0700
2013-02-13 16:45:18 -07:00
Alex Huang
f542c320d3 Removed a bunch of missing files and useless imports 2013-02-13 15:41:27 -08:00
Edison Su
d346f632c3 add missing file, fix build 2013-02-13 15:27:03 -08:00
Sheng Yang
78ca6ceefe IPv6: Enable dual stack support 2013-02-13 15:09:39 -08:00
Brian Federle
48118a4f9c Add license headers to new JS files 2013-02-13 14:59:01 -08:00
Brian Federle
ce375fa7bd Merge branch 'ui-plugins' 2013-02-13 14:45:17 -08:00
Chiradeep Vittal
5c077f3413 CLOUDSTACK-1265: /etc/init.d/dnsmasq puts pid in /var/run/dnsmasq/dnsmasq.pid
logrotate checks /var/run/dnsmasq.pid instead and may not send SIGUSR2 to dnsmasq to start writing to the new log file instead
2013-02-13 14:33:41 -08:00
Brian Federle
dfaffcebad Merge branch 'master' into ui-plugins
Conflicts:
	ui/index.jsp
2013-02-13 14:03:53 -08:00
Marcus Sorensen
8652e5f87e Summary: Fix hanging references to /var/lib/cloud, changed to /var/cloudstack
BUG-ID: CLOUDSTACK-1201
BUG-ID: CLOUDSTACK-1196
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360786749 -0700
2013-02-13 13:22:28 -07:00
Jessica Wang
4e7da0001d CLOUDSTACK-618: cloudstack UI - API request throttling - for async job action uploadCustomCertificate, make frequency of calling queryAsyncJobResult API based on listCapabilities response. 2013-02-13 11:55:59 -08:00
Jessica Wang
ceb44aca30 CLOUDSTACK-1251: cloudstack UI - zBaremetal - zone wizard - when hypervisor is BareMetal, click Next button in Guest Traffic step will finish the whole process. 2013-02-13 11:55:05 -08:00
Jessica Wang
4b7dbbe5cd CLOUDSTACK-618: cloudstack UI - API request throttling - for async job actions that are not using notification widget, make frequency of calling queryAsyncJobResult API based on listCapabilities response. 2013-02-13 11:53:33 -08:00
Marcus Sorensen
2be44e916d Summary: Change vhd-util check in cloud.spec to point to /usr/share/cloudstack
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360777422 -0700
2013-02-13 10:45:12 -07:00
Mice Xia
9a12756ae4 CLOUDSTACK-684 support vm snapshot 2013-02-14 01:26:30 +08:00
Rohit Yadav
3a0c99b0a4 CLOUDSTACK-710: CitrixResourceBase, if dest dir is not found, mkdir -m 700 -p
This is a security failsafe, so even if destination does not exist we mkdir the path
with 0700 permission. If path exists mkdir -m 700 -p won't do anything.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-13 22:45:32 +05:30
Wei Zhou
2e2ee2f3ed CLOUDSTACK-1088: EnableStaticNat error will clear the data in database
The issue occur in two conditions

(1) If I use two sessions or browsers to EnableStaticNat on CloudStack
UI. one is successful, the other is failed. However, there is no ip in
database.

(2) If I use API call EnableStaticNat several times The first time
succeed, the second failed, the third succeed. the result is
success-fail-success-fail-success-fail, which it is not correct.

Reported-by: Wei Zhou <w.zhou@leaseweb.com>
Reviewed-by: https://reviews.apache.org/r/9254/
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-13 18:43:42 +05:30
Rohit Yadav
8234dfa544 usage: Fix classpath issue for usage server
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-13 16:51:48 +05:30
Rohit Yadav
7401b06cb1 CLOUDSTACK-1070: Don't create HyervisorTemplateAdapter bean, it's already a @Component
The issue was completely different than a spring injection issue

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-13 15:54:42 +05:30
Rohit Yadav
fcb4b7a6a7 CLOUDSTACK-1237: Fix an overriding method that would help find template adapter
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-13 15:19:30 +05:30
Pranav Saxena
f23ec61a32 Revert "Persistent Networks Documentation:Reviewed by - Jessica Tomechak and Likitha Shetty"
This reverts commit eaf7767c8521e88f9d5b6f2865acafd34f9430fe.
2013-02-13 14:47:50 +05:30
Rohit Yadav
0a9af54c9f rat: Fix license for ResourceLimitManagerImplTest.java
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-13 14:32:33 +05:30
Rohit Yadav
93096efc77 maven: build client at the end, fixes path error for console-proxy build target
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-13 13:48:49 +05:30
Radhika PC
eaf7767c85 Persistent Networks Documentation:Reviewed by - Jessica Tomechak and Likitha Shetty 2013-02-13 12:59:54 +05:30
Rohit Yadav
9fd09a7f5f console-proxy: Fix broken build system due to console-proxy moves
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-13 12:56:40 +05:30
Marcus Sorensen
ae2b673e03 Summary: fix cloud-agent KVM calls to cloudstack-agent for centos6.3
BUG-ID: CLOUDSTACK-1234
Bugfix-for: 4.1, master
Reported-by: Rayees Namathponnan
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360736064 -0700
2013-02-12 23:16:22 -07:00
Sheng Yang
15e466c56d Add missing break to applyRules in FirewallManager
Otherwise it would falling through PortForwarding rule.

Seems like a typo after network refactor.
2013-02-12 20:27:31 -08:00
Sheng Yang
2776ad14c8 CLOUDSTACK-1242: Fix inline mode
Network refactor dropped many inline mode codes. I've added at least part of
them back. Now I can create LB rule for inline mode.
2013-02-12 20:27:26 -08:00