Commit Graph

16989 Commits

Author SHA1 Message Date
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
Kelven Yang 14c0eb74a0 Use the correct one to find ManagementServerHostVO 2011-03-10 15:32:58 -08:00
alena 4423e4d174 bug 8867: cidr is required for Direct network creation; remove this limitation later after we allow Shared network to have multiple ip ranges having different Cidrs
status 8867: resolved fixed
2011-03-10 14:40:35 -08:00
alena 3448513465 bug 8666: perform RFC1918 check for cidr of Guest Virtual cidr when 1) Create/Update zone 2) Create guest virtual network
status 8666: resolved fixed
2011-03-10 14:06:43 -08:00
Alex Huang 7b3a1e129f nics are retrieved from user vms 2011-03-10 13:46:33 -08:00
alena dee3aefecf bug 8508: assign source nat ip address only during network implementation.
status 8508: resolved fixed
2011-03-10 13:34:35 -08:00
alena 5a44e03764 bug 8844: default and Public disk offerings have NULL domainId (to be consistent with serviceOfferings)
status 8844: resolved fixed
2011-03-10 12:10:55 -08:00
alena 975344a3ff bug 8688: Network created from the networkOffering with Availability="Required" is required during the vm deployment in Advanced nonSecurityGroupEnabled zone
status 8688: resolved fixed
2011-03-10 11:27:17 -08:00
alena e89fc252f2 bug 8851: Guest Virtual Network can't be shared
status 8851: resolved fixed
2011-03-10 10:35:52 -08:00
Kelven Yang 6b8f073f99 Fix issues for management server ping support in cluster management 2011-03-10 10:32:17 -08:00
Edison Su b1a316dd91 add guest network for KVM 2011-03-09 19:03:31 -05:00
anthony 7d7dee791a bug 7877: prevent two mgmt servers connecting to one same host
status 7877: resolved fixed
2011-03-09 18:29:42 -08:00
alena 37d9b5ab50 bug 8849: Don't allow create Guest Virtual and Direct shared networks in Security Group enabled zone
status 8849: resolved fixed
2011-03-09 18:17:01 -08:00
alena df3704e360 bug 8861: introduced optional zoneId parameter to listNetworkOfferings command
status 8861: resolved fixed
2011-03-09 18:05:53 -08:00
Alex Huang 851c3344fc database upgrade 2011-03-09 17:56:11 -08:00
Alex Huang e81f02f9b5 more changes for direct networks 2011-03-09 17:56:11 -08:00
Alex Huang f1d01d5b77 user ip address for virtual network is done migrated 2011-03-09 17:56:11 -08:00
Kelven Yang 6203ba6bfe bug 8558: improve cluster management 2011-03-09 17:18:48 -08:00
alena b6ae35728e bug 8816: 1) return linkLocal instead of private ip/netmask/mac in listRouters 2) return linkLocal/private ip/netmask/mac in listSystemVms response 2011-03-09 16:47:46 -08:00
Edison Su eaf9414a52 bug 8939: add management.network.cidr
status 8939: resolved fixed
2011-03-09 16:32:18 -05:00
anthony bdcffa2b0d bug 8061: add forcely shutdown 2011-03-09 16:30:11 -08:00
alena b5a36df966 listPublicIpAddresses - when do search by keyword, apply keyword to account search 2011-03-09 16:24:28 -08:00
alena 4f4683ec93 bug 8937: throw an Exception when fail to reapply Firewall rules as a part of network Implement
status 8937: resolved fixed
2011-03-09 16:24:28 -08:00
Chandan Krishna Reddy Purushothama 3b2d4c3fb5 Additions made to the script inorder to avoid VM login using "saved_password" string 2011-03-09 15:54:18 -08:00
prachi b9646afd48 Adding log statement in allocator while skipping a storagepool if it crosses the storage.capacity.threshold 2011-03-09 15:34:53 -08:00
Edison Su 163af9a3b6 do not detect ip when you just deploy database 2011-03-09 15:28:55 -05:00
Edison Su 96bb6a7b7c fix NPE that template was deleted 2011-03-09 15:27:06 -05:00
Kelven Yang a5816ce48e bug 8911: getjar URL was actually deprecated, console proxy download should be gone through ConsoleProxyAjaxResourceHandler which contains security check aganst the attack specified in the bug report 2011-03-09 14:51:27 -08:00
Kelven Yang 8cab7c3188 Enable JMX on tomcat config 2011-03-09 14:25:47 -08:00
prachi 34836aaaa5 Merging 2.1.8 fix to master : Bug 8801 - reserve some space for snapshots
StoragePoolAllocators need to respect storage.capacity.threshold in allocations - this was broken after StatsCollector started maintaining the primary storage Stats separately
Fixed allocator to refer the correct in-memory stats map.
2011-03-09 13:46:25 -08:00
alena a0d79bda91 bug 8931: get account information for Action even from IP object, not from the Caller
status 8931: resolved fixed
2011-03-09 13:32:36 -08:00
alena 0c04007e04 bug 8734: search by keyword in listPublicIpAddresses command
status 8734: resolved fixed
2011-03-09 13:32:36 -08:00
Kelven Yang a5c21dc130 1) make JMX port configuration in deverloper build, 2) Add property map based dynamic bean 2011-03-09 11:59:13 -08:00
alena 5129df106b bug 8847: createUser api - "account" parameter is required now
status 8847: resolved fixed
2011-03-09 10:21:50 -08:00
Edison Su 670afd2331 bug 8875: add new management cidr configuration for vmware: if there are multiple management servers, each of them may talk to domR, so that means domR needs to know the routing to all the mgt servers.
status 8875: resolved fixed
2011-03-09 10:20:05 -05:00
Edison Su ccab6c21c4 fix bug when one of template was deleted, then delpoyvm, got NPE 2011-03-09 10:20:05 -05:00
Edison Su c4ac92af3f fix destroy snapshot 2011-03-09 10:20:05 -05:00
prachi 3624fee85d Changed the interface in StoragePoolAllocator to avoid a potential NPE in LocalStoragePoolAllocator. Allocators were taking in an instance of VM enclosed inside VirtualMachineProfile.
However in case of createVolume from Snapshot, there is no VM associated. So VM passed is null and this can cause a NPE.

