Commit Graph

7095 Commits

Author SHA1 Message Date
Sanjay Tripathi a98c0f5b89 CLOUDSTACK-3496: [Regression]Primary Storage resource usage is not getting updated if detached volume is deleted 2013-07-19 16:19:41 +05:30
Sanjay Tripathi 5de96db81d CLOUDSTACK-3492: [Regression]Update Resource Count for an account is updating the primary storage incorretly.
The issue is that while calculating the used primary storage size, the updateResourceCount
API is also calculating the disk size of virtual router VM, created for that account and
because of this, the API is returning the incorrect result.
2013-07-19 16:19:23 +05:30
Harikrishna Patnala 12c711cef7 CLOUDSTACK-3358: create template from a volume/snapshot should also take input from User/Admin whether xstools / vmware tools installed in the VM
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-19 11:54:36 +05:30
Mike Tutkowski 8f1799b71f Changes related to Review Board comments 2013-07-18 19:46:42 -06:00
Min Chen c236645d9a CLOUDSTACK-3498:[Object_Store_Refactor] Deleting and adding back the
zone does not create NFS Cache store and Failure in Sytem VMs Start Up
2013-07-18 16:28:56 -07:00
Min Chen 251efff69c CLOUDSTACK-3513: add debug message to diagnose copyIso issue on
automation setup where DownloadCommand is never sent.
2013-07-18 16:01:55 -07:00
Prachi Damle 3fc43cf281 CLOUDSTACK-3451 Parallel deployment - Xenserver - When deploying 30 Vms in parallel, some of the Vm deployment fails when “applying dhcp entry/applying userdata and password entry on router” and retry eventually happens when they succeed.
Changes:
- Passing the avoid set generated by the first pass of deployment to the second try.
- The second try is done, when the first pass that uses a reserved plan fails to deploy on the reserved host, to search over the entire zone again
2013-07-18 15:57:13 -07:00
Min Chen 9a1cd1ac53 ListIsos only shows cross-zone ISO in one zone. 2013-07-18 10:55:02 -07:00
Prasanna Santhanam fbf38a35d2 CLOUDSTACK-3633: AffinityGroupResponse does not include uuid
The uuid->id of the affinity group created is not included as part of
the response. Included the uuid.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 18:13:58 +05:30
Sanjay Tripathi c9548e3788 CLOUDSTACK-3376: NPE: resource count calculation from the account manager on account cleanup
This issue is happing because of the steps the code follow to cleanup the account.
The cleanupAccount was deleting the entries from the resource_limit and
resource_count table and performing further cleaning afterwards. Ideally, deletion
of entries from resourceLimit and resourceCount should be the last step in
cleanupAccount process.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 21b1c9449a)
2013-07-18 15:08:44 +05:30
Harikrishna Patnala f1a6de5eed CLOUDSTACK-3551: scaling up VM to service offering with 2gbram
Fixed the type overflow of Ram value.
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-18 11:42:03 +05:30
Min Chen c443115a48 CLOUDSTACK-3513: [Automation] Failed to copy iso and template between
zones.
2013-07-17 17:24:23 -07:00
Saksham Srivastava 1933960dda CLOUDSTACK-3476:deleteDomain api should fail when release dedicated resource to that domain fails 2013-07-17 11:18:24 -07:00
Bharat Kumar 779bfd460b Fixed the conditon which checks for the provider's capabilty and reapply ipaliases on virtual router restart.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 17:31:34 +05:30
Bharat Kumar 956a2a68ce Incorportaed the review changes Now dhcpservice IPs are removed when last vm from the subnet is removed.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 16:53:11 +05:30
Bharat Kumar 4fdb177bb6 Cloudstack-2150 DB table entries of phisical network is not proper.Shows Duplicate entries Cloudstack-2980 Adding a VLAN range that overlaps with two existing ranges results in inconsistent DB entries
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 15:10:52 +05:30
Bharat Kumar 664d479f8f Cloudstack-3313 Cannot deploy vm in ipv6 network
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 10:07:57 +05:30
Edison Su ba4c4400b5 be able to upload template into swift 2013-07-16 18:05:01 -07:00
Sheng Yang 882982605a CLOUDSTACK-494: Loose the limition of same ip used by site-to-site vpn
Different account can have same remote side IP now. Of course the remote side need
to identify them and configured properly to handle it.
2013-07-16 17:16:58 -07:00
Vijayendra Bhamidipati e18ca0117d CLOUDSTACK-3514: [Automation] Vmware - Failed to download default template for first zone
Description:

    Fixing reference to null object.
