mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Added log message with update suggestion for libcloud
Log message notifies user of old libcloud version and inability to get projects.
This commit is contained in:
parent
72eab406cd
commit
87f9534fce
1 changed files with 1 additions and 0 deletions
|
@ -206,6 +206,7 @@ def get_project(conn, vm_):
|
|||
projects = conn.ex_list_projects()
|
||||
except AttributeError:
|
||||
# with versions <0.15 of libcloud this is causing an AttributeError.
|
||||
log.warning('Cannot get projects, you may need to update libcloud to 0.15 or later')
|
||||
return False
|
||||
projid = config.get_cloud_config_value('projectid', vm_, __opts__)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue