cloudstack-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15772724#comment-15772724
] 

ASF subversion and git services commented on CLOUDSTACK-9597:
-------------------------------------------------------------

Commit 20986ba51215b75c67b0c4035d55a27c3de313d1 in cloudstack's branch refs/heads/master from
[~rohit.yadav@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;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
issue.
  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
vSwitches
  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 0.0.0.0 IP address

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


> Incorrect updateResourceCount()
> -------------------------------
>
>                 Key: CLOUDSTACK-9597
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9597
>             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
(v6.3.4#6332)

Mime
View raw message