Not properly work setting of interfaces using interfaces.yaml

Bug #1530334 reported by Alexander Zatserklyany
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
Maciej Relewicz

Bug Description

Settings of ofloading types in interfaces.yaml do not set interfeces properly on compute and cinder

Steps to reproduce
-----------------------------
1. Create cluster: controller, compute, cinder
2. Download network configuration
[root@nailgun ~]# for i in {1..3}; do fuel node --node $i --network -d; done

3. Set state 'false' for types generic-receive-offload, generic-segmentation-offload, tcp-segmentation-offload for each node as shown:
  - name: generic-receive-offload
    state: false
  - name: generic-segmentation-offload
    state: false
  - name: tcp-segmentation-offload
    state: false

4. Upload network configuration
[root@nailgun ~]# for i in {1..3}; do fuel node --node $i --network -u; done

5. Deploy cluster
[root@nailgun ~]# fuel node
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---|--------|---------------------|---------|------------|-------------------|------------|---------------|--------|---------
2 | ready | slave-01_controller | 1 | 10.109.0.6 | 64:0e:2e:cf:85:3a | controller | | True | 1
1 | ready | slave-02_compute | 1 | 10.109.0.4 | 64:f4:f3:b3:f7:08 | compute | | True | 1
3 | ready | slave-03_cinder | 1 | 10.109.0.7 | 64:59:0c:40:ce:bf | cinder | | True | 1

6. Check offload settings
[root@nailgun ~]# for i in {1..3}; do echo node-$i enp0s4; ssh node-$i ethtool -k enp0s4 | grep -E 'generic-receive-offload|generic-segmentation-offload|tcp-segmentation-offload'; done

Expected results:

All nodes:
tcp-segmentation-offload: off
generic-segmentation-offload: off
generic-receive-offload: off

Actual results:

node-1 enp0s4
tcp-segmentation-offload: on
generic-segmentation-offload: on
generic-receive-offload: on
node-2 enp0s4
tcp-segmentation-offload: off
generic-segmentation-offload: off
generic-receive-offload: off
node-3 enp0s4
tcp-segmentation-offload: on
generic-segmentation-offload: on
generic-receive-offload: on

Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
tags: added: area-library
Changed in fuel:
status: New → Confirmed
Changed in fuel:
milestone: none → 8.0
Revision history for this message
Alexander Zatserklyany (zatserklyany) wrote :

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "372"

Maciej Relewicz (rlu)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Maciej Relewicz (rlu)
Maciej Relewicz (rlu)
Changed in fuel:
status: Confirmed → In Progress
Maciej Relewicz (rlu)
Changed in fuel:
status: In Progress → Incomplete
tags: added: team-bugfix
Maciej Relewicz (rlu)
Changed in fuel:
status: Incomplete → Won't Fix
Revision history for this message
Sergey Shevorakov (sshevorakov) wrote :

Hi Maciej,

could you please clarify why exactly "Won't Fix" status was set?

Revision history for this message
Maciej Relewicz (rlu) wrote :

Offload parameters are set only on interfaces used by fuel.

Problematic interface (enp0s4) is public interface, which is not used on compute nodes (when Assign public network to all nodes are not marked). On controllers that interface is used, so offload are changed, as reporter expect.

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.