[nailgun-agent] Platform bus ethernet devices can't be described by lspci

Bug #1604368 reported by Alexandru Avadanii
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Low
MOS Linux
Mitaka
Confirmed
Low
MOS Linux

Bug Description

This was observed on AArch64 hardware, where ethernet devices may be located on the platform bus (see [1], [2]), and not on standard PCI tree, like nailgun-agent expects them.

Steps to reproduce:
1. Deploy Fuel, bootstrap nodes with platform bus ethernet (e.g. APM Mustang)
2. Analyze nailgun-agent logs

Expected results:
Slot information is correctly extracted by nailgun-agent from lspci output, using a call like `lspci -vvv -s SLOT_NO`.

Actual results:
Slot information cannot be found, since the detected SLOT_NO is invalid in lspci context:

e.g. for APM boards:
- SLOT_NO is "17020000.ethernet"
- nailgun-agent logs: "W, [2016-07-12T19:33:24.589605 #27313] WARN -- : Can't get data from lspci. Reason: lspci exited with status 1"
- lspci raw output:

root@node-1:~# lspci -vvv -s 17020000.ethernet
lspci: -s: Invalid slot number

Description of the environment:
 Operation system: Ubuntu Trusty 14.04 (arm64)
 Versions of components: stable/mitaka
 Related projects installed: Fuel@OPNFV

[1] https://www.kernel.org/doc/Documentation/driver-model/platform.txt
[2] http://electronics.stackexchange.com/questions/110713/what-is-platform-bus-in-embedded-systems

Tags: area-python
tags: added: area-python
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

mos-linux team, could you suggest a solution for this hardware?

no longer affects: fuel/newton
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → MOS Linux (mos-linux)
Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :

We can investigate this, but since we're not supporting arm64 moving the bug to 'low' priority.

Changed in fuel:
importance: High → Low
Revision history for this message
Albert Syriy (asyriy) wrote :

Move forward due to low priority

qw6012827 (296603528-c)
Changed in fuel:
status: Confirmed → Fix Released
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.