Commit Graph

25597 Commits

Author SHA1 Message Date
Marc-Aurèle Brothier e731c70cf7 CLOUDSTACK-9544: Check access on account trying to generate user API keys
This fixes CVE-2016-6813

Signed-off-by: Marc-Aurèle Brothier <m@brothier.org>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 158497d68a)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-10-28 11:47:06 +05:30
Rohit Yadav 4a1f2059cb java: stick to java7 for building 4.5
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-08-12 16:12:21 +05:30
Rohit Yadav 2c5adb8085 CLOUDSTACK-9446: Marvin and integration-tests packages
This introduces two new cloudstack packages: marvin and integration-tests.
The two packages will make it easier for CI systems to install Marvin for a
specific cloudstack release/build and run integration tests that are specific
for that version/build.

- maven: add explicit juniper-contrail-api maven repository
- marvin: build source distribution for both install and package mvn phases

(cherry picked from commit 0d0ad8f5b4)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-08-10 17:57:57 +05:30
Rohit Yadav 6fb9271c70 server: give more memory to tests
Increases allowed max and permgen memory flags to maven-surefire plugins.
This fixes unit test failures in cloud-server.

(cherry picked from commit 54d6d11c16)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-08-10 17:51:19 +05:30
Murali Reddy 79f07db667 CLOUDSTACK-9376: Restrict listTemplates API with filter=all for root admin
Restricts use of listemplates API with templatefilter=all for root admin only.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-06-07 06:05:14 +05:30
Rohit Yadav d5b61312bf CLOUDSTACK-9348: NioConnection improvements
- Unit test to demonstrate denial of service attack
  The NioConnection uses blocking handlers for various events such as connect,
  accept, read, write. In case a client connects NioServer (used by
  agent mgr to service agents on port 8250) but fails to participate in SSL
  handshake or just sits idle, this would block the main IO/selector loop in
  NioConnection. Such a client could be either malicious or aggresive.

  This unit test demonstrates such a malicious client that can perform a
  denial-of-service attack on NioServer that blocks it to serve any other client.

- Use non-blocking SSL handshake
  - Uses non-blocking socket config in NioClient and NioServer/NioConnection
  - Scalable connectivity from agents and peer clustered-management server
  - Removes blocking ssl handshake code with a non-blocking code
  - Protects from denial-of-service issues that can degrade mgmt server responsiveness
    due to an aggressive/malicious client
  - Uses separate executor services for handling ssl handshakes

Cherry-picked and backported from 9c7518698d

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-05-23 11:49:29 +05:30
Rohit Yadav 419893a2fc CLOUDSTACK-9369: Restrict default login to ldap/native users
- Restricts default login auth handler to ldap and native-cloudstack users
- Refactors and create re-usable method to find domain by id/path

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 6a90c7cd580da1059adb190d48bf1ae26c6f058f)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-04-27 00:22:36 +05:30
Rohit Yadav b0f3bea188 vmware: improve support for disk controllers
- Improve disk chain usage while attaching, migrating disks
- Gets root disk controller based diskDeviceBusName from volume's chain info

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

This closes #1366
2016-04-06 13:06:32 +05:30
Rohit Yadav 63b8de62e0 ui: fix typo in dashboard's fetchlatest usage
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-04-04 12:53:45 +05:30
Nitin Kumar Maharana 238954cf58 CLOUDSTACK-9068: Listing Port Forwarding Rules take too much time to load
For setting the width of each data item for each row of Port Forwarding rules, it was processing all rules.

Basically for each data item, it was searching in all rules, which is un-necessary.
If there are N-Rules, It was processing N-times.

Now, it only processes one time by taking all N-rules at a time.
The previous solution was of O(NxN). Now its changed to O(N).

(cherry picked from commit 48df255f71)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-03-22 17:04:20 +01:00
Laszlo Hornyak 155ea2e7b2 CLOUDSTACK-8977: remove session creation from index.jsp
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
(cherry picked from commit 040810e67a)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-02-24 13:24:39 +01:00
Rohit Yadav 9e374c5679 Merge pull request #1131 from shapeblue/4.5-vmware-diskcontrollers
[4.5] CLOUDSTACK-4787 - vmware diskcontrollershttps://issues.apache.org/jira/browse/CLOUDSTACK-4787

