Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1598705 - Deploying metrics server with ansible-playbook fails on Atomic Host
Summary: Deploying metrics server with ansible-playbook fails on Atomic Host
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.10.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 3.10.0
Assignee: Scott Dodson
QA Contact: Weinan Liu
Depends On:
TreeView+ depends on / blocked
Reported: 2018-07-06 09:10 UTC by Weinan Liu
Modified: 2018-07-06 10:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-07-06 10:04:23 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Weinan Liu 2018-07-06 09:10:49 UTC
Description of problem:
Deploying metrics server fails with ansibile play book on Atomic Host.
The PR [1] add  a new flex-volume-plugin-dir /etc/origin/kubelet-plugin//volume/exec. the  flex-volume-plugin-dir couldn't pass the mater_check_path [2].


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

How reproducible:

Steps to Reproduce:
1. Update qe-inventory-host-file to include metrics install parameters:

2. Install metrics by
$ ansible-playbook -i qe-inventory-host-file playbooks/openshift-metrics/config.yml 

Actual results:
Ansibole-playbook fails with errors below:
fatal: []: FAILED! => {
    "msg": "A string value that appears to be a file path located outside of\n/etc/origin/master/, /var/lib/origin, /etc/origin/cloudprovider has been found in /etc/origin/master/master-config.yaml.\nIn 3.10 and newer, all files needed by the master must reside inside of\nthose directories or a subdirectory or it will not be readable by the\nmaster process. Please migrate all files needed by the master into\none of /etc/origin/master/, /var/lib/origin, /etc/origin/cloudprovider or a subdirectory and update your master configs before\nproceeding. The string found was: /etc/origin/kubelet-plugins/volume/exec\n***********************\nNOTE: the following items do not need to be migrated, they will be migrated\nfor you: oauthConfig.identityProviders"

Expected results:
metrics pods deployed Successfully

Additional info:

Comment 1 Anping Li 2018-07-06 09:19:32 UTC
The bug will block all the post deployment via ansible-playbook on Atomic hosts.

Comment 2 Anping Li 2018-07-06 10:04:23 UTC
The playbooks used are not latest.

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