after zun deployed with kolla-ansible zun_api container keeps restarting due missing /etc/zun/api-paste.ini file.
This file is present at /zun/etc/zun/api-paste.ini, but the copy in the image is made from /zun/etc/ resulting in /etc/zun/zun/api-paste.ini
2017-04-12 14:52:05.519 5 CRITICAL zun [-] ConfigFilesNotFoundError: Failed to find some config files: api-paste.ini
2017-04-12 14:52:05.519 5 ERROR zun Traceback (most recent call last):
2017-04-12 14:52:05.519 5 ERROR zun File "/var/lib/kolla/venv/bin/zun-api", line 10, in <module>
2017-04-12 14:52:05.519 5 ERROR zun sys.exit(main())
2017-04-12 14:52:05.519 5 ERROR zun File "/var/lib/kolla/venv/lib/python2.7/site-packages/zun/cmd/api.py", line 44, in main
2017-04-12 14:52:05.519 5 ERROR zun CONF.api.enable_ssl_api
2017-04-12 14:52:05.519 5 ERROR zun File "/var/lib/kolla/venv/lib/python2.7/site-packages/zun/common/service.py", line 59, in __init__
2017-04-12 14:52:05.519 5 ERROR zun self.app = app.load_app()
2017-04-12 14:52:05.519 5 ERROR zun File "/var/lib/kolla/venv/lib/python2.7/site-packages/zun/api/app.py", line 61, in load_app
2017-04-12 14:52:05.519 5 ERROR zun raise cfg.ConfigFilesNotFoundError([CONF.api.api_paste_config])
2017-04-12 14:52:05.519 5 ERROR zun ConfigFilesNotFoundError: Failed to find some config files: api-paste.ini
after zun deployed with kolla-ansible zun_api container keeps restarting due missing /etc/zun/ api-paste. ini file. zun/api- paste.ini, but the copy in the image is made from /zun/etc/ resulting in /etc/zun/ zun/api- paste.ini
This file is present at /zun/etc/
2017-04-12 14:52:05.519 5 CRITICAL zun [-] ConfigFilesNotF oundError: Failed to find some config files: api-paste.ini kolla/venv/ bin/zun- api", line 10, in <module> kolla/venv/ lib/python2. 7/site- packages/ zun/cmd/ api.py" , line 44, in main enable_ ssl_api kolla/venv/ lib/python2. 7/site- packages/ zun/common/ service. py", line 59, in __init__ kolla/venv/ lib/python2. 7/site- packages/ zun/api/ app.py" , line 61, in load_app NotFoundError( [CONF.api. api_paste_ config] ) oundError: Failed to find some config files: api-paste.ini
2017-04-12 14:52:05.519 5 ERROR zun Traceback (most recent call last):
2017-04-12 14:52:05.519 5 ERROR zun File "/var/lib/
2017-04-12 14:52:05.519 5 ERROR zun sys.exit(main())
2017-04-12 14:52:05.519 5 ERROR zun File "/var/lib/
2017-04-12 14:52:05.519 5 ERROR zun CONF.api.
2017-04-12 14:52:05.519 5 ERROR zun File "/var/lib/
2017-04-12 14:52:05.519 5 ERROR zun self.app = app.load_app()
2017-04-12 14:52:05.519 5 ERROR zun File "/var/lib/
2017-04-12 14:52:05.519 5 ERROR zun raise cfg.ConfigFiles
2017-04-12 14:52:05.519 5 ERROR zun ConfigFilesNotF