Commit Graph

2426 Commits

Author SHA1 Message Date
Alex Huang 80b6df17b9 make agent load size configurable 2011-05-10 05:45:06 -07:00
Alex Huang da0fdfcfed Propagate db2fc1713c79e931cfa0f1580943ed80d2b12c8c 2011-05-10 05:45:04 -07:00
nit d91999533b bug 9397 : CreateTemplate - generate MD5 checksum of the template. The code will calculate the checksum after the template has been created in the secondary storage. This code would be executed by ssvm. This would be agnostic of the way the template was created (not hypervisor specific). 2011-05-10 12:26:00 +05:30
Abhinandan Prateek 029a9e6a8a bug 9815: ClassCastException: com.cloud.agent.api.Answer cannot be cast to com.cloud.agent.api.StopAnswer
status 9815: resolved fixed

The type cast should be done after making sure that the command was successful. Otherwise you may have the base Answer returned.
2011-05-10 11:41:20 +05:30
alena 7cb11b09f5 bug 9796: throw an exception when try to create volume/template from the non-ready snapshot
status 9796: resolved fixed
2011-05-09 16:35:09 -07:00
anthony e96118f0be bring server-setup back 2011-05-09 11:10:19 -07:00
Abhinandan Prateek a6fac0d768 added annotation and fixes 2011-05-09 19:41:13 +05:30
Abhinandan Prateek 2984b0607f bug 8115: source ip filtering
Created a table for source cidrs list.
Created necessary Daos and VOs.
Updated PortForwardingRulesDao to persist/update non null list of cidrs.
For deletion depending on ON DELETE CASCADE.
2011-05-09 17:41:50 +05:30
prachi 486c75ea4b Bug 9780 - ComputeCapacityListener should not use 'cpu.overprovisioning.factor' while adding capacity entries
Changes:
Reapplying the changes from fix 9539 that were missing in ComputeCapacityListener.java
Change is to not consider cpu.overprovisioning.factor while creating CPU capacity entries.
This factor is applied by allocators to the values in the capacity table. Capacity  table should contain the actual CPU value and not the overprovisioned CPU value.
2011-05-06 18:05:12 -07:00
alena 2df6b0a6e1 bug 9774: display non-ready templates. Added "state" field to all snapshot* api responses. 2011-05-06 16:48:27 -07:00
Frank 963db44482 Bug 9768 - BAREMETAL: teplates not showing up in ui after being added
resolved: fixed
2011-05-06 15:50:33 -07:00
Kelven Yang 346ee18f6a fix a regression in ConsoleProxyManagerImpl.java 2011-05-06 15:44:45 -07:00
prachi 4c89cc57ae Bug 9652: Need to provide a way to specify deployment plan during VM start
Changes:
- Throw an exception if the deployment plan passed into start() cannot be satisfied by the current constraints (such as root volume is already created in a pool in a different
cluster).
2011-05-06 14:39:53 -07:00
anthony 330f1815fa 1. in 2.1.x some hosts don't have cluster.guid in host_details
2. loading one host failure should not affect loading other hosts

Conflicts:

	server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