Allocators hardly use the VM instance. LocalStoragePoolAllocator was mainly using it for checking if host has capacity. But it need not do this check, since that is done by HostAllocators anyway.
So removing the use of VM in StoragePoolAllocators.
2011-03-09 10:12:04 -08:00
alena 7668e1878a bug 8898: allow service offering upgrade for Running vm 2011-03-09 10:03:26 -08:00
alena e2de70f363 bug 8884: deleteUser - id is required parameter
status 8884: resolved fixed
2011-03-09 09:44:50 -08:00
alena e25fbe3a89 bug 8885: enableAccount - account/domainID are required parameters now
status 8885: resolved fixed
2011-03-09 09:31:39 -08:00
alena a50950bbef 221 to 222 DB upgrade for InstanceGroup. Unit test is included 2011-03-09 08:34:08 -08:00
anthony c013d0a6c6 fixed unit test 2011-03-08 20:04:28 -08:00
anthony 5781aafdcb fixed upgrade unittest 2011-03-08 18:24:11 -08:00
anthony 9e9ec24c70 remove snapshot_policy_ref index 2011-03-08 18:03:16 -08:00
Frank 469280866d Bug 8208 - bare metal provisioning
able to add external DHCP server
2011-03-08 17:29:33 -08:00
anthony b32e8f23a6 bug 8712: since we add multiple concurrent policy back in 2.2.3, we only support upgrade from 2.1.7 to 2.2.3, otherwise some policies will be removed silently
need test this upgarde
2011-03-08 17:10:27 -08:00
anthony 5b1a421e62 bug 8712: prepare from snapshot db migration 2011-03-08 17:10:27 -08:00
Kelven Yang 33b3333d65 Add JMX support to async job management, active job details will be checked in jConsole 2011-03-08 16:34:17 -08:00