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 1510154 - Service Catalog playbook get triggered when openshift_enable_service_catalog is not set in the inventory file
Summary: Service Catalog playbook get triggered when openshift_enable_service_catalog ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-06 19:43 UTC by Hongkai Liu
Modified: 2017-11-06 19:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-06 19:53:25 UTC


Attachments (Terms of Use)

Description Hongkai Liu 2017-11-06 19:43:09 UTC
Description of problem:

Version-Release number of the following components:
rpm -q openshift-ansible
5efcf4a2f (tag: openshift-ansible-3.7.0-0.195.0) Automatic commit of package [openshift-ansible] release [3.7.0-0.195.0].
rpm -q ansible
ansible --version
2.4.0.0

How reproducible:

Steps to Reproduce:
1. run byo playbook: playbooks/byo/config.yml
2.
3.

Actual results:
Please include the entire output from the last TASK line through the end of output if an error is generated

TASK [openshift_service_catalog : wait for api server to be ready] *************
Monday 06 November 2017  15:53:31 +0000 (0:00:02.503)       0:39:30.658 ******* 
FAILED - RETRYING: wait for api server to be ready (120 retries left).
...
FAILED - RETRYING: wait for api server to be ready (1 retries left).
fatal: [ec2-54-202-209-230.us-west-2.compute.amazonaws.com]: FAILED! => {"attempts": 120, "changed": false, "cmd": ["curl", "-k", "https://apiserver.kube-service-catalog.svc/healthz"], "delta": "0:00:01.010756", "end": "2017-11-06 16:01:53.603275", "failed": true, "msg": "non-zero return code", "rc": 7, "start": "2017-11-06 16:01:52.592519", "stderr": "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0curl: (7) Failed connect to apiserver.kube-service-catalog.svc:443; Connection refused", "stderr_lines": ["  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current", "                                 Dload  Upload   Total   Spent    Left  Speed", "", "  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0", "  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0curl: (7) Failed connect to apiserver.kube-service-catalog.svc:443; Connection refused"], "stdout": "", "stdout_lines": []}
	to retry, use: --limit @/home/slave4/workspace/Launch Environment Flexy/private-openshift-ansible/playbooks/byo/config.retry

PLAY RECAP *********************************************************************
ec2-34-209-87-193.us-west-2.compute.amazonaws.com : ok=187  changed=56   unreachable=0    failed=0   
ec2-34-216-20-113.us-west-2.compute.amazonaws.com : ok=187  changed=57   unreachable=0    failed=0   
ec2-54-200-240-84.us-west-2.compute.amazonaws.com : ok=187  changed=56   unreachable=0    failed=0   
ec2-54-202-209-230.us-west-2.compute.amazonaws.com : ok=589  changed=221  unreachable=0    failed=1   
ec2-54-202-86-221.us-west-2.compute.amazonaws.com : ok=187  changed=56   unreachable=0    failed=0   
ec2-54-203-225-230.us-west-2.compute.amazonaws.com : ok=187  changed=56   unreachable=0    failed=0   
localhost                  : ok=12   changed=0    unreachable=0    failed=0 

INSTALLER STATUS ***************************************************************
Initialization             : Complete
Health Check               : Complete
etcd Install               : Complete
Master Install             : Complete
Master Additional Install  : Complete
Node Install               : Complete
Hosted Install             : Complete
Service Catalog Install    : In Progress
	This phase can be restarted by running: playbooks/byo/openshift-cluster/service-catalog.yml

Expected results:
Service Catalog should not be triggered at all when openshift_enable_service_catalog does not show in the inventory file.

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

We can work around the problem by openshift_enable_service_catalog=false.
Should it be false by default?

Comment 3 Scott Dodson 2017-11-06 19:53:25 UTC
This is expected, the service catalog, ASB and TSB should be enabled by default now per the service catalog team.


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