Incorrect result of https://<master_ip>/api/version

Bug #1517824 reported by Anastasia Palkina on 2015-11-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Critical
Fuel Python (Deprecated)

Bug Description

1. Install ISO #180 for 8.0
2. Open https://<master_ip>/api/version
3. Result is:
{"release": "8.0", "auth_required": true, "api": "1", "openstack_version": "2015.1.0-8.0", "feature_groups": ["experimental", "advanced"]}

From /etc/fuel/version.yaml:
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  openstack_version: "2015.1.0-8.0"
  api: "1.0"
  build_number: "180"
  build_id: "180"
  fuel-nailgun_sha: "e5600e8a87745323c2a9c524b7c0647c9829ebb9"
  python-fuelclient_sha: "e685d68c1c0d0fa0491a250f07d9c3a8d0f9608c"
  fuel-agent_sha: "6faa1e0ba836ef114b3c1a6c4d12469fc66ae402"
  fuel-nailgun-agent_sha: "db1738a65012d2a1d2b7e83cc2a44a196e4290b4"
  astute_sha: "c8400f51b0b92254da206de55ef89d17fdf35393"
  fuel-library_sha: "f9281f9c3b08ed16b2fb411e30f5d48809446030"
  fuel-ostf_sha: "7e24fc802a95d2f0627512e585f8977f587aea18"
  fuel-createmirror_sha: "22a7aacd95bbdca69f9e0f08b70facabdec8fb28"
  fuelmenu_sha: "d12061b1aee82f81b3d074de74ea27a6e962a686"
  shotgun_sha: "c377d163519f6d10b69a654019d6086ba5f14edc"
  network-checker_sha: "a57e1d69acb5e765eb22cab0251c589cd76f51da"
  fuel-upgrade_sha: "1e894e26d4e1423a9b0d66abd6a79505f4175ff6"
  fuelmain_sha: "cd084cf5c4372a46184fb7c2f24568da4e030be2"

Anastasia Palkina (apalkina) wrote :
Changed in fuel:
importance: High → Critical

The reason for this is that version.yaml will be deprecated (and removed) soon. There have been merged about 10 patches that re-work all the places where this version.yaml is used. One of them is still on review. Nailgun now gets the information which is available on /api/version from a set of various places including /etc/fuel_release /etc/fuel_openstack_version /etc/nailgun/settings.yaml.

As for feature_groups, this parameter can be changed using fuelmenu. Fuelmenu puts settings into /etc/fuel/astute.yaml and when you run puppet, this parameter is put into settings.yaml. By default "experimental" and "advanced" feature groups are enabled and "mirantis" is disabled.

Changed in fuel:
status: New → Invalid
Dmitry Pyzhov (dpyzhov) on 2015-11-19
tags: added: area-python
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers