plainbox: TRANSFER_SERVER not set

Bug #1172845 reported by Daniel Manrique
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
checkbox-satellite
Fix Released
High
Daniel Manrique

Bug Description

networking/http test fail http://: Invalid host name.

Job is defined as follows:

plugin: shell
name: networking/http
command: wget -SO /dev/null http://$TRANSFER_SERVER
description:
 Automated test case to make sure that it's possible to download files through HTTP

So the problem here is $TRANSFER_SERVER is not set.

The reason is that these variables are set in the server_info checkbox plugin, which does not exist in plainbox.

This plugin sets TRANSFER_SERVER, NTP_SERVER and OTHER_SERVER to suitable values. The defaults are:

    transfer_server = String(default="cdimage.ubuntu.com")
    ntp_server = String(default="ntp.ubuntu.com")
    other_server = String(default="127.0.0.1")

These are overridable with standard checkbox plugin options, e.g. --config=checkbox/plugins/server/info/transfer_server=some.other.transfer.server. Note, however, that in practice they are *NOT* set to anything different than the defaults.

We can potentially set these variables in plainbox's config file, in the environment section, which should be done in the preseed in checkbox-satellite.

Thus, this is strictly speaking not a plainbox bug, but a checkbox-satellite one. Have a look at this but feel free to reassign to checkbox-satellite afterwards.

Tags: plainbox sru
Revision history for this message
Daniel Manrique (roadmr) wrote :

Actually I'll just assign this to myself and set to checkbox-satellite.

affects: checkbox → checkbox-satellite
Changed in checkbox-satellite:
assignee: nobody → Daniel Manrique (roadmr)
importance: Undecided → High
status: New → Triaged
Daniel Manrique (roadmr)
Changed in checkbox-satellite:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.