2013-07-16 16:14:10 -07:00
Sheng Yang 13c1c6291c CLOUDSTACK-1670: Fix the order of user vm's multiple nics
They should follow the order of networkIds parameter of deployVMCmd(). And eth0
would be always on default network.
2013-07-16 16:07:05 -07:00
Prachi Damle 9a9d277884 CLOUDSTACK-2159 Anti-Affinity - When "HostAntiAffinityProcessor" plugin is not included in the deployment , deployVirtualMachine() command does not error out when passing the affiitygroupnames parameter.
Changes:
- Added a check during vm deployment to see if a processor for the affinity group type is available
2013-07-16 15:23:08 -07:00
Prachi Damle d70076e6a5 CLOUDSTACK-2155: Anti-Affinity -When Vm deployment is done in parallel , anti-affinity rule is not honored.
Changes:
- Locking the group and save reservation mechanism done by DPM
- Added admin operation to cleanup VM reservations
- DPM will also cleanup VM reservations on startup
2013-07-16 13:41:16 -07:00
Prachi Damle 9cb91ba58c CLOUDSTACK-2155 Anti-Affinity -When Vm deployment is done in parallel , anti-affinity rule is not honored.
Changes to check if the destination found does not conflict with any vm reservation
2013-07-16 13:41:12 -07:00
Likitha Shetty e15876944b CLOUDSTACK-3293. DeleteAccount fails with ConstraintViolation on snapshot_store_ref. 2013-07-16 14:36:57 +05:30
Likitha Shetty 4c924bb83d Revert "CLOUDSTACK-3293. DeleteAccount fails with ConstraintViolation on snapshot_store_ref."
This reverts commit d0955663cf.
2013-07-16 14:09:43 +05:30
Likitha Shetty d0955663cf CLOUDSTACK-3293. DeleteAccount fails with ConstraintViolation on snapshot_store_ref. 2013-07-16 13:42:27 +05:30
Devdeep Singh c59c736f98 CLOUDSTACK-3545: NPE in listStoragePoolsForMigration api. The volume table no longer holds
the pod id, the column is null now. Made a change to get the pod id from the storage pool
on which the volume resides.
2013-07-16 12:04:36 +05:30
Sheng Yang 2f85c80655 CLOUDSTACK-3539: Fix wrong management ip when server start up
The value "localhost" for mgmt server should be over-written anyway.
2013-07-15 18:26:41 -07:00
Min Chen dabedd0848 CLOUDSTACK-2595: [Automation] Failed download default template for
second zone. Actually it is a listTemplate issue.
2013-07-15 17:36:42 -07:00
Alena Prokharchyk 48e030589e CLOUDSTACK-3346: Fixed setting up resourceTags for network ACL - added missing @Inject when load NetworkACLItemDao 2013-07-15 10:19:55 -07:00
Murali Reddy 5e0a61d57c CLOUDSTACK-2960: [portableIPrange] CS should check the portable ip range, vlan with
existing public ip ranges and vlans

adds a validation check to ensure there is no VLAN in the zones with
same id
2013-07-15 16:17:47 +05:30
Murali Reddy feeffeaf10 CLOUDSTACK-3463: [Portable IP] [EIP/ELB Zone] EIP semantics are not
intact with portable IP

fix ensures that, on release of portable IP associated with 'EIP
enabled' basic zone vm, a new system public IP is allocated and
associated with the VM
2013-07-15 09:50:41 +05:30
Murali Reddy 8de3b4f461 CLOUDSTACK-3444: Unable to transfer portalbe IP between ISOLATED network and VPC
Tiered Network

When portable IP is transferred across the zones, we emulate portable IP
as provisioned in new zone's physical network carrying public traffic
and logical public network. network Id, and physical network id both
were bieng set to same physical network id resulting in IP association
to fail. This fix ensures both network and physcial network are set
appropriatley.
2013-07-15 09:04:24 +05:30
Edison Su 7e6c1a0bf7 CLOUDSTACK-3400: add swift support 2013-07-13 01:52:03 -07:00
Edison Su c888fc6b75 add inital swift support 2013-07-13 01:52:03 -07:00
Vijayendra Bhamidipati 8439209ba6 CLOUDSTACK-3509: Put in missing code to kick off non root volume resize operations in vmware deployments
Description:

    Include vmware in list of hypervisors supporting volume resize.
2013-07-12 15:21:52 -07:00
Vijayendra Bhamidipati cb96d70967 CLOUDSTACK-3264: [ZWPS]NPE while finding storage pools for migration
Description:

    Filter primary storage pools based on zonewide/clusterwide configuration
    when considering pools to list for storage migration of volumes.
2013-07-12 15:21:40 -07:00
Mike Tutkowski 13ec10caa6 Changes related to Review Board comments
Changes related to Review Board comments
2013-07-12 14:26:11 -06:00
Hugo Trippaers 55c0616d90 CLOUDSTACK-728 Get the framework in place the support the removal of the portgroup that is created for a nic connected to an lswitch.
Add a command to tell a hypervisor guru to take some action when
expunging a nic
2013-07-12 14:23:13 +02:00
Harikrishna Patnala 8816d41d3b CLOUDSTACK-2987: Fixing dynamicallyScalable flag in register and update template API Previuos commit: 7b6b8d7a07 This fix is due to some changes made by the merges after this commit.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-12 15:27:25 +05:30
Wei Zhou b3ac91ef63 CLOUDSTACK-3368: clear download URLs when create SSVM and validate download URLs 2013-07-12 10:43:49 +02:00
Wei Zhou 838cfa2bb6 CLOUDSTACK-3362: use POST instead of GET and encode/decode cert/key in uploadCustomCertificate 2013-07-12 10:43:38 +02:00
Murali Reddy f3a2fc22bf CLOUDSTACK-3485: NPE while getting instance ID from Asyn Job when
publishing async job events on eventbus

handing case where instance id is null in the asyn job, while publishing
asyn job events on to event bus
2013-07-12 13:57:53 +05:30
Saksham Srivastava 87a2a95445 CLOUDSTACK-3094: Adding a shared network to already deployed VM is failing.
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
2013-07-12 14:30:40 +08:00
Alena Prokharchyk 52d3e1190f CLOUDSTACK-2843: added CopyCommand to the list of the commands controlled by execute.in.sequence.hypervisor.commands global config. This command was introduced by the Storage refactoring, and used for volume creation on the primary storage 2013-07-11 17:43:33 -07:00
ahuang a4f729759a Added the git commit and branch to war file 2013-07-11 17:37:36 -07:00
Min Chen 45cf96afb7 CLOUDSTACK-3335:[Object_Store_Refactor][Automation]CopyTemplate failed
with Unexpected exception.
2013-07-11 16:01:42 -07:00
Alena Prokharchyk cce2dad2e4 CLOUDSTACK-3458: network GC thread - acquire global lock to prevent multiple MS from running the GC thread on the network at the same time 2013-07-11 09:37:39 -07:00
Daan Hoogland f99d599930 CLOUDSTACK-3357: dnsmasq on vpc-routervm 2013-07-11 14:34:51 +01:00