Commit Graph

5452 Commits

Author SHA1 Message Date
alena c8f4dacb0a 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
2011-04-23 18:34:39 -07:00
prachi 074e143986 Manually Merged from master the remaining changes for Bug 9539 - cpu.overprovisioning.factor does not work 2011-04-22 18:58:00 -07:00
prachi 5706041ef7 Manual merge of Bug 9539 - cpu.overprovisioning.factor does not work
Partial 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.

Conflicts:

	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/deploy/BareMetalPlanner.java
	server/src/com/cloud/server/ManagementServerImpl.java
2011-04-22 18:54:16 -07:00
will 67689860a0 bug 9515: Adding the first basic zone will now automatically display the security group left nav
merge from master
2011-04-22 16:23:03 -07:00
will c897fac983 bug 9513: You can now add a POD through the Add Pod button (not wizard).
Merge from master
2011-04-22 15:58:06 -07:00
Frank 71eebc4e81 Bug 9542 - install on CentOS 5.6 does not work
get rid of augtool from setup script
2011-04-22 15:02:23 -07:00
anthony eccec4ff11 bug 9541: fix one snapshot DB migrate, one java check and one script typo
status 9541: resolved fixed
2011-04-22 12:50:40 -07:00
Abhinandan Prateek e97e09c7d6 bug 9470: line breaks removed for task failed message
status 9470: resolved fixed
2011-04-22 09:09:33 +05:30
anthony b219d3e83e cluster guid is set up when old host reconnect happens after upgrade, prohibit adding host to the cluster before guid is etup 2011-04-21 16:01:04 -07:00
anthony 71f968a3e1 bug 9282: set cluster guid if it is null
status 9282: resolved fixed
2011-04-21 15:41:54 -07:00
Murali Reddy d1650c6e60 Bug 9273: resource count going -ve
adding addtional check that ensure we decrease the count in advanceStart only on new vm creation
2011-04-22 01:37:45 +05:30
Chiradeep Vittal b8fdbb53b2 bug 9527: name / unique_name confusion 2011-04-20 21:44:22 -07:00
root c8d5ef8c29 Merge branch '2.2.4' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.4 2011-04-21 09:59:48 +05:30
Abhinandan Prateek b979b782c1 bug 9487: race condition in taking ownership 2011-04-21 09:20:50 +05:30
anthony c8b7b1b4dd bug 9525: empty known_hosts at reconnect
status 9525: resolved fixed
2011-04-20 20:47:26 -07:00
alena e5286339f1 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
2011-04-20 16:16:27 -07:00
Abhinandan Prateek 48eebe8e7a bug 9503: race condition in taking ownership of a Host when a Management server is restarted
status 9503: resolved fixed
2011-04-20 16:37:12 +05:30
alena a99f925de1 bug 9383: createStaticNat rule - allow opening the same port for tcp/udp traffic
status 9383: resolved fixed
2011-04-18 18:18:44 -07:00
alena b7a89f2229 bug 9493: fixed the bug in Basic zone when nic_count was updated incorrectly due to multiple domRs per network
status 9493: resolved fixed
2011-04-18 16:49:12 -07:00
alena 4c53dc8d46 Throw server api exception with correct error code 2011-04-18 15:16:06 -07:00
alena c6e1a26934 Update volumes having destroyed=127 with Destroyed state only after ensuring that corresponding account is removed, or instance is expunged 2011-04-18 13:34:59 -07:00
alena 9c8ff68ca7 Added more logging to DB upgrade code 2011-04-18 11:39:44 -07:00
alena a43a7993cb bug 9483: delete records from template_spool_ref if corresponding storage pool doesn't exist any more
status 9483: resolved fixed
2011-04-15 17:07:39 -07:00
Kelven Yang a32e9027eb Add java keystore helper class, prepare for dynamically generating keystore for SSL use 2011-04-15 16:58:39 -07:00
Chiradeep Vittal e7dd2abfe1 bug 9441: cannot change unique_name in vm_template as this will cause template sync to fail 2011-04-15 15:01:45 -07:00
abhishek a3568ced76 bug 9175: fixing the cpu util being over 100% on the dashboard
status 9175: resolved fixed
2011-04-15 14:55:38 -07:00
will b897508c03 bug 9468: DiskOfferings are now sorted by created date to keep consistent with other objects returned in CloudStack.
Merge from master
2011-04-15 14:27:46 -07:00
alena abe460c276 bug 9473: mark all volumes with Destroyed>=1 with state=Destroy
status 9473: resolved fixed
2011-04-15 14:05:22 -07:00
anthony a2dc7ec59e bug 9472: when get vnc port for a vm, check if the port is really used by this vm for security
status 9472: resolved fixed
2011-04-15 12:45:32 -07:00
alena fcdf791645 bug 9475: don't update vlan in "networks" tab for non-implemented guest networks
status 9475: resolved fixed
2011-04-15 12:00:41 -07:00
alena c6fee4b718 2.1.x-2.2.x upgrade: in "volumes" table use state=Destroy instead of "Destroyed" 2011-04-15 11:43:47 -07:00
alena 5778204e54 Fixed Db upgrade from 2.1.9 to 2.2.2 which wasn't supported before. 2011-04-15 10:17:08 -07:00
alena c2455017e0 Fixed logging for remote access vpn code 2011-04-15 09:58:48 -07:00
alena 234917780e 218-222 upgrade - no need to update user statistics with deviceId if account doesn't own any domRs 2011-04-15 09:45:19 -07:00
alena ce984ce89c bug 9453: Fixed PF rules upgrade.
status 9453: resolved fixed

