Commit Graph

16119 Commits

Author SHA1 Message Date
Kishan Kavala 609c7da383 CLOUDSTACK-1289: Added missing usage command processing for External firewall device. ExternalLoadBalancerUsageManagerImpl should be renamed as ExternalDeviceUsageManagerImpl 2013-02-26 17:33:23 +05:30
Harikrishna Patnala c3a37dd7ff CLOUDSTACK-1293 resetpasswordforVm shows "passsd reset to undefined" 2013-02-26 17:18:30 +05:30
Rohit Yadav c47f685b1f usage: Fix regression build fail from 03fdbfb2, missing closing parenthesis
We've to test our commits, build 'em before committing :)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-26 16:37:08 +05:30
Wei Zhou 03fdbfb291 CLOUDSTACK-962:setAggBytesSent/setAggBytesReceived in NetworkUsageTask when not in case of dailyor hourly
Removed duplicate userstatsdao injection
2013-02-26 16:26:30 +05:30
Rohit Yadav c7935a9ab6 CLOUDSTACK-416: Add XCP 1.6.x in XcpServerDiscoverer.java processConnect
Thanks to Devdeep for pointing this out.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-26 15:34:55 +05:30
Rohit Yadav 6a76c96be1 spring: Remove annotations from interfaces and abstract classes
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit da7c0b1437)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-26 15:26:15 +05:30
Mice Xia 9d57d59e61 fix issue: failed to start vm from iso caused by ClassCastException and NPE 2013-02-26 17:00:05 +08:00
Radoslaw Smigielski 49402d566a scripts: Fix security_group.py handling of args and unknown commands
Checks the args length, doesn't throw IndexError when no args
passed. Also logs to security_group.log when executed with no args or unknown
command.

Review: https://reviews.apache.org/r/9588
Reviewed-by: Rohit Yadav <bhaisaab@apache.org>

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

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-26 14:13:40 +05:30
Rohit Yadav ec0759ae76 CLOUDSTACK-416: Add XCP 1.6.x as supported hypervisor
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 43183893bd)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-26 13:59:08 +05:30
Rohit Yadav 06ed67c776 CLOUDSTACK-1244: Make sure path exists before copying scripts in client/target
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-26 12:13:57 +05:30
Ricardo P. Katz 69370c181f packaging: vhd-util message corrected
Change on cloud.spec for the message about vhd-utils point to the new
location of cloudstack scripts

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-26 11:40:27 +05:30
Sheng Yang 05331583c2 CLOUDSTACK-1332: Enable IPv6 dns in VR 2013-02-25 19:02:59 -08:00
Sheng Yang e06bf6ad2e CLOUDSTACK-1332: Add ip6dns to zone and domainrouter response 2013-02-25 16:55:47 -08:00
Sheng Yang 7c72aa66bd CLOUDSTACK-1332: Pass IPv6 DNS to VR 2013-02-25 16:07:36 -08:00
Sheng Yang 0760fdf6d0 CLOUDSTACK-1332: Add IPv6 DNS for Zone 2013-02-25 16:07:14 -08:00
frank 14a22ab2f5 CloudStack CLOUDSTACK-1382
vm deploy fails with Error "cannot find DeployPlannerSelector for vm"

adding configuration of DeployPlanSelector to nonossComponentContext.xml.in
fixed resolved
2013-02-25 16:05:51 -08:00
Sebastien Goasguen 3014b46c3b Docs: Fixing NFS shares setup 2013-02-25 16:47:54 -05:00
Hugo Trippaers 59b3cbcd3b Package awsapi into the cloudstack-bridge package 2013-02-25 22:24:18 +01:00
Sebastien Goasguen 77f4735f5d Docs: Fix for CS-1300 2013-02-25 14:51:36 -05:00
Sebastien Goasguen f43ca747ed Docs: Fixing issues 2013-02-25 14:31:31 -05:00
radhikap 1477acb56d cloudstack-462
Signed-off-by: radhikap <radhika.puthiyetath@citrix.com>
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2013-02-25 14:13:40 -05:00
Brenn Oosterbaan b97c3957c8 Commit review 9586
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
(cherry picked from commit c30da35811)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-25 14:41:27 +01:00
Hugo Trippaers 10c78d6aa9 Small fix, regression from commit b077065826 2013-02-25 14:18:41 +01:00
Hugo Trippaers 39595d826e Capture stderr and stdout of the jsvc run services (agent and usage)(cherry picked from commit bc4abcf14d)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-25 14:13:27 +01:00
Rohit Yadav b9d876c5ca db: Sync with master, remove rules that are for 4.2
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-25 14:48:30 +05:30
Noa Resare d5a474a91d Have cloud-setup-* tools detect Debian
Reviewed-by: Wido (https://reviews.apache.org/r/9310)

To minimize this change, treat Debian as Ubuntu for now.
(cherry picked from commit ebb7c2e063aa2fd17955dedd993fa678556754c2)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-25 12:30:08 +05:30
Sanjay Tripathi 903aeb9b77 CloudStack-1371 : In case of ResourceAllocationException, server is not returnig any response.
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
2013-02-25 13:38:07 +08:00
David Nalley bc1fa4a4cf adding license header to make RAT happy 2013-02-24 22:33:56 -05:00
Ricardo P. Katz 0ad9ae7a97 Changed the cloud.spec to use the right version on cloudstack-common requirement 2013-02-24 20:19:56 -05:00
Kelven Yang 4f38d745b8 CLOUDSTACK-1339: Using Sping interface injection pattern to avoid using CGLIB proxying mode. Spring with CGLIB proxying will concflict with CGLIB usage in CloudStack DB code, CloudStack CGLIB usage can cause Spring to lose tack of its proxied object and therefore creates a massive amount of objects in memory 2013-02-24 13:31:42 -08:00
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