[fuel-library] l23network module calculates "base" interface name from "<interface>.<vlan_id>" ignoring case
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Sergii Rizvan | ||
Mitaka |
Invalid
|
High
|
Sergii Rizvan | ||
Newton |
Invalid
|
High
|
Fuel Sustaining |
Bug Description
Engineers of our client tried to deploy Fuel 9.1 with 1 controller and 1 compute node. But netconfig.pp task has failed with this message:
2017-02-14 10:53:19 +0000 Puppet (err): Could not find dependency L23network:
/usr/lib/
/usr/lib/
So Puppet module expects an interface with name enp1p3s0f0, but it does not exist.
root@hnode1-5:~# ip link show enp1p3s0f0
Device "enp1p3s0f0" does not exist.
Actually there is NIC with name enP1p3s0f0, e.g. upper-case 'P':
root@hnode1-5:~# ip link show enP1p3s0f0
2: enP1p3s0f0: <BROADCAST,
link/ether a0:42:3f:31:1c:3a brd ff:ff:ff:ff:ff:ff
Hiera hash "network_scheme" on compute node contains valid interface name with upper-case letter 'P', e.g. "enP1p3s0f0":
"interfaces"=>
{"enP1p3s0f0"=>
{"vendor_
"enP1p3s0f1"=>
{"vendor_
"enP1p3s0f2"=>
{"vendor_
"enP1p3s0f3"=>
{"vendor_
"enP1p8s0"=>
{"vendor_
"enP1p8s0d1"=>
{"vendor_
"enP1p9s0"=>
{"vendor_
"enP1p9s0d1"=>
{"vendor_
"provider"=>"lnx",
"roles"=>
{"admin/
"aodh/
"ceilometer/
"ceph/
"ceph/
"cinder/
"cinder/
"fw-
"glance/
"glance/
"heat/
"horizon"
"ironic/
"keystone/
"management"
"mgmt/
"mgmt/
"mgmt/
"mgmt/
"mgmt/
"mongo/
"murano/
"murano/
"neutron/
"neutron/
"nova/
"nova/
"sahara/
"storage"
"swift/
"swift/
"transformatio
[{"action"
{"action"
{"action"
{"action"
{"action"
{"action"
{"action"
{"action"
"version"=>"1.1"}
So l23network puppet module ignores actual interface name from "interfaces" section of "network_scheme" and tries to use lower case version of it
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
Kernel: Linux hnode1-5 3.13.0-107-generic
Changed in fuel: | |
milestone: | none → 11.0 |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
importance: | Undecided → High |
tags: | added: area-library l23network |
Changed in fuel: | |
status: | New → Confirmed |
Could you provide with output of /etc/udev/ rules.d/ 70-persistent- net.rules ? Thank you in advance.