Allows users to configure (root and data) disk controllers for vm and vm templates.

Select disk controller while registering VM in UI:
![screenshot from 2015-11-27 15-32-37](https://cloud.githubusercontent.com/assets/95203/11442034/aa151608-9537-11e5-9718-a48cdaf27371.png)

Verified custom disk controller on vCenter/vSphere client:
![screenshot from 2015-11-27 18-27-57](https://cloud.githubusercontent.com/assets/95203/11442041/c2b4af0c-9537-11e5-8bd8-6fe04184fa1d.png)

* pr/1131:
  CLOUDSTACK-4787: Allow users to select disk controller for VM/template
  CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-12-17 01:28:48 +05:30
Rohit Yadav 67a67ff549 Merge pull request #1170 from shapeblue/4.5-rate-limit-testfix
[4.5] rate-limit: increase JVM memory and enable fork mode for unit testsEnables forkmode for surefire plugin and increases memory opts for JVM
for rate-limit tests. This tries to fix intermittent Jenkins failures
which look like:

multipleClientsCanAccessWithoutBlocking(org.apache.cloudstack.ratelimit.ApiRateLimitTest):
unable to create new native thread

* pr/1170:
  rate-limit: increase JVM memory and enable fork mode for unit tests

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-12-07 10:43:21 +05:30
Rohit Yadav 421bc00cd6 rate-limit: increase JVM memory and enable fork mode for unit tests
Enables forkmode for surefire plugin and increases memory opts for JVM
for rate-limit tests. This tries to fix intermittent Jenkins failures
which look like:

multipleClientsCanAccessWithoutBlocking(org.apache.cloudstack.ratelimit.ApiRateLimitTest):
unable to create new native thread

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-12-04 13:50:48 +05:30
Rohit Yadav 0a8e43b502 debian: Partially pick change from #626 for getting version
- fix release version automatically updated using pom.xml
- allows building of 4.5 pkgs on Ubuntu

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-12-03 00:10:30 +05:30
Boris Schrijver d62335215b CLOUDSTACK-9039: Fix paths for logging Ubuntu Management.
(cherry picked from commit acd49d801b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-30 15:45:38 +05:30
Boris Schrijver 865dd46bbe CLOUDSTACK-9045: Corrected mount point for management server DEBIAN.
(cherry picked from commit 7bbc5338c5)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-30 15:43:49 +05:30
Rohit Yadav 75f7c4d085 CLOUDSTACK-9053 security upgrade as per COLLECTIONS-580
Picked from Daan's fix from: https://github.com/apache/cloudstack/pull/1089

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-30 15:39:24 +05:30
dsclose 296a5d7752 CLOUDSTACK-9058
Respond with "saved_password" if no password is to be issued.
(cherry picked from commit 8a7deefe64)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-30 15:37:42 +05:30
Boris Schrijver e1ef2e9ac0 CLOUDSTACK-9078: Gave scripts executable permissions.
(cherry picked from commit e2fc270480)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	python/lib/cloudutils/serviceConfigServer.py
2015-11-30 15:35:56 +05:30
Rohit Yadav 3f2e259e16 Merge pull request #1120 from shapeblue/4.5-cloudstack-9083
[4.5] CLOUDSTACK-9083: Add disk serial to kvm virt xmlAdds disk serial ids based on volume uuids to the virt xml. This may be useful
for appliances/software that needs some serial ids on the VM disks. This does not
impact existing/running VMs, the vm virt xmls will be updates for running VMs
the next time they are stopped/started.

For testing, disk serial (of debian based systemvm) in the virt xml matched that
in /sys/devices/pci0000:00:0000:00:07.0/virtio4/block/vda/serial.

We currently don't support scsi-blcok devices for which serial is not supported,
for this we've added a DeviceType (LUN) which may be used in future and a check
to not add the serial to the xml if disk type is LUN.
Refer: https://libvirt.org/formatdomain.html#elementsDisks

JIRA: https://issues.apache.org/jira/browse/CLOUDSTACK-9083

* pr/1120:
  CLOUDSTACK-9083: Add disk serial to kvm virt xml

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-30 15:11:31 +05:30
Rohit Yadav abb7e3fba3 Merge pull request #1117 from shapeblue/4.5-9064
CLOUDSTACK-9064: The users should be able to create multiple Guest Sh https://issues.apache.org/jira/browse/CLOUDSTACK-9064

    CLOUDSTACK-9064: The users should be able to create multiple Guest Shared Networks in same Vlan ID, same Physical Network and same network, just with a different IP ranges.

* pr/1117:
  CLOUDSTACK-9064: The users should be able to create multiple Guest Shared Networks in same Vlan ID, same Physical Network and same network, just with a different IP ranges.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-30 10:07:45 +05:30
Rohit Yadav c7d67628b3 CLOUDSTACK-4787: Allow users to select disk controller for VM/template
- Adds new controller types in the UI, for selecting root disk controller while
  registering templates
- Fixes bug to not override disk controller type if provided in the details (either
  vm details or from template details)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-27 18:30:00 +05:30
Sateesh Chodapuneedi 4a48427ea4 CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere
commit #7
    So far only 1 controller (scsi or ide) is supported in Cloudstack for ide or
    scsi, this is existing limitation. Added support for 2nd IDE controller. Support adding IDE
    virtual disk to VM. Also added check if VM is running as IDE virtual disk cannot be attached
    to VM if VM is runnning.If user detaches a virtual disk on lower unit number of controller,
    then subsequent attach operation should find free unit number on the controller and attach
    the virtual disk there.

    commit #6
    Let the controllers of existing VMs continue without flip, current busInfo retrieved from
    chain_info field of volume record from database would be preferred over
    controller settings from all configuration settings.

    commit #5
    Editing global configuration param vmware.root.disk.controller osdefault value results
    in loss of previous root disk controller type. Hence root disk's controller type for legacy
    VMs is unknow post that modificaiton by user. If VM is stop/start then we could get this
    infromation from bus info of existing volume. But if user resets VM and then try to start VM.
    The existing bus info would be lost. Hence existing disk info is not available to depend on.
    Using lsilogic or generic scsi controller for ROOT disk of legacy VMs if reset.

    commit #4
    Avoid adding additional (>1) scsi controllers to system vms. While attaching volume to legacy VM
    don't use osdefault optoin which applicable only for VM created with the option enabled, use
    legacy data disk controller type (lsilogic)

    commit #3
    If root disk's controller type is scsi and data disk controller type condenses
    to any of scsi sub-types then data disk controller type would fall back to root disk controller itself. This
    ensures data volumes would be accessible in all cases as controller of root volume would be reliable
    and it means VM has the supported controller. It also avoids mix of scsi controller sub-types in a user instance.
    Also translating disk controller type scsi to lsilogic.

    commit #2
    Support auto detection of recommended virtual disk controller type for specific guest OS.

    commit #1
    Support granual controller types. Add support for controller types in template registration as well.

    Fix white spaces.
    Removed stale HEAD merge lines
    Removed tail of merge lines
    Fixed VmwareResource, removing storage commands that moved to VmwareStorageProcessor.
    removed stale code of controller that is present in processor
    Fixed check style errors.
    Fixed injection.
    Tested with Linux and windows templates. Unable to run iso based tests due to few bugs in register iso area.

    Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>

(cherry picked from commit a4cc987a6f)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-26 15:40:05 +05:30
Rohit Yadav cbb9c4acdf CLOUDSTACK-9083: Add disk serial to kvm virt xml
Adds disk serial ids based on volume uuids to the virt xml. This may be useful
for appliances/software that needs some serial ids on the VM disks. This does not
impact existing/running VMs, the vm virt xmls will be updates for running VMs
the next time they are stopped/started.

For testing, disk serial (of debian based systemvm) in the virt xml matched that
in /sys/devices/pci0000:00:0000:00:07.0/virtio4/block/vda/serial.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-25 14:46:49 +05:30
Rohit Yadav 0da2736fbf ui: fix instances null check regression from 2f250e2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-25 14:12:53 +05:30
Abhinandan Prateek 2e6c7ce4c8 CLOUDSTACK-9064: The users should be able to create multiple Guest Shared Networks in same Vlan ID, same Physical Network and same network, just with a different IP ranges. 2015-11-25 10:29:21 +05:30
nnesic e65446cb94 CLOUDSTACK-9052 Shuffling the password to avoid having a subset of characters in fixed positions.
(cherry picked from commit 52ccfaac0c)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-23 11:50:26 +05:30
Rohit Yadav fd44bc5f3d Merge pull request #1045 from resmo/CLOUDSTACK-9042-4.5
[4.5] CLOUDSTACK-9042: VR: DHCP: fix missing DHCP host entiesin /etc/dhcpentries.txt we had:

02:00:1e:07:01:53,set:10_102_92_5,10.102.92.5,songlog-1,infinite
02:00:0b:a2:00:3d,set:10_102_92_234,10.102.92.234,log-1,infinite

This sed matched unexpectetly "songlog-1" as well when "log-1" was processed, resulting
missing dhcp entry for songlog-1.

Also fixed other potenials problems relating to sed matching.

* pr/1045:
  CLOUDSTACK-9042: VR: DHCP: fix missing DHCP host enties

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-23 11:47:33 +05:30
Rohit Yadav e41850c2d7 Merge pull request #1099 from milamberspace/L10N-L10N-update-4.5-20151120
Update 4.5 branch with L10N resources files from Transifex 20151120
Open PR before the 4.5.3 release to update the L10N resources files from Transifex to the 4.5 branch.

Merge this PR just before the start of the release process.

cc @bhaisaab

* pr/1099:
  Update 4.5 branch with L10N resources files from Transifex 20151120

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-23 11:46:32 +05:30
Rohit Yadav 8259c9ba3c ui: remove viewMetrics from instances/storage/system
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-23 11:45:58 +05:30
Milamber 85bffef617 Update 4.5 branch with L10N resources files from Transifex 20151120 2015-11-21 11:49:52 +00:00
Rohit Yadav ea5aecbe07 ui: Remove Metrics UI feature
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-20 14:02:00 +05:30
Rohit Yadav 2f250e269b Merge pull request #1091 from shapeblue/metrics-4.5
[4.5] Metrics viewFrom #1038, for 4.5 branch

* pr/1091:
  CLOUDSTACK-9020: Metrics UI fixes
  CLOUDSTACK-9020: Increase UI container width by 200px
  CLOUDSTACK-9020: add ipaddress in instances view
  CLOUDSTACK-9020: add instances count in host view, ip address in instances view
  CLOUDSTACK-9020: Metrics views for CloudStack UI

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-20 11:47:13 +05:30
Rohit Yadav ebee0f0c9d CLOUDSTACK-9020: Metrics UI fixes
- Allow all users to see resource metrics
- Fix instance count issue on host metrics view
- Fix sorting issue

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 53084c4c8a87ccbdb1a7017e0a4cc66dbc386220)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-08 20:57:13 +05:30
Rohit Yadav 0d73788464 CLOUDSTACK-9020: Increase UI container width by 200px
Based on suggestion from Lucian (Nux), this patch increases the UI's container
width by 200px as most modern resolutions on desktop/laptops/workstations are
at least 1400px wide. By increasing the width and adjusting css properties
throughout the UI, we get more space to show information. This also gets
rid of horizontal scrollbar in case of metrics views. This also, fixes the UI
logos to include our mascot 'cloudmonkey'.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit f7b64726d9ad4ac53c19fb47378068433cf86ae3)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-07 16:54:31 +05:30
Rohit Yadav 1391f476f1 CLOUDSTACK-9020: add ipaddress in instances view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit edc74aebbffc3f8fb4853de3cf6740eee83c78fd)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-07 16:54:13 +05:30
Rohit Yadav 14940a3c9a CLOUDSTACK-9020: add instances count in host view, ip address in instances view
Add minor features based on community discussions

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit b4d1fed849aa7873af870b7e583ac91dd1ca4cc6)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-07 16:54:01 +05:30
Rene Moser e7291fd600 CLOUDSTACK-9042: VR: DHCP: fix missing DHCP host enties
in /etc/dhcpentries.txt we had:

