Bug 1276004

Summary: Can not get log context under Log label on iphone/ipad
Product: OKD Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: bpeterse
Status: CLOSED NOTABUG QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, jforrest, mmccomas, yanpzhan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-29 13:46:47 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 Flags
Chrome iPhone 5 emulator view of build/logs
none
log-ipad
none
log-iphone none

Description Yanping Zhang 2015-10-28 11:03:59 UTC
Description of problem:
After created app in project, try to view the builds/pods log under Log label from web console on iphone/ipad, the log contexts are not displayed in the box.

Version-Release number of selected component (if applicable):
openshift v1.0.6-997-gff3b522
kubernetes v1.2.0-alpha.1-1107-g4c8e6f4
etcd 2.1.2

How reproducible:
Always

Steps to Reproduce:
1.Create app in project.
$oc create -f origin/examples/sample-app/application-template-stibuild.json
$oc new-app ruby-helloworld-sample
2. View the builds/pods log under Log label from web console on iphone/ipad
3.

Actual results:
2.The log contexts are not displayed in the box

Expected results:
3.Should show log contexts correctly in the box.

Additional info:

Comment 1 bpeterse 2015-10-28 19:43:02 UTC
Yanping, would you mind posting a screenshot?  I want to make sure I understand your issue completely. I'm looking at this bug today via an iPhone emulator.  Thanks!

Comment 2 bpeterse 2015-10-28 20:33:01 UTC
Created attachment 1087322 [details]
Chrome iPhone 5 emulator view of build/logs

Comment 3 bpeterse 2015-10-28 20:34:16 UTC
I just added a screenshot of what I see via iPhone emulator.  I did make some minor layout changes here to improve readability, they will be going in with a PR from Steve Goodwin in the near future.

Comment 4 Yanping Zhang 2015-10-29 04:10:15 UTC
Created attachment 1087364 [details]
log-ipad

Comment 5 Yanping Zhang 2015-10-29 04:11:12 UTC
Created attachment 1087365 [details]
log-iphone

Comment 6 Yanping Zhang 2015-10-29 04:27:24 UTC
Posted the screenshot for ipad/iphone simulator, pls check the attachments, thanks!

Comment 7 Jessica Forrester 2015-10-29 13:46:47 UTC
This is the same problem as the terminal:

This is the known issue with websockets in safari/iOS when the self-signed cert has not been installed.

You can install a cert on iOS by putting the cert file at some location you can hit within the browser.  When iOS safari goes to download it, it will ask you if you want to Install the cert as a profile in the iOS Settings.

The cert you want is the openshift.local.config/master/ca.crt

Once I did this I was able to use the logs on iOS