Comment 2 for bug 1687554

Revision history for this message
Nenad Radojevic (nradojevic) wrote :

Hi Jacob,

thanks for your input, but unfortunately it still doesn't work with your solution.
I have added the evnvironment variable and now I'm getting this error:

root@image-test:~# os-collect-config --force --debug

Source [heat_local] Unavailable.
Source [request] Unavailable.
/var/lib/os-collect-config/local-data not found. Skipping
No local metadata found (['/var/lib/os-collect-config/local-data'])
No auth_url configured.
[2017-05-15 09:50:01,452] (os-refresh-config) [INFO] Starting phase pre-configure
Traceback (most recent call last):
  File "/usr/local/bin/os-refresh-config", line 11, in <module>
    sys.exit(main())
  File "/opt/stack/venvs/os-refresh-config/local/lib/python2.7/site-packages/os_refresh_config/os_refresh_config.py", line 149, in main
    subprocess.check_call(args, close_fds=True)
  File "/usr/lib/python2.7/subprocess.py", line 536, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 523, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Command failed, will not cache new data. Command 'os-refresh-config' returned non-zero exit status 1