Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1272847

Summary: Un-Embedded Interface Found
Product: Red Hat OpenStack Reporter: Shinobu KINJO <skinjo>
Component: instack-undercloudAssignee: James Slagle <jslagle>
Status: CLOSED INSUFFICIENT_DATA QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: calfonso, jslagle, mburns, rhel-osp-director-maint, skinjo, srevivo
Target Milestone: ---   
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-16 17:13:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shinobu KINJO 2015-10-19 05:28:43 UTC
Description of problem:

When I ran:

    openstack undercloud install

it ended up with:

    [ERROR] Unable to read mac address: eth1

It's because there is no eth1 as device name.
Of course there are interfaces with different name.

As debug message, "eth1" comes from:

  File "/usr/lib/python2.7/site-packages/os_net_config/utils.py", line 45, in interface_mac

which is:

  def interface_mac(name):

called by:

  def _add_common(self, base_opt):
   ...
    mac = utils.interface_mac(base_opt.primary_interface_name)

because:

  if base_opt.primary_interface_name:

as explanation:

  data = "# This file is autogenerated by os-net-config\n"

I am supposing that there was a file used by:

  os-net-config

    => /etc/os-net-config/config.json

In this file, there is a interface named:

  eth1

My question here is:
Is that "eth1" set by default?


Here is additional:
In log file:

  install-undercloud.log

Just before failure, there is a __WARNING__:

  2015-10-19 00:34:20,844 INFO: [2015/10/19 12:34:20 AM] [WARNING]
  DEPRECATED: falling back to /var/run/os-collect-config/os_config_files.json

I'm expecting this file:

  os_config_files.json

generated by system.
If so, why is it duplicated?





Version-Release number of selected component (if applicable):

  python-rdomanager-oscplugin-0.0.10-8.el7ost.noarch



How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 James Slagle 2015-10-19 16:07:21 UTC
eth1 comes from the local_interface configuration in undercloud.conf

if the interface is named something different, update the configuration there prior to running openstack undercloud install. let us know if this resolves the issue.