Commit Graph

16089 Commits

Author SHA1 Message Date
Sheng Yang 22cdfe3da1 IPv6: Enable specifying ipv6 address in DeployVMCmd 2013-02-22 14:23:54 -08:00
radhikap f0fb2e0f7d resize volume
Signed-off-by: radhikap <radhika.puthiyetath@citrix.com>
Signed-off-by: Joe Brockmeier <jzb@zonker.net>
2013-02-22 08:52:05 -06:00
Rohit Yadav 7da92314ad CLOUDSTACK-1355: Don't check foreign key constraint during db upgrades
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked partially from commit 54f7933f11)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-22 19:30:07 +05:30
Mice Xia 3e29864925 CloudStack CLOUDSTACK-774 add baremetal related class declaration in nonossComponentContext.xml 2013-02-22 15:54:53 +08:00
Mice Xia 8a6d0ffda6 add missing license header reported by rat 2013-02-22 13:10:22 +08:00
Prachi Damle 96a98f5a71 CLOUDSTACK-1367 NPE noticed in logs while AgentMonitor is monitoring the host ping interval
Added null check. If the host is not found, we dont ping anymore.
2013-02-21 17:42:20 -08:00
Jessica Wang 917d6242e3 CLOUDSTACK-1319: cloudstack API - CreateVpnCustomerGateway API: correct parameter type on server-side. 2013-02-21 17:04:56 -08:00
Sheng Yang 1f64917fcc CLOUDSTACK-1303: Fix NPE when extend vlan with ipv4 only 2013-02-21 16:45:15 -08:00
frank 172de30341 CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

remove workaround for unable to deploydb
remove wrongly added region upgrade entries
2013-02-21 15:39:15 -08:00
frank 5f0bb8ab29 CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

pass host id to baremetal discover when mgmt loads existing hosts
2013-02-21 15:39:15 -08:00
frank 2e069ad16b CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

able to start vm
2013-02-21 15:39:15 -08:00
frank 10afc3b571 CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

adding missing scripts back
2013-02-21 15:39:15 -08:00
frank 241d05e685 CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

fixing bugs to align to new code base
2013-02-21 15:39:15 -08:00
Prachi Damle 42d9cc4439 CLOUDSTACK-1362: EC2 dns-name filter support for EC2 describeInstances API is broken
Mapped CS UserVm 'name' propertyto the dns-name value to filter out the results.
2013-02-21 14:51:26 -08:00
Sheng Yang 540f68f4c3 CLOUDSTACK-1288: Fix regression on remove LB rules
It's a regression caused by:

   commit 69d24545c4
   Author: Murali Reddy <murali.reddy@citrix.com>
   Date:   Fri Feb 8 18:50:18 2013 +0530

       CLOUDSTACK-1208: Failed to shutdown guest network

       Firewall manager was being used instead of LoadBalancingRules manager
       while applying the load balancer rules in shut down network. Changing it
       to LoadBalancingRules manager.

The parameter transferre to applyRules() should be lbRules, rather than the lbs
object.
2013-02-21 14:45:52 -08:00
Kelven Yang e219ef951b CLOUDSTACK-1362: Put a workaround fix to set excutable attribute of injectkys.sh at runtime 2013-02-21 14:32:47 -08:00
Hugo Trippaers aea5b268b4 Prachi's commit 20a747601c introduced a
new call to network.getPhysicalNetworkId() which wasn't mocked yet in
the nvp plugin unittests.
2013-02-21 12:27:53 +01:00
Pradeep Soundararajan 8b2aabe687 Commit review 9409 Added a global package name in the packaging script
Signed-off-by: Hugo Trippaers <trippie@gmail.com>
(cherry picked from commit 3279b41465)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-21 10:47:15 +01:00
Rohit Yadav 759b301341 CLOUDSTACK-1347: Don't enforce not null rule on queue_proc_time of sync_item_queue
In c63dbb8804 I removed the rule from create-schema:
-  `queue_proc_time` datetime COMMENT 'when processing started for the item',

But, upgrade path schema-40to410.sql had a different rule which caused the bug:
+ALTER TABLE `cloud`.`sync_queue_item` ADD `queue_proc_time` DATETIME NOT NULL
COMMENT 'when processing started for the item' AFTER `queue_proc_number`;

