Ubuntu Pastebin

Paste from root at Tue, 10 May 2016 19:29:12 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
error: binding name "public" not defined by the unit's charm
Traceback (most recent call last):
  File "./hooks/amqp-relation-changed", line 141, in <module>
    main()
  File "./hooks/amqp-relation-changed", line 134, in main
    hooks.execute(sys.argv)
  File "/var/lib/juju/agents/unit-neutron-openvswitch-2/charm/hooks/charmhelpers/core/hookenv.py", line 717, in execute
    self._hooks[hook_name]()
  File "/var/lib/juju/agents/unit-neutron-openvswitch-2/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 1573, in wrapped_f
    restart_functions)
  File "/var/lib/juju/agents/unit-neutron-openvswitch-2/charm/hooks/charmhelpers/core/host.py", line 478, in restart_on_change_helper
    r = lambda_f()
  File "/var/lib/juju/agents/unit-neutron-openvswitch-2/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 1572, in <lambda>
    (lambda: f(*args, **kwargs)), restart_map, stopstart,
  File "./hooks/amqp-relation-changed", line 112, in amqp_changed
    if 'amqp' not in CONFIGS.complete_contexts():
  File "/var/lib/juju/agents/unit-neutron-openvswitch-2/charm/hooks/charmhelpers/contrib/openstack/templating.py", line 295, in complete_contexts
    for i in six.itervalues(self.templates)]
  File "/var/lib/juju/agents/unit-neutron-openvswitch-2/charm/hooks/charmhelpers/contrib/openstack/templating.py", line 120, in complete_contexts
    self.context()
  File "/var/lib/juju/agents/unit-neutron-openvswitch-2/charm/hooks/charmhelpers/contrib/openstack/templating.py", line 105, in context
    _ctxt = context()
  File "/var/lib/juju/agents/unit-neutron-openvswitch-2/charm/hooks/neutron_ovs_context.py", line 247, in __call__
    'local_ip': resolve_address(),
  File "/var/lib/juju/agents/unit-neutron-openvswitch-2/charm/hooks/charmhelpers/contrib/openstack/ip.py", line 170, in resolve_address
    resolved_address = network_get_primary_address(binding)
  File "/var/lib/juju/agents/unit-neutron-openvswitch-2/charm/hooks/charmhelpers/core/hookenv.py", line 839, in inner_translate_exc2
    return f(*args, **kwargs)
  File "/var/lib/juju/agents/unit-neutron-openvswitch-2/charm/hooks/charmhelpers/core/hookenv.py", line 1009, in network_get_primary_address
    return subprocess.check_output(cmd).strip()
  File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['network-get', '--primary-address', 'public']' returned non-zero exit status 1
Download as text