25459 Commits

Author SHA1 Message Date
Min Chen
213088d7da CLOUDSTACK-7864: CPVM continues to be in Stopped state after a failure to start because of a management server restart. Added optimization to purge queue items for cancelled jobs. 2014-11-11 10:55:20 -08:00
Min Chen
f2cedda9ef CLOUDSTACK-7884: Cloudstack MS is not responding (happening randomly) after some restart. 2014-11-11 09:19:21 -08:00
Min Chen
2ef06e754b CLOUDSTACK-7884: Cloudstack MS is not responding (happening randomly) after some restart. 2014-11-11 09:06:36 -08:00
Harikrishna Patnala
edf1047a20 CLOUDSTACK-7706: Coverity defects
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-11-11 20:58:45 +05:30
SrikanteswaraRao Talluri
7efc4c388f CLOUDSTACK-7865: fixed pep8 errors and errors in wrong references
to the variables
2014-11-11 19:21:38 +05:30
SrikanteswaraRao Talluri
5759857ffc CLOUDSTACK-7865: fixed pep8 errors and errors in wrong references
to the variables
2014-11-11 19:18:59 +05:30
Wido den Hollander
840c2fda85 CLOUDSTACK-7583: Send VmStats to Graphite host when configured
This allows external processing of VmStats information without using
the usage server of CloudStack

Statistics are being send to Graphite using UDP and not TCP.

