If there are more than 3 values of nodes_manufacturers, nodes_platform_name_gt3 field stay False

Bug #1419796 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexander Kislitsky

Bug Description

I downloaded a CSV report from https://product-stats.mirantis.com/api/v1/csv/clusters

In many cases if there are more than 3 values of nodes_platform_name, nodes_platform_name_gt3 field stay 'False'. But sometimes it is 'True'.

For example,
for master_node_id =6cfb9ece-1617-45a5-a256-cba9b259b585 nodes_platform_name_gt3 = False in CSV

but from https://product-stats.mirantis.com/fuel/structure/_search?_source_include=master_node_uid,clusters.nodes.platform_name&size=1000&q=master_node_uid:6cfb9ece-1617-45a5-a256-cba9b259b585

{"took":3,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":7.984947,"hits":[{"_index":"fuel","_type":"structure","_id":"6cfb9ece-1617-45a5-a256-cba9b259b585","_score":7.984947,"_source":{"clusters":[{"nodes":[{"platform_name":"X9DRi-LN4+/X9DR3-LN4+"},{"platform_name":"X9DRi-LN4+/X9DR3-LN4+"},{"platform_name":"X9DRW"},{"platform_name":"X9DR3-F"},{"platform_name":"H8DGU"},{"platform_name":"H8DGU"}]}],"master_node_uid":"6cfb9ece-1617-45a5-a256-cba9b259b585"}}]}}

nodes_platform_name_gt3 should be True for this master_node_id

Tags: stats
Revision history for this message
Anastasia Palkina (apalkina) wrote :
description: updated
description: updated
Changed in fuel:
assignee: Fuel Dev (fuel-dev) → Alexander Kislitsky (akislitsky)
Changed in fuel:
status: New → Confirmed
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-stats (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/164202

Revision history for this message
Alexander Kislitsky (akislitsky) wrote :

Unable to reproduce bug. Test case added in https://review.openstack.org/164202

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-stats (master)

Reviewed: https://review.openstack.org/164202
Committed: https://git.openstack.org/cgit/stackforge/fuel-stats/commit/?id=06dcf565058279299b3b62510378ed792aafe324
Submitter: Jenkins
Branch: master

commit 06dcf565058279299b3b62510378ed792aafe324
Author: Alexander Kislitsky <email address hidden>
Date: Fri Mar 13 17:39:32 2015 +0300

    Test for reproduce platform_names export bug added

    Test for nodes_platform_name_gt3 column export added.
    Test for clusters csv keys paths fixed.

    Change-Id: I11cde6aabad2585747df0c11d3847c3b60f1fbcc
    Closes-Bug: #1419796

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.