02:00:1e:07:01:53,set:10_102_92_5,10.102.92.5,songlog-1,infinite
02:00:0b:a2:00:3d,set:10_102_92_234,10.102.92.234,log-1,infinite

This sed matched unexpectetly "songlog-1" as well when "log-1" was processed, resulting
missing dhcp entry for songlog-1.

Also fixed other potenials problems relating to sed matching.
2015-11-07 11:31:14 +01:00
Rohit Yadav d34da5aa8f CLOUDSTACK-9020: Metrics views for CloudStack UI
Implements following:
- A metrics table widget that is:
  - vertically and horizontally scrollable with pagination/infinite scrolling
  - sortable columns (client side)
  - groupable/collapsible columns
  - alternate row coloring
  - refresh button to refresh views
  - threshold table cell coloring
  - panel/breadcrumb navigation
  - quick view action column
  - translatable labels
- Sortable column for all CloudStack tables (client side)
- Configurable UI pagesize for list API calls, 'default.ui.page.size'
- Metrics views: Zones, Clusters, Hosts, Instances, Storage pools, Volumes
- Resource filtering/navigation: Zones->Clusters->Hosts->Instances->Volumes, Storage Pool->Volumes

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-06 11:06:02 +05:30
ramamurtis efe93d7487 CLOUDSTACK-9006 - ListTemplates API returns result in inconsistent order when called concurrently
Adding filter test to verify addOrderBy method.

