1429 Commits

Author SHA1 Message Date
Alex Huang
a10ce22f99 remote access vpn from management server side is done 2010-12-29 12:13:35 -08:00
Kelven Yang
bce5dfb0d4 add deleteCluster API command 2010-12-29 11:05:01 -08:00
alena
133f286b06 Fixed description for ServerApiException 2010-12-29 09:55:21 -08:00
Alex Huang
090bc1edb4 more changes to fix up the merge 2010-12-29 09:32:54 -08:00
Alex Huang
544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
kishan
c11b8612cd bug 7359: search for removed accounts also while composing usage records response
status 7359: resolved fixed
2010-12-29 21:21:27 +05:30
kishan
494a46a10f bug 7735: Set null for templateId instead of -1 for usage records
status 7735: resolved fixed
2010-12-29 18:29:14 +05:30
anthony
f865e8b061 moveVolume is broken due to not setup hypervisortype in dskch
fixed
2010-12-28 19:46:21 -08:00
alena
d005f9133e bug 7603: update uservm count when deploy/recover vm. Also fixed updating volumes count when volume is created as a part of vm deployment
status 7603: resolved fixed

Couple of other fixes:
* Set correct user_id for createVolume event instead of hardcoding it to System (1)
* Deploy dhcp vm when Zone's gateway provider is External Firewall and network is Virtual
2010-12-28 17:32:17 -08:00
edison
920c7b3dd7 bug 7503: set hypervisor type when we create the cluster, as we already know the hypervisor type in adavnce when adding host.
status 7503: resolved fixed
2010-12-28 17:20:50 -08:00
Kelven Yang
271b1ee58a add consoleproxy.disable.rpfilter configuration variable to get rid of the annoying access issue in development environment.
set it to true for development environment, it will allows traffic that comes in from public interface to be able to be routed back from private interface
2010-12-28 17:15:00 -08:00
alena
085824d524 1) Updated schema for data_center - provider fields can have NULL values.
2) Fixed deletePortForwarding/deleteIpForwardingRule commands to return false when delete rule fails.
2010-12-28 16:22:36 -08:00
edison
3a143577b9 bug 7659: fix the race condition that agent inside systemvm connecting to mgt server at the head of startcommand returning to mgt server, then got a NPE. and fix bugs in security group of KVM
status 7659: resolved fixed
2010-12-28 15:51:28 -08:00
alena
88afdb3313 Made NetworkId parameter required for Vlan, modified DB schema and corresponding Managers' methods. For Virtual and Direct untagged vlan networkId is got from default system Public/Public-DirectPodBased networks accordingly 2010-12-28 15:15:24 -08:00
abhishek
5d3173eabf bug 7721: generically fixing the url decoder issue for all commands, wherein we block any input which contains % eg. name, displayText. We throw the apt error back to the UI for the user to act upon
status 7721: resolved fixed
2010-12-28 14:23:21 -08:00
anthony
68727778ba bug 7620: this is caused by delayed volume creation,
doesn't make sence to create a template on empty volume, just don't allow it

status 7620: resolved fixed
2010-12-28 14:00:51 -08:00
anthony
0aa24c9ebf bug 7686: when detach iso, always remove is from uservm table to make sure ISO is remove after stop/start
status 7686: resolved fixed
2010-12-28 12:06:24 -08:00
alena
2d316eabb7 bug 6056: Changed format for API error response.
status 6056: resolved fixed

Example of error response:

