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:
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
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. os-collect- config/ local-data not found. Skipping lib/os- collect- config/ local-data' ]) bin/os- refresh- config" , line 11, in <module> exit(main( )) venvs/os- refresh- config/ local/lib/ python2. 7/site- packages/ os_refresh_ config/ os_refresh_ config. py", line 149, in main check_call( args, close_fds=True) python2. 7/subprocess. py", line 536, in check_call python2. 7/subprocess. py", line 523, in call python2. 7/subprocess. py", line 711, in __init__ python2. 7/subprocess. py", line 1343, in _execute_child
Source [request] Unavailable.
/var/lib/
No local metadata found (['/var/
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/
sys.
File "/opt/stack/
subprocess.
File "/usr/lib/
retcode = call(*popenargs, **kwargs)
File "/usr/lib/
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
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