Commit Graph

34055 Commits

Author SHA1 Message Date
alena 237c57e74f bug 9146: createNetwork via 8096 - assume that network is domain specific when domainId is not null and isShared = true.
status 9146: resolved fixed
2011-03-24 16:04:12 -07:00
alena 2f782305fd bug 8897: allow to delete a zone when it has alerts
status 8897: resolved fixed
2011-03-24 15:00:17 -07:00
alena 33fff1262e Changes to 222-224 db upgrade 2011-03-24 14:41:01 -07:00
alena a2619b902f AssociateIPAddress - first IP associated with the network should always be a source nat 2011-03-24 14:25:20 -07:00
anthony 6e60539427 bug 9140: 221to222 upgrade fix
INSERT INTO `cloud`.`guest_os` (id, category_id, display_name) VALUES (138, 7,
'None');

status 9140: resolved fixed
2011-03-24 14:05:40 -07:00
alena dee2e59fb3 bug 8798: delete zone is fixed
status 8798: resolved fixed
2011-03-24 13:32:31 -07:00
alena cced97c5fb ipAssoc - verify that ip owner is the same as the owner of the network we are assigning ip to 2011-03-24 13:32:31 -07:00
Frank 8aa0ab99da Bug 8208 - bare metal provisioning
Start vm on last stayed host if vm has lastHostId
2011-03-24 12:56:56 -07:00
prachi 514321cadf Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
Fixed problems in setting default 'allocation_state'. It is now set to 'Enabled' by default if not provided in the API command.
2011-03-24 12:54:51 -07:00
David Noland 978a9c7df4 Show more meaningful error message if db deployment fails when "mysql" is missing from PATH. 2011-03-24 12:26:37 -07:00
Frank 6be5a9a3a9 Bug 8208 - bare metal provisioning
Don't ask secondary storage VM to download baremetal template.
Immediately make baremetal template ready after registerTemplateCmd
as well as listTemplateCmd
Use zone id instead of secondary storage VM id to identify baremetal
template in template_host_ref table
2011-03-24 12:15:08 -07:00
Edison Su 954dacdbda fix NPE on centos when dumpxml 2011-03-24 11:33:30 -04:00
Edison Su c93abe014c fix listsecuritygroup 2011-03-24 11:08:00 -04:00
Kelven Yang bfc420f22e Fix sql syntax error, a coma is missing 2011-03-24 10:27:15 -07:00
prachi 50244b79ab Zone check in createNetwork for Bug 6873 - disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:20:53 -07:00
prachi 923f562aa8 Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
- Added a new flag 'allocation_state' to zone,pod,cluster and host
- The possible values for this flag are 'Enabled' or 'Disabled'
- When a new zone,pod,cluster or host is added, allocation_state is 'Disabled' by default.
- For existing zone,pod,cluster or host, the state is 'Enabled'.
- All Add/Update/List  commands for each of zone,pod,cluster or host can now take a new parameter 'allocationstate'
- If 'allocation_state' is 'Disabled', Allocators skip that zone or pod or cluster or pod.
- For a root admin, ListZones lists all zones including the 'Disabled' zones. But for any other user, the 'Disabled' zones are not included in the response.
- For any usecase that creates/deploys/adds/registers a resource and takes in zone as parameter, now we check if the Zone is 'Disabled'. If yes then the operation cannot be performed by a user other than root-admin. Add volume, snapshot, templates are examples of this usecase.
- To enable the root admin to test a particular pod/cluster/host, deployVM command takes in 'host_id' parameter that can be passed in only by root admin.
If this parameter is passed in by the admin, allocators do not search for hosts and use that host only. StoragePools are searched in the cluster of that host.
If VM cannot be deployed to that host, allocators and deployVM fails without retrying
2011-03-23 22:15:35 -07:00
anthony d2dc0a504b put host into maintenance, if the VM can not migrate, just stop it 2011-03-23 16:50:59 -07:00
Kelven Yang 1c9196f9af add vncPassword on hypervisor back 2011-03-23 16:18:22 -07:00
Frank a8a5d18d91 Clean async Job
align vm_template with new systemvm template
2011-03-23 16:06:52 -07:00
alena bbc5bdd83b Fixed NPE in diskOffering creation 2011-03-23 15:53:46 -07:00
Alex Huang 1a12b3a3de system template upgrade 2011-03-23 15:45:39 -07:00
Alex Huang b75a23b285 added support for 2.1.8 and 2.2.2 upgrade 2011-03-23 15:29:17 -07:00
anthony 44678b60bc add VERSION into to scripts 2011-03-23 14:54:31 -07:00
anthony bc0968d900 check the object before use it 2011-03-23 14:54:31 -07:00
Kelven Yang 1abbc007ba bug 8954: only root admin can access console proxy, SSVM and DomR 2011-03-23 14:46:34 -07:00
Kelven Yang 342648244d bug 8994: fix issues in userdata.py to support user_data in vmware 2011-03-23 13:34:40 -07:00
alena 8de3bacd2b bug 9026: added ability to turn off apiCommand/commandParameter for docGeneration
status 9026: resolved fixed

1) Don't expose following commands in doc:

* registerSSHKeyPair
* createSSHKeyPair
* deleteSSHKeyPair
* listSSHKeyPairs

2) Don't show "sshKeyPairName" parameter for deployVm command
2011-03-23 12:56:58 -07:00
Frank b3d6130bae Re-enable xml doc build 2011-03-23 12:44:14 -07:00
alena 7dce8412e4 Fixed API xml doc generation 2011-03-23 12:12:29 -07:00
alena f95d845360 bug 9053: modified updateUser api (mentioned that api and secret keys must be specified together. 2011-03-23 12:12:29 -07:00
Frank e117459de2 disable xml doc build until alena fix it 2011-03-23 11:31:00 -07:00
Kelven Yang 14faff534d validate CPU speed in system service offering to auto-correct settings from old data set 2011-03-22 15:37:09 -07:00
anthony 41e75ab611 bug 9107: don't allow move volume if there are snapshot policy or snapshot on this volume
status 9107: resolved fixed
2011-03-22 14:40:21 -07:00
alena 404b288af4 Throw an exception when can't find network offering during zone creation 2011-03-22 14:06:14 -07:00
alena f84c81a47d bug 8533: all IP Address fields in DB have char(40) type
status 8533: resolved fixed
2011-03-22 14:06:14 -07:00
Kevin Kluge 89fbaada2a bug 9104: update for security groups 2011-03-22 14:02:05 -07:00
alena 718386a2b6 bug 8862: added updateNetwork api command. Can update name/displayText only 2011-03-22 11:26:56 -07:00
anthony 7f12876be1 bug 9087: destroy the source volume, after update the volume entry
status 9087: resolved fixed
2011-03-22 11:23:36 -07:00
Frank 8ac36a980c Use Long type for version comparsion 2011-03-22 11:07:11 -07:00
Kelven Yang aadeceaf78 Add a DNS name resolution helper 2011-03-22 10:58:22 -07:00
alena 05be5acfda bug 9066: don't allow enabling ha for vm created from Ha disbled service offering
status 9066: resolved fixed
2011-03-22 10:46:10 -07:00
alena 8906b77e19 bug 9097: default admin email is NULL. It can be reset later with updateUser API.
status 9097: resolved fixed
2011-03-22 10:25:13 -07:00
alena e9a10c53dc bug 8831: added 2 new parameters to create/listNetworks api: "isdedicatedtodomain" and "dedicateddomainid" 2011-03-22 10:17:08 -07:00
Alex Huang 7103d30f57 router restarted but needs template update 2011-03-22 09:46:41 -07:00
Alex Huang e2a1057e17 domr restarted 2011-03-22 09:31:37 -07:00
alena 7c1a6e4884 bug 8831: API/Management server part is done for "Dedicate Network to domain". UI part is left 2011-03-21 18:17:59 -07:00
Frank 5cdaa60c50 Use compact format for java implementation version 2011-03-21 18:17:24 -07:00
Alex Huang 109c4eae0e restarting domr is close to working 2011-03-21 17:56:00 -07:00
Frank 405f56c87a Add date to Java implemetation number 2011-03-21 17:18:45 -07:00
Frank a414d33e12 Bug 8208 - bare metal provisioning
setup name server when prepare external dhcp server
2011-03-21 17:06:17 -07:00