Seeing this error on following README examples. Raised a PR #6
ID: lxd_profile_local_xenial_amd64
Function: lxd_profile.present
Name: xenial/amd64
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1851, in call
**cdata['kwargs'])
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1795, in wrapper
return f(*args, **kwargs)
File "/var/cache/salt/minion/extmods/states/lxd_profile.py", line 148, in present
verify_cert
File "/var/cache/salt/minion/extmods/modules/lxd.py", line 2029, in profile_create
profile = client.profiles.create(name, config, devices)
File "/usr/local/lib/python2.7/dist-packages/pylxd/models/profile.py", line 60, in create
client.api.profiles.post(json=profile)
File "/usr/local/lib/python2.7/dist-packages/pylxd/client.py", line 134, in post
self._assert_response(response, allowed_status_codes=(200, 201, 202))
File "/usr/local/lib/python2.7/dist-packages/pylxd/client.py", line 91, in _assert_response
raise exceptions.LXDAPIException(response)
LXDAPIException: Profile names may not contain slashes
Started: 05:18:56.849307
Duration: 12.954 ms
Changes:
Seeing this error on following README examples. Raised a PR #6