Maintenance Update does not update #fuel --version

Bug #1535831 reported by Michael Petersen
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
MOS Maintenance
7.0.x
Won't Fix
High
MOS Maintenance
8.0.x
Won't Fix
High
MOS Maintenance
Mitaka
Won't Fix
High
MOS Maintenance
Newton
Confirmed
High
MOS Maintenance

Bug Description

Fuel --version will let me know which version of Fuel I am using, however after a Maintenance Update it's not letting me know which real version I am on. The expected output would include a MU version so that I can track updates.

# fuel --version
7.0.0

Expected results would show the MU, or at least some information about the current release I'm actually on.

Revision history for this message
Javier Diaz Jr (javierdiazcharles) wrote :

I agree. As of now support engineers and customers are left to checking package versions to verify if a particular MU has been applied to an environment.

Perhaps updating the output of #fuel --version as Michael has suggested would help. Updating /etc/fuel/version.yaml as well.

Changed in fuel:
status: New → Confirmed
summary: - Maintenance Update does not update Fuel --Version
+ Maintenance Update does not update #fuel --version
Maciej Relewicz (rlu)
Changed in fuel:
importance: Undecided → High
assignee: nobody → Fuel Python Team (fuel-python)
milestone: none → 8.0
tags: added: area-python
Dmitry Pyzhov (dpyzhov)
tags: added: team-bugfix
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → MOS Maintenance (mos-maintenance)
tags: removed: team-bugfix
tags: added: team-bugfix
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Moved to 9.0 for permanent fix. We need a fix for 7.0-updates and possibly for 8.0-updates. No changes are required in 8.0 release because it is not a maintenance update.

Changed in fuel:
milestone: 8.0 → 8.0-updates
milestone: 8.0-updates → 9.0
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

let's introduce /etc/fuel_issue file that is to be provided by fuel-release package,
then we can patch fuelclient so it reads /etc/fuel_issue instead of /etc/fuel_release.
Please avoid changing the format of /etc/fuel_release since the content of this file is used in many places and I'm afraid some of these places will fail to deal with 9.0-mu-*

Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

That cannot be fixed just by introducing /etc/fuel_issue file. There going to be a feature in 10.0 to determine which MU is applied to master and slave nodes and report version accordingly. We could look at backporting this to older releases too.

I think we should leave this issue as Confirmed for now and retarget to 9.0-updates.

Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Raising to Critical for 9.1 as wrong Fuel version is major UX issue.

Revision history for this message
Anton Chevychalov (achevychalov) wrote :

There is confusion about version parameters of fuel and fuel2 cli interfaces.

fuel --version return version of that utility (it's just a command line interface to fuel)
fuel --fuel-version return release of all Fuel software.

[root@localhost fuelclient]# fuel2 --version
fuel2 9.0.0

[root@localhost fuelclient]# fuel2 --fuel-version
api: '1'
auth_required: true
feature_groups: []
openstack_version: mitaka-9.0
release: '9.0'

Revision history for this message
Anton Chevychalov (achevychalov) wrote :
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :
tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.1 snapshot #287.

tags: removed: on-verification
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Downgrading to High for 9.x, retargeting to 9.2

Roman Vyalov (r0mikiam)
Changed in fuel:
status: Confirmed → Won't Fix
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Won't Fix for 7.0/8.0, since with given nailgun architecture it is impossible to change the version in a maintenance update.

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → MOS Maintenance (mos-maintenance)
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Moving to Won't Fix for 9.2 since in 9.2 fuel --fuel-version shows correctly the nailgun's version, and the 'fuel --version' cmd shows only the version of the CLI tool, which is not a problem.

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.