Bug 1443741
Summary: | openshift-ansible encoutners error when generating cert | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Peter Ruan <pruan> |
Component: | Installer | Assignee: | ewolinet |
Status: | CLOSED ERRATA | QA Contact: | Peter Ruan <pruan> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.5.0 | CC: | aos-bugs, jokerman, juzhao, mmccomas |
Target Milestone: | --- | ||
Target Release: | 3.5.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
When using openshift_metrics_heapster_standalone=true, the ca certificate was not generated.
Consequence:
The playbook would fail
Fix:
Allowed the ca cert to be generated also if openshift_metrics_heapster_standalone=true was set.
Result:
Playbook completes successfully
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-12-14 21:01:20 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: |
Description
Peter Ruan
2017-04-19 21:15:27 UTC
Eric, It looks like it's an issue with my inventory. If I comment out the setting openshift_metrics_heapster_standalone=true (see below), then the installation will pass. Do you know if setting above is valid? ==== working inventory file ======= [oo_first_master] openshift-127.lab.sjc.redhat.com ansible_user=root ansible_ssh_user=root ansible_ssh_private_key_file="/tmp/tmp/libra.pem" openshift_public_hostname=openshift-127.lab.sjc.redhat.com [oo_first_master:vars] openshift_deployment_type=openshift-enterprise openshift_release=v3.5 public_master_url=https://openshift-127.lab.sjc.redhat.com:8443 openshift_metrics_image_prefix=brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ openshift_metrics_image_version=v3.5 openshift_metrics_install_metrics=true #openshift_metrics_heapster_standalone=true openshift_metrics_heapster_allowed_users=system:master-proxy openshift_metrics_hawkular_hostname=metrics.0411-egz.qe.rhcloud.com openshift_metrics_project=openshift-infra @Peter, Tested on my environment, same error as you reported. I found this case in polarion, https://polarion.engineering.redhat.com/polarion/#/project/OSE/workitem?id=OCP-12879, and I believe penli had been tested this case and it did not have problems then, but it throws out error now Since we use byo/openshift-cluster/openshift-metrics.yml, the inventory file group names are changed, see the following file. [OSEv3:children] masters [masters] ec2-54-211-52-114.compute-1.amazonaws.com openshift_public_hostname=ec2-54-211-52-114.compute-1.amazonaws.com [OSEv3:vars] ansible_ssh_user=root ansible_ssh_private_key_file="/root/libra.pem" deployment_type=openshift-enterprise openshift_metrics_install_metrics=true openshift_metrics_hawkular_hostname=hawkular-metrics.0420-n0a.qe.rhcloud.com openshift_metrics_project=openshift-infra openshift_metrics_image_prefix=registry.ops.openshift.com/openshift3/ openshift_metrics_image_version=3.5.0 #openshift_metrics_heapster_standalone=true openshift_metrics_heapster_allowed_users=system:master-proxy openshift_metrics_project=openshift-infra @Peter, To my knowledge it should be a valid setting but I will confirm. It may be that something new broke that setting. Verfied that I can run metrics installation with oc v3.5.5.8 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3438 |