2011-05-06 12:35:51 -07:00
alena fc0bb46f10 bug 9760: added missing permission check to listTemplates api (didn't work when id parameter was specified in the request)
status 9760: resolved fixed
2011-05-06 11:19:15 -07:00
Frank 4e2935dc37 Fix other stupid string comparsions 2011-05-06 10:21:05 -07:00
Alex Huang 43c3c775f2 bug 9741: somehow some of the removed code got back into the code path. Must have hit one undo too many. 2011-05-05 17:57:06 -07:00
Alex Huang c692e4f4be No Point in checking down hosts 2011-05-05 17:57:06 -07:00
Alex Huang 7bc25643a9 propagating fix from 2.2.4 2011-05-05 17:57:06 -07:00
Alex Huang b2cf4e39ea propagate fix from 2.2.4 2011-05-05 17:57:06 -07:00
Alex Huang 117a81acf6 cleanup agent manager 2011-05-05 17:57:06 -07:00
Alex Huang 66f19c6318 white space checks 2011-05-05 16:15:33 -07:00
Alex Huang 0ee7e7678a Propagate fixes from 2.2.4 2011-05-05 16:13:46 -07:00
anthony 2d52813ff2 fixed build /start management server 2011-05-05 16:12:19 -07:00
Kelven Yang 7c2bcefe71 bug 9371: serve client request only with running proxy VMs, serialize proxy VM launch 2011-05-05 14:59:20 -07:00
anthony 10c4c14ad5 swift integration checkin 2011-05-05 13:55:29 -07:00
alena 5bd9fc5f35 bug 9745: Fixed security issue in listAccounts api call
status 9745: resolved fixed
2011-05-05 11:20:27 -07:00
alena 275bab0d91 bug 9740: fixed DB upgrade for Direct Tagged networks in Advance zone
status 9740: resolved fixed

Conflicts:

	server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-05-05 11:20:27 -07:00
alena d2e6e912c9 DB upgrade: Reverting partial commit 2011-05-05 11:20:27 -07:00
alena 41f04ffbc5 Removed unused logging 2011-05-05 11:20:27 -07:00
alena 8377580725 bug 9738: DB upgrade - fixed NPE happening during events migration
status 9738: resolved fixed
2011-05-05 11:20:27 -07:00
alena fbdb663970 Fixed bunch of DB upgrade bugs related with the fact that DB was manually upated in 2.1.x setup (some records were deleted from the DB) 2011-05-05 11:20:27 -07:00
alena b1c3c8c1d9 bug 9734: update op_ha_work table in mysql file instead of java code
status 9734: resolved fixed
2011-05-05 11:20:27 -07:00
Edison Su 592807c036 fix NPE 2011-05-05 11:19:59 -04:00
prachi b66b3f1c45 Bug 9584 - Delete pod - Failed - there are storage volumes for this pod
Changes:
- For 'volumes' and 'vm_instance' table, query needed to filter out the records with non-null 'removed' values
2011-05-05 11:05:48 -07:00
Edison Su fd08ebfb57 there are more than one secondary storage in one zone 2011-05-04 15:52:52 -04:00
Jessica Wang 48765a8ae9 bug 9534: CloudStack API - extend listServiceOfferings API to return limitCpuUse. 2011-05-04 15:27:07 -07:00
prachi 9aba817256 Bug 9652: Need to provide a way to specify deployment plan during VM start
Changes:
- Added a new parameter to pass in deployment plan during vm start
- If a hostId is passed in to the DeployVMCmd (only allowed for a root admin to test a host), a plan is passed in to start the vm in that host's datacenter, pod and cluster and on that host
- If a plan is passed in during start, but if the VM's root volume is READY, then plan of the root volume takes precedence. In that case the plan passed in is not used.
2011-05-04 15:02:52 -07:00
alena 040bdab1f1 bug 9734: remove records having non-existing hostId from op_ha_work table
status 9734: resolved fixed
2011-05-04 13:49:06 -07:00
alena b60abeccfb DB upgrade: respect domain hierarchy when update resource_count for domain during the upgrade 2011-05-04 13:49:06 -07:00
Murali Reddy d6b892e053 bug 9720: 2.1.x to 2.2.x upgrade: need to create Domain level records in resource_count table
pushing 2.2.4 changes
2011-05-04 19:54:01 +05:30
alena 2e0bba7926 bug 9722: db upgrade - when upgrade user_statistics, skip ExternalFirewall/ExternalLb records
status 9722: resolved fixed
2011-05-03 18:57:03 -07:00
alena 33b3cb2c1a bug 9693: generate usage event when release Direct ip address.
status 9693: resolved fixed

2 more fixes with this commit:

* bug 9692 is fixed - we don't increment resource count when Direct ip address is allocated.
* as a part of 2.2.2->2.2.4 upgrade resource_count for public_ip records is recalculated - count only Virtual Ip addresses

Conflicts:

	server/src/com/cloud/network/NetworkManager.java
2011-05-03 18:56:52 -07:00
Alex Huang fba1c95512 bug 9615: Part of the HA cleanup 2011-05-03 16:34:53 -07:00
kishan 77e48b8683 bug 9678: update user statistics in cloud_usage. Send network usage command to routers of virtual network only
status 9678: resolved fixed
2011-05-04 02:38:25 +05:30
Chiradeep Vittal 87867c8f39 for mycloud: if no system vm required do not start it 2011-05-03 11:40:44 -07:00
alena 9ef6f9ff54 bug 9663: do account permission check against the volume when create snapshot
status 9663: resolved fixed

Conflicts:

	api/src/com/cloud/storage/snapshot/SnapshotService.java
2011-05-03 11:38:01 -07:00
Chiradeep Vittal 948df86f5d accidental commit 2011-05-03 10:46:13 -07:00
Chiradeep Vittal 8609e72e89 Already merged into master 2011-05-03 10:41:32 -07:00
Chiradeep Vittal 35066e235c merge from zonesfeature -- float overprovisioning factor 2011-05-03 10:41:31 -07:00