Deepti Dohare
29e90f8358
CS-15429: When an instance is created with data volume, account limit for this data volume was not checked against. Adding a check for that.
...
Signed-off-by: Nitin Mehta<nitin.mehta@citrix.com>
2012-07-10 06:02:30 +05:30
Alena Prokharchyk
7acf8585b1
Resource tags: 1) Remove tag records when correspdonding cloudStack object gets removed
...
2) added "tags" request parameter to the banch of list* Api commands (listVirtualMachines, listSnapshots - all commands are listed in the resource tags functional spec)
Conflicts:
api/src/com/cloud/api/commands/ListFirewallRulesCmd.java
api/src/com/cloud/api/commands/ListPortForwardingRulesCmd.java
api/src/com/cloud/api/commands/ListPublicIpAddressesCmd.java
api/src/com/cloud/api/commands/ListSecurityGroupsCmd.java
api/src/com/cloud/api/commands/ListSnapshotsCmd.java
api/src/com/cloud/api/commands/ListVolumesCmd.java
api/src/com/cloud/api/response/FirewallResponse.java
api/src/com/cloud/api/response/IPAddressResponse.java
api/src/com/cloud/api/response/VolumeResponse.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/security/dao/SecurityGroupDaoImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/dao/VMTemplateDaoImpl.java
server/src/com/cloud/vm/dao/UserVmDaoImpl.java
2012-07-06 11:43:31 -07:00
David Nalley
e87558256c
Patch from Chip Childers
...
https://reviews.apache.org/r/5704/
License header updates for the server folder
2012-07-02 09:51:21 -04:00
Wido den Hollander
1a2f354f4d
Remove message about contacting Cloud support.
...
CloudStack has gone Apache now.
2012-07-01 15:12:43 +02:00
U-CITRITE\\koushikd
817595daf8
Fix bug CS-15261 In case IP address is passed to deployVirtualMachine API, the default property on NIC was not getting set and as a result there was a failure down the line and VM creation was failing.
...
Signed-off-by: U-CITRITE\koushikd <koushikd@banlkoushikd01.citrite.net>
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2012-06-19 06:53:43 +01:00
prachi
f1fae9d57f
CS-14753: When Vm is deployed with a Security Group , it also gets associated with the default security group.
...
Changes:
- StartVM needed to be changed to add default security group only when none is present.
- DeployVm: createAdvancedSecurityGroupVirtualMachine changed to follow the same rule - add default SG only if none is specified.
2012-05-25 14:40:31 -07:00
prachi
0c1c9141f4
DeployVMCmd: Do not place the instance in default security group if groupId is provided
2012-05-25 14:40:28 -07:00
Nitin Mehta
4bb4e98eae
bug CS-14945: Throw an error message if the user is trying to attach the volume in local only storage zone.
...
Reviewed-by: Kishan
2012-05-25 18:46:44 +05:30
Edison Su
403addc59d
bug CS-14833: if iso is xen/vmware tools, attach it to vm; status CS-14833: resolved fixed
2012-05-15 14:04:16 -07:00
Alena Prokharchyk
d11dceaccc
CS-14904
...
Fixed the bug where vm_instance.ha_enabled wasn't updated during service offering upgrade
Conflicts:
server/src/com/cloud/server/ManagementServerImpl.java
2012-05-15 12:36:40 -07:00
Nitin Mehta
7e0863555b
bug CS-14814: Do not allow attaching volume to a stopped vm for an uploaded volume. Make changes to accomodate volume attaching for a vm created in Stopped state.
2012-05-15 18:28:12 +05:30
Nitin Mehta
acd55bac90
bug CS-14785: Allow attaching the volume for Uploaded volume. Also have transition fo delete volume.
2012-05-14 16:46:49 +05:30
Nitin Mehta
838d01754b
bug CS-14785: Improvements to volumes sync so that it can recover from any error. Introduced new state UploadOp which signifies that the volume os on secondary and the status would be picked up from volume host ref table.
2012-05-11 11:42:42 +05:30
Nitin Mehta
189ac88a11
bug CS-14785: String equality should be through equals function....what was i thinking !!!.
2012-05-08 16:07:52 +05:30
Nitin Mehta
0d2422720b
bug CS-14739: Check for the volume and vm hypervisor compatibility before attaching the volume to vm in case the volume is on secondary storage.
2012-05-04 17:29:22 +05:30
Salvatore Orlando
9f321ffeac
Open vSwitch tunnel manager
...
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
2012-04-23 22:32:16 +01:00
Nitin Mehta
54956280e6
Preliminary upload and attach changes work ..
2012-04-23 12:28:36 +05:30
Nitin Mehta
564cef8ddf
More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM.
2012-04-23 12:14:35 +05:30
Alena Prokharchyk
85b35978de
Db upgrade path for 3.0.2 to 3.0.3
2012-04-09 15:50:10 -07:00
Alena Prokharchyk
6ff3dc3951
Return password as a result of startVm command if the vm was originally deployed with startVm=false parameter
2012-04-06 13:46:49 -07:00
Alena Prokharchyk
2d1a6b0b35
bug 14615: deployVm can work 2 diff ways now: 1) Default way - create and start the vm. 2) Create the vm without starting it. Note that vm's volumes stay in Allocated state -not created on the backend till the point where vm starts
...
status 14615: resolved fixed
2012-04-06 11:30:48 -07:00
Alena Prokharchyk
c0130a5c41
Code cleanup for createVlanRange api
2012-04-04 15:03:04 -07:00
frank
2f634c0913
Switch to Apache license
2012-04-03 04:50:05 -07:00
Alena Prokharchyk
d6cf594ef7
bug 14292: don't try to reboot vm as part of resetVmPassword if the vm is in Stopped state
...
status 14292: resolved fixed
2012-03-28 13:51:14 -07:00
Vijayendra Bhamidipati
005ba5e2b5
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Adding overloaded addProxyObject() function to CloudException
and RuntimeCloudException classes and using this function
to stuff exceptions with IDs, to reduce code footprint.
2012-03-15 16:27:52 -07:00
Vijayendra Bhamidipati
b1bb0afad4
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Modifying the API functions' exception handling to call
addProxyObject() wherever applicable, and removing some
wrong calls to addProxyObject() that were put in in an
earlier commit for this bug.
With this commit, we cover many API functions to use the
new exception handling code, but some pieces may still be
left out. These will be covered as work in progress, when
making changes to the CS API code.
2012-03-12 18:05:45 -07:00
prachi
5148145d18
Bug 14028 - Add hostid parameter to StartVmCmd to enable admins to start VM on a particular host
...
Changes:
- Added hostid to StartVMCmd. Only root admin can use it.
2012-03-05 17:50:23 -08:00
Alena Prokharchyk
c052d96428
bug 13966: cleanup the vm (stop it on the backend) when work step is Release. Also never retry when finalizeStart failed
...
status 13966: resolved fixed
reviewed-by: Alex Huang
2012-02-23 15:13:47 -08:00
Alena Prokharchyk
2e9511e2ae
Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
...
Reviewed-by: Chiradeep
2012-02-21 15:39:49 -08:00
Alena Prokharchyk
cad392cd68
bug 13335: fixed listProjectInvitations by projectId
...
status 13335: resolved fixed
2012-02-07 13:16:27 -08:00
abhi
ae609f6801
bug 13408: added more loggin to assignVM
2012-02-01 18:45:25 +05:30
abhi
b6e5419370
bug 12899: checking if static nat rule is in place, throw error if there. Let the caller clear it first before assigning VM to another account
2012-02-01 18:08:32 +05:30
Kelven Yang
c1fb754de7
VM display name can be NULL in schema, leave it as NULL instead of empty string when user does not provide a optional VM display name
2012-01-26 11:30:40 -08:00
Kelven Yang
e751dad940
VM display name will stay empty if user does not provide, VM host name is default to UUID for now
2012-01-26 11:10:00 -08:00
Kelven Yang
8083b29235
bug 13306: remove sensive DB id info from VM display name
2012-01-25 17:16:21 -08:00
Alena Prokharchyk
4dec3c890a
bug 13282: release elastic IP of the vm on vmStop
...
status 13282: resolved fixed
2012-01-25 15:03:46 -08:00
Alena Prokharchyk
5307d21210
DisableStaticNat: if elasticIP service is enabled for the network offering, always allocate new elastic ip and create static nat rule for it when disableStaticNat is called
2012-01-24 14:06:01 -08:00
Alena Prokharchyk
57ddf63676
Special permission check for networks
2012-01-20 11:01:38 -08:00
Alena Prokharchyk
d4d345a587
Don't retry to re-create the vm when failed to allocate public ip
2012-01-19 14:00:07 -08:00
Alena Prokharchyk
4f46c3b160
Mark ip as not elastic when disable static nat is called on it
2012-01-19 13:58:36 -08:00
Alena Prokharchyk
212c22b256
Added isElastic flag to ip address
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
6325d21c50
Get new elasticIp when releaseIpAddress is called for elasticIP of the vm
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
0e8104cca1
Disassociate ip address - always allocate a new IP and enable static nat for it when elactic IP is enabled
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
359185f567
System is the owner of the first elastic ip address for the vm
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
d5752eca61
Error deployVm when elasticIp/staticNat failed to assign to the vm
2012-01-19 13:58:34 -08:00
Alena Prokharchyk
0f6f231ee6
Elastic IP - when deployVm, get ip address and enable static nat on it. On vm destroy release the Ip
2012-01-19 13:58:34 -08:00
Kelven Yang
3612fc12c8
bug 11428: remove the constraint based on customer's feedback, we will allow creating volume from a snapshot that was originally taken from root volume. Customers should be aware that when the volume is attached as a data volume, some partitions that were originally created as a root volume may not be recognized by the guest OS
2012-01-17 16:10:20 -08:00
Alena Prokharchyk
83400cd15f
bug 12776: if there are multiple objects involved in resource creation, verify that they belong to the same account
...
status 12776: resolved fixed
2012-01-17 13:40:37 -08:00
Alena Prokharchyk
bda032b874
bug 12760: generate vm.destroy event when vm goes from Stopped to Expuning state
...
status 12760: resolved fixed
2012-01-17 10:38:52 -08:00
Alena Prokharchyk
f0c4980dff
bug 13110: use Ternary data structure when build search criteria
...
status 13110: resolved fixed
2012-01-16 14:15:28 -08:00