Bug 963700

Summary: Log files always serve from 'http'
Product: [Retired] Beaker Reporter: Raymond Mancy <rmancy>
Component: lab controllerAssignee: Raymond Mancy <rmancy>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.12CC: asaha, dcallagh, ebaak, junichi.nomura, llim, qwan, rglasz, rmancy, xjia
Target Milestone: 0.13   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-25 06:25:24 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 Raymond Mancy 2013-05-16 12:20:28 UTC
Description of problem:

log files are created with a hardcoded 'http' in their url

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

0.12

How reproducible:

Always

Steps to Reproduce:
1. Run a job
2. wait for a recipe task to complete
3.
  
Actual results:

Log file will point to a 'http://' prefixed URL

Expected results:

Configurable

Additional info:

This is due to proxy.py and the initialisation of the LogStorage object.

Comment 1 Raymond Mancy 2013-05-17 01:37:18 UTC
It may be simple enough to prepend this to the SERVER variable which lives in labcontroller.conf

Comment 2 Raymond Mancy 2013-05-31 08:33:48 UTC
http://gerrit.beaker-project.org/#/c/2004/

Comment 5 Dan Callaghan 2013-06-07 02:14:12 UTC
Verified by setting URL_SCHEME to 'https' and URL_DOMAIN to a dummy value, and checking that job logs were registered in Beaker with the expected base URL.

Comment 7 Amit Saha 2013-06-25 06:25:24 UTC
Beaker 0.13.1 has been released.