Commit Graph

19187 Commits

Author SHA1 Message Date
Sateesh Chodapuneedi b1f7056565 Updated logger initalization in classes ListVmwareDcsCmd, RemoveVmwareDcCmd & minor cleanup of comments. 2013-07-11 16:02:34 +05:30
Wido den Hollander 0898a264a5 CLOUDSTACK-3409: Do not clean up security group rules for Instances in the "paused" state.
When 'security_group.py cleanup_rules' is called by the KVM Agent it will clean up all Instances
not in the "running" state according to libvirt.

However, when a snapshot is created of a Instance it will go to the "paused" state while the snapshot
is created.

This leads to Security Rules being removed when a Instance is being snapshotted and the cleanup process
is initiated.
2013-07-11 12:00:48 +02:00
Sanjay Tripathi 4a9c665c19 CLOUDSTACK-3462: NumberFormatException with TemplateService while performing template synchronization. 2013-07-11 14:29:05 +05:30
Sanjay Tripathi 5dda98c3a0 CLOUDSTACK-1768: Ability to delete Events and Alerts: Delete by a time period is required.
User should be able to delete/archive alerts and events by selecting a time period or by
choosing the alerts and events older than a date. Added the ability to choose a time period
too.
2013-07-11 14:28:51 +05:30
Likitha Shetty a5e1e40fff CLOUDSTACK-3447. CLOUDSTACK-3448.
Correct the access check on networks in APIs addNicToVM and removeNicFromVM
2013-07-11 13:48:55 +05:30
Wei Zhou ca8b47778f CLOUDSTACK-3244: Inject KeystoreManager in ManagementServerImpl 2013-07-11 09:57:06 +02:00
Koushik Das c4e3213132 CLOUDSTACK-3441: [Load Test] High delays between VM being allocated to Pod and network implementation causing delays in VM deployment
This is a regresion caused due to fix for CLOUDSTACK-70. In order to fix network restart scenario, delays got introduced in the user VM deployment scenario.
Fixed it by separating out the network restart and new VM deployment scenario such that the latter is not affected due to the fix for CLOUDSTACK-70.
2013-07-11 12:08:08 +05:30
Gavin Lee ea4142bdea [DOC]configuration path refactor /etc/cloud to /etc/cloudstack
CLOUDSTACK-3182
2013-07-11 13:57:26 +08:00
Edison Su ecd2a273cb fix db upgrade
(cherry picked from commit 7eb3d49e8e)
2013-07-11 11:07:58 +05:30
Sanjay Tripathi b5cf3510eb CLOUDSTACK-1960: Fix for UK Keyboard - Bar symbol i.e. "|". 2013-07-11 10:57:22 +05:30
Sanjay Tripathi 2ac8f2b452 CLOUDSTACK-1047: tracking in logs using job id. 2013-07-11 10:57:13 +05:30
Likitha Shetty 8eac039d86 CLOUDSTACK-3423. Publish 'VM.UPGRADE' usage event every time the service offering of a VM is upgraded. 2013-07-11 10:05:08 +05:30
Prasanna Santhanam 4d4bd8a263 CLOUDSTACK-3384: Fix the vlan range < 4096
VLAN ranges beyond 4095 are properly handled. Fix the test to accomdate
this change

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3f5c1c6da3)
2013-07-11 09:43:59 +05:30
Gavin Lee 035d156923 [DOC]Change cloud- to cloudstack- for the service and fix script path issue
CLOUDSTACK-3179,CLOUDSTACK-3180

Conflicts:

	docs/en-US/Release_Notes.xml
	docs/en-US/citrix-xenserver-installation.xml
2013-07-11 11:01:58 +08:00
Mice Xia 9dbe5ec706 fix CLOUDSTACK-1852, use findHostsForMigration to list available hosts for migration 2013-07-11 10:41:42 +08:00
Brian Federle 633335321d CLOUDSTACK-2779: Fix ACL rule protocol number field
-Fix protocol number field not passing start/end port

