Commit Graph

2301 Commits

Author SHA1 Message Date
alena 455831a515 bug 9859: added missing permission checks to queryAsyncJobResult API
status 9859: resolved fixed
2011-05-13 13:51:58 -07:00
Murali Reddy c63260e424 bug 9827:AssertionError: Resource counts can not be negative
adding extra logging for resource count issues
2011-05-13 20:17:51 +05:30
Alex Huang 323b9a310e Propating 4b4227b3b262da3bc3dc6280a9ed4300b169f76a 2011-05-12 17:14:43 -07:00
Alex Huang 3f77c64b2e Propagating 40a1c906a7b54f4151192258d42921ec74746292 2011-05-12 17:12:49 -07:00
Alex Huang f9278aae05 Fixed up conflicts 2011-05-12 17:08:49 -07:00
alena ac8c79314d bug 9827: call destroyVolume() method only after ensuring that the volume is not destroyed already.
status 9827: resolved fixed

also added an assert to the method itself to throw a warn if the method is called for destroyed volume
2011-05-11 14:07:05 -07:00
Edison Su ab576308a2 add cluster guid 2011-05-11 11:24:05 -04:00
alena a4f997e56a bug 9841: added missing permission checks to the deleteTemplate/deleteIso API
status 9841: resolved fixed
2011-05-11 10:34:03 -07:00
alena f9a575a657 bug 9195: don't return domR/SSVM/CPVM volumes in listVolumes api response
status 9195: resolved fixed

Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/server/ManagementServerImpl.java
2011-05-11 09:34:57 -07:00
Edison Su 714cd00999 fix system vm template download issue 2011-05-10 15:57:08 -04:00
keshav 1b2aa8cec9 Added a method to look up public IPs that are used for static NAT rules. 2011-05-10 15:47:46 -07:00
alena dc05ea275a bug 9821: fixed search by keyword in listVirtualMachines command
status 9821: resolved fixed
2011-05-10 12:27:10 -07:00
alena 71d0ea4e22 bug 9791: check if user is authorized to use a private template for vm creation
status 9791: resolved fixed
2011-05-10 10:35:50 -07:00
Alex Huang 84d62553e8 added the AND 2011-05-10 09:44:43 -07:00
Alex Huang 5bc92ecf4f bug 9811: Brought over Prachi's fixes for the investigator and changed them to handle multiple nics 2011-05-10 05:32:11 -07:00
prachi a2c5439f48 Bug 9446: Investigator reports that a system vm is down even if it isn't....
Changes:
- Added new Investigator 'ManagementIPSystemVMInvestigator' that checks if Vm is alive only for System VM's that have a management IP address.
- If no management IP is found, ping test cannot be done, so this investigator would return null in that case.
- Current implementation InvestigatorImpl is renamed as 'UserVmDomRInvestigator' and does the ping test for user VMs only.
- Corrected the ping test code that was checking a hard-coded string. Now if the ping answer is negative, we just return null
- Added the new investigator to components.xml
2011-05-10 05:08:26 -07:00
Alex Huang 381fd77e96 bug 9813: fixed the class cast problem 2011-05-09 17:44:39 -07:00
alena 4a8cda414c bug 9796: throw an exception when try to create volume/template from the non-ready snapshot
status 9796: resolved fixed
2011-05-09 16:33:06 -07:00
alena 3e529a3598 bug 9788: fixed listNetworks api command - search by id was broken for non-system networks
status 9788: resolved fixed
2011-05-09 11:01:02 -07:00
anthony b7703161a7 bug 9774: listsnapshot returns all snapshots with status
status 9774: resolved fixed
2011-05-06 18:31:16 -07:00
Alex Huang fce6b5fc87 added ping back 2011-05-06 18:20:36 -07:00
alena 2eeb03db42 bug 9774: display non-ready templates. Added "state" field to all snapshot* api responses. 2011-05-06 16:42:47 -07:00
anthony d17678f16d 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
2011-05-06 12:26:09 -07:00
alena 95c5f0f831 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:09:45 -07:00
alena eff2f4254e bug 9761: fixed account permission checks in listSecurityGroup api command
status 9761: resolved fixed
2011-05-06 11:09:44 -07:00
anthony 37bae606d0 fixed string comparation 2011-05-06 11:04:03 -07:00
Frank d43e6fef9c Fix string comparsion issue 2011-05-06 10:24:32 -07:00
Alex Huang d077caa0d2 Eliminate the initialize call if we know someone else is connecting to a host 2011-05-06 09:50:10 -07:00
Alex Huang e132246f1b make agent load size configurable 2011-05-06 09:12:59 -07:00
Alex Huang 02bd10ae09 make agent load size configurable 2011-05-06 09:11:47 -07:00
Alex Huang 1e797c6ecb white space 2011-05-05 16:16:36 -07:00
anthony 385f6ed04b typo fix 2011-05-05 14:35:26 -07:00
Alex Huang 36807a815d bug 9741: somehow some of the removed code got back into the code path. Must have hit one undo too many. 2011-05-05 14:12:16 -07:00
Alex Huang 7c27864ba9 No Point in checking down hosts 2011-05-05 12:02:55 -07:00
alena 762730341a bug 9745: Fixed security issue in listAccounts api call
status 9745: resolved fixed
2011-05-05 10:06:14 -07:00
alena 66d6e1259a bug 9740: fixed DB upgrade for Direct Tagged networks in Advance zone
status 9740: resolved fixed
2011-05-05 09:28:15 -07:00
Alex Huang 9b784edec4 be more responsible if we decide the agent should not connect 2011-05-04 18:48:58 -07:00
Alex Huang aa25cfa676 fixes bug with two agents connecting to the same host 2011-05-04 18:41:17 -07:00
Alex Huang 0008dfc3a9 Added code to prevent two management servers 2011-05-04 18:41:17 -07:00
alena 4128c82018 DB upgrade: Reverting partial commit 2011-05-04 18:24:49 -07:00
alena ddb64dd196 Removed unused logging 2011-05-04 18:20:24 -07:00
alena a9477be053 bug 9738: DB upgrade - fixed NPE happening during events migration
status 9738: resolved fixed
2011-05-04 18:18:42 -07:00
alena 04a344ce2a 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-04 17:34:36 -07:00
alena 40bd77525f bug 9734: update op_ha_work table in mysql file instead of java code
status 9734: resolved fixed
2011-05-04 15:34:50 -07:00
alena e7033702be bug 9734: remove records having non-existing hostId from op_ha_work table
status 9734: resolved fixed
2011-05-04 13:42:46 -07:00
alena bac0fdb87f DB upgrade: respect domain hierarchy when update resource_count for domain during the upgrade 2011-05-04 11:56:07 -07:00
alena 1ef546e588 bug 9564: 1) For all list commands set pageSize() to default.page.size if not specified 2) When pageSize is specified in the request, and it's more than default.page.size - throw an exception
status 9564: resolved fixed

Conflicts:

	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/api/ApiServer.java
	server/src/com/cloud/server/ManagementServer.java
	server/src/com/cloud/server/ManagementServerImpl.java
2011-05-04 10:22:29 -07:00
Murali Reddy 9a983d3bd8 bug 9720: 2.1.x to 2.2.x upgrade: need to create Domain level records in resource_count table
status 9720: resolved fixed
During DB upgrade evalute per domain resource counts and populate resource_count table
2011-05-04 19:28:27 +05:30
alena 85541705b6 bug 9722: db upgrade - when upgrade user_statistics, skip ExternalFirewall/ExternalLb records
status 9722: resolved fixed
2011-05-03 18:09:42 -07:00
alena 8f198b69f8 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
2011-05-03 17:33:47 -07:00