Bug 1476195
Summary: | Deploy metrics via ansible was failed due to clusterrole "hawkular-metrics" was not found | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Junqi Zhao <juzhao> | ||||||
Component: | Installer | Assignee: | ewolinet | ||||||
Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 3.6.0 | CC: | aos-bugs, jokerman, mmccomas, xtian | ||||||
Target Milestone: | --- | Keywords: | Regression, TestBlocker | ||||||
Target Release: | 3.7.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: |
Cause: The necessary role for a rolebinding in openshift_metrics was missing due to being processed out of order in the role.
Consequence: The rolebinding creation would fail and the role would fail to install
Fix: Updated so role was created right away so that rolebinding would correctly create.
Result: The rolebinding is able to be created during installation every time.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2017-11-28 22:06:30 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: | |||||||||
Attachments: |
|
Description
Junqi Zhao
2017-07-28 08:59:38 UTC
Created attachment 1305847 [details]
inventory file
Metrics cases are all blocked. It looks like this is failing from the underlying oc apply command when creating the role binding. It seems the role template isn't being `oc apply`'d before this rolebinding one https://github.com/openshift/openshift-ansible/pull/4931 https://github.com/openshift/openshift-ansible/pull/4932 Tested with 3.6.172.0.3-1 openshift-ansible playbooks, metrics can be deployed successfully now, please change the state to ON_QA, so we can close it. # rpm -qa | grep openshift-ansible openshift-ansible-filter-plugins-3.6.172.0.3-1.git.0.8753f3b.el7.noarch openshift-ansible-docs-3.6.172.0.3-1.git.0.8753f3b.el7.noarch openshift-ansible-callback-plugins-3.6.172.0.3-1.git.0.8753f3b.el7.noarch openshift-ansible-lookup-plugins-3.6.172.0.3-1.git.0.8753f3b.el7.noarch openshift-ansible-playbooks-3.6.172.0.3-1.git.0.8753f3b.el7.noarch openshift-ansible-3.6.172.0.3-1.git.0.8753f3b.el7.noarch openshift-ansible-roles-3.6.172.0.3-1.git.0.8753f3b.el7.noarch # oc get po NAME READY STATUS RESTARTS AGE hawkular-cassandra-1-q14ls 1/1 Running 0 9m hawkular-metrics-lj3xg 1/1 Running 0 9m heapster-jsl3m 1/1 Running 0 9m 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/RHSA-2017:3188 |