2045 Commits

Author SHA1 Message Date
alena
729595d005 bug 9050: fixed create/deleteVlanRange generation
status 9050: resolved fixed
2011-03-18 18:12:52 -07:00
alena
2027aa9a8a bug 9044: don't cleanup vm resources if the vm is already expunged
status 9044: resolved fixed
2011-03-18 18:12:52 -07:00
prachi
8da874ca0b Fixed the NPE at RecreateHostAllocator found when a Pod with no cluster was present in the system. 2011-03-18 18:08:47 -07:00
anthony
2b188b37dd fixed start management server 2011-03-18 16:43:51 -07:00
alena
a27c4881ea bug 7424: 0 value for network.throttling.rate global config param indicates that network throttling is disabled
status 7424: resolved fixed
2011-03-18 15:23:03 -07:00
anthony
28cfa24bd2 only 2.1 snapshot depends on template, if there is no 2.1 snapshot, template can be removed 2011-03-18 15:20:48 -07:00
prachi
5bbffcaa97 Changes to add 'cluster_id' to 'op_host_capacity' table for Db upgrade from 222 to 224 2011-03-18 12:14:48 -07:00
Alex Huang
639a8aca9d new 222 to 224 missing file 2011-03-18 11:00:37 -07:00
Alex Huang
8723727de1 added 2.2.2 to 2.2.4 2011-03-18 10:41:58 -07:00
Alex Huang
093fa851fa made the upgrade utility work with the current version 2011-03-18 10:06:38 -07:00
Alex Huang
d3ecf719ce looks like everything is working except for snapshots 2011-03-18 09:14:05 -07:00
anthony
25d1a8dc4a bug 8993: throw exception if creating snapshot on primary storage fails it may be due to previous creation desn't finish
status 8993: resolved fixed
2011-03-17 19:17:44 -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
alena
10077be555 DB upgrade for LB rules 2011-03-17 11:52:23 -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
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
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
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
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
Alex Huang
b6f4ff33ca domr upgraded 2011-03-11 16:53:01 -08:00
alena
346ca43714 bug 6892: update resourceCount for snapshot after the DB record is created; if snapshot fails to create on the backend - reduce resource count
Also fixed couple of other issues:
* usage event generation - generate event only when snapshot is created on primary and backed up on secondary
* zoneId was always set to 0 for snapshot.delete event, fixed this.
* Fixed resource_count decrement for manual snapshot deletion
2011-03-10 18:03:06 -08:00
Alex Huang
09d5bcc59c direct network and ip address are ready 2011-03-10 15:58:40 -08:00