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 AUGUST 04, 2018

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 2.0 and later
Linux x86-64

Symptoms

kollacli deploy fails with below error:

# kollacli deploy
(snip)
TASK: [common | Starting Ansible container] ***********************************
failed: [o3lr2ctlr1.oracle.com] => {"failed": true, "parsed": false}
BECOME-SUCCESS-xxljwtxqncmnlfmhpeyvkfrdcksbwvei
Traceback (most recent call last):
File "/usr/share/kolla/.ansible/tmp/ansible-tmp-1447985619.03-245083508816115/docker", line 3185, in <module>
main()
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 o3lr2ctlr1.oracle.com closed.

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
to retry, use: --limit @/usr/share/kolla/site.retry

o3lr2ctlr1.oracle.com : ok=18 changed=15 unreachable=0 failed=1

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

 

 

Cause

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

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


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