mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +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
@ -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…
Reference in New Issue
Block a user