Ok will do..
Another thing i found out:
This obs server is installed on a xen guest (domU), in the /etc/init.d/obsworker it's testing for type of vm:
elif [ -e /sys/hypervisor/type ] && grep -q xen /sys/hypervisor/type; then
vmopt=--xen
OBS_VM_TYPE="xen"
This statement will become true, however this is a guest and one can't start a xen guest inside a xen guest right?
So if OBS_VM_TYPE="auto in /etc/sysconfig/obs-<server>,<worker>" it will fail on a xen guest.
//Christian
----- Original Message -----
From: "Adrian Schröter"
Nope it's already set to: NO_PROXY="localhost, 127.0.0.1"
Can you verify that it is really set when curl is running? If it is, please open a bug against the curl package. thanks adrian
//Christian
----- Original Message ----- From: "Adrian Schröter"
To: "Christian Nilsson" Cc: opensuse-buildservice@opensuse.org Sent: Friday, July 6, 2012 10:47:36 AM Subject: Re: [opensuse-buildservice] Installing local obs 2.3.2 getting problem connectiong to remote project via https://api.opensuse.org/public? Am Freitag, 6. Juli 2012, 10:42:20 schrieb Christian Nilsson:
That helped.... Another thing, the /etc/init.d/obsworker startscript seems not support noproxy, i had to change the line: #curl -s "$WORKER_CODE"/getworkercode | cpio --quiet --extract to curl -x "" -s "$WORKER_CODE"/getworkercode | cpio --quiet --extract
Tried to set the env http(s)_proxy="" but that was not enough...
Or am i doing something wrong here too?
It should help to set it in
/etc/sysconfig/proxy
Thanks! Christian
----- Original Message ----- From: "Adrian Schröter"
To: opensuse-buildservice@opensuse.org Cc: "Christian Nilsson" Sent: Friday, July 6, 2012 10:21:26 AM Subject: Re: [opensuse-buildservice] Installing local obs 2.3.2 getting problem connectiong to remote project via https://api.opensuse.org/public? Am Freitag, 6. Juli 2012, 10:13:16 schrieb Christian Nilsson:
Hi all!
So I'm struggling with the installation of obs 2.3.2 (from rpm packages). I have followed the /usr/share/doc/packages/obs-api/README.SETUP Now i have come to the point:
4.1 Reuse projects hosted on openSUSE.org build service So have done this: #curl -x "" -0 --user "Admin:opensuse" -X PUT -T /usr/share/doc/packages/obs-api/openSUSE.org.xml https://localhost:444 /source/openSUSE.org/_meta --insecure <?xml version="1.0" encoding="UTF-8"?> <status code="ok"> <summary>Ok</summary> <details></details> </status>
Seems to work.. Then i try to "Branch package from other project" into my home project. Name of original project: openSUSE.org:openSUSE:11.4 Name of package in original project: at
and then i press "Create Branch" button.
after a while i get an error message: OBS Web Interface Error: Error Details: Errorcode: 400 Message: connect to api.opensuse.org:443: Connection timed out
I have also tried to insert https://username:password@api.opensuse.org in /usr/share/doc/packages/obs-api/openSUSE.org.xml before posting it however same problem.
I'm sitting behind a http proxy thats why i do -x on curl.
And you have configured the proxy in BSConfig.pm ?
our $proxy = "http(s)://user:pass\@<host>:<port>";
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org