Wrong value of free space after set default node volume

Bug #1553157 reported by Oleksandr Minakov
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Sustaining
Mitaka
Invalid
Medium
Fuel Sustaining

Bug Description

Steps to reproduce:
1) Create cluster
2) Add one node to the cluster
3) Check volumes in postgresql
    $su postgres
    $psql nailgun
    #select * from volume_manager_node_volumes;

We should see 0 in "free_space" after set default node volumes

Expected: "free_space": 0

Actual: "free_space": 50572 (equal to all disk space without boot volume and lvm_meta).

And if we will do some changes in disc configuration in Fuel UI and than push apply free_space will be recalculated to right value.

{
    "release": "9.0",
    "auth_required": true,
    "api": "1",
    "openstack_version": "liberty-9.0",
    "feature_groups": []
}

Revision history for this message
Oleksandr Minakov (oleksandr-minakov) wrote :
Revision history for this message
Oleksandr Minakov (oleksandr-minakov) wrote :
Revision history for this message
Oleksandr Minakov (oleksandr-minakov) wrote :
Revision history for this message
Oleksandr Minakov (oleksandr-minakov) wrote :
Changed in fuel:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → Fuel Python Team (fuel-python)
milestone: none → 9.0
tags: added: area-python
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/292415

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Oleksandr Minakov (oleksandr-minakov)
status: Confirmed → In Progress
Dmitry Pyzhov (dpyzhov)
tags: added: module-volumes
Dmitry Pyzhov (dpyzhov)
tags: added: 9-1-scope
Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/newton
tags: removed: 9-1-scope
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Roman Prykhodchenko (romcheg) → Fuel Sustaining (fuel-sustaining-team)
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

Oleksandr, could you please elaborate which particular functionality is broken? Volume allocation happens when we do actual deployment. Before that it is ok to have free space set to almost all space - we have not allocated anything yet.

Changed in fuel:
status: In Progress → Incomplete
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

Marking as Invalid, because of no update for more than a month.

Changed in fuel:
status: Incomplete → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: master
Review: https://review.opendev.org/292415
Reason: This repo is retired now, no further work will get merged.

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

Other bug subscribers

Related blueprints

Remote bug watches

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