17232 Commits

Author SHA1 Message Date
Likitha Shetty
8d8a0ebe10 CLOUDSTACK-2105.
While releasing an IP range from an acount if any of the Public IPs in the range is a source nat ip then the IP is not disassociated.
During the check CS also checks if the network the IP is associted with is not null. This results in an NPE for an account that has VPC s
because the public IP of a VPC domain router is common to all VPC tiers and not associated with a network
Remove the check to find the network associted with a source nat IP for both ReleasePublicIpRange and DeleteVlanPublicIpRange
2013-04-19 23:31:52 +05:30
Prachi Damle
ff4a4876c7 Adding affinitygroupid search parameter to listVMsCmd 2013-04-19 10:49:37 -07:00
Brian Federle
fc08c2372c Merge branch 'ui-mixed-zone-management' 2013-04-19 10:25:39 -07:00
Brian Federle
355b910173 Merge branch 'master' into ui-mixed-zone-management 2013-04-19 10:23:15 -07:00
Hugo Trippaers
4a3a9dfbc2 Give some more details on what is expected of an IpDeployer. 2013-04-19 16:37:22 +02:00
Hugo Trippaers
a28a19962a CLOUDSTACK-2092 Don't push IP to the Nicira Controller when it is about
to be released.
2013-04-19 16:28:53 +02:00
Joe Brockmeier
e8251d998f CLOUDSTACK-387: Actually adding the build-nonoss.xml file... 2013-04-19 08:52:06 -05:00
Chip Childers
99cbe3aff4 CLOUDSTACK-2103: correcting documentation to reflect /var/log/cloudstack instead of /var/log/cloud for new installations
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-19 14:35:12 +01:00
Joe Brockmeier
b59e5787a0 CLOUDSTACK-387: Adding information on building optional targets. 2013-04-19 08:26:57 -05:00
Pranav Saxena
fc4f19f915 Storage Motion UI development 2013-04-19 18:27:07 +05:30
Jayapal
59bee8d1b4 CLOUDSTACK-2118 added delay for interface to come up in cloud-early-config In cloud-early-config ifup is taking some time to setup the interface ip So in setup_interface waiting for some time for interface to come up
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-04-19 17:43:36 +05:30
Devdeep Singh
b01f63123f CS-1879: NPE while migrating volume. The state transitions on the volume that has to be migrated were incorrect. A volume to be migrated is in ready state and cannot be transitioned to copying state. Similarly, the duplicated volume is in ready state too and cannot be transitioned to creating state. Fixed it by transitioning the volume to migrating state when a migrateVolume api call is made. Also, a volume has to be destroyed first before it can be expunged. Fixed that too.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-04-19 16:15:24 +05:30
Pranav Saxena
f98ce5ddcc ClOUDSTACK-2111:UI remain in processing state even after scaleVM executed successfullY 2013-04-19 15:14:57 +05:30
Saksham Srivastava
ea893eaf33 CLOUDSTACK-1786: While reserving IPs in guest network, if guestvmcidr is a subset of network cidr but not a subset of cidr, exception is thrown.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-04-19 14:08:37 +05:30
Devdeep Singh
21ce3befc8 Storage motion for Xenserver changes: 1. Implemented Api findStoragePoolsForMigration. Added a new response objects to list storage pools available for migration. 2. Updated migrateVolume api for allowing migrating volumes of running vms. These changes are integrated into the latest storage refactoring changes. 3. Added the implementation for findHostsForMigration api. It lists the hosts to which an instance can be migrated, including hosts from within and across clusters to which an instance may be migrated with storage motion. The work of migrating a volume of a running vm is also done in copyAsync. 4. Updated the listHosts api for backward compatibility. 5. Added the implementation for migrateVirtualMachineWithVolume api. It migrates an instance with its volumes within a cluster and also across clusters. Also introduced a new XenServerStorageMotionStrategy for migrating volumes of a vm. When a vm is being migrated with its volumes, the vm is put in migrating state and a request is send to the volume manager to migrate the vm and its volumes. Volume manager calls into the volume service which forwards the request to data motion service after moving all the volumes to migrating state. Data motion service enumerates the strategies and the request reaches the XenServerStorageMotionStrategy. It calls in to the resource to complete the operation. 6. Resolved an issue where storage xenmotion of 2nd VM created from the same template to a host was failing with duplicate_vm exception. Made changes to remove the mac_seed key value pair from other_config when vms are created. This is was storage motion to fail. 7. Updated the db upgrade schema script. 8. Added the right permissions in commands.properties 9. Marvin tests for testing storage motion. Following scenarios are tested. 9.1. A virtual machine is migrated to another host. Its volumes are also migrated to another storage pool. 9.2. Just the volumes of a vm are migrated to another storage pool while the vm continues to run on the same host. 10. Unit tests for testing migration of a vm with its volumes.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-04-19 11:36:42 +05:30
Harikrishna Patnala
eae22d2ffa CLOUDSTACK-741: Granular Global Parameters
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-04-19 10:36:52 +05:30
Rohit Yadav
81e1ba3bb4 appliance: Don't mkdir 70-persistent-net.rules for systemvms
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-19 09:05:42 +05:30
Mice Xia
ca6873a9d0 CLOUDSTACK-2086 UI shows added NIC even if Actual NIC addition has failed 2013-04-19 10:52:00 +08:00
Mice Xia
4fd921269b CLOUDSTACK-2083 router never comes to running state when addNicToVirtualMachine api is called with network id which is only allocated 2013-04-19 10:52:00 +08:00
Likitha Shetty
f8d4a23343 CLOUDSTACK-2088. Dedicated Public IP Addresses per tenant. Guest Network in a project acquires IPs at random even from the IP ranges which are dedicated to other accounts.
Modified search to return only IP's belonging to system pool
2013-04-19 07:02:46 +05:30
Brian Federle
e04430302d Merge branch 'master' into ui-mixed-zone-management 2013-04-18 15:18:43 -07:00
Brian Federle
977162b9f0 CSS: Cleanup formatting 2013-04-18 15:16:49 -07:00
Brian Federle
d51d596baa Dashboard UI: Fix unwanted line breaks on event/alert text 2013-04-18 15:15:24 -07:00
Jessica Wang
320cad3806 CLOUDSTACK-1343: cloudstack UI - baremetal - zone wizard - fix a JS error "args.data.cluster is undefined" that happened right after Configuring guest traffic. 2013-04-18 14:29:00 -07:00
Brian Federle
73d87f1ad2 UI Plugin/module API: Fix load order, refactor
-Fixes issue with load order, where plugin's initialization function were not called
  in order of the list

