Bug 1288481
Summary: | pacemaker master HA can not set up due to "Set the cluster user password" is skipped. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Johnny Liu <jialiu> |
Component: | Installer | Assignee: | Andrew Butcher <abutcher> |
Status: | CLOSED ERRATA | QA Contact: | Ma xiaoqiang <xiama> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.1.0 | CC: | agolis, aos-bugs, bleanhar, jialiu, jokerman, mmccomas, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-ansible-3.0.19-1.git.2.530aaf8 | Doc Type: | Bug Fix |
Doc Text: |
When deploying pacemaker based HA masters the cluster password was not set properly. This error has been corrected.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-17 21:19:55 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
Johnny Liu
2015-12-04 11:25:11 UTC
Was pacemaker already installed on this system? In the ansible tasks it looks like we only set the password when 'pcs' was installed that run. - name: Install cluster packages yum: pkg=pcs state=present when: (ansible_pkg_mgr == "yum") and openshift_master_ha | bool and openshift.master.cluster_method == 'pacemaker' register: install_result ... - name: Set the cluster user password shell: echo {{ openshift_master_cluster_password | quote }} | passwd --stdin hacluster when: install_result | changed If 'pcs' already being installed is the issue, we may need to mention this in the Known Issues section of the installation docs or perhaps we can attempt to authenticate to the cluster with the provided password and only set the password when authenticating failed. > If 'pcs' already being installed is the issue, we may need to mention this
> in the Known Issues section of the installation docs or perhaps we can
> attempt to authenticate to the cluster with the provided password and only
> set the password when authenticating failed.
Before start installation, the system is a clean rhel7 system, no 'pcs' is installed.
After the installation process exit with failure, log into the 1st master, 'pcs' already is installed.
[root@test1 ~]# rpm -q pcs
pcs-0.9.143-15.el7.x86_64
[root@test1 ~]# pcs status
Error: cluster is not currently running on this node
One more thing need to be highlighted, if use "prod" branch, everything is working well, only "master" branch has such issue.
Verified with this bug with the latest openshift-ansible master branch and openshift-ansible-playbooks-3.0.19-1.git.9.b1d3049.el7aos.noarch, PASS. 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-2015:2667 *** Bug 1290312 has been marked as a duplicate of this bug. *** |