Fuel UI show a zero HDD size in Environment Capacity

Bug #1556909 reported by Alexey Galkin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Julia Aranovich
Mitaka
Fix Released
High
Julia Aranovich
Newton
Fix Committed
High
Julia Aranovich

Bug Description

Detailed bug description:
 Fuel UI displays an incorrect size of hard drives (0 bytes).

Steps to reproduce:
 1. Create new env.
 2. Add nodes into env.
 3. Look at env dashboard.

Expected results:
Capacity
 CPU (Cores) 2 (4) | RAM8.0 GB | HDD 2 TB
Node Statistics
 Total Nodes 4
 Controller 2
 Compute 2

Actual result:
Capacity
 CPU (Cores) 2 (4) | RAM8.0 GB | HDD 0 bytes
Node Statistics
 Total Nodes 4
 Controller 2
 Compute 2

Reproducibility:
 For all types of enviroments.

Workaround:
  -

Impact:
 Сustomer need to see the correct information of HDD size.

Description of the environment:
 Output of host:8000/api/version/: http://paste.openstack.org/show/490382/
 Output of shotgun2: http://paste.openstack.org/show/490381/
 Operating System: http://paste.openstack.org/show/490384/
 Reference architecture: HA
 Network model: Neutron+VLAN
 Related projects installed: Any

Alexey Galkin (agalkin)
description: updated
Revision history for this message
Julia Aranovich (jkirnosova) wrote :

Alexey, it was discussed here https://bugs.launchpad.net/fuel/+bug/1375750 that HDD cluster capacity is sum of storage nodes' HDD. In your case there are no storage nodes in the environment, so HDD cluster capacity value is equal to 0.

Please, make this ticket 'New' again, if you do not agree with this idea of cluster capacity calculation.

Changed in fuel:
status: New → Incomplete
assignee: nobody → Alexey Galkin (agalkin)
tags: added: area-ui
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

I saw the issue on MOS 9.0, moved to Confirmed state.

Changed in fuel:
assignee: Alexey Galkin (agalkin) → Fuel UI Team (fuel-ui)
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :
Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

Timur, what number do you expect to see here? Your cluster doesn't have any Storage nodes

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

I'm going to deploy my own environment to investigate all possible options and cases for deployments and how UI works for all of them. Right now we have configurations where it works fine and we also have configurations where it doesn't work and we need to understand the problem area.

Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

Timur, most likely it's consequence of implementing blueprint redesign-of-node-roles-panel, but that's expected behaviour. Take a look at the spec: https://review.openstack.org/#/c/271950/7/specs/9.0/redesign-of-node-roles-panel.rst

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Hi team,

it looks like we still have issues with HDD field.

Steps To Reproduce:
1. Create new environment in MOS 9.0
2. Add 3 controller nodes. Verify that HDD size is "0 bytes" in Fuel UI > env details.
3. Add 2 compute nodes to the environment. Verify that HDD size is "0 bytes" in Fuel UI > env details.
4. Add role Cinder to the compute nodes. Check the size of HDD for the cluster. It is equal to 384 Gb on my environment, 2 compute+cinder nodes have 192Gb+192Gb in total, 384 Gb is the full sum of HDD space of compute + storage nodes (it is actually not true)
5. Update the default configuration for disks partitioning for Cinder nodes. Allocate 40 Gb on each node for Cinder LVM. Check information about HDD size for the environment. It is still unchanged, 384 Gb total. In fact, changes in disks partitioning don't affect the size of HDD for the environment.

Observed Result:
HDD size for the cluster depends only on roles and doesn't depend on size of the real partitions which allocated for storage.

summary: - Fuel UI show a zero HDD size in Enviroment Capacity.
+ Fuel UI show a zero HDD size in Environment Capacity
Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

I agree only partitions used for storage should be counted. It seems to be an issue in feature design - probably we need a separate blueprint to address it as it requires backend changes - UI doesn't have access to partition descriptions and capacity calculation becomes too complex for UI.

Changed in fuel:
status: Incomplete → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-ui (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-ui (master)

Reviewed: https://review.openstack.org/308846
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=95fec6d9c6f5c090f9325adc00e019f9f56e154c
Submitter: Jenkins
Branch: master

commit 95fec6d9c6f5c090f9325adc00e019f9f56e154c
Author: Julia Aranovich <email address hidden>
Date: Thu Apr 21 11:59:06 2016 +0300

    Revert "Cluster capacity calculation fix"

    Cluster capacity calculation take into account hardware parameters
    of all the cluster nodes despite on their roles.

    This reverts commit I0a44cbfa60625ad06c879cf1aac01317b073b802

    Related-Bug: #1556909

    Change-Id: I183c15cb22e6ccbfa7209053c64ae72db7b1a160

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-ui (stable/mitaka)

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/308904

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-ui (stable/mitaka)

Reviewed: https://review.openstack.org/308904
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=8cff5212d5de5ffabd431c4a5b52c51a20dc942e
Submitter: Jenkins
Branch: stable/mitaka

commit 8cff5212d5de5ffabd431c4a5b52c51a20dc942e
Author: Julia Aranovich <email address hidden>
Date: Thu Apr 21 11:59:06 2016 +0300

    Revert "Cluster capacity calculation fix"

    Cluster capacity calculation take into account hardware parameters
    of all the cluster nodes despite on their roles.

    This reverts commit I0a44cbfa60625ad06c879cf1aac01317b073b802

    Related-Bug: #1556909

    Change-Id: I183c15cb22e6ccbfa7209053c64ae72db7b1a160

tags: added: in-stable-mitaka
Revision history for this message
Maksym Strukov (unbelll) wrote :

Verified as fixed in 9.0-376

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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