Edison Su
7f200d966e
CLOUDSTACK-3681: fix bunch of bugs related to vmware, regarding to snapshot
2013-07-24 19:06:30 -07:00
Saksham Srivastava
135a2e66c5
CLOUDSTACK-2508: Template usage should report both physical and virtual sizes
2013-07-24 18:17:09 +05:30
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
Alex Huang
319d91e1c2
Removed the getByTypeAndId() method and replace it with getById method
2013-07-22 20:06:04 -07:00
Alena Prokharchyk
6c22c7b614
CLOUDSTACK-3720: fixed API doc for listResourceLimits API
2013-07-22 13:24:27 -07:00
Alex Huang
02236576c0
Changed some debug logs to trace
2013-07-22 11:48:12 -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
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
Alex Huang
2d4464d2ba
Applied review request 12685
2013-07-19 08:29:33 -07:00
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
Ian Duffy
cd11fbd3d8
CLOUDSTACK-3344: unescape value
2013-07-18 15:20:40 +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
Alena Prokharchyk
36c0224142
CLOUDSTACK-3584: fixed security group related apis with the correct class reference for projectid parameter
...
Conflicts:
api/src/org/apache/cloudstack/api/command/user/vmgroup/CreateVMGroupCmd.java
2013-07-17 10:58:44 -07:00
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
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
Edison Su
bf32776f9f
be able to upload template into swift
2013-07-16 18:07:06 -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
Prachi Damle
686f9ae64f
CLOUDSTACK-2155 Anti-Affinity -When Vm deployment is done in parallel , anti-affinity rule is not honored.
...
- Changes to the API Cmd needed to use CallContext instead of UserContext
2013-07-16 13:17:43 -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
Alena Prokharchyk
9b521be4d0
CLOUDSTACK-1948: fixed pagesize to support -1 (unlimited) value
2013-07-15 11:35:46 -07:00
Toshiaki Hatano
b134854937
CLOUDSTACK-3431: KVM: cloudstack-plugin-hypervisor-kvm with BridgeVifDriver doesn't cleanup vNet due to multiple reasons
...
- Move vnetBridge clean up function from LibvirtComputingResource to BridgeVifDriver
-- since only BridgeVifDriver have to handle this event
- LibvirtComputingResource now properly call VifDriver.unplug() when it receives UnPlugCommand
- Remove not working and no longer used method getVnet(String) from VirtualMachineName
- Remove not working and no longer used method getVnet() from StopCommand
- Remove unused constructer StopCommand(VirtualMachine, String, boolean) from StopCommand
- Remove unused member vnet from StopCommand
- Remove unused member _modifyVlanPath from OvsVifDriver
Tested with 2 KVM hosts and confirmed it correctly manipulate vnetBridge with start, stop, migrate, plug, and unplug event
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-07-15 09:12:52 +02:00
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
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
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
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
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
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
Edison Su
94aa67eae0
fix simulator
2013-07-09 10:42:03 -07:00
Jayapal
e46b90078e
CLOUDSTACK-3352 fixed removing previous acl rules when emply acl is applied
2013-07-09 12:50:39 +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
Prasanna Santhanam
f96b89f25e
CLOUDSTACK-3273: ClassCastException when adding cache store via API
...
Filter the detail map sent over the wire into Map<String, String> before
processing underneath by storage life cycle
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-05 15:32:41 +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
Alex Huang
ab5f5809c3
VMSync: Added copyright
2013-07-03 11:23:22 -07:00
Alex Huang
bec53fb59a
VMSync: Separating jobs from api
2013-07-03 11:22:40 -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
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
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
Mike Tutkowski
99227f7b3e
SolidFire plug-in and related changes
...
SolidFire plug-in
SolidFire plug-in related
2013-06-28 16:59:21 -06:00
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
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
Donal Lafferty
4361418e41
Removed Dead Code from Management Server Hyper-V 2012 Support
...
Update ImageFormat enum to include VHDX format introduced with Hyper-V
Server 2012.
Remove existing Hyper-V plugin, because it does not work and is dead
code.
Remove references to existing Hyper-V plugin from config files.
Remove Hypervisor.HypervisorType.Hyperv special cases from manager code
that are unused or unsupported.
Specifically, there is no CIFS secondary storage class
"CifsSecondaryStorageResource". Also, the Hyper-V plugin's
ServerResource is contacted by the management server and not the other
way around.
Add Hyperv-V support to ListHypervisorsCmd API call
Signed-off-by: Edison Su <sudison@gmail.com>
2013-06-27 11:46:02 -07:00
Min Chen
a654e52cb6
Fix an issue of createVolumeCmd for regular user.
2013-06-26 15:46:48 -07:00
Harikrishna Patnala
9385cf0453
CLOUDSTACK-2835: VR Deployement from admin registered template is failing because registered template type is user. Additional parameter "isrouter" in register/update template API for the root admin. True if registered template is of type ROUTING.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-26 16:00:12 +05:30
Wei Zhou
3bb4ec9f65
CLOUDSTACK-1192: Disk I/O Statistics support KVM only util 20130625
2013-06-26 11:10:11 +02:00
Hiroaki KAWAI
2d6369c826
CLOUDSTACK-2756: Stratosphere SSP plugin
...
Stratosphere SSP is an SDN solution which creates virtual L2
networks backed by vxlan and vlan. SSP will ask hypervisor to set a
specific vlan, then SSP will interact with openflow switches and
put vxlan/vlan translation flow rules.
This plugin provides SSP as "connctivity" service provider.
Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
2013-06-25 15:31:40 +09:00
Alena Prokharchyk
8b2aae0bfe
CLOUDSTACK-3169: ipAssoc - set account id of the ip to the project account. Used to be set to the network owner which is System in Shared network case, and the further verification used to fail because of that
2013-06-24 15:25:05 -07:00
Jayapal
c22e7d0052
CLOUDSTACK-1578 SRX: Egress default policy configurable using network offering on SRX firewall
2013-06-24 13:37:01 +05:30
Jayapal
6a7ae637dd
CLOUDSTACK-1578 Egress default policy configurable using network offering in xenserver with VR as firewall provider
2013-06-24 13:37:00 +05:30
Sebastien Goasguen
5f06500ed4
CLOUDSTACK-3143: add response in the response string
2013-06-23 23:32:56 -04:00
Min Chen
933e4e6dff
Code cleanup.
2013-06-21 10:10:42 -07:00
Min Chen
2f9ba709a5
Add listCacheStoresCmd api for UI to list cache stores.
2013-06-20 18:06:30 -07:00
Edison Su
97f8c524b8
merge object_store
2013-06-20 00:18:00 -07:00
Abhinandan Prateek
d3d6350219
CLOUDSTACK-2168: removed unused commit
2013-06-20 11:30:26 +05:30
Ian Duffy
576884ec10
Add fix for CLOUDSTACK-2168. Changed listAll output to conform to the same output as listconfiguration
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-20 11:28:22 +05:30
Harikrishna Patnala
7b6b8d7a07
CLOUDSTACK-2987 Ensure XStools to be there in template inorder to enable dynamic scaling of vm
...
CLOUDSTACK-3042 - handle Scaling up of vm memory/CPU based on the presence of XS tools in the template
This also takes care of updation of VM after XS tools are installed in the vm and set memory values accordingly to support dynamic scaling after stop start of VM
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-20 11:08:38 +05:30
Edison Su
9aec9c605c
merge to master
2013-06-19 18:16:47 -07:00
Edison Su
11b9d5ff64
CLOUDSTACK-1405: add scope type in liststoragepoolcmd
2013-06-19 14:09:49 -07:00
Jessica Wang
d5d0142ed4
CLOUDSTACK-3016: listZones API - take in networktype instead of zonetype parameter to be consistent with networktype property in ZoneResponse.
2013-06-19 10:22:14 -07:00
Alena Prokharchyk
d66e9c7b51
CLOUDSTACK-2843: Provideded an ability to turn off the synchronization being done on the CS agent side,
...
for number of commands participating in Vm deployment process, as parallel deployment is supported on the hypervisor side.
The behavior is controlled by global config varirables:
"execute.in.sequence.hypervisor.commands" (false by default) sets/resets the synchronization for commands:
=========================
StartCommand
StopCommand
CreateCommand
CopyVolumeCommand
"execute.in.sequence.network.element.commands" (false by default) sets/resets the synchronization for commands:
==========================
DhcpEntryCommand
SavePasswordCommand
UserDataCommand
VmDataCommand
As a part of the fix, increased the global lock timeout to 30 mins in several VR scripts:
===========================
edithosts.sh
savepassword.sh
userdata.sh
to support situations when multiple concurrent calls to the script are being made.
2013-06-19 10:12:13 -07:00
Hiroaki KAWAI
2f659d6d86
Add comment
...
Comment for RBD explanation.
2013-06-19 15:36:26 +09:00
Jessica Wang
2f2bb6b316
CLOUDSTACK-3016: remove zonetype property from API response (userVM)
2013-06-18 14:55:56 -07:00
Jessica Wang
759eeca651
CLOUDSTACK-3016: remove zonetype property from API response (snapshot, ISO, template, network, volume)
2013-06-18 14:42:38 -07:00
Jessica Wang
0a8343e750
CLOUDSTACK-3016: remove zonetype property from API response (cluster, domainRouter, host, pod, storagePool, systemVM)
2013-06-18 13:54:37 -07:00
Jessica Wang
b5abc0862b
CLOUDSTACK-3016: remove zonetype parameter from listRouters API, listInternalLbVms API.
2013-06-18 10:41:37 -07:00
Wei Zhou
882220e802
CLOUDSTACK-1301: VM Disk I/O Throttling
2013-06-18 10:02:55 +02:00
Dave Brosius
93938ca716
remove dead allocations
...
Signed-off-by: Dave Brosius <dbrosius@mebigfatguy.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-18 11:37:31 +05:30
Jessica Wang
fea9a0ed12
CLOUDSTACK-3016: remove zonetype parameter from listSnapshots API.
2013-06-17 16:39:45 -07:00
Jessica Wang
3e852cc29b
CLOUDSTACK-3016: remove zonetype parameter from listNetworks API.
2013-06-17 16:26:09 -07:00
Alena Prokharchyk
5d0a1cee13
CLOUDSTACK-2883: create default network offering with internal lb support (if doesn't exist already)
2013-06-17 16:13:19 -07:00
Jessica Wang
880029844b
CLOUDSTACK-3016: remove zonetype parameter from listTemplates, listIsos API.
2013-06-17 16:08:38 -07:00
Jessica Wang
cb35ec6f4d
CLOUDSTACK-3016: remove zonetype parameter from listSystemVMs API.
2013-06-17 15:58:33 -07:00
Jessica Wang
56d390d54e
CLOUDSTACK-3016: remove zonetype parameter from listPods API.
2013-06-17 15:51:07 -07:00
Jessica Wang
9d0d02222b
CLOUDSTACK-3016: remove zonetype parameter from listClusters API.
2013-06-17 15:28:39 -07:00
Jessica Wang
9e7356c686
CLOUDSTACK-3016: remove zonetype parameter from listSnapshots API.
2013-06-17 15:00:44 -07:00
Min Chen
1df4cf839e
CLOUDSTACK-3028: Object_Store_Refactor - S3 reduced redundancy storage
...
should be an option.
2013-06-17 11:49:33 -07:00
Alena Prokharchyk
fc16e29f99
CLOUDSTACK-2914: default lb scheme to Public when the service LB is enabled, and scheme is not specified explicitly
2013-06-17 10:10:43 -07:00
Ian Duffy
776301ce6f
Change listAll to return a boolean and fix a typo
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-17 10:23:48 +05:30
Edison Su
f41c800d88
merge to master
2013-06-14 19:06:33 -07:00
Jessica Wang
8925d39b78
CLOUDSTACK-3016: remove zonetype parameter from listVirtualMachines API.
2013-06-14 16:51:20 -07:00
Jessica Wang
b4a692d80f
CLOUDSTACK-3016: remove zonetype parameter from listVolumes API.
2013-06-14 16:39:04 -07:00
Jessica Wang
ea0de9eaf4
CLOUDSTACK-3016: remove zonetype parameter from listStoragePools API.
2013-06-14 16:33:27 -07:00
Jessica Wang
cb37d4cb63
CLOUDSTACK-3016: remove zonetype parameter from listHosts API.
2013-06-14 16:14:45 -07:00
Edison Su
a715eb8121
clean up storage related code, and add lru replacement algorithm for cache storage
2013-06-14 15:55:59 -07:00
Jayapal
b72c79b370
CLOUDSTACK-2934 Fixed not showing uuid in list firewall rules response
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-13 14:37:34 +05:30
Min Chen
18aeef3ef1
Merge branch 'master' (up to commit
...
c30d9be3ce ) into object_store.
2013-06-12 11:20:32 -07:00
Harikrishna Patnala
215b638e8e
CLOUDSTACK-2347: Zone filter for listSnapshots API
...
Added new optional parameter zone id in listSnapshots API which allows to list snapshots with additional criteria.
Signed off by :- Nitin Mehta <nitin.mehta@citrix.com>
2013-06-12 13:35:58 +05:30
Jayapal
c1ad3b7974
CLOUDSTACK-2604 Fixed deleting secondary ip when no PF rules set
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-10 12:13:08 +05:30
Prachi Damle
8c9f681f9e
CLOUDSTACK-2350: Anti-Affinity - As admin user, when tryinto update the affinity group for a Vm that is deployed by a regular user , he is presented with admin's affinity groups.
...
Changes:
- listAffinityGroups API takes in accountname and domainId parameter
- For admin, listall=true should return all affinity groups of all users
2013-06-07 15:28:28 -07:00
Min Chen
66e702222d
Simplify various DeleteTemplateCommnad, DeleteVolumeCommand and
...
DeleteSnapshotBackupCommand to use one DeleteCommand, also provide
BaseImageStoreDriverImpl class for plugin to inherit to avoid code
duplication.
2013-06-06 18:00:38 -07:00
Sateesh Chodapuneedi
58b57ca5db
CLOUDSTACK-2805 [VMware] addVmwareDc fails with NPE when non-existent DC name is passed to the API
...
Made vcenter as required parameter to addVmwareDc API.
Removed stale parameter url from addVmwareDc API.
Improved Exception handling, logging remote exception details.
2013-06-06 15:33:10 +05:30
SrikanteswaraRao Talluri
4da995238b
CLOUDSTACK-2783: FIXED listHypervisorCapabilities API response to include the following fields: 1. maxdatavolumes 2. maxhostspercluster 3. storagemotionenabled
2013-06-05 13:50:41 +05:30
Min Chen
e92cd6d632
Move data store specific extract volume logic from VolumeManager to data
...
store driver.
2013-06-04 13:54:14 -07:00
Min Chen
ef03d5a122
Move data store specific extract template/iso logic from
...
TemplateManager to data store driver.
2013-06-04 11:50:43 -07:00
Prasanna Santhanam
bc345e5520
CLOUDSTACK-2837 : InternalLoadBalancer greets Alena
...
Extraneous logs used while debugging. :)
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-04 14:26:40 +05:30