Bug 1452201

Summary: Configuration Management Provider's Verify Peer Certificate setting doesn't get saved
Product: Red Hat CloudForms Management Engine Reporter: Tasos Papaioannou <tpapaioa>
Component: UI - OPSAssignee: lgalis
Status: CLOSED CURRENTRELEASE QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: bdunne, dclarizi, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard: provider:foreman
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1479937 (view as bug list) Environment:
Last Closed: 2018-03-06 15:14:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1479937    

Description Tasos Papaioannou 2017-05-18 14:26:20 UTC
Description of problem:

The state of the 'Verify Peer Certificate' checkbox is not saved after creating or editing a Satellite 6 configuration management provider.

Version-Release number of selected component (if applicable):

5.8.0.15


How reproducible:

100%

Steps to Reproduce:
1.) Create and save a Satellite 6 configuration management provider, with Verify Peer Certificate checked.

2.) Edit the provider, and see that Verify Peer Certificate is no longer checked.

Actual results:

Verify Peer Certificate setting isn't saved.

Expected results:

Verify Peer Certificate setting is saved.

Additional info:

In the database, after saving the provider with Verify Peer Certificate checked, I can see that the endpoint record is stored with verify_ssl=0:

vmdb_production=# select id, role, url, verify_ssl, certificate_authority from endpoints;
 id |  role   |              url              | verify_ssl | certificate_authority 
----+---------+-------------------------------+------------+--------------------[...]
  6 | default | https://satellite.example.com |          0 |

Comment 6 Tasos Papaioannou 2017-10-11 13:59:59 UTC
Verified on 5.9.0.1.