21598 Commits

Author SHA1 Message Date
Jessica Wang
619f0a9c7f UI > check in updated translation files for Siva Nata Sekhar Golla. 2013-12-05 16:55:48 -08:00
Nitin Mehta
ed1f3d9ed6 CLOUDSTACK-5391:
check for host cpu capability while stop starting a vm on the same host. Also changed the FirstFitAllocator to use the same method.
2013-12-05 15:37:01 -08:00
Nitin Mehta
98ee087d31 CLOUDSTACK-4880:
check for host cpu capability while dynamic scaling a vm on the same host
2013-12-05 14:31:27 -08:00
Chris Suich
ee607646c9 Added load vs refresh context for dataProviders
CLOUDSTACK-5384
2013-12-05 11:16:50 -08:00
Jessica Wang
db8e2e5552 CLOUDSTACK-999: HyperV - UI > Infrastructure > zone detail > physical network > Guest > Details tab > add HyperV Traffic Label field. 2013-12-05 10:44:29 -08:00
Ashutosh K
9b2addf481 CLOUDSTACK-5381: Corrected code related custom host name (vm.instancename) 2013-12-05 16:25:38 +05:30
Anthony Xu
c17cf2595b after XS host reboot, all SG rules are gone, need to check if SG rules frame is there when program rules for VM, if not , create the SG rule frame 2013-12-05 02:10:59 -08:00
Syed Ahmed
ee7380ace2 CLOUDSTACK-5296: Add certificate chain support for netscaler
This patch adds support for trust chains in the netscaler.

I initially planned on using the 10.1 API's "bundle" feature but during
my testing I found that was not working. So I am doing the chain linking
myself. Also NS can have only one entity of a certificate ie lets say
two different users try to add the same certificate on the netscaler
only one of them will go through. The other one says resouce already
exists even though they have different files.

This can be a problem in trust chains where the chain can be shared
between multiple accounts/certificates. So, I am using the figerprint as
an identifier of a certificate and making sure that we delete it only
when no one references it.
2013-12-05 15:35:28 +05:30
Anthony Xu
04b48ae04e XS VMmetadata platform contains virtual platform related info, CS should save platform info in DB to migrate the VM to other Cluster 2013-12-05 01:41:14 -08:00
David Grizzanti
22422b9ddd CLOUDSTACK-5022: NullPointerException when invalid zone is passed into UsageEventUtils 2013-12-05 15:10:18 +05:30
Gaurav Aradhye
2d369dbdd8 CLOUDSTACK-5377: Fixed test case dependency issue in snapshots test cases 2013-12-05 13:49:11 +05:30
Rajesh Battala
50c9377774 CLOUDSTACK-5312 added hyperv support in seeding the systemvm template script 2013-12-05 11:59:59 +05:30
Rajesh Battala
0b16a45ceb Modified savepassword.sh path in Hyperv Resource according to the new template 2013-12-05 11:45:54 +05:30
Nitin Mehta
fd195433ae fixing the test 2013-12-04 16:14:27 -08:00
Jessica Wang
9a0de43334 CLOUDSTACK-5139: UI > zone wizard > secondary storage step > providers dropdown - hardcode options instead of get them from listStorageProviders&type=image since not all of returned values are handled by UI (e.g. "NetApp" is not handled by UI). 2013-12-04 15:02:29 -08:00
Nitin Mehta
71323f15c6 CLOUDSTACK-5352:
CPU cap calculated incorrectly for VMs on XenServer hosts. It should not be limited by the overprovisioning and should set the cap as service offering
2013-12-04 14:59:24 -08:00
Jessica Wang
15c3005943 CLOUDSTACK-5139: UI > Infrastructure > Secondary Storage > Add Secondary Storage > providers dropdown - hardcode options instead of get them from listStorageProviders&type=image since not all of returned values are handled by UI (e.g. "NetApp" is not handled by UI). 2013-12-04 14:55:46 -08:00
Nitin Mehta
71d547ba87 CLOUDSTACK-5352:
CPU cap calculated incorrectly for VMs on XenServer hosts. It should not be limited by the overprovisioning and should set the cap as service offering
2013-12-04 14:53:28 -08:00
Jessica Wang
4e74873669 CLOUDSTACK-5200: UI > Infrastructure > Sockets > listView > fix a bug that Hosts and Sockets displayed wrong number. 2013-12-04 14:11:39 -08:00
Alena Prokharchyk
f1973340d3 CLOUDSTACK-5152: when deployVm with SG, verify that vm and sg belong to the same account. Do this verification even when the call is done by the ROOT admin
Conflicts:
	server/src/com/cloud/user/AccountManagerImpl.java
