commit 5c21a00e89539bbb271ccfa05e4a2ba1cddae58e
Author: Jay Pipes <email address hidden>
Date: Tue Nov 6 10:59:40 2018 -0500
prevent common kwargs from glance client failure
When creating a snapshot of a server using the nova API, failure occurs
if the image contains the metadata property "version". This was due to
the way that the GlanceClientWrapper.call() function signature was
structured.
This patch forces all client positional args to be passed as a named
"args" argument to the call() function and all client named args to be
pass as a named "kwargs" argument to the call() function. This
eliminates any argument name-shadowing that previously caused issues.
Reviewed: https:/ /review. openstack. org/614351 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5c21a00e895 39bbb271ccfa05e 4a2ba1cddae58e
Committed: https:/
Submitter: Zuul
Branch: master
commit 5c21a00e89539bb b271ccfa05e4a2b a1cddae58e
Author: Jay Pipes <email address hidden>
Date: Tue Nov 6 10:59:40 2018 -0500
prevent common kwargs from glance client failure
When creating a snapshot of a server using the nova API, failure occurs pper.call( ) function signature was
if the image contains the metadata property "version". This was due to
the way that the GlanceClientWra
structured.
This patch forces all client positional args to be passed as a named
"args" argument to the call() function and all client named args to be
pass as a named "kwargs" argument to the call() function. This
eliminates any argument name-shadowing that previously caused issues.
Closes-bug: #1717547 25c0043fd206f36 bada4b3b8f9
Change-Id: I3ed3303309fe2a