← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1598256] Re: neutron gateway fails to find network device names "eno1"

 

** Also affects: neutron-gateway (Juju Charms Collection)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1598256

Title:
  neutron gateway fails to find network device names "eno1"

Status in neutron:
  Invalid
Status in neutron-gateway package in Juju Charms Collection:
  New

Bug description:
  OS Version: Openstack-base-43
  Neutron-gateway: neutron-gateway-1
  MAAS: 2.0 b8
  Juju: 2.0 b10
  Series: Xenial

  Steps:
  1) Bootstrap MAAS controller
  2) juju deploy openstack-base-43

  Result:
  2016-07-01 15:20:10 INFO juju-log Adding port eth1 to bridge br-ex
  2016-07-01 15:20:10 INFO config-changed Cannot find device "eth1"
  2016-07-01 15:20:10 INFO config-changed Traceback (most recent call last):
  2016-07-01 15:20:10 INFO config-changed   File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/config-changed", line 349, in <module>
  2016-07-01 15:20:10 INFO config-changed     hooks.execute(sys.argv)
  2016-07-01 15:20:10 INFO config-changed   File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/core/hookenv.py", line 717, in execute
  2016-07-01 15:20:10 INFO config-changed     self._hooks[hook_name]()
  2016-07-01 15:20:10 INFO config-changed   File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 1574, in wrapped_f
  2016-07-01 15:20:10 INFO config-changed     restart_functions)
  2016-07-01 15:20:10 INFO config-changed   File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/core/host.py", line 475, in restart_on_change_helper
  2016-07-01 15:20:10 INFO config-changed     r = lambda_f()
  2016-07-01 15:20:10 INFO config-changed   File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 1573, in <lambda>
  2016-07-01 15:20:10 INFO config-changed     (lambda: f(*args, **kwargs)), restart_map, stopstart,
  2016-07-01 15:20:10 INFO config-changed   File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/contrib/hardening/harden.py", line 81, in _harden_inner2
  2016-07-01 15:20:10 INFO config-changed     return f(*args, **kwargs)
  2016-07-01 15:20:10 INFO config-changed   File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/config-changed", line 139, in config_changed
  2016-07-01 15:20:10 INFO config-changed     configure_ovs()
  2016-07-01 15:20:10 INFO config-changed   File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/neutron_utils.py", line 712, in configure_ovs
  2016-07-01 15:20:10 INFO config-changed     add_bridge_port(EXT_BRIDGE, ext_port_ctx['ext_port'])
  2016-07-01 15:20:10 INFO config-changed   File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/contrib/network/ovs/__init__.py", line 49, in add_bridge_port
  2016-07-01 15:20:10 INFO config-changed     subprocess.check_call(["ip", "link", "set", port, "up"])
  2016-07-01 15:20:10 INFO config-changed   File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
  2016-07-01 15:20:10 INFO config-changed     raise CalledProcessError(retcode, cmd)
  2016-07-01 15:20:10 INFO config-changed subprocess.CalledProcessError: Command '['ip', 'link', 'set', u'eth1', 'up']' returned non-zero exit status 1
  2016-07-01 15:20:10 ERROR juju.worker.uniter.operation runhook.go:107 hook "config-changed" failed: exit status 1
  2016-07-01 15:20:10 INFO juju.worker.uniter resolver.go:107 awaiting error resolution for "config-changed" hook
  2016-07-01 15:20:10 DEBUG juju.worker.uniter agent.go:17 [AGENT-STATUS] error: hook failed: "config-changed"

  
  ubuntu@azurill:/var/log/juju$ ip link
  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-eno1 state UP mode DEFAULT group default qlen 1000
      link/ether ec:b1:d7:7f:ff:a4 brd ff:ff:ff:ff:ff:ff
  3: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
      link/ether ec:b1:d7:7f:ff:a5 brd ff:ff:ff:ff:ff:ff
  4: eno3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
      link/ether ec:b1:d7:7f:ff:a6 brd ff:ff:ff:ff:ff:ff
  5: eno4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
      link/ether ec:b1:d7:7f:ff:a7 brd ff:ff:ff:ff:ff:ff
  6: br-eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
      link/ether ec:b1:d7:7f:ff:a4 brd ff:ff:ff:ff:ff:ff

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1598256/+subscriptions


References