Heat scenarios fail when API uses TLS

Bug #1585456 reported by Dave McCowan on 2016-05-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Undecided
Dave McCowan

Bug Description

python-heatclient expects the CA File to be passed using the parameter "ca_file".
Rally is passing it using the parameter name "cacert", which is common in other clients, but is wrong for python-heatclient.

The resulting error is:

2016-05-25 04:36:57.295 3374 INFO rally.task.runner [-] Task 217ce2fb-c07f-4095-b39a-f256474d21d9 | ITER: 0 END: Error SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765)

All heat tasks fail in this way when the OpenStack APIs use TLS.

Changed in rally:
assignee: nobody → Dave McCowan (dave-mccowan)

Fix proposed to branch: master
Review: https://review.openstack.org/320776

Changed in rally:
status: New → In Progress

Reviewed: https://review.openstack.org/320776
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=349d14685faf2c2a66642cf35fba92a27295687b
Submitter: Jenkins
Branch: master

commit 349d14685faf2c2a66642cf35fba92a27295687b
Author: Dave McCowan <email address hidden>
Date: Wed May 25 00:41:14 2016 -0400

    Use correct parameter name for CA file with heat client

    When initializing the heat client, rally incorrectly uses the
    parameter name "cacert", when python-heatclient expects "ca_file".

    Closes-bug: #1585456

    Change-Id: I75c1faf91c296b397f2fc3bef023fdf125c5ccab

Changed in rally:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers