5641 Commits

Author SHA1 Message Date
Murali Reddy
c12ccbd06f Bug 9534 : implement CPU cap
Introducing new boolean flag in service offering to restrict the user VM's CPU utilization to what service offering it is entitled for.
2011-04-27 13:54:45 +05:30
Abhinandan Prateek
7960a499dc bug 6451: XenServer username/password should be changable through API 2011-04-27 12:14:51 +05:30
Abhinandan Prateek
0fc005f20a bug 6451: XenServer username/password should be changable through API 2011-04-27 12:08:02 +05:30
Jessica Tomechak
dce4a8ec2e Versioned Administrator's Guide. 2011-04-26 17:57:34 -07:00
alena
508fef2269 Apply nic profile to nic: don't set reservationStrategy for DB object when it's value is NULL 2011-04-26 17:51:49 -07:00
alena
584718ceb6 bug 9571: respect allocatedOnly flag in listPublicIpAddresses API
status 9571: resolved fixed
2011-04-26 17:51:49 -07:00
Alex Huang
9909371eaa bug 9445: Signal alert for the host if a primary storage pool was unavailable on that host 2011-04-26 15:09:36 -07:00
alena
4290abb57c bug 9578: when deploy dhcp in Basic zone, put pod information to deploymentPlan
status 9578: resolved fixed
2011-04-26 14:57:40 -07:00
prachi
6e39019b6a Bug 9548 [Cloud Stack Upgrade - 2.1.8 to 2.2.4] System VM's Volumes Recreation is not happening on an event of New Volume creation Failures
Changes:
- Reason was that the old volume's templateId was being updated before volume creation was attempted. So on the retry, we dint find a difference in volume's templateId and VM's templateId and did not enter the recreation logic.

- Fix is to update the new volume's templateId with the VM's templateId while creating the new volume. The old volume's templateId stays the same and the volume is marked as 'Destroy' when a new volume is created.
2011-04-26 11:35:24 -07:00
alena
5db28c57e4 bug 9492: allow security group removal when it has ingress rules, but not assigned to any vms yet
status 9492: resolved fixed
2011-04-25 16:43:39 -07:00
prachi
18b773650f Bug 9447 - ModifySshKeyCommand contents are logged...
- Local fix to not log the content for ModifySshKeyCommand.
- For commands that do not want to log the parameters, added the facility to indicate this.
- For such commands, we remove the parameters from the log.
2011-04-25 14:22:50 -07:00
alena
4953461e57 bug 8809: listHypervisors api - when zoneId=-1 is specified, only hypervisors availble in all zones are being returned 2011-04-25 10:39:51 -07:00
nit
49bb7dba00 bug 9013: Adding hypercisor type for xs-tools.iso when inserting it into vm_template.
status 9013: resolved fixed
2011-04-25 17:03:57 +05:30
alena
afa7d3f34d bug 9563: fixed DB upgrade from 2.2.2/2.2.3 to 2.2.4
status 9563: resolved fixed

Also added unittest for 2.2.2 to 2.2.4 upgrade

Conflicts:

	setup/db/db/schema-222to224.sql
2011-04-23 23:05:42 -07:00
alena
1915b51a83 DB upgrade: use is_static_nat field to distinguish between 2.2.1 and 2.2.2 versions 2011-04-23 21:24:37 -07:00
alena
1efc45a241 bug 9555: db upgrade for Basic zone - set default nic for the domR
status 9555: resolved fixed
2011-04-23 20:44:09 -07:00
alena
3c48d8d432 bug 9556: set ip_type=ip4 for guestVm nics in Basic zone setup
status 9556: resolved fixed
2011-04-23 20:43:37 -07:00
alena
b749c64d4e bug 9550: get storagePool to Host mappings before doing processDisconnect because these references are being deleted as a part of processDisconnect call.
status 9550: resolved fixed

Conflicts:

	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/storage/StorageManagerImpl.java
2011-04-23 20:43:24 -07:00
prachi
c157d3375c More changes for Bug 9539 - cpu.overprovisioning.factor does not work
- After p4merge some weird character was getting added.
2011-04-22 18:17:08 -07:00
prachi
b84a7477f0 Bug 9539 - cpu.overprovisioning.factor does not work
Changes:
- Changed host allocators/planner  to use cpu.overprovisioning.factor
- Removed following: while adding a new host, we were setting the total_cpu in op_host_capacity to be actual_cpu * cpu.overprovisioning.factor. Now we set it to actual_cpu.
- ListCapacities response now calculates the total CPU as actual * cpu.overprovisioning.factor (This change does not add anything new - listCapacities was pulling total CPU from op_host_capacity DB earlier which had the cpu.overprovisioning.factor applied already. Now we need to apply it over the DB entry.)
- HostResponse has a new field: 'cpuWithOverprovisioning' that returns the cpu after applying the cpu.overprovisioning.factor

