Alena Prokharchyk
cf62be6571
CLOUDSTACK-4141: resizeVolume - read the result of AsyncCallFuture execution. If false, return null to the API caller
2013-08-08 14:01:11 -07:00
Edison Su
784a9d45d0
CLOUDSTACK-4106: fix volume related operations on vmware&s3
2013-08-08 12:34:54 -07:00
Alena Prokharchyk
6999fca4d7
CLOUDSTACK-4193: don't let privateGateway to be created with NULL networkId
2013-08-08 10:49:25 -07:00
Min Chen
420b4ab402
CLOUDSTACK-1405:ZWPS: listStoragePool API doesn't accept scope parameter
...
.
2013-08-08 10:08:07 -07:00
Likitha Shetty
be5d076964
CLOUDSTACK-4186. Signature computed while accessing VM's console is not aligned with how signature is computed for other APIs
2013-08-08 16:17:51 +05:30
Likitha Shetty
815d51e581
CLOUDSTACK-4153. Guest vlan dedication is not working as expected in case of multiple physical networks.
2013-08-08 10:53:01 +05:30
Edison Su
6766c01fc6
CLOUDSTACK-3535: still maintain stop agent wont trigger HA
2013-08-07 14:42:04 -07:00
Bharat Kumar
c498d2d786
CLOUDSTACK-4083 if a failure occurs while adding VM to another network (this should be the first vm in the subnet). The ip alias created as a part of this process is not removed.
...
(Sheng: remove the unnecessary import, remove blank line, upper case the bug id)
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-07 13:52:33 -07:00
Kelven Yang
059e4b2ae0
CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/
2013-08-07 10:29:18 -07:00
Saksham Srivastava
a3ba198e5a
CLOUDSTACK-4104: VM Creation should fail if a zone is dedicated to a domain and user of the same domain deploys vm without using affinity group "Explicit Dedication".
2013-08-07 16:58:51 +05:30
Likitha Shetty
74293f77e0
CLOUDSTACK-4025. NPE observed during VM start.
...
NPE was hit during VM start because the network it was to be deployed in didn't get implemented - Handling this failure.
2013-08-07 13:24:50 +05:30
Edison Su
33d06d25b8
CLOUDSTACK-3535: add kvminvestigator to investirage kvm host
2013-08-06 18:50:33 -07:00
Sateesh Chodapuneedi
38a3da8974
CLOUDSTACK-4047 [sM][VMWare][ZWPS]: no need of storage migration while migrating VM when the root volume is on zone wide primary storage
...
Introduced check for zone wide pools while listing hosts for migration.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 01:06:38 +05:30
Wido den Hollander
9e1c0ddaec
config: Fix a typo in the configuration option
...
Conflicts:
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2013-08-06 15:31:12 +02:00
Bharat Kumar
5dcded229f
Cloudstack-4015 No error logged when deleteing all the valns when there are allocateed vnets. Alos not updating the vnet range in physicalnetworks table in the above case.
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-06 17:29:07 +05:30
Murali Reddy
86e4d6f80c
CLOUDSTACK-4013: [PortableIP] [MultiplePhysicalNetworks] Associate
...
portable IP is trying to insert network id as physical network id
ensuring network id, physical network id, source network id are properly
set for portable ip in user_ip_address and vlan tables
2013-08-06 17:15:50 +05:30
Jayapal
ff7527fc87
CLOUDSTACK-4084 Fixed the static nat vm ip address in public ip address table in external network gc
...
In external network after network GC the network n/w cidr changes.
In this case the static nat enable vm ip also chagnes. So updated the new
vm ip address in user_ip_address table.
2013-08-06 16:34:33 +05:30
Likitha Shetty
fd7b9c44bc
CLOUDSTACK-4038. State of the DATA volumes remains in Allocated state if they are deleted before using them.
...
If a volume is in Allocated state i.e. not present in primary or secondary mark the volume as removed.
2013-08-06 16:00:48 +05:30
Murali Reddy
8447b66b38
CLOUDSTACK-2955: [PortableIPrange deletePortableIpRange fails because of
...
UI firing an incorrect API
adding 'portableiprange' tag to the job result of
CreatePortableIpRangeCmd api job response
2013-08-06 15:59:22 +05:30
Prasanna Santhanam
3a41c53bd3
CLOUDSTACK-4064: Missed renaming the config for KVM snapshots
...
KVM.snapshot.enabled is lowercased by f025db95 to keep the configs
uniformly lower-case. But it missed the upgrade script and the
references in SnapshotManagerImpl. This commit will fix the issue in all
locations
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 10:39:26 +05:30
Murali Reddy
c83fd94d26
CLOUDSTACK-4037: [GSLB] removeFromGSLBRule is not cleaning the
...
cloudsite1 infro from the second site NetScaler device
ensuring when a site no longer participates in GSLB, complete GSLB
config for that rule is wiped out on the GSLB provider for that site
2013-08-06 05:55:32 +05:30
Alena Prokharchyk
8813e5f790
CLOUDSTACK-4080: don't GC the network when it has vms in Starting state even when the nics are not allocated for them yet (can happen when vm is being created)
2013-08-05 14:14:44 -07:00
Daan Hoogland
ff803f4131
fix warnings in NetworkServiceImpl: removed unused code and add cases to switches
...
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-05 11:33:50 -07:00
Alena Prokharchyk
fda366f8d6
CLOUDSTACK-4087: updateTemplatePermissions - derive domainId from the template owner, not from the operation caller
2013-08-05 10:22:00 -07:00
Wido den Hollander
f025db9582
config: Only user low-case names for variables
2013-08-05 17:38:24 +02:00
Sanjay Tripathi
e0c6073a80
CLOUDSTACK-4075: User unable to archive events
2013-08-05 19:47:36 +05:30
Harikrishna Patnala
40e7502bcb
CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen and kvm CLOUDSTACK-3631: Enhance System vm deployment retry mechanism
...
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-08-05 18:21:23 +05:30
Nitin Mehta
ddf91226ea
CLOUDSTACK-3913
...
Private templates would now get copied to only one of image storage chosen randamly as was the case earlier. Dont throw an exception for uploading volumes when there are multiple image stores, instead choose one of them randomly
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-05 17:32:21 +05:30
Min Chen
a4e256b311
CLOUDSTACK-4040: [Object_store_refactor] System VMs are not spinning up
...
if S3 storage configuration is not part of zone creation wizard.
2013-08-02 17:59:24 -07:00
Min Chen
13d44fd7a6
CLOUDSTACK-3861 and CLOUDSTACK-3862: Deprecate old S3/Swift classes.
2013-08-02 16:05:53 -07:00
Alena Prokharchyk
8fe4c240bf
CLOUDSTACK-4023: lock the network during the shutdownNetwork (just the way we do when implement network)
2013-08-02 13:15:07 -07:00
Alena Prokharchyk
ed08f0f551
CLOUDSTACK-4022: listProjects - do searchIncludingRemoved when getting info of corresponding projectAccount because when the project is being removed, its account is marked as Removed first, but we might still want to retrieve its info
2013-08-02 09:04:05 -07:00
Bharat Kumar
0951739e32
fix to add the the overcommit details of the vms in uservm details table when decreasing the overcommit to one.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-02 19:17:51 +05:30
Kishan Kavala
aead26f769
CLOUDSTACK-4005: Do not allow snapshot on zone wide primary storage when KVM.snapshot.enabled is set to false
2013-08-02 18:08:30 +05:30
Bharat Kumar
60585b5181
[PATCH] upgrade to ASF 4.2 cloud Database Schema Inconsistencies
2013-08-02 17:22:31 +05:30
Kishan Kavala
7eb20b8500
CLOUDSTACK-4032: Added KVM.snapshot.enabled config to 41to42 upgrade
2013-08-02 11:58:48 +05:30
Fang Wang
1294a13f43
CLOUDSTACK-3759 [Automation] Failed to attach volume to VM, while vm are in stopped state Fix the null pointer.
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-01 17:45:37 -07:00
Alena Prokharchyk
59fedb1bdc
CLOUDSTACK-4020: lock nic entry in releaseNic method. Otherwise multiple threads can try to release the same nic at the same time, and it will lead to NPEs and backend failures
2013-08-01 16:02:35 -07:00
Bharat Kumar
4fb4afb88a
Cloudstack-3753 Multiple VLAN range API need to accept a list rather than "add" or "remove" per command
...
Reviewed-by: Alena Prokharchyk
2013-08-01 10:40:56 -07:00
Nitin Mehta
22a3ba18c3
=CLOUDSTACK-3102 ResourceDetail API - If you add detail for any resource other than volume and nic then throw an exception
2013-08-01 17:37:00 +05:30
Likitha Shetty
f744614769
CLOUDSTACK-3981. ListAccounts always sets 'networkTotal' to 0.
...
Add vpc resource count to the response. And set the right values for network resource count.
2013-08-01 14:15:31 +05:30
Harikrishna Patnala
b4fe025223
CLOUDSTACK-3351: Fix add cluster API to set right hypervisor type
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-01 13:52:20 +05:30
Harikrishna Patnala
3813189283
CLOUDSTACK-3042: handle System VM Scaling up of memory/CPU based on the presence of tools in the template
...
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-08-01 12:16:44 +05:30
Kelven Yang
dbc46d0677
Fix problems found in local test when JVM assertion is turned on
2013-07-31 16:25:56 -07:00
Edison Su
e3295a6af0
CLOUDSTACK-3950: the issue can be reproduced by: copy iso failed during the first time, for some reason, then copy the same iso again, the issue be triggered.
2013-07-31 15:46:37 -07:00
Wido den Hollander
79af8b16b2
CLOUDSTACK-3951: Don't require SSH access to KVM nodes when cancelling maintenance
...
Conflicts:
setup/db/db/schema-410to420.sql
2013-07-31 15:22:53 +02:00
Bharat Kumar
ba619ec112
recalculate the capacity after overcomit change.
2013-07-31 18:28:42 +05:30
Harikrishna Patnala
798c507c7d
CLOUDSTACK-2717: listCapabilities API to return
...
allow.public.user.templates configuration parameter value
defined at account level.
Signed by - Nitin Mehta<nitin.mehta@citrix.com>
2013-07-31 16:56:59 +05:30
Bharat Kumar
5c18483d81
Cloudstack-2997 unable to update concurrent_conncetions feild in network_offerin.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-31 15:32:28 +05:30
Kelven Yang
065ae7a497
Correct DAO usage in VmwareDatacenterVO, relax assertion conditions to work with stack calling frame that is not wrapped with @DB injection
2013-07-30 18:05:38 -07:00
Min Chen
a9efec6403
CLOUDSTACK-3949:[Object_Store_Refactor][Usage] No usage event is
...
generated for registered ISO.
2013-07-30 18:05:34 -07:00
Min Chen
20831d00fb
CLOUDSTACK-3686: Registering a template does not generate a usage event.
2013-07-30 17:33:18 -07:00
Prachi Damle
af95cfe98e
CLOUDSTACK-3942 NPE from findStoragePool method
...
Changes:
- Added null checks for podId
2013-07-30 16:56:21 -07:00
Alena Prokharchyk
026cca46c6
CLOUDSTACK-3948: fixed createAutoscaleVmProfile - for situation when no autoscaleUserId is passed in, take it from caller user id, not caller account id
2013-07-30 14:31:22 -07:00
Min Chen
4527227360
CLOUDSTACK-3857: create VOLUME_CREATE event at CreateVolumeCmd instead
...
of at AttachVolumeCmd.
2013-07-30 14:24:12 -07:00
Alena Prokharchyk
de1865ae5a
CLOUDSTACK-3958: listProjectAccounts - return account info only; user info can be extracted from listUsers&accountId command
2013-07-30 11:17:25 -07:00
Marcus Sorensen
f91c0f3cb2
Summary: Fix null pointer and op_networks blocker to account cleanup
...
Detail: Accounts can fail in cleanup/gc process due to inconsistent op_networks
table and null pointer in looking up account for event publishing.
BUG-ID: CLOUDSTACK-3957
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1375204815 -0600
2013-07-30 11:20:15 -06:00
Alena Prokharchyk
155b9df8ee
CLOUDSTACK-3902: createVpcOffering - throw an excpetion when sourceNat service is not passed in
2013-07-30 10:09:03 -07:00
Bharat Kumar
6e9bf56cf1
Fix for incorect capacity displayed at the db.
...
Conflicts:
engine/schema/src/com/cloud/capacity/dao/CapacityDaoImpl.java
server/src/com/cloud/alert/AlertManagerImpl.java
server/src/com/cloud/api/ApiResponseHelper.java
2013-07-30 22:13:44 +05:30
Harikrishna Patnala
a5054c1cde
CLOUDSTACK-3848: Usage events for dynamic scaling of cpu/ram operation on VM
2013-07-30 22:04:12 +05:30
Murali Reddy
4653cff88b
CLOUDSTACK-3642: [Usage][PortableIP] CS is not generating usage events
...
for portable IPs
generating usage event for acquire and release
2013-07-30 19:00:13 +05:30
Kishan Kavala
1550f5e26c
CLOUDSTACK-3439: Include dynamically created nics in Prepare for migration command in KVM
2013-07-30 18:23:56 +05:30
Murali Reddy
b5f33ae0d8
CLOUDSTACK-2991: [PortableIPRange] CS should not allow portable IP with
...
sourceNAT service on it
if a portable ip is first IP associated with a non-VPC network, then its
being considered as source nat IP. This fix adds exemption for portable
IP not to be considred for source nat.
2013-07-30 15:34:04 +05:30
Prasanna Santhanam
3d4d350dbe
simulator supports migration
...
Add simultor to the seemingly strict filter which should happen within
the hypervisor resource and not the virtualmachine :/
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 11:16:04 +05:30
Thomas O'Dowd
c78ed39b2f
Fix a few typos in ConfigurationManager.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 11:15:23 +05:30
Edison Su
734aa1d510
CLOUDSTACK-3908: fix extract path
2013-07-29 16:57:44 -07:00
Min Chen
140dfaaa5b
CLOUDSTACK-3862: Remove S3/Swift-backed Secondary Storage Code.
2013-07-29 14:04:52 -07:00
Alena Prokharchyk
3e9740c793
CLOUDSTACK-3914: assignToLoadBalancer - return false, when empty vmIds list is passed in
2013-07-29 13:56:29 -07:00
Alena Prokharchyk
31c425208a
CLOUDSTACK-3909: deployVM API - validate hypervisorType parameter when the vm is being deployed from ISO
2013-07-29 11:16:05 -07:00
Nitin Mehta
1bfe9eb0a4
CLOUDSTACK-3892
...
Implement the download url expiration functionality for templates. Also persist the template download urls after their creation
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-29 19:47:45 +05:30
Bharat Kumar
03176e2859
Cloudstack-2622 createipAlias.sh/deleteipAliash.sh should not be allowed with Isolated Guest Networks
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-29 18:26:19 +05:30
Rajesh Battala
c5a95184cb
CLOUDSTACK-3846 usage event is not generated for volume resize
2013-07-29 17:57:24 +05:30
Mice Xia
acd2396660
fix CLOUDSTACK-3591 add usage recording for VM snapshots
2013-07-29 17:57:20 +08:00
Harikrishna Patnala
4d35d92208
CLOUDSTACK-3779: Support System vm scaling on VMWare
...
Marked the system template new system template as dynamicallyScalable
- handled upgrade case
- moved "dynamicallyScalable" flag to vm_instance table from user_vm_details to support dynamic scaling of system vm
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-29 14:12:24 +05:30
Harikrishna Patnala
2b42a27177
CLOUDSTACK-3669: Bringing down the dynamic scalable check (for VM whether it has xstools or vmware tools in it) to the management layer.
2013-07-29 14:07:06 +05:30
Sateesh Chodapuneedi
460fe86eb5
CLOUDSTACK-3870 [VMware] Management traffic network over a VLAN is not working
...
CLOUDSTACK-3437 In case of multiple physical network setup we see log message "can't get physical network"
CloudStack's control network is management network in case of VMware.
Processing management VLAN id provided in zone traffic label for management traffic.`
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-29 08:16:58 +05:30
Prasanna Santhanam
de1dd52a4a
Fix wildcard imports from faeddc15ff
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 11:46:20 +05:30
Prachi Damle
027d4873b4
CLOUDSTACK-3343 UI/API should also return the mode(Strict/Preferred) when listing the ServiceOffering that uses ImplicitDedicationPlanner
...
Changes:
- API is fixed to return the service_offering details
2013-07-28 22:10:37 -07:00
Bharat Kumar
6f9c26ea49
Cloudstack-2997 Make haproxy maxconn configurable
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
Conflicts:
api/src/org/apache/cloudstack/api/ApiConstants.java
engine/schema/src/com/cloud/offerings/NetworkOfferingVO.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
setup/db/db/schema-410to420.sql
2013-07-29 10:07:15 +05:30
Nitin Mehta
faeddc15ff
CLOUDSTACK-3659
...
Implement the download url expiration functionality for volumes
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-28 17:40:26 +05:30
Murali Reddy
e3a35e42b8
CLOUDSTACK-3881: deleteZone fails with java.lang.IndexOutOfBoundsException
...
fixing regression due to commit c236645d9a
2013-07-28 13:01:22 +05:30
Min Chen
d6faf7b586
CLOUDSTACK-3861: Remove s3.enable and swift.enable from global setting.
2013-07-27 21:48:54 -07:00
Prachi Damle
bfd32ca8ff
CLOUDSTACK-3814 Duplicate entry for CPU, Public ip address in dashboard
...
Changes:
- ListCapacity API was searching the capacities per zone, pod and cluster causing duplicates to end up in th result.
- Instead we should group by zone if zone and pod both are null. Group by pod if zone is provided but no pod. Or group by cluster when zone and pod both are provided.
2013-07-27 15:53:20 -07:00
Harikrishna Patnala
b21de4006a
CLOUDSTACK-3703: change service offering of stopped vm on
2013-07-27 19:57:59 +05:30
Edison Su
ed46a64add
CLOUDSTACK-3852: fix upload volume
2013-07-26 18:05:10 -07:00
Min Chen
a2e2ef6a76
CLOUDSTACK-3857:[Object_Store_Refactor][Usage] Two VOLUME_CREATE usage
...
events are generated for one data disk after creating and attaching to
VM.
2013-07-26 17:34:06 -07:00
Alena Prokharchyk
07bf2b2227
CLOUDSTACK-3868: fixed "count" param in listUsageRecords API to return the actual number of records matching the search criteria. Used to return the wrong value - the number of records per page
2013-07-26 15:37:20 -07:00
Min Chen
1305697eaa
CLOUDSTACK-3818: NFS Cache Improperly Named.
2013-07-26 14:36:00 -07:00
Rajesh Battala
7b728cdb71
CLOUDSTACK-62 [AWS Style Health Checks] Response of the API listLoadBalancerRuleInstances should show the service state of a VM if health check is configured for it
...
Conflicts:
api/src/org/apache/cloudstack/api/ApiConstants.java
api/src/org/apache/cloudstack/api/response/UserVmResponse.java
2013-07-26 16:27:16 +05:30
Sanjay Tripathi
f4eab352e0
CLOUDSTACK-3488: listStoragePools throws NPE if any of the storage pools are not in the right state.
...
This issue is reporducible if user adds a primary storage and quickly fires
listStoragePool API command without waiting for the responce of previous
createStoragePool API command. So during this period
(before receiving createStoragePool API resonce), the primary srorage is in
initialized status and the "scope" of storage is not set.
2013-07-26 15:33:02 +05:30
Min Chen
e23e6b02db
CLOUDSTACK-3709:[Object_Store_Refactor][UI] Can't delete NFS Cache
...
storage through UI. Fixed at API side.
2013-07-25 17:02:30 -07:00
Alena Prokharchyk
a337cae7ca
CLOUDSTACK-3232: InternalLB system vm - allocate control ip address from the private range when vm's hypervisor is vmWare
2013-07-25 16:39:04 -07:00
Edison Su
7ee655f5cd
CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4
2013-07-25 16:35:09 -07:00
Prachi Damle
f59947c322
CLOUDSTACK-3821 RegisterTemplate URL validation issue
...
Changes:
- Added validation for the url path
2013-07-25 15:31:16 -07:00
Min Chen
35dcc4d6f9
Fix an incomplete logging message.
2013-07-25 15:22:36 -07:00
Edison Su
784bef766c
CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4
2013-07-25 15:11:17 -07:00
Koushik Das
f062fd4fc1
CLOUDSTACK-3493: [storage ref] Attach volume to VM is failing in case of Primary-Localstorage .
...
Some existing scenarios for root and data volume combination was not working. These are
a. Local root + Shared data
b. Shared root + Local data
Enabled these scenarios as part of this fix
Conflicts:
server/src/com/cloud/storage/VolumeManagerImpl.java
2013-07-25 17:23:21 +05:30
Nitin Mehta
e1eb70a4a5
=Disable the test and write a better one
2013-07-25 15:49:04 +05:30
Nitin Mehta
0d862a9247
CLOUDSTACK-3712
...
Use Vminstance instead of user vm for scaling stopped vms.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-25 14:38:29 +05:30
Harikrishna Patnala
4c81ea69c4
Fix for CLOUDSTACK-2536
...
Removing memoryovercommitratio and cpuovercommitratio parameters from addCluster and updateCluster APIs,
since these can be configurable using updateConfiguration API at cluster level.
By default while creating cluster these values are taken from global configuration parameters.
Conflicts:
server/src/com/cloud/resource/ResourceManagerImpl.java
2013-07-25 13:56:59 +05:30