2077 Commits

Author SHA1 Message Date
Edison Su
c93abe014c fix listsecuritygroup 2011-03-24 11:08:00 -04: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
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
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
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
alena
7dce8412e4 Fixed API xml doc generation 2011-03-23 12:12:29 -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
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
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
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
Alex Huang
109c4eae0e restarting domr is close to working 2011-03-21 17:56:00 -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
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
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
anthony
2b188b37dd fixed start management server 2011-03-18 16:43:51 -07:00
alena
a27c4881ea bug 7424: 0 value for network.throttling.rate global config param indicates that network throttling is disabled
status 7424: resolved fixed
2011-03-18 15:23:03 -07:00
anthony
28cfa24bd2 only 2.1 snapshot depends on template, if there is no 2.1 snapshot, template can be removed 2011-03-18 15:20:48 -07:00
prachi
5bbffcaa97 Changes to add 'cluster_id' to 'op_host_capacity' table for Db upgrade from 222 to 224 2011-03-18 12:14:48 -07:00
Alex Huang
639a8aca9d new 222 to 224 missing file 2011-03-18 11:00:37 -07:00
Alex Huang
8723727de1 added 2.2.2 to 2.2.4 2011-03-18 10:41:58 -07:00
Alex Huang
093fa851fa made the upgrade utility work with the current version 2011-03-18 10:06:38 -07:00
Alex Huang
d3ecf719ce looks like everything is working except for snapshots 2011-03-18 09:14:05 -07:00
anthony
25d1a8dc4a bug 8993: throw exception if creating snapshot on primary storage fails it may be due to previous creation desn't finish
status 8993: resolved fixed
2011-03-17 19:17:44 -07:00
Kelven Yang
65d4cc98be Allow template re-deployment once template is deleted from hypervisor and CloudStack still holds out-dated status 2011-03-17 17:59:51 -07:00
alena
8d44058010 Fix for PF/LB 2.1.7 to 2.2.2 upgrade 2011-03-17 17:49:59 -07:00
anthony
8e741fb80d bug 9024:
two issues here:
1. in some case, two sequent commands are sent out at the same time.
2. before starting a user VM , make sure domr is up

status 9024: resolved fixed
2011-03-17 17:30:19 -07:00
alena
10077be555 DB upgrade for LB rules 2011-03-17 11:52:23 -07:00
Alex Huang
57cfdb8092 make 2.2.1 to 2.2.2 upgrade work 2011-03-17 10:42:48 -07:00
Alex Huang
b18b2a68b1 fixed unit test 2011-03-17 10:40:59 -07:00