Mailinglist Archive: opensuse-buildservice (138 mails)

< Previous Next >
Re: [opensuse-buildservice] osb appliance doesn't support http proxy?
On Mittwoch, 3. Februar 2016, 17:32:05 CET wrote Dieter Bloms:
Hi,

On Wed, Feb 03, Adrian Schröter wrote:

On Mittwoch, 3. Februar 2016, 16:21:49 CET wrote Dieter Bloms:
Hello Adrian,

On Wed, Feb 03, Adrian Schröter wrote:

I try to setup the actual obs appliance 2.6.8-Build1.1 behind a http
proxy without authentication.
After a fresh install I configured the proxy in /etc/sysconfig/proxy
and
rebooted the appliance.
A zypper refresh shows me, that it can accesss the internet (it ask me
to accept a gpg key and list some packages to update).
But it seems, that the obs stuff doesn't use the proxy settings.
With netstat I see SYN_SENT from process "delayed_job.10" to the
ip 130.57.66.6
Does obs support internet accesss trough a http proxy ?

yes, that should work. You need to set in /configuration though:

osc api -e /configuration

<http_proxy>...</http_proxy>

thanks for this hint.
I added the line <http_proxy>http://nameofourserver:port/</http_proxy>
and rebootet the server to be sure the changes take effect.
After a reboot I see the same connnection:

--snip--
tcp 0 1 192.168.253.191:44327 130.57.66.6:443 SYN_SENT
1153/delayed_job.10

.10 is some .10X0 ? which one?

Or do you really have 10 fallback delay jobs

I did copy & paste of that line:

here my delayed processes:

obstest:~ # ps aux |grep delay
wwwrun 1093 0.0 6.6 394636 136132 ? Sl 15:14 0:02 delayed_job.0
wwwrun 1099 0.0 6.5 326264 134308 ? Sl 15:14 0:01 delayed_job.1
wwwrun 1106 0.0 6.5 326620 135188 ? Sl 15:14 0:01 delayed_job.2
wwwrun 1122 0.0 6.2 254072 128644 ? Sl 15:14 0:01
delayed_job.1000
wwwrun 1138 0.0 6.3 394792 131408 ? Sl 15:14 0:01
delayed_job.1010
wwwrun 1153 0.0 6.6 398840 136020 ? Sl 15:14 0:01
delayed_job.1020
root 3975 0.0 0.0 10540 1520 pts/1 S+ 16:30 0:00 grep delay

obstest:~ # netstat -anpt |grep SYN
tcp 0 1 192.168.253.191:44817 130.57.66.6:443 SYN_SENT
1153/delayed_job.10

so it is the mailer job.

Dunno why that one needs http at all, it should speak smtp. But you
may want to create an issue on github for this.

I have to admit, that we neither use nor test the proxy configuration here.

--

Adrian Schroeter
email: adrian@xxxxxxx

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284
(AG Nürnberg)

Maxfeldstraße 5
90409 Nürnberg
Germany


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >