5326 Commits

Author SHA1 Message Date
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
Kelven Yang
b264866d2e Perform and alert management.network.cidr configuration on management server startup 2011-03-21 16:46:43 -07:00
anthony
d0320896f3 fixed set_dhcp_entry issue, don't need to lock an router entry, start function will handle concurrent starting domr 2011-03-21 15:19:09 -07:00
alena
abb2e2b2ff bug 8831: partial checkin for Domain specific Networks (includes DB changes) 2011-03-21 15:05:07 -07:00
Frank
b1d53893d7 Fix typo in ClusterDaoImpl.ZoneHyTypeSearch 2011-03-21 14:30:44 -07:00
Kelven Yang
7168278455 Console access API with API key, there is an issue that it actually depends on existing web session. This is the fix for it 2011-03-21 11:28:31 -07:00
alena
505848bbbe Fixed unittest 2011-03-21 10:29:11 -07:00
Kevin Kluge
ddcafa7cf6 add security groups 2011-03-20 22:48:09 -07:00
Alex Huang
8b06aed43b added mockito for mocking 2011-03-19 11:46:18 -07:00
Alex Huang
d7e0f8dcc1 db upgrade 2011-03-19 10:33:13 -07:00
Alex Huang
82f7504832 checking in the upgrade stuff for now 2011-03-19 09:27:10 -07:00
alena
ec96a9afea Reverted Anthony's checkin for systemVmPatch which he added by mistake. 2011-03-18 18:12:53 -07:00
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