Nitin Mehta
f8976a41ce
CLOUDSTACK-3101:
...
fix listVolumes to not display volumes to the normal users with forDisplay=false. But display volumes to ROOT Admin irrespective of the flag.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-04 16:16:28 -07:00
Mike Tutkowski
bced4c7e8b
Add support for hypervisor snapshots to CloudStack-managed storage (for XenServer and VMware)
2013-10-04 15:41:20 -06:00
Chris Suich
180cfa19e8
Refactor Storage Related Resource Code
...
These changes are a joint effort between Edison and I to refactor some
of the code around snapshotting VM volumes and creating
templates/volumes from VM volume snapshots. In general, we were working
towards allowing PrimaryDataStoreDrivers to create snapshots on primary
storage and not requiring the snapshots to be transferred to secondary
storage.
High level changes:
-Added uuid to NfsTO, SwiftTO & S3TO to cut down on the requirement of
PrimaryDataStoreTO and ImageStoreTO which don't really serve much of a
purpose
-Initial work towards enable reverting VM volume from snapshots
-Added hypervisor commands for introducing and forgetting new hypervisor
objects (snapshots, templates & volumes)
Signed-off-by: Edison Su <sudison@gmail.com>
2013-10-04 13:06:42 -07:00
Laszlo Hornyak
bd8536739c
remove txn attribute from DB
...
txn attribute was never actually used
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-04 10:15:39 -07:00
Nitin Mehta
73f6843840
CLOUDSTACK-4803:
...
Return "path" parameter as a result of all Volume calls. But to the admin only
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-03 18:00:42 -07:00
Darren Shepherd
c9a9a3b7b3
Make SnapshotStrategy and DataMotionStrategy discovered and registered
2013-10-03 17:03:28 -07:00
Nitin Mehta
2229e3e242
CLOUDSTACK-4803:
...
fix listVirtualMachines to not display vms to the normal users with forDisplay=false. But displayvms to ROOT Admin irrespective of the flag.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-03 15:10:55 -07:00
Darren Shepherd
67186429e1
Spring Modularization
...
ACS is now comprised of a hierarchy of spring application contexts.
Each plugin can contribute configuration files to add to an existing
module or create it's own module.
Additionally, for the mgmt server, ACS custom AOP is no longer used
and instead we use Spring AOP to manage interceptors.
2013-10-02 15:41:04 -07:00
Nitin Mehta
8466fad6ca
CLOUDSTACK-4785:
...
Adding list details for UserVm.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-02 14:53:07 -07:00
Nitin Mehta
85b5c6e353
CLOUDSTACK-4785:
...
Add support for adding user vm details and removing them.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-02 14:16:45 -07:00
Darren Shepherd
aed5e9dc2a
Add Manage Context framework
...
The managed context framework provides a simple way to add logic
to ACS at the various entry points of the system. As threads are
launched and ran listeners can be registered for onEntry or onLeave
of the managed context. This framework will be used specifically
to handle DB transaction checking and setting up the CallContext.
This framework is need to transition away from ACS custom AOP to
Spring AOP.
2013-10-02 13:09:52 -07:00
Alena Prokharchyk
3e7d0efb90
AddResourceDetail: enabled support for adding details for user vm (user_vm_details db table)
2013-10-01 09:28:35 -07:00
Alena Prokharchyk
b253d95de9
UpdateVirtualMachine: code cleanup - got rid of warnings and unused code from the method; extracted part of the code to its separate method.
2013-09-30 15:34:56 -07:00
Darren Shepherd
efbfae723e
Switch to setter injection for extensibility
...
Various classes are using member injection to inject extensible objects.
Really those object should come from an AdapterList that is injected in.
This patch switches the code to use setter injection that will later allow
spring to inject an AdapterList or something similar to allow
extensibility.
2013-09-30 09:45:07 -07:00
Darren Shepherd
692535f928
Cleanup DefaultUserAuthenticator and removed masking _name variable
...
DefaultUserAuthenticator maskes the _name varible in ComponentLifecycleBase
making the setName() method not work as expected. This patch cleans up the
code such that getName() will be getClass().getSimpleName() unless
overridden in the Spring configuration.
2013-09-30 09:33:33 -07:00
Alena Prokharchyk
43770e0cb2
CLOUDSTACK-4744: enhanced root admin API updateVolume with state/storageId parameters as a part of "Better control over first party objects" feature.
...
Also fixed existing bugs for the API:
* corrected action event to be VOLUME.UPDATE (was VOLUME.ATTACH)
* all parameters to update, should be optional - fixed that. If nothing is specified, the db object will remain with its original fields
2013-09-28 21:44:47 -07:00
Alex Huang
b60eef3e82
Added comments and finished off the work
2013-09-28 07:53:28 -07:00
Alex Huang
e8cac2c5d8
Changed SearchCriteria2 to GenericQueryBuilder to reflect the same placement
2013-09-28 07:53:26 -07:00
Alex Huang
e2988902c9
Changed SearchCriteria2 to GenericQueryBuilder to reflect the same placement
2013-09-28 07:53:25 -07:00
Alex Huang
a964cf549e
Continue to merge SearchCriteria2 and GenericSearchBuilder
2013-09-28 07:53:24 -07:00
Alex Huang
af8832f6bd
Unified both the SearchBuilder and SearchCriteriaService
2013-09-28 07:53:24 -07:00
Sheng Yang
dad47682cb
CLOUDSTACK-4745: Add StaticNatRule through firewall manager
...
This would fix CreateIpForwardingCmd API on 4.2+.
2013-09-26 14:00:32 -07:00
ynojima
a45ee749ac
CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor
...
Initial patch for VXLAN support.
Fully functional, hopefully, for GuestNetwork - AdvancedZone.
Patch Note:
in cloudstack-server
- Add isolation method VXLAN
- Add VxlanGuestNetworkGuru as plugin for VXLAN isolation
- Modify NetworkServiceImpl to handle extended vNet range for VXLAN isolation
- Add VXLAN isolation option in zoneWizard UI
in cloudstack-agent (kvm)
- Add modifyvxlan.sh script that handle bridge/vxlan interface manipulation script
-- Usage is exactly same to modifyvlan.sh
- BridgeVifDriver will call modifyvxlan.sh instead of modifyvlan.sh when VXLAN is used for isolation
Database changes:
- No change in database structure.
- VXLAN isolation uses same tables that VLAN uses to store vNet allocation status.
Known Issue and/or TODO:
- Some resource still says 'VLAN' in log even if VXLAN is used
- in UI, "Network - GuestNetworks" dosen't display VNI
-- VLAN ID field displays "N/A"
- Documentation!
Signed-off-by : Toshiaki Hatano <haeena@haeena.net>
2013-09-26 23:37:18 +09:00
Daan Hoogland
6f970c6ff9
static nat capabilities parsing cleanup and testing
2013-09-26 15:18:52 +02:00
Edison Su
81ff4795df
fix compile errors
2013-09-25 17:59:54 -07:00
Edison Su
a9aad4f388
add sourcetemplateid for template created from volume/snapshot
...
Conflicts:
server/src/com/cloud/template/TemplateManagerImpl.java
2013-09-25 16:35:31 -07:00
Edison Su
d1a14fbf95
disk resize NPE, if the new disk offering doesn't have tags, then NPE
2013-09-25 16:29:01 -07:00
Edison Su
49d8e44491
CLOUDSTACK-4459: one more try, bypass libvirt to find volume if libvirt call failed
...
Conflicts:
server/src/com/cloud/template/TemplateManagerImpl.java
2013-09-25 16:16:10 -07:00
Edison Su
a82b179878
add table lock on snapshot, during taking snapshot
...
Conflicts:
engine/storage/src/org/apache/cloudstack/storage/image/db/SnapshotDataStoreDaoImpl.java
2013-09-25 16:03:59 -07:00
Edison Su
7b6aebc102
add test
...
Conflicts:
engine/storage/integration-test/test/org/apache/cloudstack/storage/test/FakeDriverTestConfiguration.java
2013-09-25 15:58:46 -07:00
Edison Su
b3ac12e171
delete snapshot_store_ref if the snapshot is in error state
2013-09-25 15:51:55 -07:00
Abhinandan Prateek
77bec4f2ad
Cloudstack-2997: the maxconn setting is masked by wrong conditions
2013-09-25 21:09:24 +05:30
Wei Zhou
98c79cc313
CLOUDSTACK-4732: search network name for virtual router when listRouters by keyword
2013-09-24 15:01:14 +02:00
Wei Zhou
e61f1bb158
fix issue: listHosts with hahost throws exception
...
(cherry picked from commit a206f423a3 )
2013-09-24 11:59:35 +02:00
Alena Prokharchyk
2fa5a5ae97
CLOUDSTACK-4704: 41-42 db upgrade - populate vpc_service_map table with the services/providers supported by VPC
...
(cherry picked from commit 798f34a49c )
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-23 14:18:41 +02:00
Abhinandan Prateek
c7cc79181b
Revert "Cleanup DefaultUserAuthenticator and removed masking _name variable"
...
This reverts commit 4d01ce8fc7 .
2013-09-20 19:33:50 +05:30
Darren Shepherd
4d01ce8fc7
Cleanup DefaultUserAuthenticator and removed masking _name variable
2013-09-20 17:40:00 +05:30
Alena Prokharchyk
94e744fe0c
CLOUDSTACK-4573: fixed decrement resource count for VPC networks
2013-09-19 17:20:22 -07:00
Laszlo Hornyak
88954053c3
do not instantiate Long just for toString
...
replaced Long object instantiation with static call to Long.toString in case it was only to generate a string
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-09-19 16:58:59 +02:00
Daan Hoogland
284742ad11
add networkofferid to search network for
2013-09-19 16:26:46 +02:00
Kelven Yang
b6d448d1fd
apply https://reviews.apache.org/r/14189/ - UserVmDomRInvestigator and ManagementIPSystemVMInvestigator mask adapter name
2013-09-18 17:58:31 -07:00
Prachi Damle
62d60c2b77
CLOUDSTACK-4664: [ZWPS] High delay to start a stopped VM which has ROOT/DATA volumes migrated to Second Zone wide primary Storage(More than 10 mins)
...
Changes:
- DeploymentPlanningManager needs to reuse the zone wide primary storage pool when VM's volume is READY
2013-09-18 16:52:07 -07:00
Prachi Damle
7416383fcd
CLOUDSTACK-4651: Restarting management server when volume Snapshot is still in progress for root volume of a VM , then there is no way to restart VM since the startVM job is stuck forever since the volume is in "Snapshoting" state.
...
Change:
-If no volume of the VM is usable, VM cannot be deployed or started. Atleast ROOT volume should always be in usable state to start up the VM
2013-09-18 16:52:04 -07:00
Alena Prokharchyk
d34b79c970
CLOUDSTACK-4573: fixed resource limit check when acquire public IP in VPC - update resource count for VPC public ip even when network_id is not set yet.
2013-09-18 14:43:42 -07:00
Daan Hoogland
2614b00c51
sdn hosted vpc gateways (using lswitch)
2013-09-18 16:56:56 +02:00
Kelven Yang
832db1b398
Apply https://reviews.apache.org/r/14084/
2013-09-17 16:29:48 -07:00
Kelven Yang
5820b071b8
CLOUDSTACK-4659: Add the missing feature back for GC VMware worker VMs
2013-09-17 14:06:52 -07:00
Min Chen
22c5ea0ebe
CLOUDSTACK-4671:ListZone API failed with Assertion error if assertion is
...
turned on for MS.
2013-09-13 17:21:24 -07:00
Laszlo Hornyak
cb3a3da75d
simplify setCpuUsed
...
- variables inlined
- cpu utilization is not cast to float from double
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-09-11 21:33:02 -07:00
Laszlo Hornyak
d3237e75b2
simplified casting
...
double values do not need a Double object to be casted to long
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-09-11 18:27:54 -07:00
Donal Lafferty
e958f22ff3
CIFS support for secondary storage is documented here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CIFS+Support
...
It was implemented by extending the NFS provider. Its validation was updated so that you can pass it a URL containing the
details of a CIFS share. The code that mounts NFS shares was extended to allow it do the same for CIFS shares. Otherwise,
the secondary storage code is left unchanged.
2013-09-11 14:23:29 +05:30
Daan Hoogland
25c8cee01a
CLOUDSTACK-4346 uses of parseInt and parseLong secured
2013-09-09 22:19:59 +02:00
Daan Hoogland
947f49d869
Revert "uses of parseInt and parseLong secured"
...
This reverts commit f8fb422612 .
2013-09-09 22:17:10 +02:00
Daan Hoogland
f8fb422612
uses of parseInt and parseLong secured
2013-09-09 22:15:07 +02:00
Alex Huang
a05ec6df33
Fixed up the agent separation. Added comments for config packaging.
2013-09-06 15:40:39 -07:00
Alex Huang
1f5699b29f
Fixed unit tests
2013-09-06 15:40:39 -07:00
Alex Huang
8f556e6d88
Made changes to configuration. Eliminated ConfigValue and only use ConfigKey
2013-09-06 15:40:38 -07:00
Alex Huang
b8e79c30a8
Compile complete
2013-09-06 15:40:37 -07:00
Alex Huang
6e8ca99466
Got all of the config stuff out of the way
2013-09-06 15:40:36 -07:00
Alex Huang
47afae8112
Merged conflicts resolved
2013-09-06 15:40:36 -07:00
Alex Huang
5b439f0748
Revert "Revert "Added missing files""
...
This reverts commit 48053001fb2303d4acfb77d23fe3733941e83781.
2013-09-06 15:40:35 -07:00
Alex Huang
06493d5b5c
Revert "Added missing files"
...
This reverts commit a1dfc227e895d724f68c0206643825b3ba43116c.
2013-09-06 15:40:35 -07:00
Alex Huang
375eadd3d3
Added missing files
2013-09-06 15:40:34 -07:00
Alex Huang
435e74e914
Commit to try something on removing getZone
2013-09-06 15:40:33 -07:00
Alex Huang
2e5bb63f77
Moved NetworkManagerImpl to NetworkOrchestrator
2013-09-06 15:40:32 -07:00
Alex Huang
8e5249df62
Moved NetworkManager to NetworkOrchestrationService
2013-09-06 15:40:31 -07:00
Sheng Yang
ebb9a0c619
Revert "CLOUDSTACK-2792: Send "saved_password" to BACKUP router when reset password for user VM"
...
This reverts commit 5a8a2a259e .
We would fix it in another way, since mgmt server may get state updated in
time.
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2013-09-05 14:26:52 -07:00
Kelven Yang
71b8f6061f
CLOUDSTACK-4376: fix cloud-early-config to workaround vSwitch stall in VPC mode. fix potential NPE in DirectAgentAttache in processing answers from resource
2013-09-04 14:49:45 -07:00
Kelven Yang
c528e71fec
CLOUDSTACK-4390, CLOUDSTACK-4358: Enable full-clone deployment by default for VMware. Apply keep-alive kick for all outstanding vCenter sessions
2013-09-04 14:49:45 -07:00
Kelven Yang
9a2148ffc3
CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/
2013-09-04 14:49:45 -07:00
Kelven Yang
f383656b21
Fix problems found in local test when JVM assertion is turned on
2013-09-04 14:49:44 -07:00
Kelven Yang
249e2e8f59
Correct DAO usage in VmwareDatacenterVO, relax assertion conditions to work with stack calling frame that is not wrapped with @DB injection
2013-09-04 14:49:44 -07:00
Prachi Damle
f31c318158
Changes required to merge to master:
...
- Replace UserContext by CallContext
2013-09-03 20:03:11 -07:00
Prachi Damle
6a0bda0280
CLOUDSTACK-4337 Dedicated Resources: Zone dedicated to an account should only be visible and accessible to that account
...
Changes:
- When listing a zone, add clause in the search to check the account_id for a dedicated zone
- When listsing a zone with a domainid, add a similar clause.
- DomainCheck:: checkAccess() for a zone should consider that zone can now be dediacted to a specific account and check access accordingly.
Conflicts:
server/src/com/cloud/api/query/vo/DataCenterJoinVO.java
setup/db/db/schema-410to420.sql
2013-09-03 20:02:59 -07:00
Prachi Damle
012afceed2
CLOUDSTACK-4276 Dedicated Resources: Private Zone functionality issues
...
Changes:
createZone API:
- This API takes in domainid, set it to the zone record in the data_center table
updateZone API:
- This API uses 'isPublic' flag to set a private zone to public - if this flag is set and the zone is dedicated, release the dedication and remove the domainid from the data_center table
listZone API:
- This API already has 'domainid' parameter. We should allow list zones by domain for Root admin.
DedicateZone API:
- set domainid in the data_center table
ReleaseDedicatedZone API:
- remove zoneid from the data_center table
2013-09-03 20:02:56 -07:00
Prachi Damle
96ca70e2da
CLOUDSTACK-4259 Dedicated Resources: createAffinityGroup API should not allow admin to create the group of this type through API
...
Changes:
- Block API from creating this type of group
2013-09-03 20:02:53 -07:00
Prachi Damle
2ce2552132
CLOUDSTACK-4234 Dedicated Resources: When multiple dedication groups are chosen for VM deployment, dedicated resources belonging to both groups should be considered
...
- Override the equals method
2013-09-03 20:02:47 -07:00
Prachi Damle
ef22b42b38
CLOUDSTACK-4221: Dedicated Resources: changes to associate the dedicated resource with the 'ExplicitDedication' affinity group
...
Changes:
- Implict creation of the 'ExplicitDedication' Affinity group during resource dedication
- Only one group per account or per domain will be present
- ListDedicatedResources by affinityGroup
- Deployment should consider dedicated resources associated to the group only
- Deleting affinity group should release the dedicated resouces
- Releasing the dedicated resources should remove the group associated if there are no more resources.
Conflicts:
plugins/dedicated-resources/src/org/apache/cloudstack/dedicated/DedicatedResourceManagerImpl.java
plugins/dedicated-resources/test/org/apache/cloudstack/dedicated/manager/DedicatedApiUnitTest.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
2013-09-03 20:02:38 -07:00
Prachi Damle
a06bd9fa2b
CLOUDSTACK-4168 Root Admin should be able to create 'ExplicitDedication' affinity group at domain level and make it available for all accounts in the domain
...
Changes:
- 'ExcplicitDedication' type of group can be created/deleted by Root admin only
- Users can no longer create this type of affinity group
- RootAdmin can create this type of affinitygroup at domain level. Such a domain level group is available for all accounts in that domain for listing and for use during deployVM.
- The domain level affinitygroup should be visible to the users in that domain, domain admins and Root admin.
Conflicts:
server/src/com/cloud/api/query/QueryManagerImpl.java
server/src/org/apache/cloudstack/affinity/AffinityGroupServiceImpl.java
server/test/org/apache/cloudstack/affinity/AffinityApiUnitTest.java
2013-09-03 20:02:34 -07:00
Min Chen
e92d46bfd4
CLOUDSTACK-4600:Registered Cross-zone template does not populate
...
template_zone_ref for later added zones.
2013-09-03 16:39:23 -07:00
Chip Childers
bf967eb622
Updating datetime format of events to include the timezone
2013-09-03 12:45:01 -04:00
Chip Childers
ee13e19a03
Passing description string through to the EventBus for ActionEvents
2013-09-03 12:34:36 -04:00
Chip Childers
c86f3bc969
Adding body and subject to the AlertGenerator's Event description hash
2013-09-03 12:28:26 -04:00
Chip Childers
14ee684ce3
Adding eventDateTime to all event generation locations
2013-09-03 11:34:56 -04:00
Wei Zhou
65c1c986da
CLOUDSTACK-1192: fix collectVmDiskStatistics issue when stopping a vm
2013-09-03 11:45:34 +02:00
Jayapal
7aea599eb4
CLOUDSTACK-4586 Added CIDR validation for SG Egress rules
2013-09-03 14:18:18 +05:30
Wei Zhou
a16fd4781c
CLOUDSTACK-4566: fix incorrect values in resource_count table for resource limitation
...
There are three issues in resource_count table
(1) expunge a vm, the public_ip decreases and becomes -1 in basic zone.
(2) recover a vm, the volume increase.
(3) restore a vm, the volume decrease.
2013-09-02 16:56:34 +02:00
Daan Hoogland
d9c06e538b
CLOUDSTACK-4346 replace URI getHost() and create(String) calls with BroadcastDomainType methods
2013-09-01 22:53:23 +02:00
Ian Duffy
bdba0ddeed
Bring up to date with master
2013-08-31 00:25:48 +01:00
Prachi Damle
af175d8c65
CLOUDSTACK-4528 [Vmware] new mapping vmware datacenter cloudstack zone - Virtual Router host migration across cluster FAIL
...
Change:
- Also add a check in migrateSystemVM API to check that source and destination host are in the same cluster
2013-08-28 17:03:24 -07:00
Prachi Damle
92eb84c3e0
CLOUDSTACK-4528: [Vmware] new mapping vmware datacenter cloudstack zone - Virtual Router host migration across cluster FAIL
...
Changes:
- listHosts within same cluster for migration of system and router VMs
2013-08-28 17:03:21 -07:00
Chiradeep Vittal
4a9b2fb584
Since some config values moved to individual ConfigKey<T> from Config.java, validation is broken for those keys. Workaround the issue so that updateConfiguration API still works
2013-08-27 18:04:30 -07:00
Min Chen
b67a832f77
CLOUDSTACK-4530:Create Template from a Snapshot fails with unable to
...
find any snapshot ova/ovf when we have multiple secondary storage for a
zone.
2013-08-27 17:15:11 -07:00
Murali Reddy
5f42e2937d
CLOUDSTACK-3010: [VMWare] [SharedNetworkWithServices] router VM
...
deployment fails with error "Message: Invalid configuration for device
'2'."
ensuring that direct network guru assigns a mac address for the nic that
it designs
2013-08-28 00:49:38 +05:30
Harikrishna Patnala
81938c68ac
CLOUDSTACK-4482: getVMPassword() API call does not return password for Vms that are deployed with password enabled templates.
...
Improving the error message saying ssh key pair should be assinged to VM to get the encrypted password.
Signed-off-by: Koushik Das <koushik@apache.org>
2013-08-27 16:41:07 +05:30
Alex Huang
8113ebb08f
Moved the csvtotags into StringUtils. It was there to begin with. No idea who copied it to ConfigurationManager
2013-08-26 20:27:27 -07:00
frank
64f9f0cee6
CloudStack CLOUDSTACK-4484
...
Vmware - Not able to fetch userdata from guest Vms using http://<router-address>/latest/user-data
2013-08-26 17:54:39 -07:00
Alex Huang
abbae2aa87
Fixed the problem with offerings and templates. These two items due to a previous patch all the way back in 2.1.x versions uses the removed column incorrectly. No one fixed since then. Hence, there's a bunch of findbyidincludingremoved calls in the cloudstack code around these two items.
2013-08-26 17:31:10 -07:00
Alex Huang
2d05fe40c0
Removed getPod, getCluster from ConfigurationManager
2013-08-26 17:31:09 -07:00
Alex Huang
ff6b3fd11a
Removed getzone
2013-08-26 17:31:08 -07:00
Koushik Das
eeac80eaa2
CLOUDSTACK-4350: [Performance Testing] Adding hosts take much longer time than baselines
...
During host connect multiple listeners gets invoked, one of them is the download listener.
As part of processConnect() method, it checks if templates needs to be downloaded to secondary
store for a particular HV type. As part of that check it computes list of HVs present in the
zone. The earlier logic was to query all hosts (excluding current one) and iterate over them to
make the list. This is not optimal and is bound to have some latency as the number of hosts
increases.
Optimized the logic by querying the list of HVs from the db. directly instead of iterating over
all hosts in the zone.
Conflicts:
server/src/com/cloud/resource/ResourceManagerImpl.java
2013-08-26 16:18:54 +05:30
Toshiaki Hatano
914e7c4542
Revert "CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor"
...
This reverts commit 34ae32e0c2 .
2013-08-24 07:12:23 +00:00
Toshiaki Hatano
34ae32e0c2
CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor
...
Initial patch for VXLAN support.
Fully functional, hopefully, for GuestNetwork - AdvancedZone.
Patch Note:
in cloudstack-server
- Add isolation method VXLAN
- Add VxlanGuestNetworkGuru as plugin for VXLAN isolation
- Modify NetworkServiceImpl to handle extended vNet range for VXLAN isolation
- Add VXLAN isolation option in zoneWizard UI
in cloudstack-agent (kvm)
- Add modifyvxlan.sh script that handle bridge/vxlan interface manipulation script
-- Usage is exactly same to modifyvlan.sh
- BridgeVifDriver will call modifyvxlan.sh instead of modifyvlan.sh when VXLAN is used for isolation
Database changes:
- No change in database structure.
- VXLAN isolation uses same tables that VLAN uses to store vNet allocation status.
Known Issue:
- Some resource still says 'VLAN' in log even if VXLAN is used
- in UI, "Network - GuestNetworks" dosen't display VNI
-- VLAN ID field displays "N/A"
2013-08-24 01:39:11 +00:00
Min Chen
c6e569755f
CLOUDSTACK-4481:API: listEventTypes returns nothing; raises ERROR in MS
...
logs.
2013-08-23 15:26:57 -07:00
Min Chen
4218ce48f1
CLOUDSTACK-4478:API: ListSwiftsCmd API missing.
2013-08-23 15:26:25 -07:00
Marcus Sorensen
62072514f0
CLOUDSTACK-4661: fix vpcid field in response of creating vpn gateway
2013-08-22 15:17:12 -06:00
Alena Prokharchyk
96a17cc036
CLOUDSTACK-4428: "kvm.snapshot.enabled" flag shouldn't affect detached volumes, or volumes attached to the vm in Stopped/Destroyed state
2013-08-21 16:27:16 -07:00
Alena Prokharchyk
d5379b8704
CLOUDSTACK-4392: API volumeresponse - return primary storage information to ROOT and resource domain admin only.
2013-08-21 15:43:06 -07:00
Koushik Das
502c1db103
CLOUDSTACK-3441: [Load Test] High delays between VM being allocated to Pod and network implementation causing delays in VM deployment
...
The locking code in implement/shutdown network code was not efficient. Even in order to check the current state of the network lock was getting acquired which is not required. This resulted in delays in deploy VM as can be seen from attached logs where the code waited on the lock just to check if network is implemented.
As part of the fix moved out code that is checking if the network is already implemented or shutdowned outside the lock.
2013-08-21 15:25:45 +05:30
Koushik Das
534e0977c3
CLOUDSTACK-2131: [Performance][Enhancement] Avoid checking for providers that are not enabled while creating network.
...
For some scenarios like prepare nic, all network service providers are checked which is not efficient and also introduces unnecessary dependencies.
The check to use only the required providers is already there for implement, shutdown operation on network. Put the same check for all missing cases.
2013-08-21 12:48:51 +05:30
Min Chen
3bd2bbf59d
CLOUDSTACK-3950:Set cross-zone flag in registerTemplate/registerIso in
...
case of region-wide secondary is enabled.
2013-08-20 14:13:49 -07:00
Alena Prokharchyk
d7216a776e
CLOUDSTACK-4410: Parallel vm execution - turn on and off based on the global configuration variable. Before the fix, was hard coded to on
2013-08-20 11:04:50 -07:00
Alex Huang
494ea5052f
Made IpAddressManager a manager
2013-08-19 14:13:31 -07:00
Alex Huang
f23f1530e7
Removed missing class from application context
2013-08-19 14:13:31 -07:00
Alex Huang
45d239882b
Added missing files
2013-08-19 14:13:30 -07:00
Alex Huang
092e20204a
Divided NetworkManagerImpl into two files: NetworkManagerImpl and IpAddressManagerImpl
2013-08-19 14:13:29 -07:00
Alex Huang
564502abd7
Moved the virtualmachine implementation into engine/orchestration
2013-08-19 14:13:28 -07:00
Alex Huang
4ba359c3fe
Moved VirtualMachineManager into engine
2013-08-19 14:13:28 -07:00
Marcus Sorensen
1b52a298e8
CLOUDSTACK-4379: Reset VM states when host is removed from cluster
...
If you shut down the agent while VMs are running, the management
server assumes that the VMs are continuing to run. You can then
delete the host while it is in 'disconnected' state, and those VMs
will be unusable, forever in running state. They can't change state
because the host no longer exists. This patch checks for any VMs
that may have been tied to the removed host and resets their state
so that cloudstack can continue to manage them.
2013-08-17 00:25:14 -06:00
Min Chen
97ff4981c5
CLOUDSTACK-3274: Remove duplicate cleanString calls in logging api for
...
performance improvement.
2013-08-16 11:10:25 -07:00
Bharat Kumar
15c93ba9b7
=CLOUDSTACK-4068 scaling up user vm and system vm is failing with NPE if current service offering is deleted
...
Nitin Mehta <nitin.mehta@citrix.com>
2013-08-16 17:27:00 +05:30
Nitin Mehta
088ce975c6
CLOUDSTACK-4313
...
Wrong error message is throwing on failure of dynamic scale up operation. Fix it.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-16 13:03:42 +05:30
Min Chen
081cfa7b6b
CLOUDSTACK-4277:listTemplate should return empty list without any zone
...
configuration.
2013-08-15 16:47:35 -07:00
Min Chen
c675f826e5
CLOUDSTACK-4318:[Object_Store_Refactor] Failed to delete snapshot copied
...
to Staging storage during snapshot creation.
2013-08-14 18:12:53 -07:00
Alena Prokharchyk
ae617b6a35
Revert "fix CLOUDSTACK-2989, do not list network offering with specifyvlan=true for non-root-admin user"
...
This reverts commit 94254e3c2b .
Conflicts:
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
Regular user should be able to list the network offering with specifyVlan=true. He just can't use when create the network as he is unaware of the physical network topology. But as the admin can create the network on the user's behalf using this kind of offering, so the user should be able to see the offering's details
2013-08-14 15:22:36 -07:00
Mike Tutkowski
0f60b5d41c
CLOUDSTACK-4331 - Enable more capacity from a managed storage device to be given to CloudStack
2013-08-14 15:02:57 -06:00
Alena Prokharchyk
b727001f48
CLOUDSTACK-4315: VPC - when fail to add nic to the VR, a) remove the nic b) remove the reference to nic from router_network_ref table. Before the fix b) was missing, and it caused NPEs when tried to apply the rules on the routers not having nic in the network
...
Conflicts:
server/src/com/cloud/network/element/VirtualRouterElement.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2013-08-14 11:44:34 -07:00
Edison Su
f87eed5b79
fix compile
2013-08-13 15:16:46 -07:00
Edison Su
3eb34d082d
CLOUDSTACK-4298: in case both xenserver/vmware mixed in one zone, need to make sure, ssvm is loaded with premiumsecondaryresource
2013-08-13 15:16:46 -07:00
Edison Su
c58f15d867
CLOUDSTACK-4222: use new volume object in case of migrate volume
2013-08-13 15:16:45 -07:00
Wei Zhou
3ab1abc6ba
CLOUDSTACK-4296: fix a similar issue
...
(cherry picked from commit e2f47871d1 )
2013-08-13 21:56:21 +02:00
Wei Zhou
da7f924cc5
CLOUDSTACK-4296: fix parameter setting error in listVirtualMachines command
...
(cherry picked from commit 72f013f780 )
2013-08-13 21:39:24 +02:00
Wido den Hollander
227509be46
Remove .java.orig file
...
Left over from somebodies editor?
2013-08-13 16:25:09 +02:00
Likitha Shetty
4d48d9603d
CLOUDSTACK-4286. Add one more check for validating vlanrange parameter with "dedicateGuestVlanRange" API
2013-08-13 18:54:10 +05:30
Kishan Kavala
29a399b9ae
CLOUDSTACK-4289, CLOUDSTACK-4290, CLOUDSTACK-4291 : Check for null when populated UUID while listing usage records.
...
Filed CLOUDSTACK-4299 to make these entities always available.
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2013-08-13 18:53:00 +05:30
Nitin Mehta
5b41be3567
CLOUDSTACK-4270
...
ASF 4.1 to 4.2 Upgrade: Missing Global Configuration parameters on the Upgraded Setup related to "storage.cache". Adding them
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-13 12:16:31 +05:30
Alex Huang
3df5571d2e
Resolved merge conflicts
2013-08-12 20:15:24 -07:00
Alex Huang
de2bd96d98
Moved volume related code into cloud-engine-orchestration
2013-08-12 19:06:51 -07:00
Alex Huang
ae8ed58228
Added missing file
2013-08-12 19:05:23 -07:00
Alex Huang
0e19e82fac
Split up the volume manager into two. One part is for self-service. One part belongs in the engine. Removed old 2.1 upgrade code. In order to upgrade from 2.1, you must upgrade to 2.2. first. So therefore these files are no necessary in the newer versions of CloudStack
2013-08-12 19:05:22 -07:00
Jessica Wang
3c16adf6dc
CLOUDSTACK-4142: listNetworkOfferings API has been changed to not return system-owned network offerings to regular-user. So, add networkofferingconservemode property to listNetworks API response.
2013-08-12 17:50:02 -07:00
Min Chen
ebdc5786bf
CLOUDSTACK-4250: [Object_store_refactor] Register ISO fails in multizone
...
environment if downloading to one of the zone fails.
2013-08-12 11:26:26 -07:00
Saksham Srivastava
5510bca9e5
CLOUDSTACK-4189: [UI] In multi zone setup, dedicating a single zone to a domain, shows other zones dedicated as well
2013-08-12 18:27:52 +05:30
Murali Reddy
5cff9bd2e6
CLOUDSTACK-4111: Prompt "Acquire New IP - Cross Zones - YES/NO" wizard
...
only when there is portable IP range added at region level.
region response will now have details if portable IP service is enabled
or not. Portable IP service for a region is turned off by default. when
adming adds a portable ip range portable ip service is enabled for the
region.
2013-08-12 18:12:13 +05:30
Likitha Shetty
cd2ea3b844
CLOUDSTACK-4244. Unable to attach a volume to a VM deployed in Stopped (startvm=false) state.
...
While attaching a volume to a VM, create volume on the hypervisor only if the VM has been started on the it.
2013-08-12 15:49:08 +05:30
Rajesh Battala
be9dbcc2c5
CLOUDSTACK-3946 [KVM] [Zone Wide Primary Storages] migrateVolume is deleting the volume if the source and destination pool are same
2013-08-12 13:41:49 +05:30
Murali Reddy
f1c611ac60
CLOUDSTACK-4206: [EIP/ELB] Failed to disableStaticNAT when the userVM is
...
in destroyed state.
ignore VM state when system is enabling static NAT on the system IP to
VM in EIP enable network
2013-08-12 04:49:03 +05:30
Harikrishna Patnala
2868d4b336
CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen and kvm; Zone host is ready, but secondary storage vm template: 3 is not ready on secondary storage: 2
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-11 20:34:39 +05:30
Mike Tutkowski
d39408cd0c
CLOUDSTACK-4227
2013-08-10 17:43:15 -06:00
Harikrishna Patnala
5404bf6063
CLOUDSTACK-4123: 3.0.6 to ASF 4.2 Upgrade: On Adding VMWare Cluster to the Setup, 3.0.6 System VM Template for VMWare is downloaded instead of 4.2
...
Updating the new system template URLs for the existing templates during upgrade to 4.2.
If new 4.2 system template is registered before upgrade then marking the old templates as removed during upgrade.
2013-08-10 18:02:49 +05:30
Anthony Xu
36d7b49d5f
CLOUDSTACK-4210
...
delete templateVO entry when there is no image store having this template
2013-08-09 12:08:00 -07:00
Likitha Shetty
ec669ff48e
CLOUDSTACK-3786. Snapshots removed field is not set after successful deletion of the snapshot.
...
Set the removed field for snapshot when the storage gc removes the snapshot
2013-08-09 18:48:29 +05:30
Koushik Das
8cf48ed2ce
CLOUDSTACK-4179: [Performance Testing] Time taken for Deploy VM async job to complete is considerably higher
...
The time increased due to the newly added dedicated resources feature. During regular VM deployment, all dedicated resources are put in avoid list so that they are not considered for deployment.
Now the way to compute the list of dedicated resources is not optimal and performance deteriorates in an environment having lot of pods, clusters and hosts as the logic is to query db. for each suc resource.
The fix is to optimize the logic not to loop through all resources but get the list of each resource type in a single query.
Conflicts:
server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
2013-08-09 16:57:21 +05:30
Devdeep Singh
32701f027a
CLOUDSTACK-2670. Migrate volume doesn't allow migration of volumes of a stopped vm.
...
The findStoragePoolsForMigration and migrateVolume api were explicitly blocking moving
a volume if the instance to which it was attached was stopped. Updated the check for
the same.
2013-08-09 14:28:01 +05:30
Min Chen
99c3e4f3f5
CLOUDSTACK-4190: Add endpoint selector implementation for ImageCache
...
data store and also delete object from staging area for volume copy from
primary to secondary or vice versa.
2013-08-08 16:17:00 -07:00
Alex Huang
5495f10bce
Revert "Reverting the range of commits that broke the build"
...
This reverts commit b59e3aaefc .
2013-08-08 15:02:40 -07:00
Alena Prokharchyk
958c2b2040
CLOUDSTACK-4141: resizeVolume - read the result of AsyncCallFuture execution. If false, return null to the API caller
2013-08-08 13:53:58 -07:00
Alena Prokharchyk
4976a67bfc
CLOUDSTACK-4193: don't let privateGateway to be created with NULL networkId
2013-08-08 10:49:12 -07:00
Bharat Kumar
5f2f5181e9
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.
...
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-08 10:31:15 -07:00
Min Chen
1a194ef725
CLOUDSTACK-1405:ZWPS: listStoragePool API doesn't accept scope parameter
...
.
2013-08-08 10:10:15 -07:00
Likitha Shetty
b7c5068327
CLOUDSTACK-4186. Signature computed while accessing VM's console is not aligned with how signature is computed for other APIs
2013-08-08 16:29:12 +05:30
Prasanna Santhanam
b59e3aaefc
Reverting the range of commits that broke the build
...
This reverts commits 30c33415..f6a2c817bc
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 14:46:56 +05:30
Likitha Shetty
aba50f81cf
CLOUDSTACK-4153. Guest vlan dedication is not working as expected in case of multiple physical networks.
2013-08-08 10:59:19 +05:30
Alex Huang
5287f4c9ec
Got everything running through testing
2013-08-07 16:41:06 -07:00
Alex Huang
5161ded69c
Removed the configuration parameters from Config.java
2013-08-07 16:41:05 -07:00
Alex Huang
49cd4fa380
Connected config gathering to CloudStack
2013-08-07 16:41:04 -07:00
Alex Huang
942f282a6e
Moved config into it's own package
2013-08-07 16:41:02 -07:00
Alex Huang
cf3bbb1fb1
Switched AgentManager to use ConfigDepot
2013-08-07 16:41:00 -07:00
Edison Su
e115ee4026
CLOUDSTACK-3535: still maintain stop agent wont trigger HA
2013-08-07 14:43:16 -07:00
Edison Su
5b0314fff9
CLOUDSTACK-3535: add kvminvestigator to investirage kvm host
...
Conflicts:
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
2013-08-07 11:44:19 -07:00
Saksham Srivastava
61c7aa7afe
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 17:15:12 +05:30
Likitha Shetty
31fe99ef91
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:28:27 +05:30
Sateesh Chodapuneedi
c14c736d7a
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:36:32 +05:30
Wido den Hollander
fd793f7fb6
config: Fix a typo in the configuration option
2013-08-06 15:19:43 +02:00
Bharat Kumar
1a89bc06c8
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:28:22 +05:30
Murali Reddy
42b81009b9
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:16:58 +05:30
Jayapal
6164077ee8
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:25:51 +05:30
Likitha Shetty
eac3631abe
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:02:40 +05:30
Murali Reddy
323f246765
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 16:01:11 +05:30
Prasanna Santhanam
0eafc0c0d8
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>
(cherry picked from commit 0e216fa7e41bdfe0cc744006bb896c8b00138ca2)
2013-08-06 10:39:14 +05:30
Murali Reddy
56d7ccef97
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:56:26 +05:30
Alena Prokharchyk
beabf596ba
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:15:04 -07:00
Daan Hoogland
d9202100e0
fix warnings in NetworkServiceImpl: removed unused code and add cases to switches
2013-08-05 11:21:39 -07:00
Alena Prokharchyk
a5c2d24ee2
CLOUDSTACK-4087: updateTemplatePermissions - derive domainId from the template owner, not from the operation caller
...
Conflicts:
server/src/com/cloud/template/TemplateManagerImpl.java
2013-08-05 10:39:48 -07:00
Wido den Hollander
6906a9016d
config: Only user low-case names for variables
2013-08-05 17:37:57 +02:00
Sanjay Tripathi
8845aae0bc
CLOUDSTACK-4075: User unable to archive events
2013-08-05 20:01:40 +05:30
Harikrishna Patnala
506f2a4b94
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:19:16 +05:30
Nitin Mehta
f28a28dc77
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:43:57 +05:30
Min Chen
8ff2061db7
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 18:17:58 -07:00
Min Chen
151a7ee497
CLOUDSTACK-3861 and CLOUDSTACK-3862: Deprecate old S3/Swift classes.
2013-08-02 18:16:46 -07:00
Chiradeep Vittal
d8a5f03c7f
Revert "Starting the work of moving orchestration pieces to engine"
...
This reverts commit 7a2aaf96fd .
2013-08-02 15:09:29 -07:00
Alex Huang
7a2aaf96fd
Starting the work of moving orchestration pieces to engine
2013-08-02 13:51:48 -07:00
Alena Prokharchyk
fc33d69b2a
CLOUDSTACK-4023: lock the network during the shutdownNetwork (just the way we do when implement network)
...
Conflicts:
server/src/com/cloud/network/NetworkServiceImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2013-08-02 13:20:47 -07:00
Alex Huang
a673d17171
Added missing file
2013-08-02 11:07:56 -07:00
Alex Huang
8930cfa983
Switched over to use the new jobs framework
2013-08-02 11:07:55 -07:00
Alex Huang
0b1f97d048
Added Configurable interface
2013-08-02 11:07:54 -07:00
Alena Prokharchyk
4e53ce0677
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:03:57 -07:00
Bharat Kumar
80e2934bb7
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:09:26 +05:30
Kishan Kavala
536fd0e8a1
CLOUDSTACK-4005: Do not allow snapshot on zone wide primary storage when KVM.snapshot.enabled is set to false
2013-08-02 18:04:28 +05:30
Bharat Kumar
65370f31bc
upgrade to ASF 4.2 "cloud" Database Schema Inconsistencies on the Upgraded Setup - Table "volumes"
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-02 17:07:22 +05:30
Ian Duffy
25e8e9b85f
General cleanup, source formatting, remove whitespace
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-02 14:20:47 +05:30
Ian Duffy
00c17add3c
Add SSL Support
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-02 14:20:47 +05:30
Ian Duffy
23f0187d05
Add Support for member of filter
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-02 14:20:47 +05:30
Kishan Kavala
65fc2ec345
CLOUDSTACK-4032: Added KVM.snapshot.enabled config to 41to42 upgrade
...
Conflicts:
setup/db/db/schema-410to420.sql
2013-08-02 12:04:33 +05:30
Fang Wang
8f7b90badf
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:47:11 -07:00
Alena Prokharchyk
a3b86573b9
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
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2013-08-01 16:19:10 -07:00
Bharat Kumar
21f1b137cb
Cloudstack-3753 Multiple VLAN range API need to accept a list rather than "add" or "remove" per command
...
Reviewed-by: Alena Prokharchyk
Conflicts:
server/test/com/cloud/network/MockNetworkManagerImpl.java
2013-08-01 13:36:20 -07:00
Nitin Mehta
2a20ac21ac
=CLOUDSTACK-3102 ResourceDetail API - If you add detail for any resource other than volume and nic then throw an exception
2013-08-01 17:38:58 +05:30
Likitha Shetty
871e3bb279
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:18:33 +05:30
Bharat Kumar
b9a2b07ceb
Fix for incorect capacity displayed at the dashboard.
2013-08-01 12:31:07 +05:30
Harikrishna Patnala
f12adfff8a
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:20:48 +05:30
Mice Xia
51e4f597e0
fix CLOUDSTACK-3591 add usage recording for VM snapshots
...
Conflicts:
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
setup/db/db/schema-410to420.sql
2013-08-01 10:47:36 +08:00
Edison Su
4eefce15be
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:49:48 -07:00
Bharat Kumar
980b227817
recalculate the capacity after overcomit change.
...
Conflicts:
server/src/com/cloud/capacity/CapacityManager.java
server/src/com/cloud/capacity/CapacityManagerImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2013-07-31 18:39:14 +05:30
Wido den Hollander
ce06d6542a
CLOUDSTACK-3951: Don't require SSH access to KVM nodes when cancelling maintenance
2013-07-31 15:07:32 +02:00
Harikrishna Patnala
3d9fc3dbc0
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:58:32 +05:30
Bharat Kumar
c7a1dbb176
Cloudstack-2997 unable to update concurrent_conncetions feild in network_offerin.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-31 15:31:42 +05:30
Harikrishna Patnala
2c53ede1de
CLOUDSTACK-3848: Usage events for dynamic scaling of cpu/ram operation on VM
2013-07-31 15:07:17 +05:30
Min Chen
622a9e1b95
CLOUDSTACK-3949:[Object_Store_Refactor][Usage] No usage event is
...
generated for registered ISO.
2013-07-30 18:08:05 -07:00
Prachi Damle
a8360e41c0
CLOUDSTACK-3942 NPE from findStoragePool method
...
Changes:
- Added null checks for podId
Conflicts:
server/src/com/cloud/storage/StorageManagerImpl.java
2013-07-30 17:53:31 -07:00
Min Chen
c2192808aa
CLOUDSTACK-3686: Registering a template does not generate a usage event.
2013-07-30 17:35:12 -07:00
Alex Huang
1e1ee902a2
Moved over the new jobs framework from vmsync. This has not been integrated into the server package yet. Will do that next
2013-07-30 15:00:58 -07:00
Min Chen
730d045085
CLOUDSTACK-3857: create VOLUME_CREATE event at CreateVolumeCmd instead
...
of at AttachVolumeCmd.
2013-07-30 14:51:02 -07:00
Alena Prokharchyk
9f66d18de6
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:30:53 -07:00
Alena Prokharchyk
9b7c4a6c47
CLOUDSTACK-3948: fixed createAutoscaleVmProfile - for situation when no autoscaleUserId is passed in, take it from caller user id, not caller account id
...
Conflicts:
api/src/org/apache/cloudstack/api/command/user/autoscale/CreateAutoScaleVmProfileCmd.java
server/src/com/cloud/network/as/AutoScaleManagerImpl.java
2013-07-30 14:13:58 -07:00
Alena Prokharchyk
244cf3b20a
CLOUDSTACK-3958: listProjectAccounts - return account info only; user info can be extracted from listUsers&accountId command
...
Fixed the build: use CallerContext instead of UserContext
2013-07-30 13:53:31 -07:00
Alena Prokharchyk
43dc85cea1
Revert "CLOUDSTACK-3958: listProjectAccounts - return account info only; user info can be extracted from listUsers&accountId command"
...
This reverts commit 416331ae80 .
2013-07-30 12:05:09 -07:00
Alena Prokharchyk
416331ae80
CLOUDSTACK-3958: listProjectAccounts - return account info only; user info can be extracted from listUsers&accountId command
2013-07-30 11:17:17 -07:00
frank
6070a8b370
CloudStack CLOUDSTACK-1812
...
create physical network fails while creating basic zone
2013-07-30 11:11:17 -07:00
Marcus Sorensen
566ce3e625
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:22:11 -06:00
Alena Prokharchyk
a36c8a962b
CLOUDSTACK-3902: createVpcOffering - throw an excpetion when sourceNat service is not passed in
2013-07-30 10:08:46 -07:00
Murali Reddy
b2fdfc5084
CLOUDSTACK-3642: [Usage][PortableIP] CS is not generating usage events
...
for portable IPs
generating usage event for acquire and release
2013-07-30 19:01:10 +05:30
Murali Reddy
c520aae346
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:49:09 +05:30
Thomas O'Dowd
5552d26872
Fix a few typos in ConfigurationManager.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c78ed39b2f )
2013-07-30 11:25:15 +05:30
Prasanna Santhanam
34e751fb8d
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>
(cherry picked from commit 3d4d350dbe )
2013-07-30 11:25:14 +05:30
Alex Huang
486e0d02f8
Fixed the applicationcontext.xml because I removed a class. oh kelven oh kelven, when can we get back our java based config for core components...this is so bad for refactoring
2013-07-29 19:13:33 -07:00
Alex Huang
1d4b22d6de
Removed AgentMonitor and moved it inside AgentManager
2013-07-29 19:13:32 -07:00
Alex Huang
d0a3a69170
Unused code removal
2013-07-29 19:13:31 -07:00
Alex Huang
46e644e134
Separate agentmanager from server code. Moved out ssvm. Remove methods that shouldn't be used
2013-07-29 19:13:31 -07:00
Edison Su
f486d36f88
CLOUDSTACK-3908: fix extract path
2013-07-29 16:58:51 -07:00
Min Chen
42da3efbc3
CLOUDSTACK-3862: Remove S3/Swift-backed Secondary Storage Code.
2013-07-29 14:31:33 -07:00
Alena Prokharchyk
e6ec6137ab
CLOUDSTACK-3914: assignToLoadBalancer - return false, when empty vmIds list is passed in
2013-07-29 13:55:55 -07:00
Edison Su
ae534388c0
CLOUDSTACK-3852: fix upload volume
...
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java
server/src/com/cloud/template/TemplateManagerImpl.java
2013-07-29 11:50:16 -07:00
Edison Su
d64c318f57
CLOUDSTACK-3510
...
Persist the download url in the db for volume download.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
Conflicts:
server/src/com/cloud/storage/VolumeManagerImpl.java
2013-07-29 11:50:15 -07:00
Alena Prokharchyk
4c0053fb2d
CLOUDSTACK-3909: deployVM API - validate hypervisorType parameter when the vm is being deployed from ISO
2013-07-29 11:16:39 -07:00
Alex Huang
a4cea4ebf2
Removed schema from the dependency of many components
2013-07-29 10:55:19 -07:00
Rajesh Battala
1b398aa3fc
CLOUDSTACK-3846 usage event is not generated for volume resize
2013-07-29 18:51:00 +05:30
Bharat Kumar
4dc874fefc
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:36:20 +05:30
Bharat Kumar
a8387568f3
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-29 17:40:00 +05:30
Harikrishna Patnala
2f369973e2
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 15:25:07 +05:30
Harikrishna Patnala
8ef097ef6e
CLOUDSTACK-3669: Bringing down the dynamic scalable check (for VM whether it has xstools or vmware tools in it) to the management layer.
...
Signed off by : Nitin Mehta <nitin.mehta@citrix.com>
2013-07-29 15:16:21 +05:30
Sateesh Chodapuneedi
26d8c668f9
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:20:51 +05:30
Prachi Damle
790a02f936
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
Conflicts:
api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java
2013-07-28 22:44:00 -07:00
Min Chen
1fb513e783
CLOUDSTACK-3861: Remove s3.enable and swift.enable from global setting.
2013-07-27 21:56:46 -07:00
Prachi Damle
abfc351b78
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 16:24:48 -07:00
Harikrishna Patnala
a8ad908666
CLOUDSTACK-3703: change service offering of stopped vm on
...
Conflicts:
server/test/com/cloud/vm/UserVmManagerTest.java
2013-07-27 19:52:30 +05:30
Min Chen
b17b40bbfe
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:45:05 -07:00
Min Chen
c8cafb91a7
CLOUDSTACK-3818: NFS Cache Improperly Named.
2013-07-26 15:07:45 -07:00
Alex Huang
f5e5b39c9b
Moved the DB layer code into framework-db and change only the necessary projects to refer to it. Cut down on the dependencies introduced with all the code in utils.
2013-07-26 15:02:10 -07:00
Rajesh Battala
24a8d60d6f
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
2013-07-26 16:40:26 +05:30
Sanjay Tripathi
13fc4690fc
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 16:00:06 +05:30
Alex Huang
2dc3ede0a8
Remove a line to make it compile
2013-07-25 20:29:13 -07:00
Alex Huang
111febc567
Fixed up the rest of the management server code that calls clustermanager
2013-07-25 19:57:45 -07:00
Alex Huang
9aaa378b08
Moved ClusterManager into it's own package. Removed the agent load balancing code.
2013-07-25 19:00:26 -07:00
Alex Huang
395cbcc023
Move the rest of the generics out of virtualmachinemanager
2013-07-25 19:00:25 -07:00
Min Chen
db93ebf169
Fix build break due to commit 2e0847bfe0.
2013-07-25 18:04:12 -07:00
Min Chen
45d38c4142
CLOUDSTACK-3709:[Object_Store_Refactor][UI] Can't delete NFS Cache
...
storage through UI. Fixed at API side.
Conflicts:
server/src/com/cloud/storage/StorageManagerImpl.java
2013-07-25 17:33:28 -07:00
Alena Prokharchyk
2e0847bfe0
CLOUDSTACK-3232: InternalLB system vm - allocate control ip address from the private range when vm's hypervisor is vmWare
2013-07-25 16:39:23 -07:00
Edison Su
5e427bd2f6
CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4
2013-07-25 16:36:06 -07:00
Prachi Damle
dc66b6baa6
CLOUDSTACK-3821 RegisterTemplate URL validation issue
...
Changes:
- Added validation for the url path
2013-07-25 15:57:57 -07:00
Min Chen
588efa0150
Fix an incomplete logging message.
2013-07-25 15:47:39 -07:00
Edison Su
a39de009da
CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4
2013-07-25 15:13:00 -07:00
Ian Duffy
eaa4143371
Merge LDAPPlugin
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-25 17:54:52 +05:30
Koushik Das
deb701b7e0
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
2013-07-25 17:10:20 +05:30
Alex Huang
555211a080
Moved Configuration from api to utils and moved the package. This was done by eclipse so I only ran the unit test to verify everything is fine
2013-07-25 03:57:12 -07:00
Nitin Mehta
1f64354ec8
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:58:42 +05:30
Chiradeep Vittal
1744ed7ad5
CLOUDSTACK-3626 register the correct user and account for api calls made with api keys and secret keys
2013-07-25 14:45:59 +05:30
Harikrishna Patnala
0010faee4b
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.
2013-07-25 13:42:08 +05:30
Edison Su
7f200d966e
CLOUDSTACK-3681: fix bunch of bugs related to vmware, regarding to snapshot
2013-07-24 19:06:30 -07:00
Bharat Kumar
e14f5d0aeb
Cloudstack-3694 Dnsmasq rewrite in bash
...
(Sheng: Fix typo, fix log and error message, remove 'set -x' in script)
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-07-24 14:00:31 -07:00
Edison Su
be3883b678
fix create template from snapshot if it's swift
2013-07-24 09:48:07 -07:00
Likitha Shetty
b7a483608f
CLOUDSTACK-3735. Domain deletion fails even when the networks within the domain have been destroyed.
...
When a network is destroyed remove the corresponding network entry from domain_network_ref and account_network_ref table
2013-07-24 20:03:51 +05:30
Saksham Srivastava
135a2e66c5
CLOUDSTACK-2508: Template usage should report both physical and virtual sizes
2013-07-24 18:17:09 +05:30
Sateesh Chodapuneedi
79d49ca2dc
CLOUDSTACK-3758 [Vmware][ZWPS] Failed to create volume from snapshot
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-24 03:51:23 +05:30
Alex Huang
e99a1ef1d9
Moved the rest of VirtualMachineManager to be vm agnostic
2013-07-23 18:24:59 -07:00
Alex Huang
9bc5870f01
Removed the remove method. Not sure why we added to VirtualMachineManager
2013-07-23 18:24:58 -07:00
Alex Huang
3ae0acc26f
Forgot to save something in VirtualMachineManager
2013-07-23 18:24:58 -07:00
Alex Huang
861be3063c
Simplify the components that VirtualMachineManager uses
2013-07-23 18:24:57 -07:00
Min Chen
67b15ed956
CLOUDSTACK-3639:Unable to create template from snapshot when there are
...
multiple secondary storages in the zone.
2013-07-23 16:56:46 -07:00
Sheng Yang
8295cb0ac2
CLOUDSTACK-3250: Add PvlanSetupCommand into maintenance mode allowed command list
...
Then the rule in the old host can be cleared.
2013-07-23 15:19:34 -07:00
Min Chen
956e8301c2
CLOUDSTACK-3716: State of expunged volumes are not consistent in volumes
...
table and volume_store_ref.
Conflicts:
server/src/com/cloud/storage/VolumeManagerImpl.java
2013-07-23 15:06:34 -07:00
Alena Prokharchyk
57623832b0
CLOUDSTACK-3478: fixed volume destroy. #1 - don't call destroy() when the volume is in Expunged/Expunging/Destroy state. #2 - added state transition for Expunged state
2013-07-23 14:40:59 -07:00
Alena Prokharchyk
3962f117ac
CLOUDSTACK-3733: fixed migrateVm - no need to cast vm to user vm to retrieve the iso information. Extract iso information from VirtualMachineProfile object passed to the method.
...
Conflicts:
server/src/com/cloud/storage/VolumeManagerImpl.java
2013-07-23 11:04:39 -07:00
Wei Zhou
9985a895a4
CLOUDSTACK-3734: remove wrong break in 'for' block in VirtualMachineManagerImpl.java
2013-07-23 17:37:39 +02:00
Sanjay Tripathi
a7084b2dac
CLOUDSTACK-3727: Resource Count calculation happens for deleted accounts on restart of managment server.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 20:25:15 +05:30
Likitha Shetty
7e87221372
CLOUDSTACK-3526. When volume upload is in progress the state of the volume is UploadError.
...
Update volume_view to join volumes table with volume_store_ref table instead of volume_host_ref table.
2013-07-23 18:44:39 +05:30
Saksham Srivastava
89b94bb754
CLOUDSTACK-3382. Alert should be raised if a vm is migrated from dedicated to non-dedicated resource and vice versa.
...
Alerts are generated for VM migration between:
1) Source host is dedicated and destination host is not.
2) Source host is not dedicated and destination host is dedicated.
3) Both hosts are dedicated to different accounts/domains
2013-07-23 13:38:14 +05:30
Alex Huang
51377c40f2
Forgot to populate a method to called advanceStop
2013-07-22 20:06:05 -07:00
Alex Huang
5297a071d2
Changed virtual machine stop to use uuid
2013-07-22 20:06:04 -07:00
Alex Huang
319d91e1c2
Removed the getByTypeAndId() method and replace it with getById method
2013-07-22 20:06:04 -07:00
Alex Huang
6ac361e6a2
Removed VM generic from VirtualMachineGuru. Part of the cleanup to make vmsync a simple vm manager that doesn't understand the different types of vms
2013-07-22 16:32:59 -07:00
Min Chen
db8b9ea53a
Remove CLOUDSTACK-3513 debugging messages.
2013-07-22 16:18:16 -07:00
Min Chen
0fb3286cb1
CLOUDSTACK-3513:[Automation] Failed to copy iso and template between
...
zones. Failed to pass generated copy url to DownloadCommand.
2013-07-22 16:17:56 -07:00
Anthony Xu
3d05fb0b3e
throw exception if stopping VM fails, then UI can show the error message in stead of fails silently
2013-07-22 16:14:01 -07:00
Anthony Xu
04cdd90a84
in one zone, Admin should not be allowed to add a Shared Network with a subnet that is already associated with another Vlan.
2013-07-22 14:29:38 -07:00
Alex Huang
1325014a03
Changed VirtualMachineProfile to be non-generic. From here on VirtualMachineManager will only manage vm instance. It doesn't understand the difference between different types of VMs. This makes the vmsync code to be generic across all vms.
2013-07-22 11:48:11 -07:00
Alex Huang
7928963d16
Changed start to use uuid instead of generic vm start
2013-07-22 11:46:33 -07:00
Alena Prokharchyk
d0422904d7
CLOUDSTACK-3711: return descriptive error message to the regular user when his resource limit has exceed. No harm in returning this info as the user aware of the resource limits/number of resources available for allocation, for his account
...
Conflicts:
server/src/com/cloud/api/ApiServer.java
2013-07-22 10:28:42 -07:00
Sheng Yang
2df1d7f328
Revert "CLOUDSTACK-3357: dnsmasq on vpc-routervm"
...
This reverts commit f99d599930 .
Due to it break vpc function and block regression test.
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
server/test/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImplTest.java
2013-07-21 22:23:48 -07:00
Min Chen
d423a755f5
CLOUDSTACK-3274: API Refactoring: secretkey and accesskey of the backing
...
store is found in plaintext in the logs.
Conflicts:
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/api/ApiServlet.java
2013-07-20 18:01:49 -07:00
Min Chen
6689e83d7f
CLOUDSTACK-3513: ListIsos/ListTemplates does not return correct results
...
when id and zoneid are passed.
2013-07-20 15:18:33 -07:00
Harikrishna Patnala
78f1092df1
CLOUDSTACK-3365: cluster level parameters cluster.(cpu/memory).allocated.capacity.notificationthreshold is not considering overcommit value
2013-07-20 16:53:45 +05:30
frank
0633608f80
CLOUDSTACK-3453
...
UCS:API: List Blades after decommissioning a blade, listUcsBlades API returns wrong number of total blades
fixed resolved
2013-07-19 16:16:41 -07:00
Edison Su
cd6853cc1a
CLOUDSTACK-732 Add disk snapshot for KVM 6.3, add the flag in CS.
...
Signed-off-by: Edison Su <sudison@gmail.com>
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
2013-07-19 13:26:19 -07:00
Alena Prokharchyk
823c72552e
InternalLb: fixed creation for default network offering with internal lb support - public lb support should be disbaled on it
2013-07-19 13:20:57 -07:00
Murali Reddy
a5dcb27547
CLOUDSTACK-3640: [Usage][GSLB] usage events are not generated for GSLB
...
geneating usage events for create/delete of GSLB rule
2013-07-19 18:45:36 +05:30
Murali Reddy
28aaa7534a
CLOUDSTACK-3642: [Usage][PortableIP] CS is not generating usage events
...
for portable IPs
generating usage events for acquire/release of portable IP
2013-07-19 18:45:14 +05:30
Sanjay Tripathi
3771e8a0e6
CLOUDSTACK-3496: [Regression]Primary Storage resource usage is not getting updated if detached volume is deleted
2013-07-19 16:04:36 +05:30
Sanjay Tripathi
539eb38908
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:04:10 +05:30
Devdeep Singh
bd54fa13a3
CLOUDSTACK-3661: Fix for IndexOutOfBoundException in connect process to SSVM.
2013-07-19 13:03:21 +05:30
Harikrishna Patnala
03fac83180
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:55:32 +05:30
Mike Tutkowski
b43a2a5fae
Changes related to Review Board comments
2013-07-18 20:10:58 -06:00
Min Chen
e1c17bd853
CLOUDSTACK-3513: add debug message to diagnose copyIso issue on
...
automation setup where DownloadCommand is never sent.
2013-07-18 16:08:29 -07:00
Prachi Damle
463a3aba71
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:32:30 -07:00
Min Chen
598a647105
ListIsos only shows cross-zone ISO in one zone.
2013-07-18 10:56:45 -07:00
Devdeep Singh
876a7b3361
Add VHDX image support, which is missing from DiskFormat class, revised ImageFormat interface, StorageManager implementation, and the application component spec.
2013-07-18 18:58:05 +05:30
Prasanna Santhanam
0c5b698ac8
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>
(cherry picked from commit fbf38a35d2 )
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 18:31:23 +05:30
Harikrishna Patnala
b4662af0a9
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 15:04:20 +05:30
ahuang
11971b5a58
Bring over from vmsync changes in utils package. Simple changes. New files are not being used yet in master
2013-07-17 18:29:42 -07:00
Min Chen
cb2a84241b
CLOUDSTACK-3513: [Automation] Failed to copy iso and template between
...
zones.
2013-07-17 17:31:50 -07:00
ahuang
1e3e131e14
Save the zone and pod
2013-07-17 17:14:30 -07:00
ahuang
cb5ab37916
Fixed the account id
2013-07-17 16:21:14 -07:00
ahuang
541f9d7f9c
Changed allocate method to be virtual machine type agnostic
2013-07-17 15:58:46 -07:00
Saksham Srivastava
e8e207863c
CLOUDSTACK-3476:deleteDomain api should fail when release dedicated resource to that domain fails
2013-07-17 11:25:39 -07:00
Bharat Kumar
f76bf5b053
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:22:33 +05:30
Sanjay Tripathi
21b1c9449a
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>
2013-07-17 12:39:16 +05:30
Bharat Kumar
d73bb22802
Incorportaed the review changes Now dhcpservice IPs are removed when last vm from the subnet is removed. Rebased with master.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 12:35:06 +05:30
Abhinandan Prateek
954e197813
Cloudstack-2997: maxconn missing param
2013-07-17 10:06:11 +05:30
Bharat Kumar
dd33abffbe
Cloudstack-2997 Make haproxy maxconn configurable
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 10:06:11 +05:30
Bharat Kumar
6b549074fa
Cloudstack-3313 Cannot deploy vm in ipv6 network
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 10:06:11 +05:30
Sheng Yang
86bbe211f2
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:26:51 -07:00
Vijayendra Bhamidipati
fff763ef81
CLOUDSTACK-3514: [Automation] Vmware - Failed to download default template for first zone
...
Description:
Fixing reference to null object.
2013-07-16 16:14:51 -07:00
Sheng Yang
43ebb1c822
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:36 -07:00
Prachi Damle
ee664a1cac
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:48:07 -07:00
ahuang
11e1e585b1
UserContext switched to CallContext. Added generic storage mechanism for other code to carry information throughout a call. Made the calling User and Account a must have. Added an interface to carry entities in error. Fixed up the code. Part of the vmsync branch
2013-07-16 11:24:21 -07:00
Prachi Damle
fa9ca72f36
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 10:53:06 -07:00
Prachi Damle
661088927d
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 10:53:02 -07:00
Likitha Shetty
d7122bc144
CLOUDSTACK-3293. DeleteAccount fails with ConstraintViolation on snapshot_store_ref.
2013-07-16 14:53:58 +05:30
Likitha Shetty
33d6f7a8c4
Revert "CLOUDSTACK-3293. DeleteAccount fails with ConstraintViolation on snapshot_store_ref."
...
This reverts commit 22ddc3fa06 .
2013-07-16 14:10:28 +05:30
Likitha Shetty
22ddc3fa06
CLOUDSTACK-3293. DeleteAccount fails with ConstraintViolation on snapshot_store_ref.
2013-07-16 13:45:11 +05:30
Devdeep Singh
04a8682313
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:01:28 +05:30
Sheng Yang
ab42c1d6da
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:27:15 -07:00
Min Chen
52434dabcc
CLOUDSTACK-2595: [Automation] Failed download default template for
...
second zone. Actually it is a listTemplate issue.
2013-07-15 17:38:09 -07:00
ahuang
17984a3f8c
Removed the plug and unplug method from VMGuru. Why should VMGuru understand how to plug and unplug nics? Part of componentizing the vmsync work
2013-07-15 11:00:58 -07:00
Alena Prokharchyk
e52cde5878
CLOUDSTACK-3346: Fixed setting up resourceTags for network ACL - added missing @Inject when load NetworkACLItemDao
2013-07-15 10:24:37 -07:00
Murali Reddy
f53db88bae
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:16:47 +05:30
Murali Reddy
0c32466a75
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:52:45 +05:30
Murali Reddy
4466492484
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 08:48:50 +05:30
Edison Su
8f4575e877
CLOUDSTACK-3400: add swift support
2013-07-13 02:07:15 -07:00
Edison Su
0c1ae20e77
add inital swift support
...
Conflicts:
server/src/com/cloud/resource/ResourceManagerImpl.java
server/test/com/cloud/resource/MockResourceManagerImpl.java
2013-07-13 02:07:03 -07:00
Vijayendra Bhamidipati
b36607742e
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:20:21 -07:00
Vijayendra Bhamidipati
d9ce49b1f1
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:19:36 -07:00
Mike Tutkowski
505ab2eebe
Changes related to Review Board comments
...
Changes related to Review Board comments
Changes related to Review Board comments
2013-07-12 14:28:00 -06:00
Hugo Trippaers
2691970f28
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 12:18:34 +02:00
Harikrishna Patnala
5dd1a1dd8e
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:19:25 +05:30
Murali Reddy
b3fd25d45e
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:48:00 +05:30
Saksham Srivastava
bdc7e4ce33
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:10 +08:00
Alena Prokharchyk
dd91974920
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:44:12 -07:00
Alena Prokharchyk
3984287434
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:57 -07:00
Wei Zhou
1a0302465b
CLOUDSTACK-3368: clear download URLs when create SSVM and validate download URLs
2013-07-11 16:07:48 +02:00
Wei Zhou
d2a751fb1e
CLOUDSTACK-3362: use POST instead of GET and encode/decode cert/key in uploadCustomCertificate
2013-07-11 16:06:21 +02:00
Daan Hoogland
b903262df5
CLOUDSTACK-3357: dnsmasq on vpc-routervm
2013-07-11 14:33:20 +01:00
Murali Reddy
7f2c659630
CLOUDSTACK-1673: AWS Regions - Events - User disable / Domain Delete event does not
...
include the UUID of the user/domain that was disabled.
- added enity type and enity UUID details to UserContext
- publish the entity type and UUID details for the action events
generated for accout/user/domain
2013-07-11 18:01:43 +05:30
Koushik Das
5c3013a694
CLOUDSTACK-3248: XenServer Host got removed successfully inspite of running VMs on the host
...
In UI there is a restriction to first put a host in maintenance and only then deletion is allowed. But there is no such restriction in the deleteHost API.
Added a validation in deleteHost API to prevent deletion if the host is not in maintenance. In case of a forced deletion the restriction doesn't apply.
2013-07-11 17:25:42 +05:30
Sanjay Tripathi
429e6bd4bb
CLOUDSTACK-1768: Ability to delete Events and Alerts: Delete by a time period is required.
...
User should be able to delete/archive alerts and events by selecting a time period or by
choosing the alerts and events older than a date. Added the ability to choose a time period
too.
2013-07-11 14:12:17 +05:30
Likitha Shetty
47de56d665
CLOUDSTACK-3447. CLOUDSTACK-3448.
...
Correct the access check on networks in APIs addNicToVM and removeNicFromVM
2013-07-11 13:50:11 +05:30
Wei Zhou
33376f1459
CLOUDSTACK-3244: Inject KeystoreManager in ManagementServerImpl
2013-07-11 09:58:25 +02:00
Koushik Das
e3e8bfce16
CLOUDSTACK-3441: [Load Test] High delays between VM being allocated to Pod and network implementation causing delays in VM deployment
...
This is a regresion caused due to fix for CLOUDSTACK-70. In order to fix network restart scenario, delays got introduced in the user VM deployment scenario.
Fixed it by separating out the network restart and new VM deployment scenario such that the latter is not affected due to the fix for CLOUDSTACK-70.
2013-07-11 12:03:09 +05:30
Sanjay Tripathi
2e8d16b365
CLOUDSTACK-1047: tracking in logs using job id.
2013-07-11 10:41:39 +05:30
Likitha Shetty
873e4e0e58
CLOUDSTACK-3423. Publish 'VM.UPGRADE' usage event every time the service offering of a VM is upgraded.
2013-07-11 10:06:10 +05:30
Alena Prokharchyk
56da71e5b6
CLOUDSTACK-3455: delete Shared networks of the domain when do domain deletion
2013-07-10 15:36:24 -07:00
Vijayendra Bhamidipati
7ea8c5fd9a
CLOUDSTACK-1510: NPE when primary storage is added with wrong path
...
Description:
a) Fixing NPE when wrong path is provided for primary datastore.
b) No error dialog shows up in GUI when wrong path is provided,
after NPE fix - propagating exception upward.
c) If the KVM agent is down, an invalid datastore gets logged in
storage_pool table and doesn't get removed, so it shows up
in the GUI in the list of datastores - fixing this as well.
2013-07-10 14:55:57 -07:00
Rajesh Battala
7089e1ce44
CLOUDSTACK-3301 NPE wile deployVM in kvm Only solidfire type PS is setting/using the capacityIops, This check will fix to return the storage has enough Iops when capacityIops is set to NULL for any PS Storage provider
2013-07-10 14:52:47 -07:00
Jessica Wang
ec42d7236c
CLOUDSTACK-2988: API - Template Response - add isdynamicallyscalable property.
2013-07-10 13:51:54 -07:00
Murali Reddy
92884d1aa0
CLOUDSTACK-3442: [PortableIP] [VPC] Unable to associate Portable IP to VPC
...
removing invalid check
2013-07-10 19:30:56 +05:30
Devdeep Singh
033d05fa20
CLOUDSTACK-3443: Timeoffset on windows guest not persisted between VM stop and start on XenServer.
...
The problem was because in cloudstack when a vm is stopped it gets destroyed on the host. For a
windows vm the timeoffset (which can be set by changing the timezone from within the vm) is stored
in the platform:timeoffset attribute of vm record. The information is lost when the vm is destroted.
Made change to read and persist the platform:timeoffset vm attribute when an instance is stopped.
The value is persisted in the user_vm_details table. When the vm is started again the attribute is
set for the vm instance that gets created.
2013-07-10 17:36:06 +05:30
Murali Reddy
3c1b3c71fe
CLOUDSTACK-3440: action events are not published due to conflict of
...
Eventutils and ActionEventUtils files
removing the 'EventUtils' file which got merged back during the Spring
changes to master at 4.1. 'EventUtils' file was replaced by
'ActionEventUtils', and the original file was removed for events
frameworks. This file conflict was resulting in action events not to be
published on to event bus
2013-07-10 16:44:08 +05:30
Wei Zhou
d65f47c76a
CLOUDSTACK-3438: update CPVM SSL certificate for both Premium and non-Premium cases
2013-07-10 12:20:57 +02:00
Koushik Das
aed49572c7
CLOUDSTACK-2918: In a scaled up environment, hosts fail to come up after Management server restart in clustered set up
...
Summary of changes in the fix
- Optimized host scan logic, now instead of iterating over each cluster host scan is done for a batch of clusters
- Made host scan task interval configurable
2013-07-10 12:13:24 +05:30
Mike Tutkowski
06f73092fb
Changes related to Review Board comments
2013-07-09 22:50:14 -06:00
Marcus Sorensen
e731722263
CLOUDSTACK-3422 - fix null pointer in usage and action events when
...
deleting resources whose account has been removed
2013-07-09 09:48:24 -06:00
Kishan Kavala
acb4a19633
CLOUDSTACK-2429: Multiple private gateways are allowed within a VPC. Check for conflicting routes in all gateways when adding a new static route
2013-07-09 17:27:06 +05:30
Jayapal
e46b90078e
CLOUDSTACK-3352 fixed removing previous acl rules when emply acl is applied
2013-07-09 12:50:39 +05:30
Marcus Sorensen
6f9d5db0e3
Summary: update user data on all networks a VM is connected to
...
Detail: Get list of all nics and update user data on them, rather than just
the default nic for the VM. This makes the results consistent with the password
and SSH key metadata.
BUG-ID: CLOUDSTACK-3408
Bugfix-for: 4.1.1, 4.2.0
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1373345338 -0600
2013-07-08 22:48:58 -06:00
Alena Prokharchyk
833c83d7f7
CLOUDSTACK-3387: deleteTemplate - log the exception message when delete command fails
2013-07-08 15:44:03 -07:00
Alena Prokharchyk
f68a74eada
CLOUDSTACK-3356: list shared networks available for projects when call is executed by the admin who is not a part of the project
2013-07-08 11:28:15 -07:00
Koushik Das
33ed076969
CLOUDSTACK-3393: Local disk recreated for stopped VM when started
...
Recreating local disk will result in cleanup of the old disk and this will lead to data loss. So preventing this and bailing out with error. Once migration of local disk is supported then another option is to migrate the existing disk to the new local storage pool.
2013-07-08 17:02:35 +05:30
toshiaki.hatano
814630c542
CLOUDSTACK-3384: CloudStack allow VLAN range between 0-4096. Should be 0-'4095'.
2013-07-08 15:19:12 +05:30
Murali Reddy
ea8b85af2a
CLOUDSTACK-234: create/delete firewa/lb/pf rule: send ip assoc command
...
only on first rule is created on the IP and last rule is revoked on the
IP
Current suboptima logic of IP Assoc
- On associate IP to GuestNetwork there is an IPAssoc command sent to
corresponding network service providers of the network
- On every rule apply on IP associated with the network send IP assoc
to the network service providers
- On every rule deletion on IP associated with a network sernd IP assoc
command to the network service providers
With this fix logic of IP assoc is changed as below which eliminates
executio of unnessary and expensive IpAssocCommand resource command
- On associate IP to GuestNetwork, associate IP only to the network,
Untill any service is associated with the IP dont send IP Assoc
- On creation of first rule on the IP send IPAssoc to corresponding
network service provider. Since IP is used for a service, IPAssoc
need to be sent to correpondign service provider
- On deletion of last rule on the IP send IPAssoc to corresponding
network service provider. When last rule is deleted, IP has no
service associated with it, so send IP assoc to service provider to
remove the IP association
2013-07-08 14:52:12 +05:30
Ryan Dietrich
70f33efa72
CLOUDSTACK-3190: Async jobs actions now trigger event bus messages to be
...
published
-AsyncJobManagerImpl to publish async job events when async jobs are
created, updated and completed
2013-07-05 17:48:25 +05:30
Likitha Shetty
06c8e5bfd8
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack
2013-07-05 16:28:24 +05:30
Likitha Shetty
9c5da1c6e3
CLOUDSTACK-3361. [Projects] Allow a normal user to edit public templates created by him.
2013-07-05 16:21:47 +05:30
Wei Zhou
f93c51e2bd
CLOUDSTACK-3345: createLBStickinessPolicy replaces old stickiness policy if exists
2013-07-05 10:02:29 +02:00
Wei Zhou
ac438a6d1d
CLOUDSTACK-3372: CapacityManager does not count destroyed volumes when deploy VMs
2013-07-05 09:49:56 +02:00
Hugo Trippaers
41fa79f65c
The millisecond to second calculation was done with a bit shift of 10.
...
This is in effect a division by 1024, while time in ms should be divided
by 1000. The difference of 24 adds up to about a 381 day difference
today. This confuses anybody checking the timestamps in the logs.
2013-07-04 18:39:03 +02:00
Murali Reddy
a8a23c4364
CLOUDSTACK-2045:[Multiple IPs Per Nic] This feature is not working well
...
in case of networks with external devices after GC
adding missing 'retrun false' for isNetworkReadyForGc for the networks
that use external network devices and has secondary IP's associated with
nics.
2013-07-04 21:30:31 +05:30
Kishan Kavala
7a8d7eaa60
CLOUDSTACK-3172: Allow creation of private gateway with same Vlan in different VPCs
2013-07-04 16:11:12 +05:30
Harikrishna Patnala
968c252ca5
CLOUDSTACK-3351: Fix add cluster API to set right hypervisor type
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-04 14:23:08 +05:30
Alex Huang
43ab9506ab
Moved HostAllocator and PodAllocator from server to api package, where they are supposed to be. In the process, I had to change the VO objects used by these two itnerfaces to interface equivalent. This makes sense because there's really no reasons why allocators require write access to the database. One of the files have been reformatted because it contained a bunch of tabs instead of spaces for indentation.
2013-07-03 17:48:53 -07:00
Alena Prokharchyk
d8560281a4
CLOUDSTACK-3347: fixed project deletion for project's owned template
...
Conflicts:
server/src/com/cloud/template/TemplateAdapterBase.java
2013-07-03 13:48:06 -07:00
Alex Huang
bec53fb59a
VMSync: Separating jobs from api
2013-07-03 11:22:40 -07:00
Sanjay Tripathi
31df729008
CLOUDSTACK-3184: updateVirtualMachine api gives java NPE.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-03 19:39:02 +05:30
Daan Hoogland
141fbc7ef7
cidr compare fixme addressed
2013-07-03 09:28:49 -04:00
Nitin Mehta
90a15bfff6
CLOUDSTACK-2107
...
If the scaling up fails on the host the vm is running on try to migrate it to other hosts in the cluster and try scaling.
CLOUDSTACK-3349
For deciding the host in the cluster try the new deployment manager now
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-03 18:40:22 +05:30
Hugo Trippaers
4e823e3a3e
Workaround for NPE
2013-07-03 14:59:03 +02:00
Min Chen
d425fa76f7
CLOUDSTACK-3335:[Object_Store_Refactor][Automation]CopyTemplate failed
...
with Unexpected exception.
2013-07-02 18:01:47 -07:00
Prachi Damle
8780fef05a
CLOUDSTACK-3047 java.lang.NullPointerException encountered when executing capacityChecker thread.
...
Changes:
- Added null check around clusterId, since its possible to have null clusterId for storagepool and host records
2013-07-02 16:36:58 -07:00
Min Chen
9a3067fb87
CLOUDSTACK-3314: templates downloaded to S3 should show up in
...
listTemplates when zoneId is provided.
2013-07-02 15:47:49 -07:00
Alena Prokharchyk
8a0470ee0f
CLOUDSTACK-3207: added resourceLimit/resourceCount to the Project API response
...
Conflicts:
setup/db/db/schema-410to420.sql
2013-07-02 15:34:08 -07:00
Min Chen
05f4680735
CLOUDSTACK-3314: ListTemplates only show one entry for cross-zone
...
templates.
2013-07-02 13:54:40 -07:00
Rajesh Battala
d660bc7e8d
CLOUDSTACK-3089 [ZWPS] NPE while cancelling the Storage Maintenance
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-02 11:51:16 -07:00
Rajesh Battala
2bc4cbf9fb
CLOUDSTACK-2571 Zone Wide Primary Storage blocker issues while Enabling in Maintenance State
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-02 11:49:16 -07:00
Murali Reddy
2f3764ef94
CLOUDSTACK-1959: GSLB: add capability to provide weights to the sites
...
involved in the GSLB
add weights to each site participating in the GSLB. Traffic will be load
balanced across the sites based on the weigths associated with each
site. If not specified weight of site is defaulted to 1.
2013-07-02 17:55:58 +05:30
Alena Prokharchyk
54c2133590
CLOUDSTACK-2984: createNetwork call - when vlan is specified, check that its not coming from the physical network vnet range as this range is used for dynamic vlan allocation during the network implementation stage
2013-07-01 16:17:43 -07:00
Alena Prokharchyk
37f12a31a3
CLOUDSTACK-236: log uuid instead of actual db id, in the updateNetworkOffering method
2013-07-01 15:13:19 -07:00
Jessica Wang
1762be05a9
CLOUDSTACK-2084: API - when account type is ACCOUNT_TYPE_PROJECT, make listVlanIpRanges API to return accountName.
2013-07-01 14:22:06 -07:00
Murali Reddy
1c67e34c82
CLOUDSTACK-3287: [GSLB] API "updateGlobalLoadBalancerRule" is not
...
recognised by CloudStack
added api to managementServerImpl and ensure glsb config is applied to
gslb service providers
2013-07-02 00:07:58 +05:30
Sanjay Tripathi
301c91c099
CLOUDSTACK-3189: Primary storage usage is not getting decremented after deleting the DATA volumes.
...
When a volume is created the resource usage for it gets incremented. If it is deleted without being
attached to a volume, the decrement doesn't take place. Fixed the delete volume code to decrement
resource usage for a volume in allocated state too.
2013-07-01 23:41:10 +05:30
Daan Hoogland
639592f3b7
readibilty of log- and exception messages
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-01 20:17:11 +05:30
Sanjay Tripathi
ffd5f1a777
CLOUDSTACK-2288: NPE while creating volume from snapshot when the primary storage is in maintenance state.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-01 20:17:11 +05:30
Murali Reddy
e07a8b3f51
CLOUDSTACK-3282:[GSLB] Unable to add multiple LB rules to same GSLB rule
...
-fixing regression due to adding GSLB monitor for GSLB service
-code to add/delete GSLB monitor and GSLB service-monitor binding is
made idempotenet so as to succeed if the resource exists.
2013-07-01 19:07:00 +05:30
Nitin Mehta
4c0425f918
CLOUDSTACK-2813 - Some deployment failures do not release the resources.
...
Applying the short term fix of force cleaning up if the answer recieved from startcommand is not valid
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-06-30 14:53:32 +05:30
Edison Su
49ded7e4a3
the plugin better not touch database
2013-06-29 15:09:43 +05:30
Prasanna Santhanam
de38cd815f
Fix typo in class name
...
AsyncRpcConext -> AsyncRpcContext
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:50:25 +05:30
Min Chen
87c401aaaf
CLOUDSTACK-3144: [Automation] Deletion of templates failing. Fails to
...
find image store housing template.
2013-06-28 17:57:42 -07:00
Min Chen
2c31f38c05
CLOUDSTACK-3145:StorageManager-Scavenger NPEs when cleaning up
...
templates.
2013-06-28 17:54:48 -07:00
Mike Tutkowski
99227f7b3e
SolidFire plug-in and related changes
...
SolidFire plug-in
SolidFire plug-in related
2013-06-28 16:59:21 -06:00
Prachi Damle
02ab2eb384
Revert "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"
...
This reverts commit 7f2f25d640 .
2013-06-28 14:58:32 -07:00
Vijayendra Bhamidipati
78922589bb
CLOUDSTACK-2385: template download fails with Unexpected failure in Vmware.
...
Description:
Putting in fix to allow download of guest VM templates that are available
across zones.
2013-06-28 23:08:36 +05:30
Bharat Kumar
974245991c
Cloudstack-2732 [Multiple_IP_Ranges] Deleting guest IP range is not throwing any error message to user while the ip addresses are being used
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-06-28 19:05:55 +05:30
Bharat Kumar
6b0df2566d
Cloudstack-3106 Delete all ips except ipAlias. Cloudstack-3119 Shared network removal doesn't cleanup corresponding IP ranges
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-06-28 19:05:55 +05:30
Bharat Kumar
7f2f25d640
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: Jayapal <jayapal@apache.org>
2013-06-28 19:05:54 +05:30
Jayapal
3096261c05
Updated to show same value in log msg SetFirewallRulesCommand and accessdetails for egress default policy
2013-06-28 19:05:54 +05:30
Murali Reddy
0f40cfbea8
CLOUDSTACK-2045: [Multiple IPs Per Nic] This feature is not working well
...
in case of networks with external devices after GC
add an exception for networks that use external networking devices and has
secondary guest IP's allocated. On network GC, when network goes through
implement phase a new vlan is allocated, based on the acquired VLAN id cidr
of the network is decided in case of external networking case. While NIC
uses reservation strategy 'Start' which ensures that new primary ip is
allocated for the NiC from the new CIDR. Secondary IP's have hardcoded
IP's in network rules. So prevent network GC.
2013-06-28 12:26:20 +05:30
Kishan Kavala
6da29c4cde
CLOUDSTACK-650: Rename ExternalLBUsageMgr to more generic ExternalDeviceUsageManager since it contains firewall usage also. Most of the functionality is already fixed in CLOUDSTACK-1289
2013-06-28 12:08:33 +05:30
Kishan Kavala
7713c5cdbc
CLOUDSTACK-3239: Delete Traffic Monitor directly without going through maintenance state
2013-06-28 11:12:55 +05:30
Devdeep Singh
4bbc65b34c
CLOUDSTACK-3246: Unable to use portable ips if the portable ip range is deleted and readded atleast once. Fixed the query used to look for available portable ips.
2013-06-28 03:32:31 +05:30
Min Chen
3160a0c2da
Add template zone related information into TemplateZoneResponse.
2013-06-27 14:34:00 -07:00
Harikrishna Patnala
c8692f2e4a
CLOUDSTACK-3245: non admin user not able to register template
...
Reviewed-by: Alena Prokharchyk
2013-06-27 14:09:52 -07:00
Saksham Srivastava
0d78868180
CLOUDSTACK-3064: Able to create an instance from different account of the same domain without
...
using affinity group even if the zone is dedicated to an account. The check to make sure that
explicit resources are not picked up for non-explicit deployment was present only at the domain
level for zones. Added a check at account level too.
2013-06-28 00:32:17 +05:30