Differences between revisions 3 and 4
Revision 3 as of 2018-07-01 01:31:48
Size: 1264
Editor: PieterSmit
Comment:
Revision 4 as of 2018-07-01 01:40:06
Size: 1336
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 * 2018 - Main SaltStack dependancy for AzureARM (v2) api {{  * 2018 - Main SaltStack dependancy for AzureARM (v2) api {{[
Line 6: Line 6:
sudo apt-get install build-essential libssl-dev libffi-dev python-dev

Salt-cloud Azure deployement

pip install 'azure-cli>=2.0.12' sudo apt-get install build-essential libssl-dev libffi-dev python-dev

  • }}}
  • 2017 - v36 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

...

SaltCloudAzure (last edited 2018-07-07 11:43:22 by PieterSmit)