16879 Commits

Author SHA1 Message Date
Prasanna Santhanam
3075d0cf56 marvin: argparse enhancement and unit-test-xml-reporting dependency removed
1. deployAndRun will use the more modern argparse module
2. improving logging within the remoteSSHClient, moving to debug and
default logging to INFO
3. removing dependance on the xmlrunner. use nose --with-xunit instead

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-02 18:31:29 +05:30
Prasanna Santhanam
7ee602beaf simulator: removing cyclic dependency from simulator
The database creator caused a cyclic dependecny in the simulator which
is removed with this commit. Additionally the simulator profile is now
merged with developer profile and a test for server health is included
2013-04-02 18:31:29 +05:30
Prasanna Santhanam
8e917b1ad3 removing unused commented dependencies
removing the spring related dependencies that were commented out.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-02 18:31:29 +05:30
Sateesh Chodapuneedi
009749fb79 CLOUDSTACK-301 Nexus 1000v DVS integration is not functional
Moved validateVSMCluster method from CiscoNexusVSMDeviceManagerImpl to CiscoNexusVSMElement.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-04-02 11:59:02 +05:30
Pranav Saxena
3d8afb0cfb CLOUDSTACK-1887:removing the host option from the scope field for primary storage 2013-04-02 16:21:25 +05:30
Mice Xia
4edef1fd30 fix CLOUDSTACK-1700 2013-04-02 17:36:51 +08:00
Mice Xia
dedec164e8 fix CLOUDSTACK-1698 2013-04-02 17:36:51 +08:00
Pranav Saxena
8d34b5809d CLOUDSTACK-1887:removing the host option from the scope field for primary storage 2013-04-02 14:55:29 +05:30
Hugo Trippaers
df6b97c194 Disabling broken test, see CLOUDSTACK-1884. Please revert this commit once the test itself is fixed. 2013-04-02 10:02:57 +02:00
Wido den Hollander
ea0daeaee3 CLOUDSTACK-1158: Wrap qemu-img into it's own util
Signed-off-by: Edison Su <sudison@gmail.com>
2013-04-01 16:37:58 -07:00
Phong Nguyen
aa79ccf985 CLOUDSTACK-922: LXC Support in Cloudstack.
Signed-off-by: Edison Su <sudison@gmail.com>
2013-04-01 15:41:42 -07:00
Pradeep Soundararajan
6eac422943 CLOUDSTACK-1689: Adding ipset as part of agent install for debian
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-01 15:33:23 +01:00
Jayapal Reddy
8dd0b7747b Mulitiple ip address per nic support for advacned shared networks
Description:
Changes added for supporting multiple ip address per nic for shared networks

Testing Done:
Tested adding and removing the ip for nic using the APIs
2013-04-01 16:24:48 +05:30
Bharat Kumar
355589c1f0 CLOUDSTACK-1395 Upgrade script for cpu and ram overcommit.
It sets the overcommit values of all the clusters to 1.
2013-04-01 10:43:16 +05:30
Bharat Kumar
7a3a1c792a Cloudstack-1739
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-04-01 10:36:19 +05:30
Wido den Hollander
45eb9fdf8b git: Add debian packaging files to .gitignore 2013-03-31 17:02:08 +02:00
Wido den Hollander
44a0facd38 debian: Copy management server configuration from old location
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Wido den Hollander
35e5b8e3f8 tomcat: Change some /etc/cloud paths to /etc/cloudstack
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Wido den Hollander
80da4d5baf CLOUDSTACK-1490: deb packaging tomcat fixes
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Wido den Hollander
bc1ce57c9b debian: Update the init script for the management server
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Wido den Hollander
29baacd120 debian: Include jasypt in the cloudstack-common package
This is required for the cloud-install-sys-tmplt installer.

Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Marcus Sorensen
5a16e70de9 CLOUDSTACK-1846, CLOUDSTACK-1845 - KVM Storage, sometimes KVMHA will remount
deleted NFS pools, causing failures when defining new storage pools. Sometimes
a storage pool has never been used on a host, and getStoragePool fails when
copying templates or in storage migration. deleteStoragePool(pool) often fails
silently, leaving no pool defined in libvirt, but a mountpoint left behind.
This patch handles some of these exceptions and brings forward any issues via
logging.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1364603486 -0600
2013-03-29 18:31:26 -06:00
Alena Prokharchyk
cf72aa3274 Fixes/improvements for VPC feature:
1) Added comments to VPC/VPCService/VPCManager interfaces
2) Moved VPC offering related methods from VpcService to the new interface - VpcProvisioningService
3) Fixed static nat creation in the VPC - used to result in NPE due to invalid method referencing while obtaining VPC VR information
2013-03-29 16:56:01 -07:00
Kelven Yang
f8471e545f CLOUDSTACK-1746: fix logging warning in usage server 2013-03-29 13:44:12 -07:00
Kelven Yang
5782abf8f8 Update unit test configuraitons to new custom Spring AOP 2013-03-29 11:12:36 -07:00
Kelven Yang
2654e645c7 Fixup after merging 4.1 fixes to master 2013-03-29 11:12:36 -07:00
Kelven Yang
9dcaf508c9 CLOUDSTACK-1825: Update AWSAPI server's XML configuration 2013-03-29 11:12:36 -07:00
Kelven Yang
c3c7e7e570 CLOUDSTACK-1746: update usage server startup configuration 2013-03-29 11:12:36 -07:00
Kelven Yang
85971b5194 CLOUDSTACK-1818: make DababaseCreator ready to invoke DatabaseUpgradeChecker, adjust Component startup sequence for integrity checkers
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-29 11:12:36 -07:00
Kelven Yang
3ab744d100 CLOUDSTACK-1795: implement custom AOP to fully support legacy CloudStack AOP semantcis
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-29 11:12:36 -07:00
Kelven Yang
95011d6bf3 CLOUDSTACK-1818: add a missing file that is missed in previous patch 2013-03-29 11:12:36 -07:00
Kelven Yang
8bb0990144 CLOUDSTACK-1795: implement custom AOP to fully support legacy CloudStack AOP semantcis (rebase fixups) 2013-03-29 11:12:36 -07:00
Kelven Yang
16216720c6 CLOUDSTACK-1276, CLOUDSTACK-1729: Remove autoscanning, ensure adpater execution order in runtime 2013-03-29 11:11:20 -07:00
Alena Prokharchyk
e00f22df8a CLOUDSTACK-240: added id/uuid fields to remote_access_vpn table and corresponding VO/Dao objects. The DB upgrade is covered as well. Now tags can be created for the VPN object 2013-03-29 10:40:28 -07:00
Pranav Saxena
6092721a22 Zone wide primary storage is not supported for Xenserver as the Hypervisor but for KVM only 2013-03-29 20:49:06 +05:30
Pranav Saxena
5259a13e41 Zone wide primary storage is not supported for Xenserver as the Hypervisor but for KVM only 2013-03-29 20:45:44 +05:30
Kanzhe Jiang
ee3fd18435 BigSwitch networking plugin update
Update BigSwitch Plugin:

. UI support for adding BigSwitch controller as a network service provider
. Correct the message format between the plugin and the controller
. Add Health check API

Test to add a BigSwitch controller as a network service provider and view.
Test to implementation of guest network on the controller
Test to associate VM to its guest network
2013-03-29 18:54:48 +05:30
Pranav Saxena
690c31290b CLOUDSTACK-767:nTier Apps 2.0 : Allow more than one Private GW to a VPC 2013-03-29 18:00:42 +05:30
Pradeep
5a66ec35ad CLOUDSTACK-1689: KVM agent install.sh should install ipset command
Added ipset in cloud.spec as part of agent install.

Signed-off-by: Pradeep <pradeep.soundararajan@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-29 16:39:35 +05:30
Hugo Trippaers
9a5bf78c3e Better error handling for some corner cases
Make the exceptions more descriptive so admins can pinpoint the issue
easier.
2013-03-29 12:06:03 +01:00
Hugo Trippaers
95fce11215 CLOUDSTACK-1156 Fix small typo 2013-03-29 12:05:58 +01:00
Murali Reddy
48311363d6 CLOUDSTACK-1834: Events are not generated for registerUserKeys(),
Enabling account and Editing account.
2013-03-29 15:54:00 +05:30
Murali Reddy
b585fa11c1 removing @Autowired, which is not JSR complaint.
initializing the bean 'GlobalLoadBalancingRulesServiceImpl' through the componentContext.xml
2013-03-29 15:53:59 +05:30
Anshul Gangwar
6a7156ad9a CLOUDSTACK-712: Feature Syslog Enhancements
Signed-off-by: Anshul Gangwar <anshul.gangwar@citrix.com>
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-03-29 09:53:05 +05:30
Sanjay Tripathi
2c176ab9ea CLOUDSTACK-1592:[UI] Add support to limit newly added resourcetypes 2013-03-29 14:18:14 +05:30
Prasanna Santhanam
d13c18516a CLOUDSTACK-1841: Missing cloud.configuration stmts in upgrade
Following global configurations introduced b/w 3.0.2 and 4.1 were
missed.

concurrent.snapshots.threshold.perhost | NULL
network.ipv6.search.retry.max | 10000
traffic.sentinel.exclude.zones |
traffic.sentinel.include.zones | EXTERNAL

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-29 13:25:20 +05:30
Rohit Yadav
94de31ebad api: Fix ListNicsCmd's s_name, it should have a response suffix
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-29 11:45:19 +05:30
Sanjay Tripathi
18695276f7 CLOUDSTACK-1156: Limit Primary and Secondary storage for domain/accounts
Addition of two new resource types i.e. Primary and Secondary storage space in the existing pool of
    resource types.
    Added methods to set the limits on these resources using updateResourceLimit
    API command and to get a count using updateResourceCount. Also added calls in the
    Templates, Volumes, Snapshots life cycle to check these limits and to increment/decrement the new
    resource types

    Resource Name          :: Resource type number
        Primary Storage               10
        Secondary Storage             11

    Also added jUnit Tests for the same.
Reviewed by : nitin mehta<nitin.mehta@citrix.com>
2013-03-29 11:26:38 +05:30
Marcus Sorensen
d6e11f25ac CLOUDSTACK-1844 - fix typo in agent pre-script to allow copy of old configs
to new config location

Reported-by: Sangeetha Hariharan (JIRA)
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1364522608 -0600
2013-03-28 20:03:28 -06:00
Jessica Wang
4534dafba1 CLOUDSTACK-1840: cloudstack UI - VM Wizard - fix a bug that the first parameter in jQuery.grep() should not be null. 2013-03-28 16:23:34 -07:00