5146 Commits

Author SHA1 Message Date
Frank
a41fb61ea4 Add miss files and jars for ubuntu 2011-03-17 19:08:38 -07:00
Kelven Yang
65d4cc98be Allow template re-deployment once template is deleted from hypervisor and CloudStack still holds out-dated status 2011-03-17 17:59:51 -07:00
alena
8d44058010 Fix for PF/LB 2.1.7 to 2.2.2 upgrade 2011-03-17 17:49:59 -07:00
anthony
8e741fb80d bug 9024:
two issues here:
1. in some case, two sequent commands are sent out at the same time.
2. before starting a user VM , make sure domr is up

status 9024: resolved fixed
2011-03-17 17:30:19 -07:00
Alex Huang
f12f7da0ba fixed everyting to upgrade from 2.1.7 to 2.2.2 2011-03-17 16:33:42 -07:00
alena
10077be555 DB upgrade for LB rules 2011-03-17 11:52:23 -07:00
will
b6c59745de bug 9029: Prevent user and domain-admin from migrating VMs. 2011-03-17 11:36:14 -07:00
will
51fd3ff2ca Added the check for root device type == PreSetup (Fibre Channel) when allowing whether a VM can be migrated or not. 2011-03-17 11:34:45 -07:00
Alex Huang
57cfdb8092 make 2.2.1 to 2.2.2 upgrade work 2011-03-17 10:42:48 -07:00
Alex Huang
b18b2a68b1 fixed unit test 2011-03-17 10:40:59 -07:00
Alex Huang
b272d20d34 fixed junit framework 2011-03-17 10:37:28 -07:00
alena
7eb20f8133 DB upgrade for port forwarding rules 2011-03-16 18:19:02 -07:00
Alex Huang
d50f2dd9c5 added the concept of system integrity checking before starting up the system 2011-03-16 18:00:22 -07:00
Alex Huang
8bec1e0b9f added the concept of system integrity checking before a system starts 2011-03-16 17:59:34 -07:00
Frank
570c7c532e Add database migration script directory to classpath 2011-03-16 16:53:57 -07:00
alena
579a9294bf Removed vm_type update in DB 217 to 221 upgrade 2011-03-16 15:57:41 -07:00
alena
6be1681647 DB upgrade for Basic zone: upgrade domR/ssvm/consoleProxy nics 2011-03-16 14:14:14 -07:00
alena
95faeb620e bug 8863: generate usage event when PF/LB/StaticNat rule is set with Revoke status, not when it's actually removed on the backend.
status 8863: resolved fixed
2011-03-16 09:41:50 -07:00
prachi
2076eec42b Changes for Bug 8997 - Fail to create volume from snapshot: NPE at "allocateToPool(FirstFitStoragePoolAllocator.java:63)
- ClusterId passed in could be null
2011-03-15 18:40:33 -07:00
alena
63593c5057 bug 8510: increment resource count for volume after it's created 2011-03-15 18:06:00 -07:00
alena
7b5d7806d2 bug 8510: update resource count for template after the DB record is created. Decrement it if actual snapshot creation fails 2011-03-15 17:29:23 -07:00
alena
82f25426e7 domR start: program vm metadata even when userData is NULL 2011-03-15 17:29:23 -07:00
anthony
6a0530823b remove the hidden flag in template vhd-file 2011-03-15 16:53:58 -07:00
anthony
ebba4d9420 bug 8480: allow multiple hosts in maintenance mode
status 8480: resolved fixed
2011-03-15 16:35:01 -07:00
Chiradeep Vittal
8d791777db Introduce zone (datacenter) details 2011-03-15 15:44:36 -07:00
alena
d2f92f1c76 bug 8973: Create Virtual Guest network as a part of deployVm if corresponding networkOffering has availability=Required and no networkIds are specified
status 8973: resolved fixed
2011-03-15 15:06:52 -07:00
alena
d3f04b2b38 bug 8945: introduced "default.page.limit" config param (default value is 500). Used for pagination in API list* commands.
status 8945: resolved fixed
2011-03-15 15:06:52 -07:00
Alex Huang
397b338f09 cp ugprade done 2011-03-15 15:03:13 -07:00
Alex Huang
d2f61b00f3 ssvm ugprade done 2011-03-15 14:57:12 -07:00
Alex Huang
9b173d10d0 ssvm ugprade done 2011-03-15 14:47:09 -07:00
Kelven Yang
aef7a0771e add long when default route is going to be changed 2011-03-15 12:11:54 -07:00
alena
68219eba31 Fixed create vlan range for Account - pick source nat ip address from account specific vlan 2011-03-15 10:23:40 -07:00
nit
a83c4256f1 AlertManager should check primary storage stats as well 2011-03-14 21:27:26 -07:00
nit
f88fb1e505 bug 8887 : Stats Calculation Improvement - Storage stats wont update DB anymore and would be kept "in memory" just like other stats. For the listCapacityCmd which consumes it (sec. storage used and primary storage used) this would be constructed using the in memory maps rather than DB which wont have sec storage and primary storage used in the DB anymore. 2011-03-14 18:45:00 -07:00
alena
bf1aae8413 bug 8730: perform permission check when listSshKeyPair
status 8730: resolved fixed
2011-03-14 16:03:25 -07:00
alena
1b880da804 bug 8728: deleteSshKey - make account permission check
status 8728: resolved fixed
2011-03-14 15:46:01 -07:00
alena
c32198838f bug 8724: can create sshKeyPair in behalf of other users now
status 8724: resolved fixed
2011-03-14 15:37:50 -07:00
alena
aa8183e660 bug 8749: make account permission check in getVmPassword api
status 8749: resolved fixed
2011-03-14 15:27:04 -07:00
alena
1cf735c537 bug 8968: use search criteria when list security group by id
status 8968: resolved fixed
2011-03-14 13:45:11 -07:00
Kelven Yang
458998c609 bug 8960: add management.netaddr.cidr to CPVM and SSVM 2011-03-14 11:24:25 -07:00
alena
7b9b897459 Fixed the issue when admin can't deploy vm in behalf of another user. We were passing caller to deployVm always. 2011-03-14 11:08:59 -07:00
prachi
402f275a9f Change for Bug 3316 - manual live migration
The MigrateVMCmd response should be in all small case.
2011-03-11 17:49:54 -08:00
prachi
ed9a11c6b6 API changes for Bug 3316 - Manual live migration of Virtual Machines
This is a Root admin only functionality
---------------------
Service API changes:
---------------------
- ManagementServer  will expose new API:
   Pair<List<HostVO>, List<Long>> listHostsForMigrationOfVM(UserVm vm, Long
startIndex, Long pageSize)
The API returns list of all hosts in the VM's cluster minus the current host and also a list of hostIds that seem to have enough CPU and RAM capacity to host this VM.
- ListHostsCmd will call this service API if virtualmachineid is present in the request.
- MigrateVmCmd is the new command added that takes in virtualmachineid and destination hostid
- UserVmService  will expose a new API:  UserVm migrateVirtualMachine(UserVm vm, Host destinationHost)

------------------------------------
API throws error in following cases:
------------------------------------
- User is not a root Admin. (‘Permission denied’)
- A VM uses local storage, we cannot migrate it, so ‘listHosts’ will throw error.
- We fail to migrate the VM on the chosen host.
- API will support migration for XenServer only currently. So error is thrown
if hypervisor is not XenServer (e.g KVM, vSphere etc)
- Destination host is not in same cluster as source host.
- VM is not in running state
2011-03-11 17:49:53 -08:00
will
65ca813c24 bug 3316: Now, only show migrate instance if the VM has been launched in XenServer. 2011-03-11 17:48:17 -08:00
will
456d93bc9a bug 3316: Added support to no longer show Migrate Instance if we are using local disk storage. 2011-03-11 17:45:02 -08:00
will
0ed91473ba bug 3316: Added a processing message while migrating an instance.
- Changed the call of migrate vm from sync to async
- Defaulted to an empty select box if attempting to migrate a vm with local storage
2011-03-11 17:18:35 -08:00
Frank
aa66c5a551 Don't do tgz check when build debian package 2011-03-11 17:12:01 -08:00
Alex Huang
b6f4ff33ca domr upgraded 2011-03-11 16:53:01 -08:00
will
56715ebddb bug 3316: Missing label for migrate instance dialog 2011-03-11 16:51:07 -08:00
will
f8fee85a93 bug 3316: Updated translations 2011-03-11 16:40:21 -08:00