-Fix protocol number for ACL rule 'edit' form
2013-07-10 16:47:58 -07:00
Sheng Yang 2ea61e7f22 CLOUDSTACK-3436: Fix inconsistent ip routing table between redundant virtual routers 2013-07-10 15:54:14 -07:00
Jessica Wang f8e45c2d74 CLOUDSTACK-2988: UI > instances menu > Update Instance action - add Dynamically Scalable field. 2013-07-10 15:47:41 -07:00
Jessica Wang 47c770ca9f CLOUDSTACK-2988: UI > templates menu > update template action - add Dynamically Scalable field. 2013-07-10 15:47:10 -07:00
Jessica Wang 3e265d22a4 CLOUDSTACK-2988: API - Template Response - add isdynamicallyscalable property. 2013-07-10 15:46:38 -07:00
Jessica Wang 79bec35476 CLOUDSTACK-2987: UI > Templates menu > register template action: add Dynamically Scalable field. 2013-07-10 15:39:58 -07:00
Alena Prokharchyk 2e0a62749e CLOUDSTACK-3455: delete Shared networks of the domain when do domain deletion 2013-07-10 15:28:56 -07:00
Brian Federle 62eb115911 CLOUDSTACK-2983: Fix protocol number field passing invalid values
Conflicts:
	ui/scripts/vpc.js
2013-07-10 15:28:07 -07:00
Brian Federle 4c597ab78f UI: Fix localization fn override
If localization function is specified in another plugin, do not use the
default
2013-07-10 15:27:15 -07:00
Brian Federle 5acf5c561a UI plugin framework: Fix load order
Fixes potential issue where plugins could load after cloudStack UI is initialized,
preventing their functionality from showing up.

Now, the main UI is only loaded after all plugins have loaded; this is via
'cloudStack.pluginReady' event.
2013-07-10 15:27:15 -07:00
Vijayendra Bhamidipati 2a8e113aa1 CLOUDSTACK-1510: NPE when primary storage is added with wrong path
Description:

	a) Fixing NPE when wrong path is provided for primary datastore.
	b) No error dialog shows up in GUI when wrong path is provided,
	   after NPE fix - propagating exception upward.
	c) If the KVM agent is down, an invalid datastore gets logged in
	   storage_pool table and doesn't get removed, so it shows up
	   in the GUI in the list of datastores - fixing this as well.
2013-07-10 14:58:41 -07:00
Rajesh Battala 1bde0f3fcc CLOUDSTACK-3301 NPE wile deployVM in kvm Only solidfire type PS is setting/using the capacityIops, This check will fix to return the storage has enough Iops when capacityIops is set to NULL for any PS Storage provider 2013-07-10 14:58:37 -07:00
Edison Su c48c652aee turn on simulator code, only when -Psimulator is used 2013-07-10 14:11:14 -07:00
Sheng Yang 00b8dc7475 CLOUDSTACK-3417: Remove baremetal foreign key in upgrade path
They're already handled by java code.
2013-07-10 11:31:45 -07:00
Sateesh Chodapuneedi 50b8d64299 CLOUDSTACK-3450 To implement toggle action of add/remove VMware DC, listVmwareDcs API call is required.
listVmwareDcs API is added. Takes 1 parameter (mandatory) which is zoneId.
Returns list of VMware DCs associated with specified zone.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-10 23:07:47 +05:30
Murali Reddy ea04729fdb CLOUDSTACK-3442: [PortableIP] [VPC] Unable to associate Portable IP to VPC
removing invalid check
2013-07-10 19:31:54 +05:30
Sateesh Chodapuneedi c02e38d670 CLOUDSTACK-3303 Vmware - Put a mechanism to disable hot add vcpu if the number of cores per socket is not 1 and virtual machine hardware version=7
Following Hotadd memory checks are included now.
1) Check if guest operating system supports memory hotadd
2) Check if virtual machine is using hardware version 7 or later before enabling memory hotadd

Following Hotadd CPU checks are included now.
1) Check if guest operating system supports cpu hotadd
2) Check if virtual machine is using hardware version 8 or later.
3) Check if virtual machine has only 1 core per socket. If hardware version is 7, then only 1 core per socket is supported. Hot adding multi-core vcpus is not allowed if hardware version is 7.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-10 18:14:06 +05:30
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