Bug 1272847 - Un-Embedded Interface Found
Summary: Un-Embedded Interface Found
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 7.0 (Kilo)
Assignee: James Slagle
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-19 05:28 UTC by Shinobu KINJO
Modified: 2019-10-10 10:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-16 17:13:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.