No possible to enable DPDK for bond via Fuel WebUI

Bug #1652076 reported by Sergey Novikov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Fedor Zhadaev
Mitaka
Fix Released
High
Fedor Zhadaev
Newton
Fix Committed
High
Fedor Zhadaev
Ocata
Fix Committed
High
Fedor Zhadaev

Bug Description

Detailed bug description:
We cannot configure dpdk for bond - checker doesn't give a chance to do that. Probably, the bug https://bugs.launchpad.net/fuel/+bug/1652068 is root cause

Steps to reproduce:
 1. Setup fuel master node
 2. Bootstrap some node
 3. Assign role "compute" to this node
 4. Choose 2 ifaces for which dpdk is available
 5. Bond them
 6. Try to enable DPDK for the bond

Description of the environment:
snapshot #662

Changed in fuel:
importance: Undecided → High
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
milestone: none → 9.2
status: New → Confirmed
tags: added: area-python
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Fedor Zhadaev (fzhadaev)
Changed in fuel:
assignee: Fedor Zhadaev (fzhadaev) → Fuel UI Team (fuel-ui)
Revision history for this message
Julia Aranovich (jkirnosova) wrote :

Looks like problem is in empty feature group list, that comes from GET /api/version.
dpdkovs bond type (that corresponds to enabled DPDK) requires 'experimental' feature group https://github.com/openstack/fuel-web/blob/stable/mitaka/nailgun/nailgun/fixtures/openstack.yaml#L437

We need to check the issue when feature_groups list is not empty and contains 'experimental'.

Changed in fuel:
status: Confirmed → Incomplete
tags: added: area-ui
Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Fuel Sustaining (fuel-sustaining-team)
Revision history for this message
Julia Aranovich (jkirnosova) wrote :

Another issue is found:

in openstack.yaml we have the following condition for dpdkovs (https://github.com/openstack/fuel-web/blob/stable/mitaka/nailgun/nailgun/fixtures/openstack.yaml#L437-L438):

"'experimental' in version:feature_groups and interface:pxe == false and nic_attributes:dpdk.enabled.value and not nic_attributes:sriov.enabled.value"

BUT we get another condition from GET /api/releases/2/networks:
"'experimental' in version:feature_groups and interface:pxe == false and interface:interface_properties.dpdk.enabled and not interface:interface_properties.sriov.enabled"

It uses invalid path "interface:interface_properties" (it should be "nic_attributes:").
Please check migrations 9.0 => 9.2.

Changed in fuel:
status: Incomplete → Confirmed
tags: removed: area-ui
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/420778

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Fedor Zhadaev (fzhadaev)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/420778
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=2c9ab75d88ff681a96a71d443dc51bba9468b57d
Submitter: Jenkins
Branch: master

commit 2c9ab75d88ff681a96a71d443dc51bba9468b57d
Author: Fedor Zhadaev <email address hidden>
Date: Mon Jan 16 18:57:20 2017 +0400

    Make migration file for 9.2 consistent with openstack.yaml

    Change-Id: Iaa93d5463952f0e4a0599fef8630ce9d47753ad6
    Closes-bug: #1653061
    Closes-bug: #1652076

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/421349

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/421349
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=d1088badd9e7245a91d5a3d141685600c7a4730f
Submitter: Jenkins
Branch: stable/mitaka

commit d1088badd9e7245a91d5a3d141685600c7a4730f
Author: Fedor Zhadaev <email address hidden>
Date: Tue Jan 17 20:18:08 2017 +0400

    Make migration file for 9.2 consistent with openstack.yaml

    Change-Id: Iaa93d5463952f0e4a0599fef8630ce9d47753ad6
    Closes-bug: #1653061
    Closes-bug: #1652076

tags: added: in-stable-mitaka
tags: added: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/422432

Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.2 snapshot #785.

tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/newton)

Reviewed: https://review.openstack.org/422432
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=7555b7a822f6906579a3e6cce19d42024782ac69
Submitter: Jenkins
Branch: stable/newton

commit 7555b7a822f6906579a3e6cce19d42024782ac69
Author: Fedor Zhadaev <email address hidden>
Date: Mon Jan 16 18:57:20 2017 +0400

    Make migration file for 9.2 consistent with openstack.yaml

    Change-Id: Iaa93d5463952f0e4a0599fef8630ce9d47753ad6
    Closes-bug: #1653061
    Closes-bug: #1652076
    (cherry picked from commit 2c9ab75)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 11.0.0.0rc1

This issue was fixed in the openstack/fuel-web 11.0.0.0rc1 release candidate.

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.