Commit Graph

19063 Commits

Author SHA1 Message Date
Alena Prokharchyk cd7e21b6b1 CLOUDSTACK-236: log uuid instead of actual db id, in the updateNetworkOffering method 2013-07-02 10:19:49 -07:00
Prasanna Santhanam e950b3a9fa Only print debug message when the planner fails to disperse
User Dispersion is a best effort of deployment planning and cannot
always guarantee the dispersion logic will work. However this does not
fail the deployment. Adjust the test so as to print a debug and exit
instead of fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 43f31dcc66)
2013-07-02 19:21:15 +05:30
Prasanna Santhanam 6e399cc906 Cleanup list corrected
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 46bd2f8a28)
2013-07-02 19:21:15 +05:30
Gaurav Aradhye 3b2756974a CLOUDSTACK-3168: Resolved 'Object NoneType' issue.
Replaces ipaddress by ipaddress.ipaddress wherever required

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b8d876fff8)
2013-07-02 19:21:14 +05:30
sanjeevneelarapu 8a41322454 assertion fails because cluster could be None
Object is being used in one of the Assert statements however it is not
callable. Fixed it.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 479f89ca3c)
2013-07-02 19:21:14 +05:30
Kishan Kavala 154618b75f CLOUDSTACK-3198: HashSet used for storing ACL rules doesn't maintain the order. Added rules directly to result string array after sorting. 2013-07-02 18:51:10 +05:30
Sateesh Chodapuneedi a52bf1b641 CLOUDSTACK-3152 addVmwareDc API call fails if called more than once to add same VMware DC to same cloudstack zone.
Check if the associated VMware DC matches the one specified in API params. This check would yield success as the association exists between same entities (zone and VMware DC)
This scenario would result in if the API addVmwareDc is called more than once with same parameters. For such scenario, return success response with VmwareDatacenter object read from database. Also returns success even if the zone has resources (clusters) already.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-02 18:25:41 +05:30
Murali Reddy 93090aa7c5 CLOUDSTACK-1959: GSLB: add capability to provide weights to the sites
involved in the GSLB

add weights to each site participating in the GSLB. Traffic will be load
balanced across the sites based on the weigths associated with each
site. If not specified weight of site is defaulted to 1.
2013-07-02 17:57:00 +05:30
Pranav Saxena 7e8234f7fe scale up vm/systemvm/routerVM response handline 2013-07-02 15:46:17 +05:30
Sheng Yang 1b82ca2a7a Baremetal: Move list APIs to the correct location 2013-07-01 15:19:13 -07:00
Min Chen de767327b2 CLOUDSTACK-3277: Remove unused PrimaryDataStoreEntityImpl class 2013-07-01 13:58:55 -07:00
Sanjay Tripathi af4eb22a65 CLOUDSTACK-3189: Primary storage usage is not getting decremented after deleting the DATA volumes.
When a volume is created the resource usage for it gets incremented. If it is deleted without being
attached to a volume, the decrement doesn't take place. Fixed the delete volume code to decrement
resource usage for a volume in allocated state too.
2013-07-02 00:39:27 +05:30
Alena Prokharchyk b1a34ef335 41-42 DB upgrade: fixed physicalNetworkUpdate method - one of the preparedStatement elements wasn't set 2013-07-01 11:54:30 -07:00
Laszlo Hornyak c94310ca3f removed CleanupDelegate
It did not have an implementation

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-07-01 20:22:51 +02:00
Murali Reddy 6a7369b20b CLOUDSTACK-3287: [GSLB] API "updateGlobalLoadBalancerRule" is not
recognised by CloudStack

added api to managementServerImpl and ensure glsb config is applied to
gslb service providers
2013-07-01 23:47:33 +05:30
Rajesh Battala 160b493285 CLOUDSTACK-2571 Zone Wide Primary Storage blocker issues while Enabling in Maintenance State
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-01 10:18:01 -07:00
Sateesh Chodapuneedi 265c00dcfc CLOUDSTACK-3279 Need mechanism to detect if hotadd for cpu/memory is supported per a specific guest OS supported by VMware.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-01 22:22:09 +05:30
Daan Hoogland 216e374993 readibilty of log- and exception messages
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 639592f3b7)
2013-07-01 20:18:14 +05:30
Sanjay Tripathi 58e69704ea CLOUDSTACK-2288: NPE while creating volume from snapshot when the primary storage is in maintenance state.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ffd5f1a777)
2013-07-01 20:18:14 +05:30
Murali Reddy 1032d5c26a CLOUDSTACK-3282:[GSLB] Unable to add multiple LB rules to same GSLB rule
-fixing regression due to adding GSLB monitor for GSLB service

-code to add/delete GSLB monitor and GSLB service-monitor binding is
made idempotenet so as to succeed if the resource exists.
2013-07-01 19:01:48 +05:30
Sebastien Goasguen c814cfbb80 CLOUDSTACK-3300: small fix in 4.2 branch again 2013-07-01 06:45:00 -04:00
Sebastien Goasguen 9c4719fca7 resolving some merge conflicts in docs 2013-07-01 06:43:34 -04:00
Sebastien Goasguen 4143137a97 CLOUDSTACK-3300: little fix for doc build in 4.2 2013-07-01 06:35:20 -04:00
Radhika PC e600d7cb61 CLOUDSTACK-3300: Adding patches from cloudstack-1313 2013-07-01 12:02:59 +02:00
Prasanna Santhanam 01debd59d3 Fix injection of datastoreproviders in nonoss context
the datastore provider references are not in application context anymore
and have been moved to respective componentCOntexts. Plug them in by
default for nonoss server to startup successfully.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-01 13:48:24 +05:30
Rayeesn 9b722f4ccc Adding axis2.xml to cloudstack-bridge/webapps/awsapi/WEB-INF/conf as part of defect CLOUDSTACK-2927 2013-07-01 11:50:25 +05:30
Prasanna Santhanam cb1d6eaa0e Fix attr plugin import and class reference
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit e7fe43567bef589a128a03f49db8cf8e7ebd7b3c)
2013-06-30 21:43:39 +05:30
Prasanna Santhanam 48a2c761b4 pep8 fix
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3684bafd37)
2013-06-30 13:58:52 +05:30
Prasanna Santhanam 154c24e561 Fix tab/space issues
Several test failures occurred due to tab issues

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c7315975d2)
2013-06-30 13:21:08 +05:30
Prasanna Santhanam 8244ae3ab6 Fix test_assign_vm to be discovered by nose testrunner
the nosetests runner will not discover tests unless the tests start with
the test_ prefix. When wrapping by the log_test_exceptions method the
name of the method changes and is not test_ anymore causing the runner
to skip the test. Included the __doc__ string as well so the runner can
report results correctly.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2a51c3e2c9)
2013-06-30 12:52:38 +05:30
rayeesn 7791454516 Reduced resource usage in vpc test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit e14f355a0b)
2013-06-30 11:17:14 +05:30
Ian Duffy eb0552db0b Add docs for plugin development 2013-06-29 15:52:04 -04:00
Meng Han 1f33564865 ACS4.1_Quick_install_guide 2013-06-29 15:42:11 -04:00
Prasanna Santhanam bd784fb8ec Include license header for solidfire util
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 16:55:55 +05:30
Prasanna Santhanam a24b8d8def Include the solidfire plugin into componentContext
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 16:51:27 +05:30
Prasanna Santhanam 1e0f833772 Add UCS daos for simulator context
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 15:09:57 +05:30
Edison Su 49ded7e4a3 the plugin better not touch database 2013-06-29 15:09:43 +05:30
Prasanna Santhanam 57641d85f7 Set all templates/volumes to Ready in the simulator
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:53:41 +05:30
Prasanna Santhanam 0dc5b0d29a Don't report back resource state to ResourceManagerImpl
on adding sec. storage no need to report back to resourceManager since
the sc. storage is no longer a directly connected host.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:53:41 +05:30
Prasanna Santhanam f1134da8df Group storage subsystem components for spring
Breaking down storage components among oss, nonoss and simulator
contexts. The default components are loaded by

OSS - applicationContext + componentContext
NonOSS - applicationContext + nonossComponentContext
Simulator - applicationContext + simulatorComponentContext

provider beans are are selectively overridden for simpler configuration.
Where possible beans are loaded by local reference.

<list merge=true> does not unfortunately work perfectly for bean merging
the providers causing a bit of bloat. Explore for later.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:53:41 +05:30
Prasanna Santhanam fd867d5afa DataStore - provider, lifecycle, driver implementations for simulator
mock implementation to manage secondary storage related operations for
the simulator.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:52:16 +05:30
Prasanna Santhanam 085e8838e4 Fix typo in backupSnapshotCommand
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:50:25 +05:30
Prasanna Santhanam de38cd815f Fix typo in class name
AsyncRpcConext -> AsyncRpcContext

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:50:25 +05:30
suresh sadhu 56a001d1c4 CLOUDSTACK-3023: added tags for all the test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 10:03:51 +05:30
Prasanna Santhanam f3e3048682 CLOUDSTACK-3074: include support for vmwaredc mapping to zone
vmware dc can be mapped to the zone after CLOUDSTACK-1963. include
support in marvin for adding the vmwaredc.

vmwaredc : {
    name:
    username:
    vcenter:
    password:
    zoneid:
}

Will be sent during pod creation before cluster creation.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 10:03:51 +05:30
Min Chen 87c401aaaf CLOUDSTACK-3144: [Automation] Deletion of templates failing. Fails to
find image store housing template.
2013-06-28 17:57:42 -07:00
Min Chen 2c31f38c05 CLOUDSTACK-3145:StorageManager-Scavenger NPEs when cleaning up
templates.
2013-06-28 17:54:48 -07:00
Sanjay Tripathi 1659ee225c CLOUDSTACK-3082: System VMs are failed to start with Xen 6.2.0( Failing to create VIF's) 2013-06-29 05:39:33 +05:30
Donal Lafferty 58f9202818 CLOUDSTACK-3215: Cannot Deploy VM when using S3 object store without NFS Cache
Signed-off-by: Edison Su <sudison@gmail.com>
2013-06-28 16:52:06 -07:00
Hugo Trippaers ed00427989 Improve logging for CitrixResourceBase by replacing e.printStackTrace
with s_Logger.error.

Automatic cleanup using the eclipse settings from Alex
2013-06-28 16:45:31 -07:00