-Refactor so that modules and plugins are loaded via the same block,
  to avoid redundant code

-Load modules before plugins
2013-04-18 13:59:20 -07:00
Chip Childers
a51b566fb6 Adding release plugin to pom 2013-04-18 16:13:18 -04:00
Brian Federle
6babaf9616 Add UI 'module' API
Add a variant to a plugin, called a 'module.' It is designed for
features that are build-in to the standard UI (i.e., not installed
dynamically), but can still utilize the modular nature of UI
plugins. It works exactly the same way as a plugin, except:

-Modules are added to modules/ folder
-Modules are registered in modules/modules.js
-No config.js (no need for metadata, since they are built-in features)
- /ui/modules/ folder will not be touched by the build system, so any modules
 are committed directly to the ui/ folder. In other words, modules are
 not installed automatically.
2013-04-18 12:52:55 -07:00
Wido den Hollander
9573f51d3b CLOUDSTACK-1977: Add management setup directory to classpath
This way the DB upgrade process can locate the SQL files
2013-04-18 21:32:08 +02:00
Chip Childers
ce8c2eb8a5 Removing 'incubator' from the default source dir
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-18 14:54:42 -04:00
Brian Federle
fca7b3ef22 Rename widget 'plugins' to 'pluginListing'
For better clarity on its function, rename the 'plugins' widget to 'pluginListing,'
as it does not handle the actual plugin logic.
2013-04-18 10:49:45 -07:00
Chip Childers
7a4f70ff16 Adding 2.2 to 4.1 upgrade instructions for RPM and DEB to release notes
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-18 12:54:59 -04:00
Chip Childers
31531fa9a6 Switched to yum upgrade vs yum install for RPM upgrade instructions
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-18 12:48:41 -04:00
Chip Childers
f4240e1cea Adding RPM and DEB upgrade steps from 3.0.2 to 4.1.0 in release notes
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-18 12:28:10 -04:00
Chip Childers
bf120917f9 Removing inappropriate note about an upgrade *to* 3.0.2 in the *from* 3.0.2 section of the release notes
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-18 12:28:10 -04:00
Chip Childers
7023920d34 Modifying some extra tabs that cause rendering silliness in the release notes
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-18 12:28:09 -04:00
Isaac Chiang
34899f9b99 CLOUDSTACK-2077:The updatePhysicalNetwork command fails to update the database 2013-04-18 21:19:00 +05:30
Wido den Hollander
96cf79535f CLOUDSTACK-2033 Fix usage server logging under Debian and Ubuntu 2013-04-18 10:26:09 +02:00
Mice Xia
dfbe11355c fix CLOUDSTACK-2061 Hitting java NPE in addNicToVirtualMachine api when trying to add a shared network to a VM 2013-04-18 14:57:37 +08:00
Sanjay Tripathi
985b2aa88d CLOUDSTACK-2046: Primary Storage & Secondary Storage is max limit is set 0 with listResourceLimits API response as ROOT admin
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-04-18 05:26:00 +05:30
Prasanna Santhanam
b12905b7a8 pep8 compliance for cloudstackConnection
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-18 07:44:25 +05:30
Prachi Damle
e03176c4d4 Apart from the UUID, we need not log any other details for AffinityGroup in error messages. 2013-04-17 18:04:18 -07:00
Prachi Damle
3a9c63d8c9 CLOUDSTACK-2069: Anti-Affinity - listVirtualmachines - affinitygroup entity does not include other Vms that are part of this affinity group.
Removed the virtualmachineIds:[] sent in the API response.
The listVirtualMachines Resopnse need not list details beyond the id, name,description etc.
If the user wants to get the list of VMs in the group, listAffinityGroups APi can be used.
2013-04-17 18:04:15 -07:00
Prachi Damle
6dccf63a32 set Objectname to CreateAffinityGroupResponse Object. Also the listAffinityGroups is missing the 'type' property 2013-04-17 18:04:13 -07:00
Chip Childers
7182a939a8 Initial pass at RPM upgrade instructions from 4.0.x to 4.1.0
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-17 20:49:18 -04:00
Alena Prokharchyk
11162f5917 Removed set() methods from IpAddress related interfaces 2013-04-17 15:11:38 -07:00
Prachi Damle
112446602d (CLOUDSTACK-2068) Anti-Affinity - When Vm deployment associated with anity-affinity group fails , it is still included in the vmlist of the anti-affiity group
Changes:
- Added removal of the groups association when VM reaches 'Error' state.
2013-04-17 15:00:56 -07:00
Chip Childers
e8269a6e26 Removing the VMware template upgrade step from the 4.0.x to 4.1.0 upgrade process, as it's actually only needed from 3.x 2013-04-17 16:59:03 -04:00
Alena Prokharchyk
11480c3af8 CLOUDSTACK-1941: added isDefault parameter to account/user response 2013-04-17 13:45:25 -07:00
Marcus Sorensen
8d0bea994d CLOUDSTACK-2071 - VirtualMachineManagerImpl.java start() method for instance
can fail to start a VM without notifying caller, if no exception is triggered.
The result is that VM start looks successful but was not. This fixes it by
throwing an exception at the very end if the object to be passed back is still
null.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1366225829 -0600
2013-04-17 13:13:05 -06:00
Alena Prokharchyk
9584815d4f CLOUDSTACK-1941: introduced "default" flag to account/user objects. Admin/System accounts that come with the CS install are default, and can never be removed. All accounts created by the CS admin, have default flag set to false, and can be removed at any time. 2013-04-17 12:04:18 -07:00