Commit Graph

23293 Commits

Author SHA1 Message Date
Min Chen f1a586e9be CLOUDSTACK-6745:DomainAdmin is not able to deploy Vm for users in his
domain/subdomain.
2014-05-23 10:07:18 +02:00
Amogh Vasekar b0b71e59e9 CLOUDSTACK-6671: Fixing NPE when a mapping is missing
Adding missing KVM mappings

Testing Done:
Local testing with removing CentOS mapping and launch a VM.

Signed-off-by: Nitin Mehta <nitin.mehta@citrix.com>
2014-05-22 20:38:57 +02:00
ynojima b44266a3f4 bugfix: systemvm template build failed
since newer vboxmanage generates $appliance-$branch-vmware-disk3.vmdk
2014-05-22 10:18:45 +02:00
Min Chen c169ed1f3e CLOUDSTACK-6742: listVolumes - As regularuser , able to list Vms and
volumes of other users.
2014-05-22 10:17:15 +02:00
Kelven Yang 943cbbb7aa CLOUDSTACK-5485: Use edge-triggering in MessageDetector to handle bogus wakeup gracefully. Level triggering plus bogus wakeup can cause a tight loop to spin 2014-05-22 09:54:46 +02:00
Min Chen 6ba541afb7 Disable IAM feature from 4.4 release.
Conflicts:
	test/integration/smoke/test_vm_iam.py
2014-05-21 13:49:11 +02:00
Murali Reddy 850e068a56 CLOUDSTACK-6720: Async job events are not published on event bus
fix ensures publishOnEventBus() is called on submit, update, complete
phase of job procesing
2014-05-20 14:27:03 +02:00
Murali Reddy 019ac691f0 CLOUDSTACK-6721: VolumeApiServiceImpl is sending wrong type for
updateAsyncJobAttachment

fix sends 'Volume' instead of 'volume'
2014-05-20 14:26:13 +02:00
Joris van Lieshout 8326428bb8 A slightly more reliable way of extracting the device name. Thanks John.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-05-20 12:33:48 +02:00
Joris van Lieshout 1c88ea51e5 releasing dhcp leases on vpcs failes because the network tier of the tennant aren't behinbd eth0. Here we make interface selection dynamic.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-05-20 12:33:44 +02:00
Jayapal c4ae789e8b CLOUDSTACK-6714: monitor script echo service command is added with quotes 2014-05-20 10:24:18 +02:00
Murali Reddy 5b525aadf3 CLOUDSTACK-6712: NPE in findJobInstanceUuid() in ApiDBUtils 2014-05-20 10:20:20 +02:00
Murali Reddy 840938504b CLOUDSTACK-6672: [Automation] NPE observed while listing system vms
fixing NPE
2014-05-19 11:04:57 +02:00
Prachi Damle 0b99822262 CLOUDSTACK-6476: Basic Zone with Multiple Pods Setup: DHCP server doesnt get deployed in the pod where the VM gets deployed
Changes:
PodId in which the router should get started was not being saved to the DB due to the VO's setter method not following the setXXX format. So when planner loaded the router from DB, it always got podId as null and that would allow planner to deploy the router in any pod. If the router happens to start in a different pod than the user VM, the Vm fails to start since the Dhcp service check fails.

Fixed the VO's setPodId method, that was causing the DB save operation fail.
2014-05-17 11:25:02 +02:00
Murali Reddy 99dc7e009c CLOUDSTACK-6686:NetworkACLItemCidrsDaoImpl uses firewallRuleId instead
of networkAclItemId

fix uses networkAclItemId instead of firewallRuleId
2014-05-16 22:54:20 +02:00
Murali Reddy 91c0c7ed3e CLOUDSTACK-6685: OVS distributed firewall: source CIDR mismatch while
populating ingress & egress network ACL