2013-12-04 11:55:27 -08:00
Nitin Mehta
b0a1528c5a CLOUDSTACK-5349:
Volume create usage event and resource count werent getting registered. Check its type rather than it is UserVm since the code is coming from VirtualMachineManager.
2013-12-04 11:01:33 -08:00
Alena Prokharchyk
bd6f706b72 CLOUDSTACK-5261: added support for Alert publishing via ROOT Admin API
Conflicts:
	engine/orchestration/src/com/cloud/agent/manager/AgentManagerImpl.java
	engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
	engine/storage/image/src/org/apache/cloudstack/storage/image/TemplateServiceImpl.java
	engine/storage/volume/src/org/apache/cloudstack/storage/datastore/provider/DefaultHostListener.java
	engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
	plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/discoverer/HypervServerDiscoverer.java
	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareServerDiscoverer.java
	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
	server/src/com/cloud/alert/AlertManagerImpl.java
	server/src/com/cloud/alert/ConsoleProxyAlertAdapter.java
	server/src/com/cloud/alert/SecondaryStorageVmAlertAdapter.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/ha/HighAvailabilityManagerExtImpl.java
	server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/resourcelimit/ResourceLimitManagerImpl.java
	server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	usage/src/com/cloud/usage/UsageAlertManagerImpl.java
	usage/src/com/cloud/usage/UsageManagerImpl.java

listAlerts: introduced new parameter "name" to the alertResponse

Conflicts:
	api/src/org/apache/cloudstack/api/command/admin/resource/ListAlertsCmd.java
	server/src/com/cloud/alert/AlertManagerImpl.java
	usage/src/com/cloud/usage/UsageAlertManagerImpl.java

Added new Admin API - generateAlert. Available to ROOT admin only

Conflicts:
	api/src/org/apache/cloudstack/alert/AlertService.java
	api/src/org/apache/cloudstack/api/BaseCmd.java
	usage/src/com/cloud/usage/UsageAlertManagerImpl.java

listAlerts: implemented search by alert name

Conflicts:
	api/src/org/apache/cloudstack/alert/AlertService.java
	api/src/org/apache/cloudstack/api/command/admin/resource/ListAlertsCmd.java
	engine/schema/src/com/cloud/alert/AlertVO.java
