Commit Graph

16989 Commits

Author SHA1 Message Date
Alex Huang 8bec1e0b9f added the concept of system integrity checking before a system starts 2011-03-16 17:59:34 -07:00
Frank 02cd820645 Bug 8208 - bare metal provisioning
Ingore bootp and pxe boot request in external DHCP server
2011-03-16 17:00:55 -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
Frank 1a307faefd Bug 8208 - bare metal provisioning
fix wrong result comparsion in prepare_dnsmasq.sh
2011-03-16 10:15:55 -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
Frank 47a26e3a8a Bug 8208 - bare metal provisioning
Add ipmitool as dependency of cloud-premium
2011-03-15 17:45:40 -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
Frank d297eea96f Bug 8208 - bare metal provisioning
do fullsync in baremetal resource
2011-03-15 15:29:52 -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
Frank ffb900fc86 Bug 8208 - bare metal provisioning
Add useExternalDhcp option to createPodCmd
2011-03-14 16:42:59 -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
Frank bf6a6f0d57 Bug 8208 - bare metal provisioning
check role before adding role to LinMin
2011-03-14 14:34:00 -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
will 85e892bded bug 3316: Added initial UI support to live migrate VMs. 2011-03-11 16:33:18 -08:00
Frank a6861d0ac1 Fix the wrong additional buildnumber in debian build 2011-03-11 15:47:31 -08:00
Frank 75401d4556 Add PACKAGE_VERSION feature to ubuntu build 2011-03-11 15:36:45 -08:00
Kelven Yang 3b39c6cbe6 A sample jQuery tab plugin 2011-03-11 14:49:29 -08:00
Frank e872996084 Bug 8208 - bare metal provisioning
get DHCP entry state from DHCP server
2011-03-11 14:09:23 -08:00
Frank 4324efea26 Bug 8208 - bare metal provisioning
able to get IP from external DHCP server
2011-03-11 14:09:23 -08:00
Frank 946413dd88 Remove outdated thridparty pacakge 2011-03-11 10:23:23 -08:00