Wei Zhou
af2f21894c
CLOUDSTACK-7983: Create Disk/Service Offering for Domain Admin
2014-12-01 13:03:37 +01:00
Laszlo Hornyak
3577423da9
removed executable flags from java classes
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-11-23 19:49:01 +01:00
Prachi Damle
968ca060ee
CLOUDSTACK-5853 cannot deploy vm with differing service storage tag and data disk storage tag
...
Changes:
- Reverting Marcus's fix since this issue has already fixed by https://issues.apache.org/jira/browse/CLOUDSTACK-5426
2014-11-18 14:07:51 -08:00
Anshul Gangwar
f43ffb9a0f
CLOUDSTACK-7688, CLOUDSTACK-7747: restricted various operations for VM with VM snapshots which breaks VM snapshots.
...
Now they are informed that they cannot perform the operation.
To perform operation they have to remove VM snapshots of VM.
2014-11-18 14:12:02 +05:30
Rohit Yadav
c401dbc8f9
CLOUDSTACK-7871: allow VM and template details update using update APIs
...
Allows updating details (key/value) pair which updatse entries
invm_template_details and user_vm_details tables using updateVM and updateTemplate
APIs. This allows sys admins to update nics, controllers etc without DB hacking.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 97fa4a023e2346b3b9f56bf213ed4125c371ca6d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-10 17:53:26 +05:30
Rohit Yadav
97fa4a023e
CLOUDSTACK-7871: allow VM and template details update using update APIs
...
Allows updating details (key/value) pair which updatse entries
invm_template_details and user_vm_details tables using updateVM and updateTemplate
APIs. This allows sys admins to update nics, controllers etc without DB hacking.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-10 17:51:57 +05:30
Bharat Kumar
310bb255ac
CLOUDSTACK-7760 Data disk size is not considering for primary storage resource limit check
2014-11-10 15:07:13 +05:30
Bharat Kumar
991d783e03
CLOUDSTACK-7760 Data disk size is not considering for primary storage resource limit check
2014-11-10 14:30:42 +05:30
Nitin Mehta
a8b89bea4f
CLOUDSTACK-7870: When Vm deployments fail and end in error state volume count should be decremented
2014-11-09 23:01:28 -08:00
Koushik Das
e25de54b4c
CLOUDSTACK-7421
...
Unnecessary exception in MS logs while removing default NIC from VM. Following changes are made:
1. Changed the exception from CloudRuntimeException to InvalidParameterValueExecption.
2. Moved out validation logic to UserVMManagerImpl from VirtualMachineManagerImpl.
3. Handling InvalidParameterValueException from async API calls so that they are not logged as ERROR in MS logs.
2014-11-08 13:50:15 +05:30
Edison Su
812b0122e2
CLOUDSTACK-7683: hold a db lock during vm expunge
2014-11-06 15:37:15 -08:00
Edison Su
103a4dd54d
CLOUDSTACK-7683: hold a db lock during vm expunge
2014-11-06 15:22:34 -08:00
Koushik Das
0327c2b13e
CLOUDSTACK-7421
...
Unnecessary exception in MS logs while removing default NIC from VM. Following changes are made:
1. Changed the exception from CloudRuntimeException to InvalidParameterValueExecption.
2. Moved out validation logic to UserVMManagerImpl from VirtualMachineManagerImpl.
3. Handling InvalidParameterValueException from async API calls so that they are not logged as ERROR in MS logs.
2014-11-04 17:34:07 +05:30
Santhosh Edukulla
1aef5cba66
Fixed Coverity Issues
2014-11-03 16:45:30 +05:30
Anshul Gangwar
a4d8215ebb
CLOUDSTACK-7688, CLOUDSTACK-7747: restricted various operations for VM with VM snapshots which breaks VM snapshots.
...
Now they are informed that they cannot perform the operation.
To perform operation they have to remove VM snapshots of VM.
2014-10-30 12:37:50 +05:30
Nitin Mehta
ee0f0a1cff
CLOUDSTACK-7771: Throw exception while restoring vm if the template is already deleted. Also fix the usage event being generated from the right template id and fix the log message which sometime showed incorrect template id.
...
CLOUDSTACK-4201: listServiceOfferings API needs to be able to take virtualmachineid of SystemVM and return service offerings available for the vm to change service offering
2014-10-22 15:03:25 -07:00
Mike Tutkowski
57dacf99a2
Changed "boolean connectVolumeToHost(VolumeInfo, Host, DataStore)" to "boolean grantAccess(DataObject, Host, DataStore)"
...
Changed "void disconnectVolumeFromHost(VolumeInfo, Host, DataStore)" to "void revokeAccess(DataObject, Host, DataStore)"
2014-10-21 16:01:14 -06:00
Rohit Yadav
bdee5e3734
CID-1233086: Fix potential NPE blowup in UserVmManagerImpl
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-17 10:32:23 +02:00
Rohit Yadav
a1e8d5eefb
CID-1233087: In case of no virtual routers, fail early
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-16 17:27:32 +02:00
Anthony Xu
15a3bb318f
When deploying a VM with startvm=false, the root volume is in Allocated state, the root volume is not created in primary storage yet.
...
need to handle restoreVM for VM which is above status.
2014-09-15 18:49:15 -07:00
Kishan Kavala
55983d47c0
CLOUDSTACK-7400: Allow migration of systemVms in LXC. USer Vms cannot be migrated
2014-08-27 13:05:04 +05:30
Jayapal
384025f258
CLOUDSTACK-7218: Remvoing all static nat associated with vm in case of secondary ips
...
In vm secondary ips case static nat configured to vm primary/secondary ips
IP1-->vm1Ip1, IP2-->vm1Ip2
While destroying vm deleting all static nats associated with the vm
2014-08-26 14:29:23 +05:30
Min Chen
fee2bfce49
CLOUDSTACK-7344:VOLUME.DELETE usage event missing for VM's in ERROR
...
state.
2014-08-13 22:15:47 -07:00
Harikrishna Patnala
6568e0bb31
CLOUDSTACK-7305: hypervisor type parameter is mandatory when deploying VM using ISO
...
Signed-off-by: Koushik Das <koushik@apache.org>
2014-08-12 16:27:48 +05:30
Nitin Mehta
835ca8eea8
CLOUDSTACK-7018: Restore VM - missing destroyed usage event for the destroyed root volume. Also removed the resource count logic since we destroy the old root volume and create a new one.
2014-08-04 16:40:28 -07:00
Alena Prokharchyk
05d056bb90
CLOUDSTACK-7194: deployVm Api, "hypervisor" parameter:
...
* is respected only when vm is deployed from ISO, or hypervisorType is not set on the template record
* if parameter passed when vm is deployed from template having hypervisor info set, validate that these 2 parameters are the same instead of silently defaulting the final value to the one set on the template
2014-08-04 14:21:52 -07:00
Alena Prokharchyk
ffeca8bbd2
CLOUDSTACK-7209: handle the case when network fails to implement NoTransitionException, and null is returned to the caller stack. All caller methods should verify if the return value is null before processing it further.
2014-08-01 09:47:28 -07:00
Saksham Srivastava
0f85e649b6
CLOUDSTACK-5999: Virtual Router does not start if Guest VM is rebooted from CloudStack
2014-07-24 10:45:51 +05:30
Damodar
c43b56998a
CLOUDSTACK-7153: addNicToVirtualMachine not BaseAsyncCreate but creates an entity
2014-07-23 09:28:32 +05:30
Rajani Karuturi
8b2efee61c
Fixed coverity reported issues in UserVmManagerImpl
2014-07-21 08:24:23 +05:30
Ian Duffy
8716376b4a
remove unused import
2014-07-20 18:15:52 +01:00
Ian Duffy
d4428a93a8
Allow for length of password on VMs to be set via global settings
...
Conflicts:
server/src/com/cloud/vm/UserVmManagerImpl.java
setup/db/db/schema-430to440.sql
2014-07-20 18:14:55 +01:00
Harikrishna Patnala
0069037573
CLOUDSTACK-7113: Ability to reset password when Router VM is stopped
...
With this improvement password reset also happens when router is in stopped state on resetPasswordCmd and restoreVM
2014-07-18 14:37:44 +05:30
Likitha Shetty
d3e7b43ee9
CLOUDSTACK-7119. [VMware] Don't allow VM reset when VM has snapshots.
2014-07-17 13:32:16 +05:30
Alena Prokharchyk
4f0640dac4
CLOUDSTACK-6595: allow to expunge the vm when its in Error state, in addition to Expunging/Destroyed states
2014-07-14 14:40:11 -07:00
Nitin Mehta
0c9c5a71b4
CLOUDSTACK-4364: Restore VM - log a usage event for newly created volume
2014-06-30 14:41:37 -07:00
Daan Hoogland
c79ab570b0
Revert "CLOUDSTACK-6967: Initial OVM3 drop"
...
This reverts commit 8a485b9b59e4108e862022baf7477f768380b325.
2014-06-24 10:24:01 +02:00
Funs
8a485b9b59
CLOUDSTACK-6967: Initial OVM3 drop
...
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit ed47763e2525a21fa4578d199492462d0fb1c7ef)
Conflicts:
api/src/com/cloud/network/NetworkService.java
api/src/org/apache/cloudstack/api/ApiConstants.java
api/src/org/apache/cloudstack/api/command/admin/usage/AddTrafficTypeCmd.java
engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/SnapshotObject.java
plugins/pom.xml
server/src/com/cloud/network/NetworkServiceImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/test/com/cloud/vpc/MockNetworkManagerImpl.java
ui/scripts/docs.js
2014-06-23 12:39:10 +02:00
Murali Reddy
7e355de365
CLOUDSTACK-6750: [OVS] With stretched network deploying vm in a ovs
...
disabled zone does not fail
Fix ensures that connectivity service provider is enabled in the zone on
to which nework is being streched.
2014-06-19 16:06:56 +05:30
Harikrishna Patnala
522208dec2
CLOUDSTACK-6869: SSH Public key content is overridden by template's meta data when you create a instance
2014-06-11 17:00:32 +05:30
Nitin Mehta
a8140ff58c
CLOUDSTACK-6787: Event Bus - uuids missing in some cases due to various reasons
2014-05-27 15:07:38 -07:00
Min Chen
ba848087f8
Disable IAM feature from 4.4 release.
2014-05-22 18:27:08 -07:00
Anthony Xu
df6ce24f43
if networkID is not specified, get one network with free ips.
2014-05-21 14:33:52 -07:00
Nitin Mehta
afb31fa09f
CLOUDSTACK-6660: Dont assume every vm will have a root volume now.
...
(cherry picked from commit 076bbdcfe86d6886ab1ecfc513b02a323a995307)
2014-05-14 15:00:34 -07:00
Devdeep Singh
245b7f4c39
CLOUDSTACK-6510: Fix gson serialization exception in storage migration. Gson couldn't serialize
...
a map with volume and storagepool objects for logging. Fixed by using volume and storage pool
ids instead of objects in the map.
2014-05-08 12:23:46 +05:30
Alena Prokharchyk
25ab05a189
CLOUDSTACK-6595: call expunge method marked with @ActionEvent from expunge thread context. So the action even EXPUNGE.VM is generated when vm is expunged by the thread.
2014-05-07 15:46:10 -07:00
Nitin Mehta
5388d349a4
CLOUDSTACK-6597: Updatevm - root admin should be allowed to change instance name
2014-05-07 14:34:01 -07:00
root
4b89a45e57
CLOUDSTACK-3272 Latest changes to add global configuration parameters to control the publishing of events on the message bus
2014-05-07 10:09:03 +05:30
Mike Tutkowski
8ac7784db2
CLOUDSTACK-6170 Corrected an issue related to the "Reinstall VM" command and managed storage with VMware
2014-05-02 18:41:59 -06:00
Min Chen
134a7998ce
CLOUDSTACK-6556: Deploy VM failing with error "does
...
not have permission to access resource Ntwk".
2014-05-01 15:57:29 -07:00