Commit Graph

23553 Commits

Author SHA1 Message Date
Prachi Damle
f37b152489 CLOUDSTACK-7047: DeploymentPlanner should include disabled resources only when the VM owner is Admin account
Changes:
- removing unused imports

Conflicts:
	server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
2014-07-02 17:56:39 -07:00
Nitin Mehta
63c4f02897 CLOUDSTACK-7000: Fix bugs in ListSnapshotPolicy and updateSnapshotPolicy command 2014-07-02 13:12:49 -07:00
Bharat Kumar
a28d65fc4a CLOUDSTACK-7026 mark the test_01_primary_storage_iscsi as test that requires hardware
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-07-02 14:21:37 +05:30
Sheng Yang
09abcf354f Polish IPv6 input error information 2014-07-01 15:20:57 -07:00
Jayapal
e336796cd5 CLOUDSTACK-7028: Fixed adding route for additional public nic on fail over 2014-07-01 15:16:07 +05:30
Jayapal
a69c1ee31d CLOUDSTACK-7027: Removing left over static nat rule 2014-07-01 15:16:06 +05:30
Koushik Das
285557fb5f Some fixes in the simulator
1. Fixed JSON response deserialization. While creating a mock a JSON can be passed which will be deserialized into a response object and returned from agent layer.
For e.g. for a mock corresponding to StopCommand, a response like "{"com.cloud.agent.api.StopAnswer":{"result":false,"wait":0}}" can be passed.
2. Ability to mock PingCommand (returned as part of getCurrentStatus() agent method). As a part of this a mocked VM state report can be returned.
For e.g. {"com.cloud.agent.api.PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"newStates":{},"_hostVmStateReport":{"v-2-VM":{"state":"PowerOn","host":"SimulatedAgent.e6df7732-69b2-429b-9b6a-3e24dddfa2e0"},"i-2-5-VM":{"state":"PowerOff","host":"SimulatedAgent.e6df7732-69b2-429b-9b6a-3e24dddfa2e0"}},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":3,"contextMap":{},"wait":0}}
2014-07-01 14:54:28 +05:30
Mike Tutkowski
76930f6eab Fixing an i18n issue related to label.cache.mode 2014-06-30 21:30:15 -06:00
Nitin Mehta
1e78354882 CLOUDSTACK-4364: Restore VM - log a usage event for newly created volume 2014-06-30 14:36:57 -07:00
SrikanteswaraRao Talluri
a34faae919 CLOUDSTACK-7009: add ability to handle serviceofferingdetails to base.py
to support creation of service offering upon passing details in the  following format
            serviceofferingdetails[1].key=pciDevice
            serviceofferingdetails[1].value=Group of NVIDIA Corporation GK107GL [GRID K1] GPUs
            serviceofferingdetails[2].key=vgpuType
            serviceofferingdetails[2].value=GRID K120Q
2014-06-30 19:20:07 +05:30
Jayapal
004d616322 CLOUDSTACK-6997: Increase proc ip_conntrack_max 2014-06-30 16:07:22 +05:30
Girish Shilamkar
bfba6d4a1e Disable testcases 2014-06-29 22:26:39 -07:00
Ian Duffy
f7417d622a CLOUDSTACK-7005 - Failed to start MS with latest 4.4 RPM builds 2014-06-29 18:58:07 +01:00
Sheng Yang
46f2b61374 CLOUDSTACK-3540: Fix edithosts.sh on matching tag 2014-06-27 17:16:56 -07:00
Anthony Xu
328df6f954 Cs tries to destroy vlan object on XS host when destroying VM, if the VLAN object is being used, CS expects the exception, lower the log level here 2014-06-27 15:16:53 -07:00
Anthony Xu
d0552a2ab2 Destroy unplugged VIFs before creating a VIF for a VM, and reuse the device id 2014-06-27 14:52:13 -07:00
Daan Hoogland
7959c1faf0 Revert "CLOUDSTACK-6935 refactor StoragePoolAllocator#filter logic"
This reverts commit 45f0c73676.
2014-06-27 17:49:33 +02:00
Sateesh Chodapuneedi
75aa243d1e CLOUDSTACK-6996 Adding cluster to legacy zone failed
Lookup zone_id field in legacy_zones table to search the table for legacy zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2014-06-27 14:37:42 +05:30
Sanjay Tripathi
48646ae186 CLOUDSTACK-6884: List Capacity API always returns GPU capacity also even if type is different. 2014-06-27 11:53:07 +05:30
Sanjay Tripathi
dc22566c64 CLOUDSTACK-6453: [GPU] Windows 2012 Server instance created with vGPU offering is not coming up after installing PV drivers. 2014-06-27 11:10:40 +05:30
Gabor Apati-Nagy
6d5d48f460 CLOUDSTACK-6732: Fix:[OVS][UI] Network Service Providers page displays two ovs providers 2014-06-26 11:39:28 -07:00
Nitin Mehta
fce21439fa CLOUDSTACK-7000: ListSnapshotPolicy should list by policyid. Introduce updateSnapshotPolicy command 2014-06-26 11:38:03 -07:00
Sangeetha
a18a4ea9e8 This test suite contains test cases relating to access checks for createNetwork(), deploying VM in an isolated network and restartNetwork() for Admin, domain admin and regular users. 2014-06-26 13:40:53 -07:00
Mike Tutkowski
9c2e6f5ed4 Submitted on behalf of Vetri for Review Request 23008 2014-06-26 10:50:14 -06:00
Girish Shilamkar
039878b49a CLOUDSTACK-6984: Re-enable the testcase 2014-06-25 23:29:28 -07:00
Chandan Purushothama
defed59b97 CLOUDSTACK-6995:Stress Test to test multiple Remote Access VPN Connections to VPC 2014-06-26 09:28:31 +05:30
Ian Duffy
2bb12f2a85 remove unused import 2014-06-25 20:01:54 +01:00
Ian Duffy
96412e3e58 Allow for length of password on VMs to be set via global settings 2014-06-25 19:51:31 +01:00
John Dilley
2498f65683 CLOUDSTACK-6909 - fix marvin's handling of SMB credentials for storage
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 477a812a6f)
2014-06-25 19:46:27 +02:00
Girish Shilamkar
5749abc23a Re-enabling fixed test case test_primary_storage.py 2014-06-25 18:05:26 +05:30
Girish Shilamkar
5863ab826e Re-enabling fixed test cases 2014-06-25 17:13:47 +05:30
Sheng Yang
a6381f5809 CLOUDSTACK-6989: Add 3 strikes rule for RvR freezing detection
Sometime in VR ntpd would move time backward to keep sync with NTP server, which
can result in false alarm of keepalived monitering process.

