⇤ ← Revision 1 as of 2018-07-01 01:04:56
812
Comment:
|
1152
|
Deletions are marked like this. | Additions are marked like this. |
Line 17: | Line 17: |
}}} * salt-cloud keeps asking for an encryption key, it is explained [[https://lnx.azurewebsites.net/please-enter-password-for-encrypted-keyring-when-running-python-script-on-ubuntu/|here]] and fixed with ... * Edit ~/.local/share/python_keyring/keyringrc.cfg: {{{ [backend] default-keyring=keyrings.alt.file.PlaintextKeyring |
|
Line 18: | Line 25: |
Salt-cloud Azure deployement
Get updated python storage driver for azure.
# pip install azure-storage
Note, before update use to get the following error
# time salt-cloud -P -m /etc/salt/cloud.maps.d/AEA01/azure_shamera-INF01AEA01-INF.conf [ERROR ] Failed to import fileserver azurefs, this is due most likely to a syntax error: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1461, in _load_module mod = imp.load_module(mod_namespace, fn_, fpath, desc) File "/usr/lib/python2.7/dist-packages/salt/fileserver/azurefs.py", line 69, in <module> print( azure.storage.__version__ ) AttributeError: 'module' object has no attribute '__version__'
salt-cloud keeps asking for an encryption key, it is explained here and fixed with ...
Edit ~/.local/share/python_keyring/keyringrc.cfg:
[backend] default-keyring=keyrings.alt.file.PlaintextKeyring
...