1) Problem #1 was that in 2.1.x there was a bug when we didn't delete pf rules for expunged vms. These kind of rules will be ignored during the db upgrade
2) Problem #2. We didn't trim the spaces for PF/LB ports in 2.1.x, and DB upgrade code was failing because of that.
2011-04-14 20:35:34 -07:00
anthony 2d376b3f34 on reconnect, heartbeatfile is cleared , MS needs to fill heartbeatfile in ModifyStoragePoolCommand 2011-04-14 20:28:56 -07:00
anthony 8d052d105a don't need to remove heartbeat tag when reconnect, it breaks HA , because when host reconnects, it tries to create heartbeat, but at this time, master may be able to access storage pool 2011-04-14 19:07:58 -07:00
alena fba10b1cb8 bug 9461: don't update user_statistics with the network id if the domR is already expunged
status 9461: resolved fixed
2011-04-14 17:53:38 -07:00
will 714914d21d bug 9426: Deleting an ISO will no longer cause the UI to continue to poll for download process
merge from master
2011-04-14 17:38:25 -07:00
alena c3c80006ca bug 9453: domain path is not unique value, removed the constraint added during 2.1.8-2.2.2 upgrade 2011-04-14 16:55:55 -07:00
Edison Su 8b9fc424d5 bug 8532,8755: don't create multiple HA work if there already has one of HAwork of this VM is created, but not finished
status 8532: resolved fixed
status 8755: resolved fixed
2011-04-14 16:55:06 -04:00
will dd808e45ab bug 9424: fixed issue where a small window space on Safari would cause HTML elements to overlap on the LB rules tab.
merge from master
2011-04-14 15:54:14 -07:00
will 97fbc360e7 bug 9435: decoded text for disk offering. In fact, I added it globally so all text calling the fromdb() would be correctedly decoded.
Merge from master
2011-04-14 15:54:12 -07:00
alena a76803f5e5 bug 9458: do searchIncludingRemoved when decrement resource count as corresponding domain might be removed already
status 9458: resolved fixed
2011-04-14 15:25:37 -07:00
anthony c6018bdc60 bug 9455: when host is disconnected, also remove entry in storage_pool_host_ref
status 9455: resolved fixed
2011-04-14 14:34:32 -07:00
alena 78aad72ffb bug 9407: lock network when do deployDomR/deployDhcp to avoid 2 network elements start for the same network
status 9407: resolved fixed
2011-04-14 13:19:04 -07:00
anthony 21c936ab15 bug 9411:
1. adding storage pool fails, remove the entry in DB
2. in introduce SR, create pbd for master host

status 9411: resolved fixed
2011-04-14 11:16:45 -07:00
root 2ab9238ae7 Bug 9440: we specify the wrong disk size when attaching storage device with custom size offering
wrong usage of volume size which is in bytes for setting the size of disk offering  which in MB
2011-04-14 21:25:23 +05:30
Alex Huang 7b0f95a466 bug 9422: added rows in op_networks table to correspond to the rows in networks table 2011-04-14 03:53:51 -07:00
Alex Huang 256517f1c3 bug 9422: added rows in op_networks table to correspond to the rows in networks table 2011-04-14 03:17:55 -07:00