Fuel 6.1 reports version as string

Bug #1416338 reported by Alexander Evseev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Undecided
Fuel Python (Deprecated)

Bug Description

# fuel --fuel-version
api: '1.0'
astute_sha: ed5270bf9c6c1234797e00bd7d4dd3213253a413
auth_required: true
build_id: 2015-01-28_22-55-01
build_number: '84'
feature_groups:
- mirantis
fuellib_sha: b2fbaa9ffb74fafe1f5c2c480944a78424e1ae28
fuelmain_sha: ''
nailgun_sha: 92a85025f0ef9b3c5b42a1ba172573aa0ac54e33
ostf_sha: c9100263140008abfcc2704732e98fbdfd644068
production: docker
python-fuelclient_sha: cb8928ce34f5ca88c0d6cecc6331488db75362ac
release: '6.1'
release_versions:
  2014.2-6.1:
    VERSION:
      api: '1.0'
      astute_sha: ed5270bf9c6c1234797e00bd7d4dd3213253a413
      build_id: 2015-01-28_22-55-01
      build_number: '84'
      feature_groups:
      - mirantis
      fuellib_sha: b2fbaa9ffb74fafe1f5c2c480944a78424e1ae28
      fuelmain_sha: ''
      nailgun_sha: 92a85025f0ef9b3c5b42a1ba172573aa0ac54e33
      ostf_sha: c9100263140008abfcc2704732e98fbdfd644068
      production: docker
      python-fuelclient_sha: cb8928ce34f5ca88c0d6cecc6331488db75362ac
      release: '6.1'

Fuel report his version as string in quotes, and such behavior may break automation scripts.

Also Nailgun API reports ugly build name:

{
    "changes": [],
    "fuel_version": "6.1",
    "grouping": "roles",
    "id": 1,
    "is_customized": false,
    "mode": "ha_compact",
    "name": "Build-'6.1'-84",
    "net_provider": "neutron",
    "pending_release_id": null,
    "release_id": 1,
    "status": "operational"
}

Note "Build-'6.1'-84"

Tags: scale
Stanislav Makar (smakar)
Changed in fuel:
milestone: none → 6.1
assignee: nobody → Fuel Python Team (fuel-python)
status: New → Triaged
Dina Belova (dbelova)
Changed in fuel:
status: Triaged → Confirmed
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Fuel version IS a string. For example, '6.0.1' or '6.1-tp'. Please YAML parsers instead of regexp.

I agree that build name does not look well. Moving bug to the devops team to fix it.

Revision history for this message
Evgeniy L (rustyrobot) wrote :

The version should not be a float or integer, also could you please clarify what problems with automation do you have?

Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Wait a moment? What do you mean as a 'build_name'? Looks like it is a cluster name and it was provided on deployment time.

Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
Alexander Evseev (aevseev) wrote :

Yes, you are right. Will fix own scripts.

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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