Bug 963700 - Log files always serve from 'http'
Summary: Log files always serve from 'http'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: lab controller
Version: 0.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.13
Assignee: Raymond Mancy
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-16 12:20 UTC by Raymond Mancy
Modified: 2018-02-06 00:41 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-06-25 06:25:24 UTC
Embargoed:


Attachments (Terms of Use)

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.


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