fix ensures propoer values for nw_src and nw_dst are popoluated
depending on the ingress or egress acl
2014-05-16 22:53:44 +02:00
Murali Reddy ccd0e23ac6 CLOUDSTACK-6668: OVS distributed routing: ensure bridge is deleted when
last VM from the VPC is deleted on a host

OVS distributed routing: ensure bridge is deleted when last VM from the
VPC is deleted on a host. This fix ensures that bridge is
destroyed.
2014-05-16 22:53:15 +02:00
Jayapal adcc21ef3b Fixed vpc private gateway backend issues 2014-05-15 20:09:26 +02:00
Sanjay Tripathi da97f3f6e5 CLOUDSTACK-6678: API:MS: listCapacity returns; errorcode":530,"cserrorcode":9999,"errortext":"Index: 0, Size: 0"}. 2014-05-15 11:13:08 +02:00
Alena Prokharchyk f20b2f47dd CLOUDSTACK-6675: updatePFRule - retrieve network sync object based on the PF rule id that is passed in to the call; not the public ip address 2014-05-15 09:23:44 +02:00
Nitin Mehta e796d885f3 CLOUDSTACK-6660: Dont assume every vm will have a root volume now. 2014-05-15 08:46:30 +02:00
Sanjay Tripathi 13ba59c5f0 CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 13:52:46 +02:00
ynojima 866e73df66 CLOUDSTACK-6614 bugfix: systemvm template build failed because of src iso link is broken 2014-05-14 09:20:37 +02:00
Sheng Yang d00d28105e CLOUDSTACK-6241: Fix default route for IPv6 network when IPv4 not used
(cherry picked from commit e406adc081)
2014-05-14 09:02:40 +02:00
Alena Prokharchyk c94158f0fd CLOUDSTACK-6659: fixed the name for the updateIpAddress API command 2014-05-13 23:23:28 +02:00
Rajesh Battala 799480cf05 CLOUDSTACK-6519 [Hyper-V] while adding VM to Network it should throw error when it is in running state 2014-05-13 22:59:34 +02:00
Amogh Vasekar a7bf66b9f0 This patch disallows deleting / modifying system defined guest OS mappings
Local env
1. Create user defined mapping
2. Delete / modify user defined mapping. Should pass
3. Delete / modify system defined mapping. Should fail

Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 22:55:14 +02:00
Jessica Wang 7a13afca0a CLOUDSTACK-6379: UI > fix a bug that domain admin failed to be created when current login doesn't have visibility to root domain object. 2014-05-13 14:39:56 +02:00
Min Chen 68a44cf23b CLOUDSTACK-6628: Fix IpAddress import typo. 2014-05-13 11:35:25 +02:00
Min Chen aa2bbd455f CLOUDSTACK-6628:[Automation] Create PF rulw API failing with error
"database id can only provided by VO objects".
2014-05-13 11:34:55 +02:00
Min Chen 42e547cf02 CLOUDSTACK-6617: [Automation] detach / resize volume test cases failing
with permission error.
2014-05-13 11:34:29 +02:00
Min Chen 89e0e63253 CLOUDSTACK-6600: fix a bug in IAM cache in constructing cache key. 2014-05-13 11:21:22 +02:00
Min Chen e865cf8d2b CLOUDSTACK-6613:IAM: authorizeSecurityGroupIngress fails when SG Name is
passed.
2014-05-13 11:20:27 +02:00
Min Chen 7ea168e917 CLOUDSTACK-6598:IAM - listAccount() retrurns "Caller cannot be passed as
NULL to IAM!" when domain deletion is in progress.
2014-05-13 11:19:54 +02:00
Min Chen ad8d26958c CLOUDSTACK-6600:IAM Security checker needs to have cache to improve
checkAccess performance.
2014-05-13 11:19:23 +02:00
Devdeep Singh 820f8724fa CLOUDSTACK-6622: After a volume was live migrated, the destination smb storage path was added to
the folder column. For an smb share the smb credentials are in the query string of the path.
Before adding the path, smb shares query string should be cleaned up.
2014-05-13 10:52:35 +02:00
Devdeep Singh f0dcf474f2 CLOUDSTACK-6510: Fix gson serialization exception in storage migration. Gson couldn't serialize
a map with volume and storagepool objects for logging. Fixed by using volume and storage pool
ids instead of objects in the map.
2014-05-13 10:51:42 +02:00
Gabor Apati-Nagy 7bd0b92ea0 CLOUDSTACK-6606: Fixed: create network offering dailog box has greyed out (not selectable) providers for the connectivity service. 2014-05-13 10:43:06 +02:00
Kelven Yang 7bfb19c584 CLOUDSTACK-6647: appending instance name with custom supplied info that contains - character can break vmsync. 2014-05-13 10:39:18 +02:00
Sheng Yang 169c2be11a CLOUDSTACK-6607: Correct the result of VpcNetworkUsage
Blank or not shouldn't be used to indicate command is failure or not.
2014-05-13 10:37:23 +02:00
Sheng Yang ed7bd0022e CLOUDSTACK-5501: Allow one vpn customer gateway with multiple connections
This restriction was purposely avoid confusion of VPN setup, but later found too
strictly and cause troubles for deployment. Removed after testing one customer
gateway with multiple connections.
2014-05-13 10:36:50 +02:00
Amogh Vasekar 02bd3d0671 CLOUDSTACK-6358: As a part of supporting dynamic guest OS defined by user, removing the hard-coded dependencies.
This patch is for KVM

1. Local testing on KVM
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Snapshots are not supported for KVM

 Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 10:33:15 +02:00
Amogh Vasekar 1fb358d004 CLOUDSTACK-6358: As a part of supporting dynamic guest OS defined by user, removing the hard-coded dependencies.
This patch is for XenServer.

1. Local testing on XenServer 6.0.2
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Created VM snapshot and reverted to snapshot
5. Manipulated guest_os_hypervisor table for mapping, and checked for correct propagation of platform emulator.

Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 10:32:41 +02:00
Rajesh Battala 70a3e581ee CLOUDSTACK-6518 [Hyper-V] Efficient way of finding the empty nic in VR/VpcVR to configure VPC entities fixed windows line ending issues
Conflicts:
	plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs
2014-05-12 14:08:31 +02:00
Nitin Mehta 5ead629ce7 CLOUDSTACK-6633: listVolumes should return template/iso info for root volumes 2014-05-12 09:44:12 +02:00
Murali Reddy 2fa15a044a CLOUDSTACK-6609: OVS distributed routing: ensure tunnels are created if
not created already when OvsVpcPhysicalTopologyConfigCommand update is
recived

Currently if the tunnel creation fails, there is no retry logic. Fix
ensures OvsVpcPhysicalTopologyConfigCommand updates as an opputiunity to ensure
proper tunnels are established between the hosts.
2014-05-12 09:42:36 +02:00
Murali Reddy 0adf8924e2 CLOUDSTACK-6592: OVS distributed routing: make populate flooding rules
transactional

creats a file with all openflow rules updates and using ovs-ofctl file
option updates the brige in one go
2014-05-12 09:42:18 +02:00
Murali Reddy 0ba00ec24d CLOUDSTACK-6608:OVS distributed firewall: default ACL rule is not
getting applied when a tier in VPC is created.

fix ensures, VpcRoutingPolicyUpdate is send when network rules are
programmed when network tier in VPC is created
2014-05-12 09:40:36 +02:00
Anshul Gangwar 55398ee185 CLOUDSTACK-6399: When there are no vms running on hyperv host, then agent was returning null. In
that case cloudstack was not doing anything and not updating the state of the vms to stopped.
Now the agent returns empty list of hostvmstatereport. Management server will then update the
vm state to stopped (instead of not acting upon the return state).
2014-05-12 09:36:17 +02:00
Saksham Srivastava 3943e0ba1c CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering 2014-05-11 11:30:33 +02:00