- Db Upgrade 222 to 224 now updates the total_cpu in op_host_capacity to be the actual_cpu for each Routing host.
2011-04-22 18:09:31 -07:00
Kelven Yang
e6194b6e09 localization and migration for custom certification support 2011-04-22 17:22:01 -07:00
will
96c8ef6522 bug 9515: Adding the first basic zone will now automatically display the security group left nav 2011-04-22 16:22:35 -07:00
will
b56de7a52e bug 9513: You can now add a POD through the Add Pod button (not wizard). 2011-04-22 15:45:44 -07:00
will
ff2d7fcf4a bug 9468: DiskOfferings are now sorted by created date to keep consistent with other objects returned in CloudStack. 2011-04-22 15:12:59 -07:00
Frank
eaf6468144 Bug 9542 - install on CentOS 5.6 does not work
get rid of augtool from setup script
nstall on CentOS 5.6 does not work#	.wscript_build.swp
2011-04-22 14:44:44 -07:00
Kelven Yang
160b2e1114 Finalize custom certficate support. hook with UI 2011-04-22 13:45:09 -07:00
alena
7255d68875 HA: no need to investigate why vm was stopped on host when host is being Dicsonnected with investigate=false option 2011-04-22 13:38:25 -07:00
anthony
8271f034ce bug 9541: fix one snapshot DB migrate, one java check and one script typo
status 9541: resolved fixed
2011-04-22 12:57:16 -07:00
alena
41e5e38fef bug 9336: securityGroups can be used by other securityGroups in the same domain only; no cross domain SG authentication
status 9336: resolved fixed

Following changes were made:

* deleteSecurityGroup/authorizeSecurityGroupIngress - removed account/domainId parameters as SG is uniquely identified by id now
* removed account_name field from securityGroup DB table; removed allowed_security_group/allowed_sec_grp_acct from security_ingress_rule.
These values were used for api response generation only for performance purposes; added caching on API level to improve performance
* Added missing security checks for securityGroups/ingressRules
2011-04-22 11:35:29 -07:00
prachi
09b4b06b63 Bug 9447 - ModifySshKeyCommand contents are logged...
Since private and public keys are logged, this is a Security concern

Changes: Added capability to 'Command' instances to support excluding certain fields from getting logged using GSON @Expose annotation.
2011-04-22 10:43:26 -07:00
Kelven Yang
e69774e13a Add console proxy management state, support certificate upload, all done except UI 2011-04-21 18:46:37 -07:00
alena
1a6d78eae4 Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions) 2011-04-21 16:26:53 -07:00
alena
b83456f895 bug 9504: don't send DHCP entry command for Destroyed vm
status 9504: resolved fixed
2011-04-21 14:26:42 -07:00
alena
d7ec734b01 bug 9481: deployVm with Guest Virtual network - throw an exception when fail to acquire guest Ip address
status 9481: resolved fixed
2011-04-21 13:59:07 -07:00
alena
c844655825 bug 9488: throw InsufficientVirtualNetworkCapcityException when fail to allocate guest vnet as a part of network implement() call
status 9488: resolved fixed
2011-04-21 13:59:06 -07:00
alena
3d33fd7f92 deleteNetwork: return false when fail to cleanup network resources (LB/PF/StaticNat rules) 2011-04-21 13:59:06 -07:00
Murali Reddy
435c20c0cc Bug 9273: resource cont going -ve
adding addtional check that ensure we decrease the count in advanceStart only on new vm creation.
2011-04-22 01:19:23 +05:30
Frank
3b75abbde7 Fix DomR reply to windows's periodical DNS requirement 2011-04-21 11:23:23 -07:00
nit
8cbdfe07c9 bug 8803: Allow to add an ISO with URL that doesn't end with ".iso". The check checks that the url path should end with an iso
status 8803: resolved fixed
2011-04-21 16:37:53 +05:30
nit
f55e83f607 List Iso/Templates - Cleaning the code for access rights using the centralized acl layer 2011-04-21 13:40:14 +05:30
Abhinandan Prateek
ea14ff5f6c bug 9470: line breaks not escaped for events
status: resolved fixed
2011-04-21 12:20:50 +05:30
alena
22ee7117f5 bug 9521: fixed NPE in finalizeCommandsOnStart() method by adding vm's nic to vm profile during the vm to vmProfile conversion.
status 9521: resolved fixed
Conflicts:

	server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
	server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-04-20 16:16:01 -07:00
alena
f881d394e2 bug 9415: deleteHost - cleanup vms running on the host to be removed
status 9415: resolved fixed
2011-04-20 15:50:10 -07:00
Jessica Tomechak
15e14fbf0a bug 9386: add version number to doc 2011-04-20 13:46:51 -07:00
Jessica Tomechak
654aeebcd0 bug 9386, also 9144, 9149. Doc fixes for API page limit, account resource limit config, open port for MS/vCenter/system VM/ESXi host communications. 2011-04-20 11:50:27 -07:00
alena
63cd66beb0 Fixed the bug in listNetworks when isSystem parameter was ignored if it was specified along with account/domainId parameter 2011-04-19 18:30:55 -07:00
Kelven Yang
7103e1c9a7 global replacement to avoid using getClass().getName() for unique names 2011-04-19 17:26:41 -07:00
alena
c7e120a72e Transform InvalidParameterValueException and PermissionDeniedException to proper API exceptions 2011-04-19 17:07:05 -07:00
Kelven Yang
6ed18b5583 Add keystore management and related JUNIT test case 2011-04-19 16:20:06 -07:00
alena
98baa7392e bug 9383: createStaticNat rule - allow opening the same port for tcp/udp traffic
status 9383: resolved fixed
2011-04-18 17:55:41 -07:00