(cherry picked from commit 9d1a469ae5)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-04 16:22:41 +05:30
ramamurtis 4e6ff4b3c3 CLOUDSTACK-9006 - ListTemplates API returns result in inconsistent order when called concurrently
(cherry picked from commit c90723f491)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-04 16:22:31 +05:30
Rohit Yadav 7aeff217a3 Merge pull request #1025 from shapeblue/CLOUDSTACK-9019-4.5
[4.5] CLOUDSTACK-9019: Add storage network offering in ssvm only if storage network is defined

During creation of SSVM, checks and adds NetworkOffering.SystemStorageNetwork to
offerings only if storage network exists for the target datacenter

(Manually tested)

* pr/1025:
  CLOUDSTACK-9019: Add storage network offering in ssvm only if storage network is defined

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-04 10:46:59 +05:30
Rohit Yadav 619f0eb276 CLOUDSTACK-9019: Add storage network offering in ssvm only if storage network is defined
During creation of SSVM, checks and adds NetworkOffering.SystemStorageNetwork to
offerings only if storage network exists for the target datacenter

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-03 13:51:21 +05:30
Nitin Kumar Maharana 76554e6f5e CLOUDSTACK-8913: Search box in Templates tab out of alignment
Increased the margin and padding to accomodate all the boxes inside toolbar.

