Commit Graph

20355 Commits

Author SHA1 Message Date
Devdeep Singh 5a67a6f1a2 CLOUDSTACK-3443: Timeoffset on windows guest not persisted between VM stop and start on XenServer.
The problem was because in cloudstack when a vm is stopped it gets destroyed on the host. For a
windows vm the timeoffset (which can be set by changing the timezone from within the vm) is stored
in the platform:timeoffset attribute of vm record. The information is lost when the vm is destroted.
Made change to read and persist the platform:timeoffset vm attribute when an instance is stopped.
The value is persisted in the user_vm_details table. When the vm is started again the attribute is
set for the vm instance that gets created.
2013-07-10 17:56:19 +05:30
Murali Reddy 82e447aa31 CLOUDSTACK-3440: action events are not published due to conflict of
Eventutils and ActionEventUtils files

removing the 'EventUtils' file which got merged back during the Spring
changes to master at 4.1. 'EventUtils' file was replaced by
'ActionEventUtils', and the original file was removed for events
frameworks. This file conflict was resulting in action events not to be
published on to event bus
2013-07-10 16:45:54 +05:30
Wei Zhou 023aac8bd1 CLOUDSTACK-3438: update CPVM SSL certificate for both Premium and non-Premium cases 2013-07-10 12:23:57 +02:00
Koushik Das a81cc8a12d CLOUDSTACK-2918: In a scaled up environment, hosts fail to come up after Management server restart in clustered set up
Summary of changes in the fix
- Optimized host scan logic, now instead of iterating over each cluster host scan is done for a batch of clusters
- Made host scan task interval configurable
2013-07-10 12:22:39 +05:30
Mike Tutkowski be6bc2b681 Changes related to Review Board comments 2013-07-09 23:19:44 -06:00
Sheng Yang a3792fd9cf CLOUDSTACK-3417: Prevent conflict of existed foreign keys of baremetal when upgrade
Now we dropped the keys(if any) then re-add them.
2013-07-09 16:36:22 -07:00
Jessica Wang ddf7d40b62 CLOUDSTACK-3427: UI > UCS manager > implement listUcsBlade API. 2013-07-09 16:10:16 -07:00
Edison Su 2917bb701f move simulator classes into simulatorcomponent.xm 2013-07-09 15:37:39 -07:00
Jessica Wang 513f0a8b3b CLOUDSTACK-3429: UI > zone wizard > advanced sg-enabled > exclude Hyperv from hypervisor dropdown. 2013-07-09 15:35:48 -07:00
Jessica Wang c9b1783235 CLOUDSTACK UI - remove obsolete code (window.name is no longer used). 2013-07-09 15:35:25 -07:00
Jessica Wang 35e6f03542 CLOUDSTACK-3427: UI > UCS manager > implement listUcsProfile API. 2013-07-09 15:18:11 -07:00
Jessica Wang 9af1045f55 CLOUDSTACK-3427: UI > UCS manager > implement addUcsManager API. 2013-07-09 15:17:48 -07:00
Brian Federle 16c720f713 UI: Add initial UCS section to infrastructure page 2013-07-09 13:53:04 -07:00
Marcus Sorensen bbff5e84ce CLOUDSTACK-3422 - fix null pointer in usage and action events when
deleting resources whose account has been removed
2013-07-09 09:44:54 -06:00
rayeesn 2005aae7ac Followup fix for CLOUDSTACK-2777, crypto.properties and xes.keystore moved to AWSAPI installation location and changed permission to 666 2013-07-09 21:09:08 +05:30
Kishan Kavala d4ed20b0d3 CLOUDSTACK-2429: Multiple private gateways are allowed within a VPC. Check for conflicting routes in all gateways when adding a new static route 2013-07-09 17:18:23 +05:30
Likitha Shetty 15ccce436b CLOUDSTACK-2777. Apache build should create jar file cloud-ec2.aar and package it under webapps7080/awsapi/WEB-INF/services 2013-07-09 15:26:22 +05:30
Murali Reddy fe568fefd3 CLOUDSTACK-234: create/delete firewa/lb/pf rule: send ip assoc command
only on first rule is created on the IP and last rule is revoked on the
IP

Current suboptima logic of IP Assoc

 - On associate IP to GuestNetwork there is an IPAssoc command sent to
   corresponding network service providers of the network
 - On every rule apply on IP associated with the network send IP assoc
   to the network service providers
 - On every rule deletion on IP associated with a network sernd IP assoc
   command to the network service providers

With this fix logic of IP assoc is changed as below which eliminates
executio of unnessary and expensive IpAssocCommand resource command

 - On associate IP to GuestNetwork, associate IP only to the network,
   Untill any service is associated with the IP dont send IP Assoc
 - On creation of first rule on the IP send IPAssoc to corresponding
   network service provider. Since IP is used for a service, IPAssoc
   need to be sent to correpondign service provider
 - On deletion of last rule on the IP send IPAssoc to corresponding
   network service provider. When last rule is deleted, IP has no
   service associated with it, so send IP assoc to service provider to
   remove the IP association
2013-07-09 13:31:39 +05:30
Jayapal c7f26583a2 CLOUDSTACK-3404 fixed vm deploy in ipv6 network, dhcp_release is performed only in ipv4 2013-07-09 13:12:06 +05:30
Jayapal c0a2821ac8 CLOUDSTACK-3352 fixed removing previous acl rules when emply acl is applied 2013-07-09 12:50:08 +05:30
Marcus Sorensen 7d097979da Summary: usage db connection missing url parameters property
Detail: users should be able to add url parameters to the usage database
connection string, just like with the cloud database