UDP is used to prevent the management server waiting for TCP timeouts
when the Graphite server is unavailable
2014-11-11 13:04:43 +01:00
Koushik Das
2685ed36cc CLOUDSTACK-7880: Creating shared network results in exception
This is due to event publish being wrapped in a transaction, moved it outside of transaction scope.
2014-11-11 16:35:20 +05:30
Koushik Das
6d268db217 CLOUDSTACK-7880: Creating shared network results in exception
This is due to event publish being wrapped in a transaction, moved it outside of transaction scope.
2014-11-11 16:32:20 +05:30
Daan Hoogland
abff49d5b3 CID-1250770 pass through mkdirs() return value 2014-11-11 10:32:46 +01:00
Daan Hoogland
d2f28ea3ae CID-1251369: not null check changed to null check 2014-11-11 09:32:09 +01:00
Mike Tutkowski
18091e9642 Adding support for backend snapshots to Xenserver625StorageProcessor 2014-11-10 22:41:00 -07:00
Santhosh Edukulla
94ee16a719 Fixed the wrong if else statement 2014-11-10 22:33:19 +05:30
Santhosh Edukulla
32dc5243b6 CLOUDSTACK-7873 Fixed the user vm details length issue for higher key lengths 2014-11-10 21:24:28 +05:30
Santhosh Edukulla
c916f30574 CLOUDSTACK-7828.Avoid marking IPs already in Allocated as Allocated again. Use row lock to ensure that prev state is either Allocating or Free. This will inturn avoid logging duplicate events 2014-11-10 21:22:47 +05:30
Santhosh Edukulla
b6621428a9 CLOUDSTACK-7873 Fixed the user vm details length issue for higher key lengths 2014-11-10 20:51:46 +05:30
Rohit Yadav
c401dbc8f9 CLOUDSTACK-7871: allow VM and template details update using update APIs
Allows updating details (key/value) pair which updatse entries
invm_template_details and user_vm_details tables using updateVM and updateTemplate
APIs. This allows sys admins to update nics, controllers etc without DB hacking.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 97fa4a023e2346b3b9f56bf213ed4125c371ca6d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-10 17:53:26 +05:30
Rohit Yadav
97fa4a023e CLOUDSTACK-7871: allow VM and template details update using update APIs
Allows updating details (key/value) pair which updatse entries
invm_template_details and user_vm_details tables using updateVM and updateTemplate
APIs. This allows sys admins to update nics, controllers etc without DB hacking.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-10 17:51:57 +05:30
Gaurav Aradhye
46802557e8 CLOUDSTACK-7818: Fixing test_escalations_instances.py, Removing dependency of test cases on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:22:12 +05:30
Gaurav Aradhye
85ac979f72 CLOUDSTACK-7818: Fixing test_escalations_instances.py, Removing dependency of test cases on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:20:35 +05:30
Gaurav Aradhye
53694133d8 CLOUDSTACK-7823: test_snapshots.py - remove test case dependency on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:17:32 +05:30
Gaurav Aradhye
d4d8326a31 CLOUDSTACK-7823: test_snapshots.py - remove test case dependency on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:14:08 +05:30
Gaurav Aradhye
a3d08aebb7 CLOUDSTACK-7856: test_vpc_network_pf_rules.py - Check if httpd service is running or not, if not, start it
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:10:11 +05:30
Gaurav Aradhye
23df5f22ac CLOUDSTACK-7856: test_vpc_network_pf_rules.py - Check if httpd service is running or not, if not, start it
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:07:46 +05:30
Chandan Purushothama
2f7959d219 CLOUDSTACK-7862: Fixed the script 'maint/test_high_availability.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:37:02 +05:30
Chandan Purushothama
fa8f0a43c3 CLOUDSTACK-7862: Fixed the script 'maint/test_high_availability.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:34:30 +05:30
Chandan Purushothama
aed6e95e5d CLOUDSTACK-7863: Fix the script 'test_vpc_vms_deployment.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:32:39 +05:30
Chandan Purushothama
f78defda0f CLOUDSTACK-7863: Fix the script 'test_vpc_vms_deployment.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:31:31 +05:30
Gaurav Aradhye
3e00f99c53 CLOUDSTACK-7866: Passing type value to list_hosts method so as to avoid listing SSVM and CPVM
Correcting hostid attribute

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:29:39 +05:30
Gaurav Aradhye
b00f144c20 CLOUDSTACK-7866: Passing type value to list_hosts method so as to avoid listing SSVM and CPVM
Correcting hostid attribute

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:28:02 +05:30
Jayapal
709bf074de CLOUDSTACK-7872: network getting shutdown inspite of running VM's in the network 2014-11-10 16:06:58 +05:30
Kishan Kavala
990da08451 Add check to ensure VR template version matches digit.digit.digit format. Returns version as 0 otherwise 2014-11-10 15:33:50 +05:30
Jayapal
0bd34d389f CLOUDSTACK-7872: network getting shutdown inspite of running VM's in the network 2014-11-10 15:26:48 +05:30
Damodar
781648fb10 CLOUDSTACK-7792: Usage Events to be captured based on Volume State Machine 2014-11-10 15:19:02 +05:30
Damodar
cd48720878 CLOUDSTACK-7830: Usage Job fails with "Data too long for column 'user_name'" 2014-11-10 15:17:32 +05:30
Damodar
36fd780482 CLOUDSTACK-7830: Usage Job fails with "Data too long for column 'user_name'" 2014-11-10 15:07:13 +05:30
Damodar
cdabb2407a CLOUDSTACK-7843: sync Job Failures always reported as success on Event Bus 2014-11-10 15:07:13 +05:30
Damodar
34f31f9033 CLOUDSTACK-7851:MS does not start after the VM it is running on is rebooted 2014-11-10 15:07:13 +05:30
Bharat Kumar
310bb255ac CLOUDSTACK-7760 Data disk size is not considering for primary storage resource limit check 2014-11-10 15:07:13 +05:30
Bharat Kumar
0e7f1ea9b8 CLOUDSTACK-7763 Reservations for VMware VMs remain after dynamic scaling 2014-11-10 15:07:13 +05:30
Rajani Karuturi
55b6e3431b Merge branch '4.5' 2014-11-10 15:06:22 +05:30
Rajani Karuturi
44b6773f40 Merge branch '4.5' 2014-11-10 15:05:38 +05:30
Derrick Schneider
de3eb88b33 Normalize some error message strings to make maintenance (i.e., changing said error messages) a bit easier.
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2014-11-10 15:00:28 +05:30
Damodar
ca66062cd5 CLOUDSTACK-7843: sync Job Failures always reported as success on Event Bus 2014-11-10 14:33:28 +05:30
Damodar
131c2f2014 CLOUDSTACK-7851:MS does not start after the VM it is running on is rebooted 2014-11-10 14:31:43 +05:30
Bharat Kumar
991d783e03 CLOUDSTACK-7760 Data disk size is not considering for primary storage resource limit check 2014-11-10 14:30:42 +05:30
Bharat Kumar
ea99ff1c86 CLOUDSTACK-7763 Reservations for VMware VMs remain after dynamic scaling 2014-11-10 14:30:42 +05:30
Devdeep Singh
cf27ecd91d CLOUDSTACK-7721. Runtime exception while trying to release lock on template_spool_ref.
When a template a copied from a secondary to primary, we were trying to release a lock
twice, once in the create/copy base image function and in the create/copy base image
complete callback routine. This caused the exception as reported in the bug. Fixed by
updating the code make sure we release the lock in copy base image function only as
this is the place we took acquired the lock.
2014-11-10 13:22:39 +05:30
Nitin Mehta
a8b89bea4f CLOUDSTACK-7870: When Vm deployments fail and end in error state volume count should be decremented 2014-11-09 23:01:28 -08:00
Joris van Lieshout
1cc733bfd5 Logrotate is called from crontab. Debian crontab does not include everything in it's path. Therefore reference to these bins need to be absoluut.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-11-09 13:18:08 +01:00