This patch adds 3 strikes for keepalived process dead detection to avoid falsely
shutdown keepalived process due to time adjustment for only once.
2014-06-24 16:58:55 -07:00
Nitin Mehta
5cf8edd7ec CLOUDSTACK-6987: Add support for storing metadata for snapshot policy and controlling policy using display flag 2014-06-24 14:06:54 -07:00
Gaurav Aradhye
8de18f144c CLOUDSTACK-6984: Resolving simulator issues 2014-06-24 20:50:37 +05:30
Girish Shilamkar
c7d00d52b2 CLOUDSTACK-6914: Disabling few failing BVTs 2014-06-24 13:11:42 +05:30
Jayapal
a195e50ae7 CLOUDSTACK-6923: Fixed issue in lbsticlbsticlbrule with lbrule id 2014-06-24 11:04:50 +05:30
Damodar Reddy
24401e0b2b CLOUDSTACK-6444: Fixing the issue with iSCSI path Format /targetIQN/LUN.
Signed-off-by: Koushik Das <koushik@apache.org>
2014-06-24 10:01:27 +05:30
Sheng Yang
dfe20f34f2 CLOUDSTACK-6854: Fix inconsistent IPv6 address formats
fc00:0003:1373::0002 should be treated the same as fc00:3:1373::2.
2014-06-23 10:53:06 -07:00
Santhosh Edukulla
76f72d3624 CLOUDSTACK-6976: Added the support for SecStorageFirewallCfgCommand
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-23 15:23:57 +02:00
Santhosh Edukulla
ff46258022 Fixed failing DatabaseAccessObject unit test cases
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-23 15:16:48 +02:00
Anshul Gangwar
ef45f06f88 CLOUDSTACK-6965: fixed the NullPointerException introduced by fix for cloudstack
6935 in AbstractStoragePoolAllocator#filter method for Zone Wide storage
2014-06-23 12:11:32 +05:30
Santhosh Edukulla
c690320f0b Fixed Resource Leaks
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-23 08:25:36 +02:00
Min Chen
31e250a9d2 CLOUDSTACK-6971: createAutoScaleVmProfile failed with NPE due to lack of bean
injection.
2014-06-20 14:24:03 -07:00
Kelven Yang
06d8d3a03f CLOUDSTACK-6970: Protect event interpretion from causing NPE exception 2014-06-20 10:39:30 -07:00
Girish Shilamkar
ba270efd4b CLOUDSTACK-6906: Fixing volume resize BVT 2014-06-20 20:45:12 +05:30
Anshul Gangwar
e7ba46b5f7 CLOUDSTACK-6968: Allowing cluster scope volumes to attach to any VM. If migration is
needed then first they will be migrated to appropriate cluster before attaching.
2014-06-20 17:06:02 +05:30
Anshul Gangwar
64153a4371 CLOUDSTACK-6830: Fixed [hyper-v] during VM migration, volumes on zone wide primary
store requires storage migration resulting in failure of VM migration. This also
improves the hostsformigration api. Firstly we were trying to list all hosts and
then finding suitable storage pools for all volumes and then we were checking
whether vm migration requires storage migration to that host. Now the process is
updated. We are checking for only those volumes which are not in zone wide primary
store. We are verifying by comparing volumes->poolid->clusterid to host clusterid.
If it uses local or clusterids are different then verifying whether host has
suitable storage pools for the volume of the vm to be migrated too.
2014-06-20 16:00:51 +05:30
Girish Shilamkar
9563db7a6d CLOUDSTACK-6943: Skip VM snapshot tests on KVM 2014-06-20 14:39:52 +05:30
Murali Reddy
d8cbba1bc6 CLOUDSTACK-6750: [OVS] With stretched network deploying vm in a ovs
disabled zone does not fail

Fix ensures that connectivity service provider is enabled in the zone on
to which nework is being streched.
2014-06-19 16:04:57 +05:30
Prachi Damle
13bd8beb91 CLOUDSTACK-6941: Can't choose storage for the volume, when attaching uploaded data volume to VM
Changes:
- Only way to choose a certain storage pool is by using disk_offering_tags
- Added a parameter to take in a disk offering Id.
- Admin will have to create a custom sized disk offering and tag it as necessary for the user
- This custom offering Id should be passed during uploadVolume to associate the volume with this disk offering
2014-06-18 16:10:53 -07:00