Description of problem: During the Mitaka-1 test day, openstack-sahara-api fails to start after a Packstack installation. sahara-api.log shows the following error: 2015-12-10 11:56:34.528 6986 INFO sahara.utils.rpc [-] Notifications disabled 2015-12-10 11:56:34.922 6986 INFO sahara.plugins.base [-] Plugin hdp loaded sahara.plugins.hdp.ambariplugin:AmbariPlugin 2015-12-10 11:56:34.923 6986 INFO sahara.plugins.base [-] Plugin vanilla loaded sahara.plugins.vanilla.plugin:VanillaProvider 2015-12-10 11:56:34.923 6986 INFO sahara.plugins.base [-] Plugin cdh loaded sahara.plugins.cdh.plugin:CDHPluginProvider 2015-12-10 11:56:34.924 6986 INFO sahara.plugins.base [-] Plugin spark loaded sahara.plugins.spark.plugin:SparkProvider 2015-12-10 11:56:34.924 6986 INFO sahara.main [-] Sahara API started 2015-12-10 11:56:34.924 6986 CRITICAL sahara [-] ConfigNotFound: Could not find config at api-paste.ini 2015-12-10 11:56:34.924 6986 ERROR sahara Traceback (most recent call last): 2015-12-10 11:56:34.924 6986 ERROR sahara File "/usr/bin/sahara-api", line 10, in <module> 2015-12-10 11:56:34.924 6986 ERROR sahara sys.exit(main()) 2015-12-10 11:56:34.924 6986 ERROR sahara File "/usr/lib/python2.7/site-packages/sahara/cli/sahara_api.py", line 51, in main 2015-12-10 11:56:34.924 6986 ERROR sahara app = server.make_app() 2015-12-10 11:56:34.924 6986 ERROR sahara File "/usr/lib/python2.7/site-packages/sahara/main.py", line 116, in make_app 2015-12-10 11:56:34.924 6986 ERROR sahara app_loader = oslo_wsgi.Loader(CONF) 2015-12-10 11:56:34.924 6986 ERROR sahara File "/usr/lib/python2.7/site-packages/oslo_service/wsgi.py", line 340, in __init__ 2015-12-10 11:56:34.924 6986 ERROR sahara raise ConfigNotFound(path=config_path) 2015-12-10 11:56:34.924 6986 ERROR sahara ConfigNotFound: Could not find config at api-paste.ini 2015-12-10 11:56:34.924 6986 ERROR sahara It looks like the path for api-paste.ini is not properly set in the distro-provided /etc/sahara/sahara.conf Version-Release number of selected component (if applicable): openstack-sahara-common-4.0.0.0b2-dev12.el7.centos.noarch Workaround: Set api_paste_config = /usr/share/sahara/api-paste.ini in /etc/sahara/sahara.conf
Proposed https://review.gerrithub.io/254744 with a packaging fix.
This is indeed fixed in recent snapshots of Mitaka. Verified on an up-to-date CentOS 7 using: openstack-packstack-8.0.0-0.20160303124552.0476b9b.el7.centos.noarch openstack-packstack-puppet-8.0.0-0.20160303124552.0476b9b.el7.centos.noarch openstack-puppet-modules-8.0.0a0-0.20160304203011.7dc7e93.el7.centos.noarch openstack-sahara-api-4.0.0.0b4-0.20160304033733.6326f6c.el7.centos.noarch openstack-sahara-common-4.0.0.0b4-0.20160304033733.6326f6c.el7.centos.noarch openstack-sahara-engine-4.0.0.0b4-0.20160304033733.6326f6c.el7.centos.noarch python-sahara-4.0.0.0b4-0.20160304033733.6326f6c.el7.centos.noarch