1291 Commits

Author SHA1 Message Date
alena
dfecc1f448 Changed account state to be in lower case. 2010-12-30 09:57:59 -08:00
alena
0a3895a923 Fixed user login problem - ignore case when verify user/account state 2010-12-30 09:41:30 -08:00
Alex Huang
d4b56e89c3 changed expunge to do stop earlier. 2010-12-30 06:51:08 -08:00
Alex Huang
da4ed648ac consolidated all of the vm destroy, cleanup and account cleanup. 2010-12-30 05:46:54 -08:00
Kelven Yang
e7749afdfe Bug 7772: Add hypervisor type to snapshots table, fix issues with createVolumeFromSnapshot if snapshot was taken under data volume 2010-12-29 21:54:17 -08:00
alena
bd788b1827 Fixed RemoteAccessVpn apis 2010-12-29 21:36:44 -08:00
will
de6b9eb0e2 - Fixed NPE caused when calling listRemoteAccessVpn API command with no vpn record in DB.
- Fixed UI to pass in ipaddress when you create/delete remote access vpn.
2010-12-29 21:14:48 -08:00
anthony
98146d3b15 bug 5559: support snapshots on local disk
status 5559: resolved fixed
2010-12-29 19:55:12 -08:00
keshav
3da09345c9 Changed schema to keep track of which public IP address and host a user statistics entry is for 2010-12-29 19:14:35 -08:00
anthony
466dff8757 bug 7751: if discover is not found for a hypervisor type, print meaningful message here
status 7751: resolved fixed
2010-12-29 18:40:47 -08:00
root
c6847f001a bug 7760: fix a regression when adding host
status 7760: resolved fixed
2010-12-29 19:38:20 -05:00
abhishek
2d6875f711 bug 7386: fixing the recurrent snapshots
status 7386: resolved fixed
2010-12-29 16:23:37 -08:00
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