Added charm-elasticsearch. Primarily because functional tests fail due to the charmhelpers Ansible module collecting unit_public_ip as part of the context initiation for Ansible runs. 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 Traceback (most recent call last): 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 File "/var/lib/juju/agents/unit-elasticsearch-0/charm/hooks/install", line 215, in 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 hooks.execute(sys.argv) 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 File "/var/lib/juju/agents/unit-elasticsearch-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 282, in execute 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 charmhelpers.contrib.ansible.apply_playbook( 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 File "/var/lib/juju/agents/unit-elasticsearch-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 196, in apply_playbook 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 charmhelpers.contrib.templating.contexts.juju_state_to_yaml( 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 File "/var/lib/juju/agents/unit-elasticsearch-0/charm/hooks/charmhelpers/contrib/templating/contexts.py", line 105, in juju_state_to_yaml 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 config['unit_public_address'] = charmhelpers.core.hookenv.unit_get( 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 File "/var/lib/juju/agents/unit-elasticsearch-0/charm/hooks/charmhelpers/core/hookenv.py", line 85, in wrapper 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 res = func(*args, **kwargs) 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 File "/var/lib/juju/agents/unit-elasticsearch-0/charm/hooks/charmhelpers/core/hookenv.py", line 870, in unit_get 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 return json.loads(subprocess.check_output(_args).decode('UTF-8')) 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 File "/usr/lib/python3.8/subprocess.py", line 415, in check_output 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 File "/usr/lib/python3.8/subprocess.py", line 516, in run 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 raise CalledProcessError(retcode, process.args, 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 WARNING unit.elasticsearch/0.install logger.go:60 subprocess.CalledProcessError: Command '['unit-get', '--format=json', 'public-address']' returned non-zero exit status 1. 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 ERROR juju.worker.uniter.operation runhook.go:146 hook "install" (via explicit, bespoke hook script) failed: exit status 1 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: 2022-01-25 20:34:00 INFO juju.worker.uniter resolver.go:150 awaiting error resolution for "install" hook 2022-01-25 20:34:08 [ERROR] unit-elasticsearch-0.log: We likely need to update the charm to catch exceptions and retry the hook later.