Comment 2 for bug 1490670

Revision history for this message
Blake Devcich (frayedknot) wrote :

I've also ran into this issue in a devstack environment. It appears that /etc/tempest/ doesn't exist, which may lead the exception.

Steps to reproduce:
1. stack.sh with local.conf:
[[local|localrc]]
ADMIN_PASSWORD=password
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
#FIXED_RANGE=172.31.1.0/24
#FLOATING_RANGE=192.168.20.0/25
#HOST_IP=10.3.4.5
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-meta
RECLONE=yes
2. pip install tempest
3. ls /etc/tempest -> shows nothing
4. tempest init cloud-01
Traceback (most recent call last):
  File "/usr/local/bin/oslo-config-generator", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 282, in main
    conf(args, version=version)
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 1883, in __call__
    raise ConfigFilesNotFoundError(self._namespace._files_not_found)
oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /home/vagrant/cloud-01/tools/config/config-generator.tempest.conf