[nailgun] feature groups are not enabled after restarting nailgun

Bug #1526448 reported by Dmitriy Kruglov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Fuel Documentation Team

Bug Description

Restarting nailgun container doesn't result in enabling feature groups (as it used to) as defined in /etc/fuel/version.yaml file. As a result such 'advanced' feature as reduced footprint is simply not available.

Scenario:
1. Request fuel version info - no feature groups are enabled
[root@nailgun ~]# fuel fuel-version
api: '1'
auth_required: true
feature_groups: []
openstack_version: 2015.1.0-8.0
release: '8.0'

2. Add feature groups to the /etc/fuel/version.yaml file
[root@nailgun ~]# cat /etc/fuel/version.yaml | grep -A3 feature_groups
  feature_groups:
    - advanced
    - mirantis
  production: "docker"

3. Restart the nailgun container
[root@nailgun ~]# dockerctl shell nailgun systemctl restart nailgun && echo "OK" || echo "FAIL"
OK

Expected result: the added feature group(s) are enabled
Actual result: the added feature groups are not enabled
[root@nailgun ~]# fuel fuel-version
api: '1'
auth_required: true
feature_groups: []
openstack_version: 2015.1.0-8.0
release: '8.0'

Reproduced on 8.0, build 288.

Tags: area-python
Changed in fuel:
assignee: Bartosz Kupidura (zynzel) → Fuel Python Team (fuel-python)
Ilya Kutukov (ikutukov)
Changed in fuel:
status: New → Confirmed
tags: added: area-python
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

Once the master node is deployed feature_groups can be configured in /etc/nailgun/settings.yaml. Version.yaml is under deprecation and nearly removed. When the master node first deployed a user can configure feature_groups via deployment user dialog (fuelmenu).

Changed in fuel:
status: Confirmed → Invalid
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

Guys, the file '/etc/fuel/version.yaml' is deprecated in 8.0, currently it's possible to enable feature groups using Fuel menu during master node installation. If you want to enable feature groups after setup, you can also use fuelmenu or just edit '/etc/fuel/astute.yaml' file ('FEATURE_GROUPS' list) and restart nailgun container (not the only service, but the whole container):

1) run `fuelmenu` change feature groups and save OR `vim /etc/fuel/astute.yaml`
2) restart container `dockerctl restart nailgun`

Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

Actually, I think we need to update our documentation, because it still refers to '/etc/fuel/version.yaml':

https://docs.mirantis.com/openstack/fuel/fuel-master/operations.html#enable-experimental-features

So I'm re-opening this bug and assigning it to the docs team.

Changed in fuel:
status: Invalid → Confirmed
importance: High → Medium
assignee: Fuel Python Team (fuel-python) → Fuel Documentation Team (fuel-docs)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

Changed in fuel:
assignee: Fuel Documentation Team (fuel-docs) → Dmitriy Kruglov (dkruglov)
status: Confirmed → In Progress
Changed in fuel:
status: In Progress → Confirmed
assignee: Dmitriy Kruglov (dkruglov) → Fuel Documentation Team (fuel-docs)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/258929
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=60a735490214a9aeaa8f171a79b406622f39be0c
Submitter: Jenkins
Branch: master

commit 60a735490214a9aeaa8f171a79b406622f39be0c
Author: Dmitriy Kruglov <email address hidden>
Date: Thu Dec 17 10:21:10 2015 +0000

    Update the method feature groups are enabled on deployed Master node

    Starting from 8.0 the /etc/fuel/version.yaml file is deprecated, so
    the method feature groups (advanced, experimental, etc.) are enabled
    should be changed in system tests.
    Now the groups are enabled via /etc/fuel/astute.yaml file.

    Change-Id: I94708ed402c56acd68bfcf23a6a5fe27ebb08a8a
    Partial-bug: #1526448

Dmitry Pyzhov (dpyzhov)
tags: removed: swarm-fail-driver
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

This isn't a documentation bug. It's related to order of puppet and nailgun services. It's already fixed for 8.0 here: https://bugs.launchpad.net/fuel/+bug/1526874

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.