saltstack/salt

libcloud_storage.py.file_present getting object does not exists error

Closed

#53,722 opened on Jul 5, 2019

 (3 comments) (0 reactions) (0 assignees)Python (5,508 forks)batch import
Confirmedbuggood first issueseverity-medium

Repository metrics

Stars
 (13,710 stars)
PR merge metrics
 (Avg merge 72d 6h) (221 merged PRs in 30d)

Description

libcloud_storage.py.file_present getting object not exists error.

download_zip_file: libcloud_storage.file_present: - path: C:\Download - name: ObjectName - container: ContainerName - profile: googleprofile - overwrite_existing: True

While executing getting below error ObjectDoesNotExistError: in <libcloud.storage.drivers.google_storage.GoogleStorageDriver object at 0x05845F50>

Found an issue salt/states/libcloud_storage.py Line number 194, the parameter passed to download_object function is incorrect.

Contributor guide