Bug 1255468 - ahc-tools does not support self-signed certificates
Summary: ahc-tools does not support self-signed certificates
Keywords:
Status: CLOSED DUPLICATE of bug 1245212
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: ahc-tools
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: y2
: 7.0 (Kilo)
Assignee: John Trowbridge
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-20 16:28 UTC by Ben Nemec
Modified: 2016-04-18 06:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-02 16:58:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ben Nemec 2015-08-20 16:28:26 UTC
Description of problem: ahc-tools doesn't allow specifying an os-cacert parameter to its ironic client, which means it can't work with a self-signed certificate.


Version-Release number of selected component (if applicable): 0.1.1-5.el7ost (I think)


How reproducible: Always


Steps to Reproduce:
1. Install undercloud with ssl for service endpoints, using a self-signed certificate
2. Attempt to run ahc-report --full
3.

Actual results: ironicclient.openstack.common.apiclient.exceptions.ConnectionRefused: Error communicating with https://192.168.85.6:13385/ [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed


Expected results: ahc-report --full output


Additional info:

Comment 3 Ben Nemec 2015-08-20 16:35:17 UTC
Actually, I take that back.  I see this is using the discoverd configuration as a basis, which means we just need to be able to configure ahc-tools to talk to the internal ironic endpoint instead of public.  That's how we addressed the issue in discoverd so it should work fine here too.

Comment 4 John Trowbridge 2015-09-02 16:36:04 UTC
@Ben,

I think this will be resolved with the same fix as https://bugzilla.redhat.com/show_bug.cgi?id=1245212

WDYT?

Comment 5 Ben Nemec 2015-09-02 16:58:32 UTC
Agreed, this is actually a dupe of that bug.

Comment 6 Ben Nemec 2015-09-02 16:58:59 UTC

*** This bug has been marked as a duplicate of bug 1245212 ***


Note You need to log in before you can comment on or make changes to this bug.