cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-9597) Incorrect updateResourceCount()
Date Fri, 23 Dec 2016 12:22:01 GMT


ASF subversion and git services commented on CLOUDSTACK-9597:

Commit 20986ba51215b75c67b0c4035d55a27c3de313d1 in cloudstack's branch refs/heads/master from
[;h=20986ba ]

Merge pull request #1854 from shapeblue/4.9-multiplex-testing

4.9 multiplex testingThis merges several PRs in this PR, this is for speeding up test efforts.

* pr/1854:
  CLOUDSTACK-9688: Fix VR smoke test failure in vpc_vpn
  CLOUDSTACK-9688: Fix failing test_volumes on centos7/kvm
  CLOUDSTACK-9676 Start instance fails after reverting to a VM snapshot, when there are child
VM snapshots
  CLOUDSTACK-9612: Fixed issue in restarting redundant network with cleanup Rvr Network with
cleanup which is updated from the isolated network is failed. Corrected the column name string
  CLOUDSTACK-9676 Start instance fails after reverting to a VM snapshot, when there are child
VM snapshots
  CLOUDSTACK-9673 Exception occured while creating the CPVM in the VmWare Setup over standard
  CLOUDSTACK-9617: Fixed enabling remote access after PF or LB  configured on vpn tcp ports
  CLOUDSTACK-9615: Fixed applying ingress rules without ports
  CLOUDSTACK-9639: Unable to create shared network with vLan isolation
  CLOUDSTACK-9597: Should not fetch resource count for removed entity
  CLOUDSTACK-9649: In the management server log there is an error  related to IP address

Signed-off-by: Rohit Yadav <>

> Incorrect updateResourceCount()
> -------------------------------
>                 Key: CLOUDSTACK-9597
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>            Reporter: Marc-Aurèle Brothier
>            Assignee: Marc-Aurèle Brothier
> h3. Currently
> On management server startup, the {{ConfigurationServerImpl}} does a check on the resource
type * resource count versus number of accounts & domains to see if all accounts and domains
have a resource count set for each resource type. The list of accounts and domains are fetched
excluding the removed ones. But the number of resourceCount by account and domain takes all
of them, leading to an incorrect math check.
> The API command {{updateResourceCount}} can crash with an incorrect SQL query.
> I discovered the problem while adding a new {{ResourceType}}.
> h3. Changes
> Fetch the number of resourceCount by domain and account excluding the removed ones.

This message was sent by Atlassian JIRA

View raw message