diff --git a/ironic/drivers/modules/ansible/playbooks/library/stream_url.py b/ironic/drivers/modules/ansible/playbooks/library/stream_url.py index dd750d6378..7619474bec 100644 --- a/ironic/drivers/modules/ansible/playbooks/library/stream_url.py +++ b/ironic/drivers/modules/ansible/playbooks/library/stream_url.py @@ -31,7 +31,7 @@ class StreamingDownloader(object): else: self.hasher = None self.chunksize = chunksize - resp = requests.get(url, stream=True, verify=verify, certs=certs) + resp = requests.get(url, stream=True, verify=verify, cert=certs) if resp.status_code != 200: raise Exception('Invalid response code: %s' % resp.status_code) diff --git a/releasenotes/notes/bug-30316-8c53358681e464eb.yaml b/releasenotes/notes/bug-30316-8c53358681e464eb.yaml new file mode 100644 index 0000000000..a992fbb53b --- /dev/null +++ b/releasenotes/notes/bug-30316-8c53358681e464eb.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - Fixes an issue with the ansible deployment interface where raw images + could not be streamed correctly to the host.