Bug 1479667 - Azure Cloud Network cfmeautopay shows higher instances number
Azure Cloud Network cfmeautopay shows higher instances number
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
Unspecified Unspecified
medium Severity medium
: GA
: 5.9.0
Assigned To: Ladislav Smola
Dave Johnson
Depends On:
  Show dependency treegraph
Reported: 2017-08-09 02:26 EDT by Patrik Holop
Modified: 2018-03-01 08:15 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2018-03-01 08:15:53 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: Bug
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Azure

Attachments (Terms of Use)

  None (edit)
Description Patrik Holop 2017-08-09 02:26:08 EDT
Description of problem:
In summary of "cfmeautopay" cloud network of azure Network Manager is the number of Relationships->Instances 10. After redirection by clicking on Relationships->Instances are shown only 9.

Version-Release number of selected component (if applicable): downstream-58z

How reproducible:

Steps to Reproduce:
1. Add Azure Cloud Network Provider
2. Navigate to Networks->Networks->cfmeautopay
3. Check the Relationships->Instances number
4. Click on Relationships->Instances 
5. Check the number of shown instances 

Actual results:
1. Numbers in step 3 and step 5 are different.
2. Numbers in step 3 is different than the number of VMs connected to 
   cfmeautopay Cloud Networks in Networks->Topology 

Expected results:
1. Numbers in step 3 and step 5 should not differ.
2. Numbers in step 3 should be equal with number of VMs connected to 
   cfmeautopay Cloud Networks in Networks->Topology   

Additional info:
 Problem may to connected to the number of ports of instances. Only one 
 instance has 2 ports instead of 1, which may cause the higher number of 
 instances in the summary
Comment 3 CFME Bot 2017-08-10 10:06:39 EDT
New commit detected on ManageIQ/manageiq/master:

commit 77a77d710e7271d92b8b865a3fcb2d46cb27ea8d
Author:     Ladislav Smola <lsmola@redhat.com>
AuthorDate: Thu Aug 10 11:20:11 2017 +0200
Commit:     Ladislav Smola <lsmola@redhat.com>
CommitDate: Thu Aug 10 11:20:11 2017 +0200

    Make networks vms relations distinct
    Make networks vms relations distinct, otherwise the Vm count
    could be shown as higher, if the the vm has multiple ports
    plugged into the same network.
    Fixes BZ:

 app/models/cloud_network.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 4 Patrik Holop 2017-09-06 07:35:47 EDT
Sorry, accidentally changed state.
Comment 5 Patrik Holop 2017-11-10 04:45:52 EST
Tested on version -> Azure. Tests passed.
Comment 9 errata-xmlrpc 2018-03-01 08:15:53 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.