16184 Commits

Author SHA1 Message Date
Rohit Yadav
80d58b6c73 CLOUDSTACK-1317: Bump CloudStack package version to 4.2.0-SNAPSHOT in all poms
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 16:42:56 +05:30
Rohit Yadav
1121977513 packaging: Don't depend on cloudstack snapshot version, copy using wildcard path
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 16:42:51 +05:30
Rohit Yadav
35b83b2adc CLOUDSTACK-1317: In DatabaseUpgradeChecker, add upgrade path to 4.2.0
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 16:42:27 +05:30
Rohit Yadav
c8a2eb5387 CLOUDSTACK-1312: Remove remaining db schema diversions since 4.0
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 15:52:44 +05:30
Chiradeep Vittal
091682cf67 CLOUDSTACK-1066: remove useless config.dat 2013-02-19 23:36:08 -08:00
Sheng Yang
483a11ce95 IPv6: Fix build of master
All the table column should be modified before view was added
2013-02-19 21:13:12 -08:00
Kelven Yang
73d5926d0f CLOUDSTACK-1333: enable logging at Spring startup phase 2013-02-19 20:48:10 -05:00
Sheng Yang
4d80b71ec0 IPv6: Revoke the change of create-schema.sql
The change is in scheme-40to410.sql now.
2013-02-19 16:46:03 -08:00
Kelven Yang
2b76114bba CloudStack-1267: initialize log4j in agent main() 2013-02-19 19:24:20 -05:00
Sheng Yang
817548bac1 IPv6: Add ipv6 for user vm view 2013-02-19 15:50:55 -08:00
Sheng Yang
da75e4ac8a IPv6: Add IPv6 for domain router view 2013-02-19 15:50:23 -08:00
Prachi Damle
8296d41b5b CLOUDSTACK-1330: ec2-run-instances - When -n option is used to deploy multiple Vms API returns error even though few of the Vms have been deployed successfully.
Changes:
- Instead of throwing out error, return the response containing the info about the instances that were launched.
2013-02-19 15:12:06 -08:00
Marcus Sorensen
11d5eadc72 Summary: Re-adjusting tomcat memory settings per Rohit's emails
Detail: adjusting MaxPerm to 800, Perm to 512.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1361312885 -0700
2013-02-19 15:30:42 -07:00
Marcus Sorensen
5b94646d5e Summary: Increase tomcat servers memory size per dev list discussion
Detail: Per Kelven Yang when Javelin was merged into master/4.1, the memory
settings for management server should be a heap of 2g and a max perm size of
512m, due to increased footprint introduced by spring framework/Javelin.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1361311099 -0700
2013-02-19 15:00:34 -07:00
Sheng Yang
05069bb4d9 Add db upgrade path for ipv6 2013-02-19 12:10:09 -08:00
Chip Childers
9333f979db Adding legal docs for esapi-2.0.1.jar to the package LICENSE
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-19 13:50:09 -05:00
Chip Childers
58bcd0eefb Adding springsource artifacts to package legal docs.
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-19 13:22:42 -05:00
Chip Childers
e4baff2281 Adding legal docs for java-ipv6.jar
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-19 13:00:11 -05:00
Chip Childers
018554ce29 Fixed strange duplication of content within the tools/whisker/LICENSE
file.
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-19 12:57:25 -05:00
Gavin Lee
07102fc8ab CLOUDSTACK-1318:Fix build devcloud issue 2013-02-19 23:22:16 +08:00
Pranav Saxena
fb689e77f1 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2013-02-19 16:47:52 +05:30
Pranav Saxena
cead6d2fcf Merge branch 'LDAP-UI' 2013-02-19 16:44:28 +05:30
Prasanna Santhanam
edac894f31 spring changes for simulator component
allow spring to do DI for simulator plugin. componentContext.xml will
have simulator components disabled by default.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-19 16:40:57 +05:30
Pranav Saxena
bff3d8ac9a LDAP-UI integration code 2013-02-19 16:40:47 +05:30
Abhinandan Prateek
f2b97db0f9 CLOUDSTACK-1172: LDAP enhancements 2013-02-19 15:36:39 +05:30
Kishan Kavala
c94a75c0a6 CLOUDSTACK-752: Removed 1 private gateway for VPC limitation.
Verified that more than 8 private gateways can be created.
2013-02-19 14:15:02 +05:30
Rohit Yadav
e85b1cbe8f CLOUDSTACK-1066: Fix README for building systemvm appliance
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 14:01:50 +05:30
Rohit Yadav
ca432fe6b7 db: Fix upgrade paths to 4.1.0
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 13:36:21 +05:30
Rohit Yadav
e24e6d747c CLOUDSTACK-1066: Make appliance export verbose, put archived images in dist/
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 13:25:23 +05:30
Prasanna Santhanam
447b2d9c95 listroutercmd: response should be set to the name of router
host name of router returned instead of the name of the router.
correcting the setter.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-19 13:22:21 +05:30
Rohit Yadav
a5f77d348d CLOUDSTACK-1066: RVM needs a login shell, fix build.sh to start with a login shell
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 12:31:32 +05:30
Rohit Yadav
a6f5052958 CLOUDSTACK-1066: Wait for appliance to shutdown before exporting to various fmts
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 11:42:34 +05:30
Rohit Yadav
c97653b42e systemvmtemplate: Clean any old vm before building appliance
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-18 21:33:15 +05:30
Kishan Kavala
cc2a3c5498 CLOUDSTACK-651: Removed 7 nics limitation for VR on XenServer
# of nics can be configured using global param xen.nics.max. Param defaults to 7
Added new param to upgrade schema.
2013-02-18 20:30:03 +05:30
Rohit Yadav
a4ed061dbf systemvmtemplate: Fix build.sh to export ova, vhd, qcow2 and vhd-hyperv
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-18 18:52:03 +05:30
Rohit Yadav
ab63a433ec systemvmtemplate: Fix definitions and partition map
- Fix definitions, create vhd (virtual disk) format (reusable for hyperv)
- Fix partition maps in preseed, create /boot, /home, /var, /usr, /opt etc.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-18 18:52:02 +05:30
Radhika PC
2327831f7f cloudstack-991
Signed-off-by: Radhika PC <radhika.puthiyetath@citrix.com>
2013-02-18 18:03:39 +05:30
Koushik Das
ed757f24ae As part of the upgrade changes, some db changes got removed from create-schema.sql.
Moved the changes to the corresponding upgrade sql.
2013-02-18 15:25:09 +05:30
Prasanna Santhanam
a4510efc24 maven: parent pom of tools/* projects is tools/pom.xml
Fixes broken builds for tools

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-18 10:26:49 +05:30
Rohit Yadav
31d6f03308 db: Remove create-schema-view.sql, views are created using schema-40to410.sql
- Remove create-schema-view.sql, views are created when mgmt server does rolling
  upgrade from 4.0.0 to 4.1.0
- Fix reference and usage of the sql file in scripts

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-17 23:49:27 +05:30
Rohit Yadav
16e81130cc db: Fix developer's deploydb and cloud-setup-databases for rolling update
- Fix developer prefill to use 4.0's schema
- Fix developer/pom.xml and cloud-setup-databases to not run create-schema-view,
  the upgrade path is configured to do a rolling update and set it up

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 17:18:42 +05:30
Rohit Yadav
c63dbb8804 db: Refactor new change in create-schema/premium to schema40-410.sql
- Move changes since 4.0 to schema upgrade path (schema40-410.sql)
- Comment out some table names where we're trying to copy uuid from id, they
  don't exists
- We don't run above step for tables which are newly created for 410 and don't
  exist in 4.0 for example autoscale related ones, code is commented and not removed
- Drop indexes which are removed before dropping the column
- Comment out insertion, as for default region we're inserting the same in
  code, in ConfigurationServerImpl:createDefaultRegion(), fix same in premium

Testing;
Deployed fresh 4.0 database, compiled and ran mgmt server. It did a smooth
rolling upgrade from 4.0 to 4.1.0 with no database exceptions or any other db error.

TODO:
- 4.2.0 relates changes like ipv6 should go into its schema-410to420.sql

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 17:12:26 +05:30
Rohit Yadav
8094e933b0 ApiServer: Get rid of finding system account and user at init() time
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 17:09:37 +05:30
Rohit Yadav
295b327281 client: In pom.xml fix jetty:run to include utilities/scripts/db/ in its classpath
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 13:31:59 +05:30
Rohit Yadav
0e354473f7 db: Add stubs for Upgrade410to420, schema-410to420.sql and schema-410to420-cleanup.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 13:31:58 +05:30
Rohit Yadav
44c8a33cf2 db: Fix commas which should be dots in create-schema, fix debug msg
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 13:31:46 +05:30
Rohit Yadav
f2ae6dcda9 db: Remove and merge 4.1-new-db-schema.sql to schema-40to410.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 12:44:45 +05:30
Rohit Yadav
46ab973143 db: Fix Upgrade40to41 and add cleaning path schema-40to410-cleanup.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 12:28:00 +05:30
Likitha Shetty
87b668b71b CLOUDSTACK-863: Fix Non-printable characters in api call
Non-printable characters results in empty pages for all users loading the
corrupted object in the web interface. It also results in the API call results
getting truncated with an error when it encounters the non-printable characters.
Every decoded parameter value is checked for control character using OWASP's
ESAPI library.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 11:54:12 +05:30
Prachi Damle
a621048869 CLOUDSTACK-1307 Noticed NPE when we put host in maintenance mode in clustered management setup
Changes:
   - Use of class variable of type GenericSearchBuilder causes issues when multiple threads invoke this method to findCapacity
   - Changing the scope of the variable to be local to these methods.
2013-02-15 20:38:19 -08:00