Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
Re: [opensuse-buildservice] Installing local obs 2.3.2 getting problem connectiong to remote project via https://api.opensuse.org/public?
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Fri, 06 Jul 2012 11:56:30 +0200
  • Message-id: <2030875.kF47Td28fG@scherben>
Am Freitag, 6. Juli 2012, 11:50:02 schrieb Christian Nilsson:
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.

right. So far we do not support building in a client VM because you can't
secure it. And usually
the VM clients have public network access so it is a no-go.

However, I hope I have some time during hackweek to work on OBS openstack
integration.


//Christian

----- Original Message -----
From: "Adrian Schröter" <adrian@xxxxxxx>
To: opensuse-buildservice@xxxxxxxxxxxx
Cc: "Christian Nilsson" <cnilsson@xxxxxxxxxxxx>
Sent: Friday, July 6, 2012 11:01:25 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, 11:00:28 schrieb Christian Nilsson:
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" <adrian@xxxxxxx>
To: "Christian Nilsson" <cnilsson@xxxxxxxxxxxx>
Cc: opensuse-buildservice@xxxxxxxxxxxx
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" <adrian@xxxxxxx>
To: opensuse-buildservice@xxxxxxxxxxxx
Cc: "Christian Nilsson" <cnilsson@xxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxx
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@xxxxxxx

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

< Previous Next >
Follow Ups
References