Commit Graph

20355 Commits

Author SHA1 Message Date
Prasanna Santhanam e69ebab34e include account and domainid in affinity group creation
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 02f207f6c9)
2013-07-12 10:19:44 +05:30
Alena Prokharchyk 52d3e1190f CLOUDSTACK-2843: added CopyCommand to the list of the commands controlled by execute.in.sequence.hypervisor.commands global config. This command was introduced by the Storage refactoring, and used for volume creation on the primary storage 2013-07-11 17:43:33 -07:00
ahuang a4f729759a Added the git commit and branch to war file 2013-07-11 17:37:36 -07:00
Jessica Wang 7e87c77043 CLOUDSTACK-3427: UI > UCS manager > implement associatesUcsProfileToBlade API. 2013-07-11 17:20:02 -07:00
Amogh Vasekar f938468acf CLOUDSTACK-3234: Adding cookie to associate profile blade API
Signed-off by: Animesh Chaturvedi <animesh@apache.org>
2013-07-11 16:30:53 -07:00
Min Chen 45cf96afb7 CLOUDSTACK-3335:[Object_Store_Refactor][Automation]CopyTemplate failed
with Unexpected exception.
2013-07-11 16:01:42 -07:00
Jessica Wang 38cb16df36 CLOUDSTACK-3460: UI > Infrastructure menu > clusters > add cluster dialog > when hypervisor is VMware, call listVmwareDcs API to get vCenter Host and vCenter Datacenter value if the 2 fields are not filled (the 2 fields are optional). 2013-07-11 15:42:50 -07:00
Brian Federle f6e7e58a47 CLOUDSTACK-3395: Fix typo in 'revert to VM snapshot' response 2013-07-11 14:45:21 -07:00
Brian Federle 355d87dcba CLOUDSTACK-3461: Make vCenter user/password fields optional 2013-07-11 11:13:39 -07:00
Jessica Wang 129f207ef6 CLOUDSTACK-3450: UI > Infrastructure menu - zone detail - (1) Add VMware datacenter fields. (2) Show Remove VMware datacenter action where there is no VMware datacenter attached with the zone. Show Add VMware datacenter action otherwise. 2013-07-11 11:12:23 -07:00
Brian Federle eb7b226e6d CLOUDSTACK-3196: Add missing 'dedicate host' icon 2013-07-11 10:49:30 -07:00
Alena Prokharchyk cce2dad2e4 CLOUDSTACK-3458: network GC thread - acquire global lock to prevent multiple MS from running the GC thread on the network at the same time 2013-07-11 09:37:39 -07:00
Sateesh Chodapuneedi e9dfb79e0d CLOUDSTACK-3469 [VMware] Support to make username/password optional while adding VMware cluster
For legacy zones insist on the old model of asking for credentials for each cluster being added.
For non-legacy zones check if username & password are provided. If either or both not provided, try to retrieve & use the credentials from database, which are provided earlier while adding VMware DC to zone.
This lets user to not specify credentials while adding VMware cluster to zone, if the credentials are same as that of provided while adding VMware DC to zone.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-11 20:44:06 +05:30
Daan Hoogland f99d599930 CLOUDSTACK-3357: dnsmasq on vpc-routervm 2013-07-11 14:34:51 +01:00
Murali Reddy 0c97cd271a CLOUDSTACK-1673: AWS Regions - Events - User disable / Domain Delete event does not
include the UUID of the user/domain that was disabled.

- added enity type and enity UUID details to UserContext
- publish the entity type and UUID details for the action events
  generated  for accout/user/domain
2013-07-11 17:53:13 +05:30
Koushik Das c076ae875a CLOUDSTACK-3248: XenServer Host got removed successfully inspite of running VMs on the host
In UI there is a restriction to first put a host in maintenance and only then deletion is allowed. But there is no such restriction in the deleteHost API.
Added a validation in deleteHost API to prevent deletion if the host is not in maintenance. In case of a forced deletion the restriction doesn't apply.
2013-07-11 17:33:41 +05:30
Prasanna Santhanam 088c1e2a46 ostypeid references removed
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-11 16:43:37 +05:30
Devdeep Singh 293e5458d3 CLOUDSTACK-3467: Fixing the unit tests for implicit dedication planner. When fix for bug 2662
was made the unit tests were not updated correctly. The unit tests should have been changed to
return the correct mock object (VMInstanceVO) when vmInstanceDao is queried for the vms
running on host.
2013-07-11 16:17:07 +05:30
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