Commit Graph

2463 Commits

Author SHA1 Message Date
alena 308cbf91fc bug 9879: throw insufficient address capacity exception with pod information in it when fail to allocate public ip address in specific pod
status 9879: resolved fixed
2011-05-16 15:05:00 -07:00
keshav 5d5363965d Changed usage code to look up stats by network ID. 2011-05-16 14:41:47 -07:00
keshav 17abb3e5d4 Added a method to look up public IPs that are used for static NAT rules. 2011-05-16 11:56:48 -07:00
Sheng Yang b4605fbf2f Fix SSL Keystore path in the development version
Now the cloud.keystore would at the same path as file "db.properties", which
should make both development version and distribution version happy.
2011-05-16 11:28:45 -07:00
Alex Huang 5ce631e9d7 Separated resource management and agent management code. It's not all done but at least we make a first step 2011-05-16 10:55:18 -07:00
Alex Huang c3c15b8435 Added some annotations for logging commands 2011-05-16 10:55:18 -07:00
Alex Huang ab49c70add Added some annotations for logging commands 2011-05-16 10:55:18 -07:00
Edison Su 981c497e1f Don't apply @DB on a private method 2011-05-16 10:04:08 -04:00
kishan b738408f7d bug 8866,4942: Added support for Direct Network Usage collection
status 8866,4942: resolved fixed
2011-05-16 18:31:41 +05:30
Abhinandan Prateek 733a892aa4 return true on success 2011-05-16 16:02:35 +05:30
Abhinandan Prateek 542e3d6f53 bug 6451: host username/password should be changable through API
Propogate update password to other managment server nodes in a cluster.
2011-05-16 15:57:35 +05:30
Abhinandan Prateek d161337710 bug 6451: host username/password should be changable through API
Password is queued, on error next password is used.
2011-05-16 12:08:05 +05:30
alena a4619c8347 bug 9859: added missing permission checks to queryAsyncJobResult API
status 9859: resolved fixed

Conflicts:

	server/src/com/cloud/async/AsyncJobManagerImpl.java
2011-05-13 14:03:12 -07:00
Abhinandan Prateek f73ed92090 bug 8115: Source IP filtering in Virtual Router
We don't want to send an empty cidr param
2011-05-13 15:41:02 +05:30
Alex Huang 4ee5f1ca42 Better logging and better finalize 2011-05-12 17:02:35 -07:00
Alex Huang 753b6a00a6 faster agent connection 2011-05-12 16:57:09 -07:00
Alex Huang 028f12f1b9 Removed the check for statuses in marking hosts as disconnected 2011-05-12 16:48:02 -07:00
Edison Su 47380dc20e fix add host 2011-05-12 15:03:15 -04:00
kishan d456f89095 bug 8866: Direct Network Usage, TrafficSentinel support added, work in progress 2011-05-12 19:43:47 +05:30
nit bc360f499d 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).
status 9397: resolved fixed
2011-05-12 18:13:29 +05:30
Abhinandan Prateek d752a94838 bug 8115: Source IP filtering in Virtual Router
Passing the additional source cidrs paramter to the xapi.
2011-05-12 13:37:43 +05:30
keshav 435e178eef Added a new service to enabled zone-wide, shared source NAT rules. 2011-05-11 15:35:26 -07:00
alena 0f0dcc1964 bug 9827: call destroyVolume() method only after ensuring that the volume is not destroyed already.
status 9827: resolved fixed
2011-05-11 14:12:19 -07:00
Chiradeep Vittal f1ea4d0c19 bug 9809: resume iso download (broken by multihypervisor)
status 9809: resolved fixed
2011-05-11 12:04:20 -07:00
Edison Su 8368355b31 add cluster guid 2011-05-11 11:26:50 -04:00
Edison Su b33a180001 add kvm script is changed 2011-05-11 11:24:59 -04:00
alena 7292706a9f bug 9841: added missing permission checks to the deleteTemplate/deleteIso API
status 9841: resolved fixed

Conflicts:

	server/src/com/cloud/template/TemplateManagerImpl.java
2011-05-11 10:39:49 -07:00
Jessica Wang fe8d81e246 bug 9765: This is NOT an UI bug. This is a server-side bug. UI calls DeployVM API with ServiceOfferingID parameter (NOT ServiceOfferingDescription parameter). Then, server-side gets ServiceOfferingDescription by ServiceOfferingID and send it to DomR WITHTOUT escaping it first. DomR doesn't support full range of unicode character set. Therefore, DomR fails to accept metadata that has non-ascii code (error: "vm_data failed"). This check-in will send Unicode-escaped string of metadata "service-offering", "availability-zone" and "local-hostname" to DomR. Data Consumer of VM-data service needs to unescape the content accordingly. 2011-05-10 17:57:44 -07:00
Edison Su feb226b8e9 fix compiler error 2011-05-10 16:39:25 -04:00
Edison Su 882919ae40 fix system vm template download issue 2011-05-10 16:10:31 -04:00
alena 6075419977 bug 9821: fixed search by keyword in listVirtualMachines command
status 9821: resolved fixed
2011-05-10 12:28:30 -07:00
alena ad05706f18 bug 9791: check if user is authorized to use a private template for vm creation
status 9791: resolved fixed
2011-05-10 10:39:25 -07:00
Alex Huang 34188f2f0a added the AND 2011-05-10 09:50:40 -07:00
Alex Huang 154c6d9021 Propagating 1345af2a0e84684a804bde5b281c30df72f148a0 2011-05-10 05:52:39 -07:00
Alex Huang efedf018c8 propagate b3aea1878395af343e18382b7f1c376b5be04567 2011-05-10 05:48:29 -07:00
Alex Huang 6805788f7d added ping back 2011-05-10 05:45:47 -07:00
Alex Huang 08bb454241 Eliminate the initialize call if we know someone else is connecting to a host 2011-05-10 05:45:30 -07:00
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