Config-changed hook fails on trusty-mitaka

Bug #1868267 reported by Chris MacNaughton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph Monitor Charm
New
Undecided
Unassigned

Bug Description

2020-03-20 13:25:39 DEBUG config-changed 2020-03-20 13:25:39 WARNING juju.juju.series supportedseries.go:692 failed to update distro info: open /usr/share/distro-info/ubuntu.csv: no such file or directory
2020-03-20 13:25:39 DEBUG juju-log Hardening function 'config_changed'
2020-03-20 13:25:39 DEBUG config-changed 2020-03-20 13:25:39 WARNING juju.juju.series supportedseries.go:692 failed to update distro info: open /usr/share/distro-info/ubuntu.csv: no such file or directory
2020-03-20 13:25:39 DEBUG config-changed 2020-03-20 13:25:39 WARNING juju.juju.series supportedseries.go:692 failed to update distro info: open /usr/share/distro-info/ubuntu.csv: no such file or directory
2020-03-20 13:25:39 DEBUG juju-log No hardening applied to 'config_changed'
2020-03-20 13:25:39 DEBUG config-changed 2020-03-20 13:25:39 WARNING juju.juju.series supportedseries.go:692 failed to update distro info: open /usr/share/distro-info/ubuntu.csv: no such file or directory
2020-03-20 13:25:39 INFO juju-log Ceph is not bootstrapped, skipping upgrade checks.
2020-03-20 13:25:40 DEBUG config-changed Traceback (most recent call last):
2020-03-20 13:25:40 DEBUG config-changed File "/var/lib/juju/agents/unit-ceph-mon-1/charm/hooks/config-changed", line 1023, in <module>
2020-03-20 13:25:40 DEBUG config-changed hooks.execute(sys.argv)
2020-03-20 13:25:40 DEBUG config-changed File "/var/lib/juju/agents/unit-ceph-mon-1/charm/hooks/charmhelpers/core/hookenv.py", line 934, in execute
2020-03-20 13:25:40 DEBUG config-changed self._hooks[hook_name]()
2020-03-20 13:25:40 DEBUG config-changed File "/var/lib/juju/agents/unit-ceph-mon-1/charm/hooks/charmhelpers/contrib/hardening/harden.py", line 93, in _harden_inner2
2020-03-20 13:25:40 DEBUG config-changed return f(*args, **kwargs)
2020-03-20 13:25:40 DEBUG config-changed File "/var/lib/juju/agents/unit-ceph-mon-1/charm/hooks/config-changed", line 234, in config_changed
2020-03-20 13:25:40 DEBUG config-changed log('Monitor hosts are ' + repr(get_mon_hosts()))
2020-03-20 13:25:40 DEBUG config-changed File "/var/lib/juju/agents/unit-ceph-mon-1/charm/hooks/config-changed", line 319, in get_mon_hosts
2020-03-20 13:25:40 DEBUG config-changed hosts.append(format_ipv6_addr(addr) or addr)
2020-03-20 13:25:40 DEBUG config-changed File "/var/lib/juju/agents/unit-ceph-mon-1/charm/hooks/charmhelpers/contrib/network/ip.py", line 242, in format_ipv6_addr
2020-03-20 13:25:40 DEBUG config-changed if is_ipv6(address):
2020-03-20 13:25:40 DEBUG config-changed File "/var/lib/juju/agents/unit-ceph-mon-1/charm/hooks/charmhelpers/contrib/network/ip.py", line 144, in is_ipv6
2020-03-20 13:25:40 DEBUG config-changed address = netaddr.IPAddress(address)
2020-03-20 13:25:40 DEBUG config-changed File "/usr/lib/python3/dist-packages/netaddr/ip/__init__.py", line 289, in __init__
2020-03-20 13:25:40 DEBUG config-changed % self.__class__.__name__)
2020-03-20 13:25:40 DEBUG config-changed ValueError: IPAddress() does not support netmasks or subnet prefixes! See documentation for details.
2020-03-20 13:25:40 ERROR juju.worker.uniter.operation runhook.go:132 hook "config-changed" failed: exit status 1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.