Re: [opensuse-buildservice] private obs proxy setting
2014/1/10 Hans van Maaren <hansvanmaaren@gmail.com>:
2014/1/10 Kanstantsin Shautsou <gentoo.integer@gmail.com>:
On Jan 10, 2014, at 13:05 , Hans van Maaren <hansvanmaaren@gmail.com> wrote:
Hi,
I have installed the latest OBS appliance behind a proxy.
The OPENSUSE proxy seems to work fine, but the proxy settings for OBS does not work.
I followed the procedure for the proxy settings on url: openSUSE:Build_Service_private_installation
The "add repository" page stays empty and I cannot find any useful logging to find out what's wrong.
Is anything changed?
Do you have a tip to resolve this issue?
Is there a setting to get more debug logging?
with regards, Hans -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Did you add remote openSUSE project? (interconnect) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Yes i did. After that I did an update. ( in the configuration tab)
-- Hans
Summary: I Wonder if anybody has an idea why this doesn't work? Install the vmware appliance use DHCP and DNS. Fill in proxy settings: /etc/sysconfig/proxy HTTP_PROXY="http://<ip-proxy>:3128/" HTTPS_PROXY="http://<ip-proxy>:3128/" ( wget and zypper works fine ) /usr/lib/obs/server/BSConfig.pm our $proxy = "http://<ip-proxy>:3128/"; our $noproxy = "localhost, 127.0.0.1"; On the browser: Interconnect – build openSUSE.org – Save Changes – Create home project Home project – Repositories – Add repositories The Add Repositories page stays empty. I can’t find any error in the logfiles -- Regards, Hans -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am 23.01.2014 17:46, schrieb Hans van Maaren:
2014/1/10 Hans van Maaren<hansvanmaaren@gmail.com>:
2014/1/10 Kanstantsin Shautsou<gentoo.integer@gmail.com>:
On Jan 10, 2014, at 13:05 , Hans van Maaren<hansvanmaaren@gmail.com> wrote:
Hi,
I have installed the latest OBS appliance behind a proxy.
[...]
Did you add remote openSUSE project? (interconnect) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Yes i did. After that I did an update. ( in the configuration tab)
-- Hans
Summary:
I Wonder if anybody has an idea why this doesn't work?
Install the vmware appliance use DHCP and DNS.
Fill in proxy settings:
/etc/sysconfig/proxy
HTTP_PROXY="http://<ip-proxy>:3128/"
HTTPS_PROXY="http://<ip-proxy>:3128/" ( wget and zypper works fine )
These two above set shell environment variables. You will have to _log in_ again to see the effect. Anyway, the obs-worker process will be run as a direct child of the init process, no _log in_ shell is involved. Which means the environment variables are never set. (Unless you run rcobsworker restart from a login shell, of course)
/usr/lib/obs/server/BSConfig.pm
our $proxy = "http://<ip-proxy>:3128/";
our $noproxy = "localhost, 127.0.0.1";
AFAIK, this affects the obsworker only.
On the browser:
Interconnect – build openSUSE.org – Save Changes – Create home project
Home project – Repositories – Add repositories
The Add Repositories page stays empty.
Because either the obs-api or obs-webui (not sure which of these) is unable to contact 'build openSUSE.org'. Did you set http_proxy in /srv/www/obs/webui/config/options.yml? Also make sure to add http_proxy in /srv/www/obs/api/config/options.yml. Although that setting is not mentioned in /srv/www/obs/api/config/options.yml.example (Bug?), but it is read by /srv/www/obs/api/lib/activexml/transport.rb. I am running OBS behind a proxy, too, and that scenario seems not to be well tested. I wont't blame the OBS team for that. Cheers, Martin -- Ich mag kein TOFU! <http://www.textkritik.de/schriftundcharakter/sundc008tofu.htm> -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am 23.01.2014 17:46, schrieb Hans van Maaren:
2014/1/10 Hans van Maaren<hansvanmaaren@gmail.com>:
2014/1/10 Kanstantsin Shautsou<gentoo.integer@gmail.com>:
On Jan 10, 2014, at 13:05 , Hans van Maaren<hansvanmaaren@gmail.com> wrote:
Hi,
I have installed the latest OBS appliance behind a proxy.
[...]
Did you add remote openSUSE project? (interconnect) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Yes i did. After that I did an update. ( in the configuration tab)
-- Hans
Summary:
I Wonder if anybody has an idea why this doesn't work?
Install the vmware appliance use DHCP and DNS.
Fill in proxy settings:
/etc/sysconfig/proxy
HTTP_PROXY="http://<ip-proxy>:3128/"
HTTPS_PROXY="http://<ip-proxy>:3128/" ( wget and zypper works fine )
These two above set shell environment variables. You will have to _log in_ again to see the effect. Anyway, the obs-worker process will be run as a direct child of the init process, no _log in_ shell is involved. Which means the environment variables are never set. (Unless you run rcobsworker restart from a login shell, of course)
/usr/lib/obs/server/BSConfig.pm
our $proxy = "http://<ip-proxy>:3128/";
our $noproxy = "localhost, 127.0.0.1";
AFAIK, this affects the obsworker only.
On the browser:
Interconnect – build openSUSE.org – Save Changes – Create home project
Home project – Repositories – Add repositories
The Add Repositories page stays empty.
Because either the obs-api or obs-webui (not sure which of these) is unable to contact 'build openSUSE.org'. Did you set http_proxy in /srv/www/obs/webui/config/options.yml? Also make sure to add http_proxy in /srv/www/obs/api/config/options.yml. Although that setting is not mentioned in /srv/www/obs/api/config/options.yml.example (Bug?), but it is read by /srv/www/obs/api/lib/activexml/transport.rb. I am running OBS behind a proxy, too, and that scenario seems not to be well tested. I wont't blame the OBS team for that. Cheers, Martin -- Ich mag kein TOFU! <http://www.textkritik.de/schriftundcharakter/sundc008tofu.htm> -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
2014/1/24 Martin Weber <m.weber@razorcat.com>:
Am 23.01.2014 17:46, schrieb Hans van Maaren:
2014/1/10 Hans van Maaren<hansvanmaaren@gmail.com>:
2014/1/10 Kanstantsin Shautsou<gentoo.integer@gmail.com>:
On Jan 10, 2014, at 13:05 , Hans van Maaren<hansvanmaaren@gmail.com> wrote:
Hi,
I have installed the latest OBS appliance behind a proxy.
[...]
Did you add remote openSUSE project? (interconnect) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Yes i did. After that I did an update. ( in the configuration tab)
-- Hans
Summary:
I Wonder if anybody has an idea why this doesn't work?
Install the vmware appliance use DHCP and DNS.
Fill in proxy settings:
/etc/sysconfig/proxy
HTTP_PROXY="http://<ip-proxy>:3128/"
HTTPS_PROXY="http://<ip-proxy>:3128/" ( wget and zypper works fine )
These two above set shell environment variables. You will have to _log in_ again to see the effect.
Anyway, the obs-worker process will be run as a direct child of the init process, no _log in_ shell is involved. Which means the environment variables are never set. (Unless you run rcobsworker restart from a login shell, of course)
/usr/lib/obs/server/BSConfig.pm
our $proxy = "http://<ip-proxy>:3128/";
our $noproxy = "localhost, 127.0.0.1";
AFAIK, this affects the obsworker only.
On the browser:
Interconnect – build openSUSE.org – Save Changes – Create home project
Home project – Repositories – Add repositories
The Add Repositories page stays empty.
Because either the obs-api or obs-webui (not sure which of these) is unable to contact 'build openSUSE.org'.
Did you set http_proxy in /srv/www/obs/webui/config/options.yml?
Also make sure to add http_proxy in /srv/www/obs/api/config/options.yml. Although that setting is not mentioned in /srv/www/obs/api/config/options.yml.example (Bug?), but it is read by /srv/www/obs/api/lib/activexml/transport.rb.
I am running OBS behind a proxy, too, and that scenario seems not to be well tested. I wont't blame the OBS team for that.
Cheers, Martin
-- Ich mag kein TOFU! <http://www.textkritik.de/schriftundcharakter/sundc008tofu.htm> -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Martin, Thanks, this does the trick.! End let the OBS adventures go on :) -- Hans -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
2014-01-25 Hans van Maaren <hansvanmaaren@gmail.com>:
2014/1/24 Martin Weber <m.weber@razorcat.com>:
Am 23.01.2014 17:46, schrieb Hans van Maaren:
2014/1/10 Hans van Maaren<hansvanmaaren@gmail.com>:
2014/1/10 Kanstantsin Shautsou<gentoo.integer@gmail.com>:
On Jan 10, 2014, at 13:05 , Hans van Maaren<hansvanmaaren@gmail.com> wrote:
Hi,
I have installed the latest OBS appliance behind a proxy.
[...]
Did you add remote openSUSE project? (interconnect) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Yes i did. After that I did an update. ( in the configuration tab)
-- Hans
Summary:
I Wonder if anybody has an idea why this doesn't work?
Install the vmware appliance use DHCP and DNS.
Fill in proxy settings:
/etc/sysconfig/proxy
HTTP_PROXY="http://<ip-proxy>:3128/"
HTTPS_PROXY="http://<ip-proxy>:3128/" ( wget and zypper works fine )
These two above set shell environment variables. You will have to _log in_ again to see the effect.
Anyway, the obs-worker process will be run as a direct child of the init process, no _log in_ shell is involved. Which means the environment variables are never set. (Unless you run rcobsworker restart from a login shell, of course)
/usr/lib/obs/server/BSConfig.pm
our $proxy = "http://<ip-proxy>:3128/";
our $noproxy = "localhost, 127.0.0.1";
AFAIK, this affects the obsworker only.
On the browser:
Interconnect - build openSUSE.org - Save Changes - Create home project
Home project - Repositories - Add repositories
The Add Repositories page stays empty.
Because either the obs-api or obs-webui (not sure which of these) is unable to contact 'build openSUSE.org'.
Did you set http_proxy in /srv/www/obs/webui/config/options.yml?
Also make sure to add http_proxy in /srv/www/obs/api/config/options.yml. Although that setting is not mentioned in /srv/www/obs/api/config/options.yml.example (Bug?), but it is read by /srv/www/obs/api/lib/activexml/transport.rb.
I am running OBS behind a proxy, too, and that scenario seems not to be well tested. I wont't blame the OBS team for that.
Cheers, Martin
-- Ich mag kein TOFU! <http://www.textkritik.de/schriftundcharakter/sundc008tofu.htm> -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Martin,
Thanks, this does the trick.! End let the OBS adventures go on :)
-- Hans
Fill in proxy settings: /etc/sysconfig/proxy HTTP_PROXY="http://<ip-proxy>:3128/" HTTPS_PROXY="http://<ip-proxy>:3128/" /usr/lib/obs/server/BSConfig.pm our $proxy = "http://<ip-proxy>:3128/"; our $noproxy = "localhost, 127.0.0.1" /srv/www/obs/webui/config/options.yml? http_proxy: "http://<ip-proxy>:3128/" /srv/www/obs/api/config/options.yml. http_proxy: "http://<ip-proxy>:3128/" This are all the config files with proxy settings I know. Everyting Looks OK, but now making a package does not start. all packages state : scheduled. But nothing happens.. Is there a proxy setting still missing or do i mis someting else. -- Hans -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am 07.02.2014 13:31, schrieb Hans van Maaren:
2014-01-25 Hans van Maaren <hansvanmaaren@gmail.com>:
2014/1/24 Martin Weber <m.weber@razorcat.com>:
Am 23.01.2014 17:46, schrieb Hans van Maaren: [...] Fill in proxy settings:
Hi Hans, just compared with my settings...
/etc/sysconfig/proxy HTTP_PROXY="http://<ip-proxy>:3128/" HTTPS_PROXY="http://<ip-proxy>:3128/"
My settings do not have the trailing slash. Additonally, I have NO_PROXY="localhost, 127.0.0.1, .<internal-domain.de>"
/usr/lib/obs/server/BSConfig.pm our $proxy = "http://<ip-proxy>:3128/";
I do not have the trailing slash. And no IP, but the proxy's hostname.
our $noproxy = "localhost, 127.0.0.1"
I have our $noproxy = "localhost, 127.0.0.1, <internal-domain.de>"
/srv/www/obs/webui/config/options.yml? http_proxy: "http://<ip-proxy>:3128/"
I do not have the trailing slash.
/srv/www/obs/api/config/options.yml. http_proxy: "http://<ip-proxy>:3128/"
I do not have the trailing slash
This are all the config files with proxy settings I know. Everyting Looks OK, but now making a package does not start. all packages state : scheduled. But nothing happens.. Is there a proxy setting still missing or do i mis someting else.
Take a look at /root/.curlrc. It is written by YAST (and I can't imagine why). .curlrc seems to be relevant for the obsworker, but I'm unsure. I have --noproxy "localhost,<internal-domain.de>" # Changed by YaST2 module proxy 07/09/13 --proxy "http://<proxy-hostname>:8000" HTH, Martin -- | Martin Weber | RazorCat Development GmbH | Witzlebenplatz 4 fon: +49-(30)-536 357 46 | 14057 Berlin fax: +49-(30)-536 357 60 | |-------------------------------------------- | Geschäftsführer: Michael Wittner | Sitz der Gesellschaft: Berlin | Amtsgericht: Berlin, HRB 65326 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Hans van Maaren
-
Martin Weber