Json:

 { "updatedomainresponse" : {"errorcode" : "431, "errortext" : "Unable to find domain 4"}  }

Xml:

<updatedomainresponse cloud-stack-version="1.9.1.2010-12-28T18:14:57Z">
<errorcode>431</errorcode>
<errortext>Unable to find domain 4</errortext>
</updatedomainresponse>
2010-12-28 10:36:04 -08:00
abhishek
1e17559d53 bug 7689: whilst editing pod, we were not calculating the netmask if the netmask is not passed down from the UI. Re-calculating the netmask, based on pod attribs in db
status 7689: resolved fixed
2010-12-28 10:31:07 -08:00
alena
52478aaf73 bug 7699: set correct account_id/user_id for createUser events
status 7699: resolved fixed
2010-12-27 19:54:36 -08:00
alena
7b3b9076b0 bug 6168: throw a runtime exception when unable to schedule Async job instead of returning jobId=0L
status 6168: resolved fixed
2010-12-27 17:00:29 -08:00
abhishek
719f3984d2 changing domain.suffix to guest.domain.suffix, along with associated deps 2010-12-27 17:00:07 -08:00
alena
b7317c12fa bug 7616: Don't try to apply portForwardingRule when vm's nic is not set with Ip address
status 7616: resolved fixed
2010-12-27 15:50:57 -08:00
abhishek
344a151ffe someone had commented out the domr code in the storage maintenance, enabling the same 2010-12-27 15:25:02 -08:00
alena
bb088a2e4c bug 7489: Added events for network create/delete
status 7489: resolved fixed
2010-12-27 15:18:14 -08:00
alena
dceab9f18a bug 7705: deletePortForwardingRule is Async now
status 7705: resolved fixed

Couple of other fixes:
* don't allow to send ipAssoc command when domR is in Starting/Stopping states as the command not async so it might be sent in parallel with domR stop/start and fail on the backend.
* DeleteIpForwardingRule api: set ownerId to rule owner id instead of hardcoding it to 1(System)
2010-12-27 14:17:17 -08:00
Kelven Yang
34cec61ff7 Don't blindly switch to XenServer in premium build if database is pre-populated with a hypervisor tyoe other then FOSS default KVM 2010-12-27 14:01:22 -08:00
abhishek
bb7170884d bug 7677: fixing the volumes issue when we destroy a vm
status 7677: resolved fixed
2010-12-27 13:54:52 -08:00
abhishek
0da33ad39a bug 7673,7645: fixing the vm expunge issue. also modifying the delete pod flow to only check for hosts that are NOT removed from the pod. also, checking for alerts on the pod whilst deleting pod is not right. we should be able to delete a pod regardless of alerts issued on the pod. the resolution of alerts is a separate issue
status 7673, 7645: resolved fixed
2010-12-27 11:29:36 -08:00
alena
8f7c0bc500 bug 7680: Use correct name ("source") for one of supported LB algorithms.
status 7680: resolved fixed
2010-12-27 09:19:47 -08:00
kishan
e51dc79000 bug 7504: Events refactoring
status 7504: resolved fixed
2010-12-24 19:38:28 +05:30
kishan
53d3455cbe bug 7504: Events refactoring 2010-12-24 12:58:32 +05:30
kishan
bb0e6a0ae3 bug 7504: Events refactoring 2010-12-24 12:58:32 +05:30
edison
2762f0c75e release cpu/memory after vm stopped for a while 2010-12-23 22:06:01 -08:00
anthony
a4e791a10c now, you can remove the last host in a cluster 2010-12-23 20:42:31 -08:00
alena
3e089166bb Fixed listPublicIpAddresses for Direct guest network to return networkId associated with corresponding vlan (if null is returned, UI IP tab gives an error on listPublicIp)
Conflicts:

	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/api/ApiResponseHelper.java
2010-12-23 18:33:41 -08:00
alena
dfaf7c4c5d Remove vm from Load Balancers when vm is Expunged. Added more logging to vm expunge process 2010-12-23 16:23:51 -08:00
alena
928ab98dc6 Added new network Capability "TrafficStatistics" for LoadBalancer and Firewall services 2010-12-23 15:06:37 -08:00
alena
727f56e2ac Mark all corresponding vm/lb mappings as Revoke when delete loadBalancer command is executed. 2010-12-23 14:14:05 -08:00
abhishek
35a8318134 bug 7606: fixing the delete zone functionality
status 7606: resolved fixed
2010-12-23 14:11:25 -08:00
alena
dfb736273c PublicIpAddress response - search for default Public system network offering instead of hardcoding the id to 1. 2010-12-23 12:45:49 -08:00
edison
0d612c4d85 catch runtime exception 2010-12-23 11:58:32 -08:00
alena
b437b8b977 listPublicIpAddresses api: return networkId (the id of the network ip belongs to) and associatedNetworkId. 2010-12-23 11:52:44 -08:00
alena
eb1f1da035 Assert when capability is not supported by service 2010-12-23 11:52:44 -08:00
alena
3775ba043e Added Services (dhcp, gateway, portForwarding, etc.) to NetworkOffering. 2010-12-23 09:40:15 -08:00
nit
a6fca4ee64 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-12-23 15:09:56 +05:30
nit
1f4cb9b11e bug 7519 : extract functionality - changing it to support http protocol. Making the URL's robust against the start and stop of agent on ssvm. 2010-12-23 15:08:46 +05:30
edison
ac4295d91f bug 7605: fix release link local when domr stopped
status 7605: resolved fixed
2010-12-22 19:26:14 -08:00
Kelven Yang
1805c73363 1) Add HostStats support to vmwre
2) Normarlize HostStats to make it generic to all hypervisors
2010-12-22 16:27:02 -08:00
alena
ec9260ce62 bug 7619: Added list of Capabilities parameter for Network
status 7619: resolved fixed
2010-12-22 11:05:31 -08:00