My Oracle Support Banner

O3L 2.0: kollacli deploy fails with error "KeyError: 'ExposedPorts'" when using docker engine 1.8.3 (Doc ID 2079942.1)

Last updated on JUNE 01, 2021

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 2.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64


kollacli deploy fails with below error:

# kollacli deploy
TASK: [common | Starting Ansible container] ***********************************
failed: [] => {"failed": true, "parsed": false}
Traceback (most recent call last):
File "/usr/share/kolla/.ansible/tmp/ansible-tmp-1447985619.03-245083508816115/docker", line 3185, in <module>
File "/usr/share/kolla/.ansible/tmp/ansible-tmp-1447985619.03-245083508816115/docker", line 1542, in main
reloaded(manager, containers, count, name)
File "/usr/share/kolla/.ansible/tmp/ansible-tmp-1447985619.03-245083508816115/docker", line 1419, in reloaded
for container in manager.get_differing_containers():
File "/usr/share/kolla/.ansible/tmp/ansible-tmp-1447985619.03-245083508816115/docker", line 933, in get_differing_containers
expected_exposed_ports = set((image['ContainerConfig']['ExposedPorts'] or {}).keys())
KeyError: 'ExposedPorts'
OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug1: auto-mux: Trying existing master
debug1: mux_client_request_session: master session id: 2
Shared connection to closed.

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
to retry, use: --limit @/usr/share/kolla/site.retry : ok=18 changed=15 unreachable=0 failed=1

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/kollacli/", line 81, in take_action
raise Exception('deploy failed')
Exception: deploy failed




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.