(cherry picked from commit febaeb2a15)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-03 09:29:27 +05:30
Rohit Yadav ef90fec5ea Merge pull request #993 from shapeblue/4.5-logrotate-kvm-agent-erroutlogs
[4.5] CLOUDSTACK-9000: logrotate cloudstack-agent out and err logsAdds logrotate rules for cloudstack-agent.{err,out} log files

cc @remibergsma @wido @wilderrodrigues and others

* pr/993:
  CLOUDSTACK-9000: logrotate cloudstack-agent out and err logs

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-30 16:10:34 +05:30
Rohit Yadav ba9a600410 CLOUDSTACK-9000: logrotate cloudstack-agent out and err logs
Adds logrotate rules for cloudstack-agent.{err,out} log files

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-29 11:14:04 +05:30
Rohit Yadav bacf971220 CLOUDSTACK-9000: logrotate cloudstack-agent out and err logs
Adds logrotate rules for cloudstack-agent.{err,out} log files

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-28 11:14:49 +05:30
Rohit Yadav 59f337da56 Merge pull request #922 from resmo/fix/4.5-8848
[4.5] CLOUDSTACK-8848: ensure power state is up to date for missing PowerState handling1:1 cherry-picks, see #909

* pr/922:
  CLOUDSTACK-8848: added null pointer guard to new public method
  CLOUDSTACK-8848: ensure power state is up to date when handling missing VMs in powerReport

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-13 15:06:25 +05:30
Daan Hoogland 8cd8b6c83c CLOUDSTACK-8848: added null pointer guard to new public method 2015-10-12 13:03:02 +02:00