Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1444221

Summary: oc cluster up doesn't install logging
Product: OpenShift Container Platform Reporter: Christian Hernandez <chernand>
Component: LoggingAssignee: Jeff Cantrill <jcantril>
Status: CLOSED DUPLICATE QA Contact: Dongbo Yan <dyan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: aos-bugs, rmeggins
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-01 18:35:09 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:
Bug Depends On: 1441889    
Bug Blocks:    

Description Christian Hernandez 2017-04-20 21:15:51 UTC
Description of problem:

When I run `oc cluster up`; everything installs fine except logging.

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

[root@ocp-aio ~]# oc version
oc v3.5.5.5
kubernetes v1.5.2+43a9be4
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://172.16.1.222:8443
openshift v3.5.5.5
kubernetes v1.5.2+43a9be4



How reproducible:

Always

Steps to Reproduce:
1. Download the latest binary from https://access.redhat.com/downloads/content/290
2. Run the following on a RHEL 7.3 system (fully updated) to prep the server

```
yum -y install docker
sed -i '/OPTIONS=.*/c\OPTIONS="--selinux-enabled --insecure-registry 172.30.0.0/16"' /etc/sysconfig/docker
systemctl enable docker
systemctl start docker
NETWORKSPACE=$(docker network inspect -f "{{range .IPAM.Config }}{{ .Subnet }}{{end}}" bridge)
firewall-cmd --permanent --new-zone dockerc
firewall-cmd --permanent --zone dockerc --add-source ${NETWORKSPACE}
firewall-cmd --permanent --zone dockerc --add-port 8443/tcp
firewall-cmd --permanent --zone dockerc --add-port 53/udp
firewall-cmd --permanent --zone dockerc --add-port 8053/udp
firewall-cmd --reload
```

3.  Run `oc cluster up`

```
oc cluster up --image=registry.access.redhat.com/openshift3/ose --version=v3.5 --logging=true --metrics=true --public-hostname=ocp.172.16.1.222.nip.io --routing-suffix=apps.172.16.1.222.nip.io 
```

Actual results:

```
[root@ocp-aio ~]# oc get pods --all-namespaces 
NAMESPACE         NAME                            READY     STATUS      RESTARTS   AGE
default           docker-registry-1-rpg0j         1/1       Running     0          45m
default           persistent-volume-setup-tkbwx   0/1       Completed   0          45m
default           router-1-pg1vc                  1/1       Running     0          45m
logging           logging-deployer-r207x          0/1       Error       0          45m
openshift-infra   hawkular-cassandra-1-s60mq      1/1       Running     0          44m
openshift-infra   hawkular-metrics-qngxs          1/1       Running     0          44m
openshift-infra   heapster-6p0vd                  1/1       Running     0          44m
openshift-infra   metrics-deployer-pod-kpf8q      0/1       Completed   0          45m

```

Logging error

```
[root@ocp-aio ~]# oc logs -f logging-deployer-r207x -n logging | tail -10
++ '[' '' = true ']'
++ echo ''
+ es_dynamic=
+ (( n=1 ))
+ (( n<=1 ))
+ pvc=logging-es-1
+ '[' '' '!=' 1 -a 100G '!=' '' ']'
+ oc new-app logging-pvc-template -p NAME=logging-es-1,SIZE=100G
warning: --param no longer accepts comma-separated lists of values. "NAME=logging-es-1,SIZE=100G" will be treated as a single key-value pair.
error: error processing template "logging/logging-pvc-template": Template "logging-pvc-template" is invalid: template.parameters[1]: Required value: template.parameters[1]: parameter SIZE is required and must be specified
```

Full log: https://da.gd/hebaB


Expected results:

Logging deployed

Additional info:

My Env

```
[root@ocp-aio ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.3 (Maipo)
[root@ocp-aio ~]# docker version
Client:
 Version:         1.12.6
 API version:     1.24
 Package version: docker-common-1.12.6-16.el7.x86_64
 Go version:      go1.7.4
 Git commit:      3a094bd/1.12.6
 Built:           Tue Mar 21 13:30:59 2017
 OS/Arch:         linux/amd64

Server:
 Version:         1.12.6
 API version:     1.24
 Package version: docker-common-1.12.6-16.el7.x86_64
 Go version:      go1.7.4
 Git commit:      3a094bd/1.12.6
 Built:           Tue Mar 21 13:30:59 2017
 OS/Arch:         linux/amd64
[root@ocp-aio ~]# getenforce 
Enforcing
[root@ocp-aio ~]# uname -a
Linux ocp-aio 3.10.0-514.16.1.el7.x86_64 #1 SMP Fri Mar 10 13:12:32 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
```

Comment 1 Jeff Cantrill 2017-05-01 18:35:09 UTC

*** This bug has been marked as a duplicate of bug 1441889 ***