In this fix we just revert to whatever rule was defined in create-schema as the
developer may have forgetten to fix same rule in create-schema and upgrade path.
This commit can be reverted or the code be fixed if we want that queue_proc_time
cannot be null.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 4e72d84194cb79f5f067fbe4b2c874d36d2ae0e7)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-21 15:02:13 +05:30
Sheng Yang e4b83993a9 IPv6: Update java-ipv6 dependency to 0.10 2013-02-20 18:41:32 -08:00
Prachi Damle e6626973ed CLOUDSTACK-1346: Check to see if external devices are used in the network, is hardcoded for specific devices
- Changes the check to list all providers of a network and check if it is an external provider
2013-02-20 15:36:01 -08:00
Jessica Wang 9ba0f10ff1 CLOUDSTACK-1343: cloudstack UI - baremetal - enable baremetal providers who are selected in the network offering. 2013-02-20 15:09:41 -08:00
Prachi Damle 3c02af0cdf CLOUDSTACK-1344 Typo in use.external.dns setting description
Fixed the typo.
2013-02-20 12:01:22 -08:00
Chip Childers 86ce4c9ab1 Updating the java-ipv6 legal docs to reflect the newly added NOTICE and copyright statements for version 0.10
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-20 14:51:39 -05:00
Prachi Damle 20a747601c CLOUDSTACK-1331: Upgrade fails for a 2.2.14 Zone having multiple guest networks using network_tags and Public Vlan
Changes:
-We need to update the physical_network_id for public vlans.
-Physical network ID should be retrieved from the network if present.
2013-02-20 11:25:36 -08:00
radhikap cc72218975 cloudstack-806
Signed-off-by: radhikap <radhika.puthiyetath@citrix.com>
2013-02-20 10:23:05 -05:00
Chip Childers 46df530ad1 CLOUDSTACK-1341: Corrected the URL for the KEYS file
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-20 10:16:50 -05:00
Rohit Yadav 8d9412492c CLOUDSTACK-1312: Fix diversions between create-schema since 4.0 for 4.1 release
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 904561a1b0b969052286b7af0602465feb296d70)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 15:51:21 +05:30
Rohit Yadav 55271ab9e9 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>
(cherry picked from commit 31d6f03308)

Conflicts:
	setup/db/create-schema-view.sql

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 15:02:05 +05:30
Rohit Yadav 8d1c460448 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>
(cherry picked from commit 16e81130cc)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 15:00:39 +05:30
Rohit Yadav 7ce22fc2b2 db: Fix commas which should be dots in create-schema, fix debug msg
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 44c8a33cf2)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 14:57:05 +05:30
Rohit Yadav d427e1ae0d db: Remove and merge 4.1-new-db-schema.sql to schema-40to410.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit f2ae6dcda9)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 14:56:37 +05:30
Rohit Yadav 12b439baa6 db: Fix Upgrade40to41 and add cleaning path schema-40to410-cleanup.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 46ab973143)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 14:52:37 +05:30
Sheng Yang 373c927a1e IPv6: Fix db upgrade path
All the table column should be modified before view was added
2013-02-19 21:23:59 -08:00
Kelven Yang cc58b7b85a CLOUDSTACK-1333: enable logging at Spring startup phase 2013-02-19 20:49:14 -05:00
Kelven Yang f91bf6b73a CloudStack-1267: initialize log4j in agent main() 2013-02-19 19:22:10 -05:00
Sheng Yang 81db0c2076 IPv6: Add ipv6 for user vm view 2013-02-19 15:49:24 -08:00
Sheng Yang f3dae81daa IPv6: Add IPv6 for domain router view 2013-02-19 15:49:24 -08:00
Prachi Damle f900d0bc71 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:15:27 -08:00
Prachi Damle 378827efed 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-19 15:15:00 -08:00
Marcus Sorensen 27479d569a 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:28:05 -07:00
Marcus Sorensen 2bbbe09098 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 14:58:19 -07:00
Sheng Yang 87bb4dbff0 Add db upgrade path for ipv6 2013-02-19 11:54:43 -08:00
Chip Childers 865c2cbce6 Adding springsource artifacts to package legal docs.
Signed-off-by: Chip Childers <chip.childers@gmail.com>

Conflicts:

	tools/whisker/LICENSE
	tools/whisker/descriptor-for-packaging.xml

Also fixed the ordering for where we put java-ipv6.jar.
2013-02-19 13:29:36 -05:00
Chip Childers 12630b4f09 Adding legal documentation for the Java IPv6 library
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-19 12:39:05 -05:00
Rohit Yadav 2c102ca0e5 db: Fix upgrade paths to 4.1.0
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit ca432fe6b7)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 14:02:48 +05:30
Prasanna Santhanam b51ee1819a CLOUDSTACK-1320: listroutercmd: response should be set to the name of router
host name of router's resident host returned instead of the name of the
router. correcting the setter.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-19 13:23:32 +05:30
Radhika PC 9cb9f45a04 CLOUDSTACK-1313
Signed-off-by: Radhika PC <radhika.puthiyetath@citrix.com>
Signed-off-by: Joe Brockmeier <jzb@zonker.net>
2013-02-18 15:33:02 -06:00
Radhika PC 05555e7417 cloudstack-991
Signed-off-by: Radhika PC <radhika.puthiyetath@citrix.com>
2013-02-18 18:01:38 +05:30
Rohit Yadav cb83c23484 ApiServer: Get rid of finding system account and user at init() time
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 8094e933b0)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-17 00:24:58 +05:30