2013-12-04 10:05:46 -08:00
Brian Federle
751d8d1966 CLOUDSTACK-2570: Fix duplicate resource name field 2013-12-04 09:50:46 -08:00
Brian Federle
2ed41270ce Detail view: Fix error on refresh from async action
Fixes error on detail view actions when list view subsection has a custom ID
2013-12-04 09:39:52 -08:00
Brian Federle
8e06cf5593 VR UI actions: Fix incorrect response object referenced on action complete 2013-12-04 09:38:47 -08:00
Brian Federle
10cd11637a CLOUDSTACK-5266: Fix quickview not working for VR sections 2013-12-04 09:00:16 -08:00
Chris Suich
4ecf6df5f6 Fixed issue with ListView 'needsRefresh' overlays not being removed
JIRA-5368
2013-12-04 07:38:03 -08:00
Devdeep Singh
13740ac135 CLOUDSTACK-5178: DeployVm from ISO fails. Fixed the creation of root
volume and made sure the iso is attached when a vm is deployed.
2013-12-04 20:36:49 +05:30
Likitha Shetty
f37057a215 CLOUDSTACK-5172. Detaching VM volume is not allowed if there are VM snapshots because any changes to the disk layout will break the semantics of VM-based snapshot 2013-12-04 20:19:17 +05:30
Girish Shilamkar
dfff362c11 CLOUDSTACK-5351: Fixed a regression where shared_ntwk_vlan was not changed to shared_vlan 2013-12-04 18:54:50 +05:30
Ashutosh K
b2c8955222 CLOUDSTACK-5364: Resolving network cleanup issue in egress fw rules test cases 2013-12-04 18:41:10 +05:30
Jayapal
f2c7db9947 Corrected parsing vlan tag in JuniperSrx resource 2013-12-04 16:17:05 +05:30
Rajesh Battala
9d50b0bb68 Adding cifs support to systemvm 64bit to support Hyperv 2013-12-04 15:53:27 +05:30
Donal Lafferty
3f8741a4ec Changes for fixing the hyperv agent build on windows using mono. 2013-12-04 12:21:36 +05:30
Ashutosh K
4b5a0ca4c2 CLOUDSTACK-5230: Removing test cases' dependency on each other leading to failures 2013-12-04 11:37:22 +05:30
Gaurav Aradhye
291eafadae CLOUDSTACK-5347: Resolved issue related to snapshot state 2013-12-04 11:32:36 +05:30
Gaurav Aradhye
6b955958c6 CLOUDSTACK-5333: Code changes related to snapshots listing
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-12-04 11:29:50 +05:30
Bharat Kumar
e5cfe94818 CLOUDSTACK-5160 add a map to specify the custom compute parameters in the deployvm api.
Signed-off-by: Jayapal <jayapal@apache.org>
2013-12-04 11:28:45 +05:30
Gaurav Aradhye
f05063f377 CLOUDSTACK-5346: Fixed shared network cleanup issue 2013-12-04 11:25:58 +05:30
Devdeep Singh
d26b9ac00e Fix for live migration of vm. Use the host name as the migration
destination. Also mapped the vm state corrected in check vm on host
answer.
2013-12-04 10:31:02 +05:30
Devdeep Singh
5a96307fbf Changes for allowing migration of a vm on hyperv. Migration was blocked in cloudstack for hyperv.
Enabled it. Also updated the agent code to allow hyperv migration.
2013-12-04 10:29:36 +05:30
Min Chen
f420b74890 CLOUDSTACK-5355: addImageStore should not log password in clear text in
the log.
2013-12-03 16:55:26 -08:00
Brian Federle
1c4f1deaa8 CLOUDSTACK-4061: Fix wrapping text with ja ui 2013-12-03 15:45:35 -08:00
Brian Federle
c77dca2d3e CLOUDSTACK-5301: Show VPC routers on main VR page, to support upgrade feature 2013-12-03 15:36:46 -08:00
Brian Federle
b84f5791c3 Dashboard, alerts: Fix width of title 2013-12-03 15:20:38 -08:00
Nitin Mehta
03c78247cc CLOUDSTACK-3364:
change updateIsoPermissions API to accept isextractable paramter from normal user
2013-12-03 14:55:39 -08:00
Jessica Wang
2cbaf04b97 CLOUDSTACK-4738: UI > VM Wizard > deployVM API has been changed to take in one new parameter CUSTOM_PARAMETERS instead of 3 parameters CPU_NUMBER/CPU_SPEED/MEMORY. Here is corresponding UI change. 2013-12-03 13:12:46 -08:00
Brian Federle
bd1c28573e Zone wizard UI: Fix CSS for progress box at end of flow 2013-12-03 12:33:42 -08:00
Brian Federle
af3add9353 CLOUDSTACK-5114: Remove checkbox column from dialog list view 2013-12-03 12:33:09 -08:00
Brian Federle
b4dd3747f3 Dialog list view: Fix toolbar/header positioning 2013-12-03 12:33:09 -08:00