commit f1554d1b527bbf09229273508ce1fb234caf6a66
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.
Closes-bug: #1717547
Change-Id: I3ed3303309fe2a25c0043fd206f36bada4b3b8f9
(cherry picked from commit 5c21a00e89539bbb271ccfa05e4a2ba1cddae58e)
(cherry picked from commit 07ccc82af048494cb7d4c4b0cc191cc30544a270)
Reviewed: https:/ /review. openstack. org/650065 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f1554d1b527 bbf09229273508c e1fb234caf6a66
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit f1554d1b527bbf0 9229273508ce1fb 234caf6a66
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 b271ccfa05e4a2b a1cddae58e) cb7d4c4b0cc191c c30544a270)
Change-Id: I3ed3303309fe2a
(cherry picked from commit 5c21a00e89539bb
(cherry picked from commit 07ccc82af048494