Commit Graph

25574 Commits

Author SHA1 Message Date
Rohit Yadav 5b7e2d24e8 metrics: add metrics sub-nav and filtering, zone->clusters->hosts
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:49 +05:30
Rohit Yadav 9cebd92db3 metrics: add metrics framework support for browsable sub-metrics
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:49 +05:30
Rohit Yadav 9f653300bb metrics: add zone and host metrics views
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:49 +05:30
Rohit Yadav 634c3bcc48 metrics: fix metrics widget to display resource specific breadcrumb label
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:48 +05:30
Rohit Yadav 8027421d4a metrics: minimize column width, increase column density
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:48 +05:30
Rohit Yadav df8625bda3 metrics: make karet larger
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:48 +05:30
Rohit Yadav 6b05fb9fd2 metrics: cluster metrics view implement
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:48 +05:30
Rohit Yadav 69b2262fe2 metrics: add support for collapsible column in listView widget
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:47 +05:30
Rohit Yadav fa32e60c0a metrics: don't resize collapsible column in datatable widget
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:47 +05:30
Rohit Yadav 7f790af2c2 metrics: fix css
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:47 +05:30
Rohit Yadav cc6a87ffda metrics: fix translation in messages.properties
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:46 +05:30
Rohit Yadav 2fddb9fde5 metrics: add labels for cluster metrics view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:46 +05:30
Rohit Yadav 4a130be174 metrics: add groupable column support to listview table
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:46 +05:30
Rohit Yadav c2b1393f2d metrics: make table widget horizontly scrollable, keep tbody/thead in same table
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:46 +05:30
Rohit Yadav 1bd7ef6b73 metrics: show metrics table if it shoots off horizontal x axis
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:45 +05:30
Rohit Yadav 5c37238042 metrics: cluster view table model/api wip
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:45 +05:30
Rohit Yadav 218468b8c1 metrics: work in progress cluster resource metrics view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:45 +05:30
Rohit Yadav 4643e5609d metrics: implement a general refresh metrics framework
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:44 +05:30
Rohit Yadav c0db096c79 metrics: implement cluster table header
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:44 +05:30
Rohit Yadav 4175c25229 metrics: implement horizontal scrollbar for metrics tables
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:44 +05:30
Rohit Yadav 992693b67e metrics: work in progress list views
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:44 +05:30
Rohit Yadav 62bccb08d4 metrics: fix button string, as it causes other elements to spill out
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:43 +05:30
Rohit Yadav e88249829b metrics: render resource specific listViews
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:43 +05:30
Rohit Yadav e8f9920211 metrics: add metrics listView module, include js files in index.jsp
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:43 +05:30
Rohit Yadav 5a1662500f metrics: add view metrics button across resources
resouces: zones, clusters, hosts, primary storage, vms and volumes

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:42 +05:30
Rohit Yadav b8b28568ae ui/scripts/system: work in progress zone metrics view button
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:42 +05:30
Rohit Yadav 11f10fe664 ui/widgets: enable sortability of the data-table
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:41 +05:30
Rohit Yadav 5fd0a6f289 ui: add view metrics label
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:41 +05:30
Pierre-Luc Dion f1f1fefdf6 Fix dockerbuild because hardcoded filename for marvin
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2015-09-29 08:59:53 -04:00
Rohit Yadav bab993864c Merge pull request #817 from borisroman/4.5
[4.5.3]Cherry-pick PR #795 into 4.5 branch.

* pr/817:
  Added Unit Tests for QCOW2Utils.
  Fixed Findbugs issue introduced by 1c6378ec00 PR #795.
  Added QCOW2 virtual size checking for S3.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-18 10:15:15 +05:30
Boris Schrijver 54595d11d4 Added Unit Tests for QCOW2Utils. 2015-09-16 16:10:44 +02:00
Rohit Yadav 11abfb8766 tools/appliance: update Debian 7 iso URLs based on 615261
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-16 12:56:25 +05:30
Suresh Kumar Anaparti 52e23996b8 CLOUDSTACK-8820: Updated the code for vCenter6 data center support.
(cherry picked from commit 1d73418c2c)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-16 12:52:46 +05:30
Suresh Kumar Anaparti 5f95f1688e CLOUDSTACK-8820: Showing error when try to add advance zone using VMWare ESXi 6.0 host
Summary: In vCenter 6.0, response headers need to be fetched after service login for server cookie unlike previous versions of vCenter.

(cherry picked from commit 4a6e2cdeee)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-16 12:52:18 +05:30
Rohit Yadav 17166eb631 schema: add 4.5.2 to 4.5.3 upgrade path stubs
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-15 09:57:48 +05:30
Rohit Yadav 284ce1fb88 engine/schema: add 4.5.2 to 4.5.3 upgrade path
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-15 09:57:12 +05:30
Boris Schrijver dc670d55bf Fixed Findbugs issue introduced by 1c6378ec00 PR #795. 2015-09-14 13:16:42 +02:00
Boris Schrijver a54dffc570 Added QCOW2 virtual size checking for S3.
- Cleaned up S3TemplateDownloader
- Created static QCOW2 utils class.
- Reformatted some parts of DownloadManagerImpl
2015-09-14 13:15:52 +02:00
Rohit Yadav af38c492d8 debian: add 4.5.3-snapshot to changelog
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-14 10:01:58 +05:30
Rohit Yadav a4f552d46d cloudstack: set next version to 4.5.3-SNAPSHOT
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-14 09:59:40 +05:30
Rohit Yadav d58dfbf21b Merge pull request #814 from wido/CLOUDSTACK-8443
CLOUDSTACK-8443: Support CentOS 7 for 4.5This is based on two PRs:
- 731
- 757

This commit is based on the 4.5 branch for a future 4.5 release.

* pr/814:
  CLOUDSTACK-8443: Support CentOS 7 for 4.5

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-14 09:52:06 +05:30
Wido den Hollander 2b8fd2469f CLOUDSTACK-8443: Support CentOS 7 for 4.5
This is based on two PRs:
- 731
- 757

This commit is based on the 4.5 branch for a future 4.5 release.
2015-09-13 15:30:20 +02:00
Rene Moser 15ef2b114c config: doc: add default value 10 in description for vm.network.nic.max.secondary.ipaddresses
value hardcoded by commit 4925b9f6a1

(cherry picked from commit 0b956bbc1f)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-08 16:56:15 +05:30
Rohit Yadav 047d759a73 Merge pull request #754 from shapeblue/4.5-CLOUDSTACK-8762
CLOUDSTACK-8762: Check to confirm disk activity before starting a VMImplements a VM volume/disk file activity checker that checks if QCOW2 file
has been changed before starting the VM. This is useful as a pessimistic
approach to save VMs that were running on faulty hosts that CloudStack could
try to launch on other hosts while the host was not cleanly fenced. This is
optional and available only if you enable the settings in agent.properties
file, on per-host basis.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

* pr/754:
  CLOUDSTACK-8762: Confirm disk activity before starting a VM

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-02 14:54:58 +05:30
Rohit Yadav a6c630c54b Merge pull request #771 from mike-tutkowski/4.5
Support live migration on older version of Libvirthttps://issues.apache.org/jira/browse/CLOUDSTACK-8792

A flag being passed to Libvirt assumes v1.0.0 or later.

We need to put a check in the code to pass in a different flag if the version of Libvirt is < 1.0.0.

* pr/771:
  Support live migration on older version of Libvirt

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-02 10:38:48 +05:30
Rohit Yadav 6cdde0feb4 Merge pull request #770 from milamberspace/L10N-update-4.5-20150901
Update L10N resource files on 4.5 branch with 4.5 translation strings from Transifex (20150901)

Fix an issue with the key message.admin.guide.read on pt_BR L10N in web UI at the root cause

* pr/770:
  Update L10N resource files on 4.5 branch with 4.5 translation strings from Transifex (20150901) Fix an issue with the key message.admin.guide.read on pt_BR L10N in web UI at the root cause

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-09-02 10:36:56 +05:30
Mike Tutkowski f5b5197048 Support live migration on older version of Libvirt 2015-09-01 16:00:08 -06:00
Milamber a71df257b6 Update L10N resource files on 4.5 branch with 4.5 translation strings from Transifex (20150901)
Fix an issue with the key message.admin.guide.read on pt_BR L10N in web UI at the root cause
2015-09-01 14:01:08 +01:00
Rohit Yadav 5a6928c679 Merge pull request #750 from shapeblue/4.5-CLOUDSTACK-8766
CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal iso/template listing

Due to aggregation of templates and isos on the UI/client side, it could result
that for each page we could end up having lesser templates/isos listed to have
the scroll shown that triggers infinite scrolling. The fix is to use similar
approach as in projects.js, to use the maximum pagesize of 500. In theory, there
is still a chance if there are 500 zones with the same template being listed
resulting in only one aggregated template which could cause the scroll to not
get shown; but in practice I believe this fix should work for most users.

* pr/750:
  CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal iso/template listing

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-31 14:29:25 +05:30
Rohit Yadav 711acfa93d CLOUDSTACK-8762: Confirm disk activity before starting a VM
Implements a VM volume/disk file activity checker that checks if QCOW2 file
has been changed before starting the VM. This is useful as a pessimistic
approach to save VMs that were running on faulty hosts that CloudStack could
try to launch on other hosts while the host was not cleanly fenced. This is
optional and available only if you enable the settings in agent.properties
file, on per-host basis.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-28 15:52:06 +05:30