tempest tests ignore ssl 'insecure' option

Bug #1633716 reported by Nicolas Bock
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Invalid
Undecided
Nicolas Bock
tempest
Invalid
Undecided
Unassigned

Bug Description

When deploying manila with self-signed ssl certificates its tempest tests will fail with a ssl_verification_error. The attached patch restores the tests if `disable_ssl_certificate_validation` is set in tempest.conf.

Revision history for this message
Nicolas Bock (nicolasbock) wrote :
Revision history for this message
Thomas Bechtold (toabctl) wrote :

@Nick: you need to create a patch on gerrit. See https://wiki.openstack.org/wiki/How_To_Contribute#If_you.27re_a_developer

Revision history for this message
Nicolas Bock (nicolasbock) wrote :

Should I also assign the bug to myself?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Changed in manila:
assignee: nobody → Nicolas Bock (nicolasbock)
status: New → In Progress
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Bug should be fixed at [1]. Tempest should default to config option [2] instead of having any of fixed boolean values.

[1] https://github.com/openstack/tempest/blob/17051e89/tempest/lib/common/rest_client.py#L82
[2] CONF.identity.disable_ssl_certificate_validation

Revision history for this message
Luz Cazares (luz-cazares) wrote :

Valeriy, disable_ssl_certificate_validation is set in Tempest at [1] which is called at [2] when running any Tempest test.

[1] https://github.com/openstack/tempest/blob/master/tempest/config.py#L124
[2] https://github.com/openstack/tempest/blob/master/tempest/test.py#L40

Changed in tempest:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on manila (master)

Change abandoned by Nicolas Bock (<email address hidden>) on branch: master
Review: https://review.openstack.org/387435

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.