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
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
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
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
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
96bb6a7b7c
fix NPE that template was deleted
2011-03-09 15:27:06 -05: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
0c04007e04
bug 8734: search by keyword in listPublicIpAddresses command
...
status 8734: resolved fixed
2011-03-09 13:32:36 -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
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
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
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
nit
47882e9809
bug 7433: In case of multiple zones deleting a tempate from a zone doesn't prevent a user from selecting it to deploy the VM in the same zone. It was still visible in the listTemplates. Made change to check for template_zone_ref and template_host_ref removed and destroyed columns. During deployVM disallow a vm to be deployed from a template that has been removed in the zone.
2011-03-08 15:41:10 -08:00
alena
fe267c2cb2
Basic zone 221 to 222 DB upgrade. Unit test is included
2011-03-08 15:32:55 -08:00
Frank
6c819c1491
Merge branch 'bareMetal'
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/DeployVMCmd.java
api/src/com/cloud/offering/ServiceOffering.java
api/src/com/cloud/vm/UserVmService.java
client/tomcatconf/components.xml.in
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/service/ServiceOfferingVO.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-03-08 14:18:11 -08:00
Frank
20a7d95c06
Bug 8208 - bare metal provisioning
...
make an individual package and move to premium
2011-03-08 10:45:50 -08:00
Frank
5517046a66
Bug 8208 - bare metal provisioning
...
throw exception when pxe server is not per pod
2011-03-08 10:05:58 -08:00
alena
5842392ec1
bug 8146: Multiple network case (default network is Virtual) - for Direct networks dhcp servers set dns to the eth0 ip address of the domR belonging to virtualNetwork
...
bug 8146: resolved fixed
2011-03-07 19:56:25 -08:00
Kelven Yang
13c5a4ebcf
forget to add new files in
2011-03-07 19:43:37 -08:00
Kelven Yang
d0892a964d
Add JMX monitoring to cluster management
2011-03-07 18:40:33 -08:00
Alex Huang
35275c1615
added user ip address upgrade
2011-03-07 17:53:43 -08:00
alena
b20fafeaa4
bug 8874: rebootVm - don't try to implement already implemented network
...
status 8874: resolved fixed
2011-03-07 10:23:48 -08:00
alena
94fb0612f2
Fixed DB upgrade script - vm_type field can be NULL
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-03-05 10:37:57 -08:00
Alex Huang
bda3264a77
networks are generated now from the domr
2011-03-04 18:07:26 -08:00
Alex Huang
f7ea6e17cd
break upgrade fix upgrade
2011-03-04 18:07:26 -08:00
Alex Huang
2d58d85a89
break upgrade fix upgrade
2011-03-04 18:07:26 -08:00
nit
7c127bf096
bug 8824: remove capacity entry when deleting secondary storage.
...
status 8824: resolved fixed
2011-03-04 17:40:43 -08:00
Kelven Yang
cbb5aa0e89
Allow to query management server node alive status
2011-03-04 17:39:26 -08:00
nit
f85ef91a8d
bug 8643: listCapacityCmd - Make the capacity calculation more optimal. Now the API wont recalculate the stats everytime its called. It would rely on the capacity checker thread running (configurable) every 5 mins to get the capacity. Change the initital delay of capacity check thread from 5 mins to 30 seconds so that we check capacity immediately as we log in.
...
status 8643: resolved fixed
2011-03-04 16:08:18 -08:00
Edison Su
6b6577d5e9
fix build on master
2011-03-04 15:22:30 -05:00
Edison Su
bec3f3c8a2
bug 8843: add vm into security group when vm is created
...
status 8843: resolved fixed
2011-03-04 13:04:44 -05:00
Alex Huang
263244c938
more logging
2011-03-04 11:37:35 -08:00
Alex Huang
40db230095
more changes for db upgrade
2011-03-04 11:09:24 -08:00
Edison Su
8eaa53f282
fix transaction rollback in security group listener, which cause state machine update failed
2011-03-04 10:58:24 -05:00
alena
e902e83d13
Fixed bug in xmlDocWriter: use "domain" parameter instead of "domainId" for "login" command
2011-03-04 10:31:58 -08:00
kishan
a61a92b0fe
bug 8675: Added action events for Domain commands
...
status 8675: resolved fixed
2011-03-04 16:59:19 +05:30
kishan
db7a0ddb75
bug 8672: Added action events for User commands
...
status 8672: resolved fixed
2011-03-04 16:45:49 +05:30
kishan
44ec214ad8
bug 8507: Generate usage event for empty snapshot
...
status 8507: resolved fixed
2011-03-04 16:01:58 +05:30
kishan
75def45063
bug 8536: Added delete volume usage event for Data volumes also when Vm goes to Error state
...
status 8536: resolved fixed
2011-03-04 15:38:07 +05:30
kishan
5df8e59132
bug 8098: Added destroy vm usage event when Vm goes to Error state
...
status 8098: resolved fixed
2011-03-04 15:30:06 +05:30
kishan
a560f59a2b
bug 8298: Avoid logging usage events for templates owned by system user
...
status 8298: resolved fixed
2011-03-04 14:36:57 +05:30
alena
715a929e91
Separate createVm methods for 1) vm in Basic zone 2) Vm with SecurityGroup in Advanced zone 3) Vm without SecurityGroup in AdvancedZone
2011-03-03 16:13:00 -08:00
Edison Su
9ad5139fda
fix delete security group rule
2011-03-03 13:44:48 -05:00
Alex Huang
4b09b69cb2
Basic network conversion
2011-03-03 11:06:49 -08:00
alena
f36ed9b51a
bug 8689: don't allow to reset Availability for default Direct network offering
...
status 8689: resolved fixed
2011-03-02 15:58:44 -08:00
alena
1025f16940
bug 8819: Don't allow upgrade system network offerings
...
status 8819: resolved fixed
2011-03-02 15:55:36 -08:00