Commit Graph

20355 Commits

Author SHA1 Message Date
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
Jessica Wang f548ce4fad CLOUDSTACK-2074: cloudstack UI - Affinity - Affinity Groups page - remove "Instances" tab that has been replaced with "View Instances" drilldown in Details tab. 2013-04-18 17:52:20 -07:00
Jessica Wang ea2a43e98a CLOUDSTACK-2074: cloudstack UI - Affinity - Instances page - remove "Affinity Groups" tab that has been replaced with "View Affinity Groups" drilldown in Details tab. 2013-04-18 17:37:53 -07:00
Jessica Wang 6c98696d8c CLOUDSTACK-2074: cloudstack UI - Affinity - Instances page - implement "View Affinity Groups" drilldown. 2013-04-18 17:31:29 -07:00
Jessica Wang 7f6e7c6f81 CLOUDSTACK-2074: cloudstack UI - Affinity - Instances page - Change Affinity action dialog - a workaround to avoid dataProvider() being called twice that populates duplicate data. 2013-04-18 17:01:45 -07:00
Jessica Wang 2198dda742 CLOUDSTACK-2074: cloudstack UI - Affinity - Instances page - Change Affinity action - populate affinity groups in dialog. 2013-04-18 16:38:25 -07:00
Brian Federle d53d06cc2f Add basic listView/detailView for network provider 2013-04-18 16:26:23 -07:00
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
Brian Federle 908115203e WIP: Service provider module
-Add 'add service provider' module to assist with creating a new
 service provider UI

-Add required functionality to append service provider to hardcoded list

-Add basic ASA 1000v provider to list (name, id, state)
2013-04-18 15:13:14 -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
Jessica Wang 030235ba52 CLOUDSTACK-2074: cloudstack UI - Affinity - Affinity Group page - details tab - implement "View Instances" on right top corner. 2013-04-18 14:04:31 -07:00
Brian Federle f0941420e9 Merge branch 'master' into ui-cisco-asa1000v-support 2013-04-18 13:59:52 -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
Min Chen 7ba1a8fa21 Populate hypervisor_type column in registering ISO by referring it from
guest os id to make listIsos and listTemplates implementation more
consistent.
2013-04-18 13:52:35 -07:00
Edison Su ef30ee52ee add copy stuff from s3 into nfs cache storage 2013-04-18 13:44:49 -07:00
Chip Childers a51b566fb6 Adding release plugin to pom 2013-04-18 16:13:18 -04:00
Brian Federle 566a4d4b1a Merge branch 'master' into ui-cisco-asa1000v-support 2013-04-18 12:53:11 -07: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
Jessica Wang 3390f0114b CLOUDSTACK-2074: cloudstack UI - Affinity - Affinity Group page - add new tab "instances" that displays all vm instances under this affinity group. 2013-04-18 12:24:44 -07: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
Jessica Wang 935b08b216 CLOUDSTACK-2074: cloudstack UI - Affinity - instance detail page - add new tab "Affinity Groups". 2013-04-18 10:55:56 -07:00
Brian Federle 9a876ca9ce Merge branch 'master' into ui-cisco-asa1000v-support 2013-04-18 10:50:07 -07: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
Brian Federle d7b715b83f 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:47:33 -07:00
Jessica Wang 7566eae209 CLOUDSTACK-2074: cloudstack UI - Affinity - VM Wizard - collect affinity group IDs and pass them to API call. 2013-04-18 10:30:34 -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
Edison Su 1fe5d7c886 need to download image to cache storage from s3/swift on mgt server for default system vm templates 2013-04-18 01:56:34 -07:00
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
Jessica Wang b203e6cbf0 CLOUDSTACK-2074: cloudstack UI - Affinity - VM Wizard - populate Affinity step. 2013-04-17 17:43:59 -07:00
Min Chen 1a74dfaa27 Move UpdateTemplate and UpdateIso methods from ManagerServerImpl to
TemplateManagerImpl.
2013-04-17 17:39:33 -07:00
Jessica Wang 9827d79fbd CLOUDSTACK-2074: cloudstack UI - Affinity - implement Delete Affinity Group action. 2013-04-17 17:17:54 -07:00