305 Commits

Author SHA1 Message Date
will
e32aa32bfc bug 9021: Fixed network rate display issue in network offering. 2011-03-29 18:50:58 -07:00
nit
ded1184548 bug 8710: Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN. The role would have all the domain_admin rights and the rights to list zone,pods,clusters and so on. More info in the bug 2011-03-25 18:04:09 -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
alena
718386a2b6 bug 8862: added updateNetwork api command. Can update name/displayText only 2011-03-22 11:26:56 -07:00
Kelven Yang
b264866d2e Perform and alert management.network.cidr configuration on management server startup 2011-03-21 16:46:43 -07:00
Frank
570c7c532e Add database migration script directory to classpath 2011-03-16 16:53:57 -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
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
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
Kelven Yang
8cab7c3188 Enable JMX on tomcat config 2011-03-09 14:25:47 -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
7fa053370e Bug 8208 - bare metal provisioning
Add bare metal planner
2011-03-01 17:47:37 -08:00
Frank
cd676f481d Bug 8208 - bare metal provisioning
Successfully add start entry into LinMin PXE server
2011-02-25 21:08:13 -08:00
will
a06c435aed Bug 8655: Fixed text and translation for the new user security group network. 2011-02-25 17:49:01 -08:00
Jessica Wang
df4fbe796b bug 8655: VM Wizard - step 4 - If Security Group Network is used AND there is at least one dedicated direct tagged default network for the account, then prompt “Do you wish to launch your VM on a private cloud/network?” If Yes, present network container. If No, present security groups container. 2011-02-25 17:03:03 -08:00
Jessica Wang
c06444c079 bug 8655: Add Zone Wizard - Advanced Mode - Security Group - step 4 - create direct VLAN with VLAN ID. 2011-02-25 11:55:14 -08:00
alena
46331ac536 create/update/deleteDomain commands should be available for Root admin only 2011-02-25 11:50:40 -08:00
Frank
5035778b1a Bug 8208 - bare metal provisioning
StartCommand cloud reach to BareMetalResrouce
2011-02-24 19:22:34 -08:00
Jessica Wang
309dae765d bug 8655: Add Zone Wizard - step 1 - implement Isolation Mode: virtual, security group. 2011-02-24 18:03:46 -08:00
Jessica Wang
801f7c4364 bug 8655: zone page - add "Security Group Enabled" row. 2011-02-24 15:34:19 -08:00
Kelven Yang
0cd0703c81 Bug 8717: Move VMwareGuru to premium 2011-02-23 16:10:21 -08:00
Jessica Wang
c082425b16 Account page - Add Account dialog - change domain dropdown to input text field that has autoComplete function. 2011-02-22 15:05:06 -08:00
Jessica Wang
9c95152cbf localization - dashboard page - add a lable for CPU Allocated. 2011-02-22 10:08:47 -08:00
Jessica Wang
70dcfa39fe bug 8538: Host page - statistics tab - seperate CPU row to 2 rows ("Total CPU", "CPU Utilized"). Add/Change labels for the first 3 rows. 2011-02-18 11:43:27 -08:00
Jessica Wang
5c010cfce6 ISO page - add Download Progress Bar that shows when download progress is not finished and hides when download progress finishes. 2011-02-15 16:00:37 -08:00
Jessica Wang
8ec78af804 fix a localized message for Add IP range to Direct Network dialog (whose HTML tag was messed up by translation tool) 2011-02-14 15:41:14 -08:00
Jessica Wang
a6b478e092 volume page - localize download volume message (2) 2011-02-14 11:24:11 -08:00
Jessica Wang
2deccb18ac volume page - localize download volume message. 2011-02-14 11:23:46 -08:00
Jessica Wang
0a70a18a77 add new words to translation files. 2011-02-14 10:52:19 -08:00
Jessica Wang
c22bd9ca37 fix a bug that Download ISO, Download Template showed # instead of URL in dialog box. 2011-02-11 20:26:21 -08:00
Jessica Wang
62f841baf6 translate new words in messages_zh_CN.properties 2011-02-11 18:55:35 -08:00
Jessica Wang
15501508e0 bug 8426: localize text - translate title of confirmation/alert/error/sessionExpired dialogs. 2011-02-10 18:24:51 -08:00
Jessica Wang
0be5252e28 bug 8426: localize text (11. ~ 18. in this bug) 2011-02-10 17:47:27 -08:00
Jessica Wang
2255d40e98 bug 8498: UI change - Add ISO dialog will hide OS Type dropdown when bootable field is slected as false. 2011-02-10 14:44:36 -08:00
alena
4054d7e2b5 Store ip address as String instead of Long in user_ip_address and port_forwarding_rules tables 2011-02-09 19:35:03 -08:00
Jessica Wang
f427ec450a bug 8436: fix Spanish translation file whose HTML code was messed up by translation tool. 2011-02-09 15:53:51 -08:00
Jessica Wang
dae909aaf8 Add Pool Dialog - localize protocol values in dropdown. 2011-02-09 14:00:21 -08:00
Jessica Wang
565cdce274 Add Service Offering dialog - change lable from "CPU (in MHZ)" to "CPU (in MHz)". 2011-02-08 17:04:23 -08:00
Jessica Wang
691a18340e bug 8431: translate tool is unable to handle html code correctly. It messes up a lot of html code. Here is manual fix for Japanese translation file. 2011-02-08 16:40:56 -08:00
Jessica Wang
fa1b9d7473 bug 8431: translate tool is unable to handle html code correctly. It messes up a lot of html code. Here is manual fix for Spanish translation file. 2011-02-08 16:06:09 -08:00
alena
95f90fd986 Removed bad word from log4j config files. 2011-02-08 13:55:40 -08:00
will
5d8492ab21 bug 8470: Added more clear text after enable maintenance, cancel maintenance, and reconnect host. 2011-02-08 13:54:37 -08:00
will
3d493f2083 bug 8478: Fixed missing timezone lable for snapshot dialog. Also translated all the new labels to the appropriate message resource files. 2011-02-08 10:01:43 -08:00
Jessica Wang
6d7b4e3c7a bug 8440: Add Primary Storage dialog - when PreSetup is selected, change "Path:" to "SR Name-Label:". When NFS is selected, change "SR Name-Label:" back to "Path:". 2011-02-07 17:38:09 -08:00
Jessica Wang
87b3f4a17d VM Wizard - correct warning message at step 4. 2011-02-07 11:58:58 -08:00
Frank
54450460d2 implement network element for ovs stuff, so we don't make other code dirty 2011-02-03 17:39:03 -08:00
Jessica Wang
57d1e546de bug 8360: Make default option in advanced search field capitalized. 2011-02-03 16:43:56 -08:00
Jessica Wang
847b669ce5 add a missing localization label. 2011-02-03 14:12:21 -08:00
Jessica Wang
65a10fca05 bug 8369: change text. 2011-02-03 13:53:30 -08:00