Commit Graph

978 Commits

Author SHA1 Message Date
nit b5f9ae0ef3 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-11-30 23:48:13 +05:30
nit 2f946f6030 bug 7366 : Mark template as removed if create private template from volume fails due to being attached to a non-stopped VM. This allows subsequent creation of a template with the same name.
status 7366: resolved fixed
2010-11-30 23:47:04 +05:30
abhishek 1aee756184 bug 7345: During the expunge operation, we were not calling the deleteipforwardingrule method, for a rule which was static nat. Adding that logic. Also, making a change in the domr script as we do not need to execute a line on deletion of a rule
status 7345: resolved fixed
2010-11-30 10:07:10 -08:00
Kelven Yang 54f177cacc 1) Make generic dao be able to persist UTF-8 string for internationalization support
2) Undo gson Unicode escape in API response object to avoid double escaping which can break Javascript from getting correct text content
3) Correct API layer in dealing with character encoding
4) Remove double escape in cloud.core.js
2010-11-30 09:40:54 -08:00
Kelven Yang fa9c882d8c Add VMWare hypervisor guru 2010-11-30 09:40:53 -08:00
nit 06c61f2fac bug 7325 : We shouldn't allow attaching xen-pv-iso to any hypervisor other than xenserver.
status 7325: resolved fixed
2010-11-30 22:20:33 +05:30
nit a6a774f6c0 bug 7369 : Resolving NPE while creating a private template from detached volume. The instance id is null when it is detached which was the culprit here.
status 7369: resolved fixed
2010-11-30 15:49:29 +05:30
anthony fb0675bbf4 bug 7365: return both physical and virutal size when creating private template
status 7365: resolved fixed
2010-11-29 18:58:48 -08:00
anthony d3325de5ae 1. limit xs-tools in xenserver related java file
2. don't populate xs-tools to template_host_ref
3. introduce a new template type PERHOST, which doesn't need to be populated to secondary storage
2010-11-29 18:21:08 -08:00
abhishek 0273872b34 bug 7362: we were missing the size validation check, when we create a volume from disk offering (the storage.max.volume.size param wasn't being used for validation). Fixed the same, made the validation method name more generic to be applicable to all validations, and changed the param description to denote GB as the unit
status 7362: resolved fixed
2010-11-29 17:23:16 -08:00
anthony bd64f4faa3 remove eclipse error 2010-11-29 16:39:48 -08:00
anthony fff1dd874a fix classpath for xenserver-5.6.0-1 2010-11-29 15:26:07 -08:00
abhishek bdf4426609 fixing the same issue in another command (found whilst checking references) 2010-11-29 13:38:06 -08:00
abhishek 1a0ec2a00f bug 7346: fixing the corner case where list ip forwarding rules is called for a rule, which is yet to be expunged, but the vm is destroyed. if you call list here, an npe results
status 7346: resolved fixed
2010-11-29 13:35:04 -08:00
abhishek dce3f9fa3b bug 7344: preventing enabling of static nat on an ip for more than one instance. Check the nat flag, and error out if set
status 7344: resolved fixed
2010-11-29 11:56:34 -08:00
anthony 385054fccf bug 7338: update template physical size
status 7338: resolved fixed
2010-11-29 11:23:47 -08:00
Alex Huang d40700b286 Changed firewall rule's constructor 2010-11-29 09:38:13 -08:00
anthony 30fa6530f9 bug 6088: track template physical size in template_host_ref table
add migration from 21 to 22
after migration , SSVM needs to stop/start

status 6088: resolved fixed
2010-11-24 20:05:52 -08:00
Kelven Yang 23f274cfd2 Send AttachVolume command even if VM is not in running state under vmware case 2010-11-24 15:17:09 -08:00
Kelven Yang dd9b1634f7 Allow host behind cluster to return real VNC host IP address 2010-11-24 15:17:08 -08:00
Kelven Yang fd1beef28b Someone commited a change in ConsoleProxyManagerImpl that breaks down system VM, let's blame git for now on this 2010-11-24 15:17:07 -08:00
alena aa8aa6027a Modified UserContext - got rid of accountName, domainId fields as we can get this information from Account field. 2010-11-24 14:29:08 -08:00
abhishek 1950bf7a99 changing the nat feature to work with kvm 2010-11-24 10:04:24 -08:00
alena 44737d24c5 bug 7196: fixed response object generation for authorizeNetworkGroupIngress command (response type is Network group response - the way it was in 2.1.x - instead of IngressRule response)
status 7196: resolved fixed

Also fixed revokeNetworkGroup command - didn't work via 8096 port
2010-11-24 09:50:04 -08:00
nit d0530265d7 bug 7046 : Global admins should be allowed to extract all the times.
status 7046: resolved fixed
2010-11-24 19:33:15 +05:30
nit 841044e360 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-11-24 18:38:23 +05:30
nit 8ea124ae79 bug 7046 : extracting templates should allow for exclusion of some templates. An attribute "extractable" would be set on templates by the template owner at upload time. It would specify if we allow the template to be extracted from the system. Default would be true ie "allow extraction". If set to false, it would not be possible to extract the template or any derivatives of the template. For example, volumes, snapshots or templates from that template.
status 7046: resolved fixed
2010-11-24 18:37:54 +05:30
kishan f70071dc98 bug 6309: Added event VM.UPDATE along with changed fields
status 6309: resolved fixed
2010-11-24 18:36:35 +05:30
kishan 19dcbb8d8e bug 7246: changed event name to TEMPLATE.CLEANUP when cleaning up templates on sec storage. Usage won't track this event
status 7246: resolved fixed
2010-11-24 17:48:19 +05:30
anthony c39d211a48 merge from 2.1.x 2010-11-23 18:55:23 -08:00
abhishek 5543814f39 blocking the static natting of an ip address, if it is already source natted 2010-11-23 16:39:02 -08:00
abhishek 3d4b8ab4a0 bug 7263: changing the param name. Found a couple of bugs whilst testing this, the validation of vol size whilst cust vol creation was missing. Adding the same.
status 7263: resolved fixed
2010-11-23 16:20:30 -08:00
alena f4908758b3 bug 7234: don't try to delete pod level vlan when it doesn't exist
status 7234: resolved fixed
2010-11-23 15:06:29 -08:00
alena cb74030d01 bug 7298: throw an Exception when invalid job Id is specified in queryAsyncJobResult
status 7298: resolved fixed
2010-11-23 15:06:29 -08:00
abhishek 40c3a0afa2 bug 7249: during volume creation (root and data) for a vm, there was no state being set (we need to set it to ready). Hence, whilst re-attaching a detached vol, we hit a NPE. Fixed the root cause of the state not being set during vm creation, and consequently, fixed this npe
status 7249: resolved fixed
2010-11-23 14:24:29 -08:00
will 90467ab31d merge 7277: Fixed the file separate so Extract Template works on Windows machine. 2010-11-23 11:13:47 -08:00
alena 10fb2a0f39 bug 7292: fixed assignig LB to non-source Nat ip address
status 7292: resolved fixed
2010-11-22 20:54:08 -08:00
will 7205a7507d bug 7277: Fixed the logic to prevent System templates from being downloaded. 2010-11-22 17:13:30 -08:00
alena 3f1abbcbc8 Fixed assignToLoadBalancer command - admin couldn't assing LB rule in behalf of other user 2010-11-22 17:08:51 -08:00
abhishek 8995e5d2f7 changing the event logged to the right type, whilst starting user vms via cancelstoragemaintenance in master (already merged to 2.2.beta1) 2010-11-22 16:20:18 -08:00
alena 1491893bbc bug 7281: throw an exception when fail to get isoPath - happens when Secondary Storage vm is not in UP state in cloud.hosts table.
status 7281: resolved fixed
2010-11-22 15:42:34 -08:00
alena a646745516 bug 7227: applying Alex's fix - different way of desirializing List objects.
status 7227: resolved fixed
2010-11-22 14:08:43 -08:00
alena 6765e97976 Made ApiResponseHelper to use Long instead of long for response parameters to eliminate possible NPEs during building an api response. 2010-11-22 11:27:15 -08:00
alena cdea2d210d Better logging for api exceptions. 2010-11-22 11:27:15 -08:00
abhishek 0979b644ef bug 7230: there was an issue trying to start user vms when the pool state is cancelmaintenance; fixing the same in 2.2RC2
status 7230: resolved fixed
2010-11-22 11:00:43 -08:00
Alex Huang d38f7fd56d Moved DAO to server 2010-11-22 07:40:41 -08:00
Alex Huang 1e44925564 api refactoring 2010-11-21 12:00:21 -08:00
alena 138e0914b6 bug 7245: don't try to set vm name for detached volume during expunge process.
status 7245: resolved fixed

Fixed couple of other problems:
* cleanup corresponding records in load_balancer_vm_map table when loadBalancerRule is removed.
* don't log "java.lang.IllegalStateException: getAttribute: Session already invalidated" exception when UI session expires
2010-11-19 20:08:18 -08:00
alena 6b61caad46 AssignToLoadBalancer - added missing transaction.commit to corresponding NetworkManager method. 2010-11-19 19:14:24 -08:00
alena cec8ebd5cd bug 7236: don't catch AsyncCommandQueued exception in ApiDispatcher
status 7236: resolved fixed
2010-11-19 18:40:32 -08:00