BUG-ID: CLOUDSTACK-3410
Bugfix-for: 4.2
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1373350596 -0600
2013-07-09 00:18:36 -06:00
Pranav Saxena 5bacfd5a9e Merge branch '4.2' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.2 2013-07-09 10:25:29 +05:30
Marcus Sorensen a505b5b489 Summary: update user data on all networks a VM is connected to
Detail: Get list of all nics and update user data on them, rather than just
the default nic for the VM. This makes the results consistent with the password
and SSH key metadata.

BUG-ID: CLOUDSTACK-3408
Bugfix-for: 4.1.1, 4.2.0
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1373345338 -0600
2013-07-08 22:54:37 -06:00
Pranav Saxena a1df211906 Japanse and chinese localization files 2013-07-09 10:24:35 +05:30
Edison Su 9a9720cee7 fix simulator 2013-07-08 18:43:20 -07:00
Edison Su ba4192dc5e fix simulator 2013-07-08 18:43:20 -07:00
Brian Federle 40cac192f6 Detail view: Fix context not being refreshed on perform action 2013-07-08 15:56:36 -07:00
Brian Federle 18b107b062 CLOUDSTACK-3337: Don't show current ACL list in dropdown 2013-07-08 15:56:31 -07:00
Brian Federle e535760d9b VPC JS: Code cleanup 2013-07-08 15:56:26 -07:00
Alena Prokharchyk 5f7b257fde CLOUDSTACK-3387: deleteTemplate - log the exception message when delete command fails 2013-07-08 15:44:48 -07:00
Brian Federle 73786c373a CLOUDSTACK-3253: Don't allow default ACL lists to be removed 2013-07-08 14:23:18 -07:00
Jessica Wang 46fcb03f17 CLOUDSTACK-3341: UI > template/ISO page > downloadTemplate/downloadISO action - do not decode URL return in extractTemplate API response. 2013-07-08 13:14:22 -07:00
Jessica Wang 5dc8bf9ec3 CLOUDSTACK-1676: UI > zone wizard > basic zone > pass securitygroupenabled=true if selected network offering includes security group service; pass securitygroupenabled=false if selected network offering does not include security group service. 2013-07-08 11:59:52 -07:00
Jessica Wang e03ea2702f CLOUDSTACK-3207: UI > domain page > get total number of instances, volumes by both listAccounts API and listProjects API. 2013-07-08 11:59:21 -07:00
Jessica Wang 3953cbe35e CLOUDSTACK-3164: UI - VPC section - tier - Internal LB - detailView - add assignVMs action in detailView (will show on Quickview in listView as well). 2013-07-08 11:58:39 -07:00
Jessica Wang 39e6e7f09c CLOUDSTACK-3093: UI - Infrastructure menu - zone detail - physical network - network service providers - Internal LB VM - add migrate, view console action. 2013-07-08 11:58:08 -07:00
Jessica Wang c6961ef655 CLOUDSTACK-3286: UI - Add Network Offering dialog - reset provider dropdown to first enabled option only if selected option is diabled. 2013-07-08 11:57:39 -07:00
Jessica Wang 00ae00ae35 CLOUDSTACK-2084: API - when account type is ACCOUNT_TYPE_PROJECT, make listVlanIpRanges API to return accountName. 2013-07-08 11:57:05 -07:00
Brian Federle 39d68b40b4 Region selector UI: Fix overlap issue with other dialogs
Remove z-index from region select button, to prevent overlap with other dialogs.
2013-07-08 11:33:28 -07:00
Brian Federle 2f3c9a085a Project switcher: Fix select height 2013-07-08 11:33:28 -07:00
Brian Federle 33c144a463 UI: Localize app name and 'about' window 2013-07-08 11:33:28 -07:00
Brian Federle f239136605 Multi-edit: edit rule UI: fix regression and restore functionality
Conflicts:
	ui/scripts/ui/dialog.js
2013-07-08 11:33:28 -07:00
Brian Federle b48d99b518 CLOUDSTACK-3170: Support editing ACL rule items
Conflicts:
	ui/scripts/vpc.js
2013-07-08 11:33:27 -07:00
Alena Prokharchyk 8c34f35a3f CLOUDSTACK-3356: list shared networks available for projects when call is executed by the admin who is not a part of the project 2013-07-08 11:21:13 -07:00
Brian Federle 3c82e7eb88 ACL item reorder: Fix error message box 2013-07-08 11:10:16 -07:00
Brian Federle 4cd5dfe2ae CLOUDSTACK-3153: On reorder, only update target ACL item's number 2013-07-08 11:10:11 -07:00
Brian Federle 5304d4973b ACL UI: Sort ACL items by number 2013-07-08 11:10:11 -07:00
Sateesh Chodapuneedi 8cab35aa41 CLOUDSTACK-3304 [Vmware][Dynamic Scaling] - Enforce checks for maximum hotadd memory limit & memory increment size in CS
Retrieve maximum hotadd memory limit & hotadd memory increment size from running VM's configuration to validate dynamic scale memory limit while scaling up a VM.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-08 21:19:46 +05:30
Koushik Das 916a009d5d CLOUDSTACK-3393: Local disk recreated for stopped VM when started
Recreating local disk will result in cleanup of the old disk and this will lead to data loss. So preventing this and bailing out with error. Once migration of local disk is supported then another option is to migrate the existing disk to the new local storage pool.
2013-07-08 17:09:16 +05:30
Likitha Shetty 2aacc29b49 CLOUDSTACK-3112. UserCredentials that is injected in AuthenticationHandler is not picked up 2013-07-08 15:38:42 +05:30