[opensuse-buildservice] osc 0.105

Hi, I released osc 0.105 last night, which incorporates the last two or three weeks of work. Mostly work done by Marcus and Dirk. I posted about it here: http://lizards.opensuse.org/2008/07/10/new-osc-package-released/ You'll find a summarized list of changes. Thanks, Peter -- Contact: admin@opensuse.org (a.k.a. ftpadmin@suse.com) #opensuse-mirrors on freenode.net Info: http://en.opensuse.org/Mirror_Infrastructure SUSE LINUX Products GmbH Research & Development

Hi Peter, is it broken ? osc -A https://api.opensuse.org build openSUSE_10.3 i586 obs-server.spec Getting buildinfo from server -- POST http://api.opensuse.org/build/openSUSE:Tools/openSUSE_10.3/i586/obs-server/_... connect: (api.opensuse.org, 80) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ..... header: X-Error-Info: Received a non-redirectable request on a secure service. Change the URL from http to https and send the request again header: Content-Type: text/html; charset=utf-8 header: Content-Length: 3046 header: Pragma: no-cache header: Connection: close Server returned an error: HTTP Error 409: Conflict Kind Regards Chris Peter Poeml schrieb:
Hi,
I released osc 0.105 last night, which incorporates the last two or three weeks of work. Mostly work done by Marcus and Dirk.
I posted about it here: http://lizards.opensuse.org/2008/07/10/new-osc-package-released/ You'll find a summarized list of changes.
Thanks, Peter
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Thu, Jul 10, 2008 at 02:23:42PM +0000, Christian wrote:
Hi Peter,
is it broken ?
Not that I knew of, but 409 is surely a strange error code coming from the API. Somebody reported seeing a 409 some weeks ago, but no details about why this happens could be found out.
osc -A https://api.opensuse.org build openSUSE_10.3 i586 obs-server.spec Getting buildinfo from server
-- POST http://api.opensuse.org/build/openSUSE:Tools/openSUSE_10.3/i586/obs-server/_... connect: (api.opensuse.org, 80) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ..... header: X-Error-Info: Received a non-redirectable request on a secure service. Change the URL from http to https and send the request again header: Content-Type: text/html; charset=utf-8 header: Content-Length: 3046 header: Pragma: no-cache header: Connection: close Server returned an error: HTTP Error 409: Conflict
^^^^^^^^^^^^^ Note that the API says: "Received a non-redirectable request on a secure service. Change the URL from http to https and send the request again" Might be worth consideration. Peter -- Contact: admin@opensuse.org (a.k.a. ftpadmin@suse.com) #opensuse-mirrors on freenode.net Info: http://en.opensuse.org/Mirror_Infrastructure SUSE LINUX Products GmbH Research & Development

Hi Peter, I gave "osc -A https://api......" and POST was done with "http://api...." so what should I consider ? Sorry, but did you read carefully ? Kind Regards Chris Peter Poeml schrieb:
On Thu, Jul 10, 2008 at 02:23:42PM +0000, Christian wrote:
Hi Peter,
is it broken ?
Not that I knew of, but 409 is surely a strange error code coming from the API.
Somebody reported seeing a 409 some weeks ago, but no details about why this happens could be found out.
osc -A https://api.opensuse.org build openSUSE_10.3 i586 obs-server.spec Getting buildinfo from server
-- POST http://api.opensuse.org/build/openSUSE:Tools/openSUSE_10.3/i586/obs-server/_... connect: (api.opensuse.org, 80) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ..... header: X-Error-Info: Received a non-redirectable request on a secure service. Change the URL from http to https and send the request again header: Content-Type: text/html; charset=utf-8 header: Content-Length: 3046 header: Pragma: no-cache header: Connection: close Server returned an error: HTTP Error 409: Conflict
^^^^^^^^^^^^^
Note that the API says: "Received a non-redirectable request on a secure service. Change the URL from http to https and send the request again"
Might be worth consideration.
Peter
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Thu, Jul 10, 2008 at 02:41:38PM +0000, Christian wrote:
I gave "osc -A https://api......" and POST was done with "http://api...."
so what should I consider ?
And that was not the case with osc 0.104? I'm not aware of changes in this regard. Therefore I believe that 0.105 is broken. Anyway, it doesn't happen here. I get -- POST https://api.opensuse.org/build/openSUSE:Tools/openSUSE_10.3/i586/obs-server/... Peter -- Contact: admin@opensuse.org (a.k.a. ftpadmin@suse.com) #opensuse-mirrors on freenode.net Info: http://en.opensuse.org/Mirror_Infrastructure SUSE LINUX Products GmbH Research & Development

Hi Peter, had this behaviour in 0.104, too. last time I used "build" was with osc 0.99. Upgraded to 0.105, same behaviour. Chris Peter Poeml schrieb:
On Thu, Jul 10, 2008 at 02:41:38PM +0000, Christian wrote:
I gave "osc -A https://api......" and POST was done with "http://api...."
so what should I consider ?
And that was not the case with osc 0.104? I'm not aware of changes in this regard. Therefore I believe that 0.105 is broken.
Anyway, it doesn't happen here. I get -- POST https://api.opensuse.org/build/openSUSE:Tools/openSUSE_10.3/i586/obs-server/...
Peter
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Thursday 10 July 2008 16:41:38 Christian wrote:
Hi Peter,
I gave "osc -A https://api......" and POST was done with "http://api...."
so what should I consider ? Sorry, but did you read carefully ?
hm, this looks like you have scheme:http definition somewhere, so it does not use https somehow ?
Kind Regards Chris
Peter Poeml schrieb:
On Thu, Jul 10, 2008 at 02:23:42PM +0000, Christian wrote:
Hi Peter,
is it broken ?
Not that I knew of, but 409 is surely a strange error code coming from the API.
Somebody reported seeing a 409 some weeks ago, but no details about why this happens could be found out.
osc -A https://api.opensuse.org build openSUSE_10.3 i586 obs-server.spec Getting buildinfo from server
-- POST http://api.opensuse.org/build/openSUSE:Tools/openSUSE_10.3/i586/obs-serv er/_buildinfo connect: (api.opensuse.org, 80) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ..... header: X-Error-Info: Received a non-redirectable request on a secure service. Change the URL from http to https and send the request again header: Content-Type: text/html; charset=utf-8 header: Content-Length: 3046 header: Pragma: no-cache header: Connection: close Server returned an error: HTTP Error 409: Conflict
^^^^^^^^^^^^^
Note that the API says: "Received a non-redirectable request on a secure service. Change the URL from http to https and send the request again"
Might be worth consideration.
Peter
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Hi Adrian,
hm, this looks like you have scheme:http definition somewhere, so it does not use https somehow where "is" somewhere ? nothing defined in ~/.oscrc
######## my .oscrc [general] # URL to access API server, e.g. https://api.opensuse.org/ # you also need a section [https://api.opensuse.org/] with the credentials #apisrv = https://api.opensuse.org/ apisrv = http://api.de.scorpio-it.net/ # Downloaded packages are cached here. Must be writable by you. #packagecachedir = /var/tmp/osbuild-packagecache # Wrapper to call build as root (sudo, su -, ...) #su-wrapper = su -c # rootdir to setup the chroot environment # can contain %(repo)s and/or %(arch)s for replacement, e.g. # /srv/oscbuild/%(repo)s-%(arch)s #build-root = /var/tmp/build-root # show HTTP traffic useful for debugging #http_debug = 1 [http://api.de.scorpio-it.net/] user = Admin pass = xxxxxxxxxxxx [https://api.opensuse.org/] user = computersalat pass = xxxxxxxxxxxxx Cheers Chris --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Peter Poeml schrieb:
On Thu, Jul 10, 2008 at 02:23:42PM +0000, Christian wrote:
Hi Peter,
is it broken ?
Not that I knew of, but 409 is surely a strange error code coming from the API.
Somebody reported seeing a 409 some weeks ago, but no details about why this happens could be found out.
The 409 is sent by the ichain proxy when it encounters a non-redirectable request (like a POST request) using the http protocol instead of https. Somehow the url stored in the .osc/_apiurl file inside your working copy uses http protocol instead of https, therefore every osc build fails with a 409. You have to change the url in this file, osc build ignores -A and settings from ~/.oscrc. Andreas
osc -A https://api.opensuse.org build openSUSE_10.3 i586 obs-server.spec Getting buildinfo from server
-- POST http://api.opensuse.org/build/openSUSE:Tools/openSUSE_10.3/i586/obs-server/_... connect: (api.opensuse.org, 80) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ..... header: X-Error-Info: Received a non-redirectable request on a secure service. Change the URL from http to https and send the request again header: Content-Type: text/html; charset=utf-8 header: Content-Length: 3046 header: Pragma: no-cache header: Connection: close Server returned an error: HTTP Error 409: Conflict
^^^^^^^^^^^^^
Note that the API says: "Received a non-redirectable request on a secure service. Change the URL from http to https and send the request again"
Might be worth consideration.
Peter
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Thu, Jul 10, 2008 at 04:50:10PM +0200, Andreas Bauer wrote:
Peter Poeml schrieb:
On Thu, Jul 10, 2008 at 02:23:42PM +0000, Christian wrote:
Hi Peter,
is it broken ?
Not that I knew of, but 409 is surely a strange error code coming from the API.
Somebody reported seeing a 409 some weeks ago, but no details about why this happens could be found out.
The 409 is sent by the ichain proxy when it encounters a non-redirectable request (like a POST request) using the http protocol instead of https. Somehow the url stored in the .osc/_apiurl file inside your working copy uses http protocol instead of https, therefore every osc build fails with a 409.
You have to change the url in this file, osc build ignores -A and settings from ~/.oscrc.
Andreas
Ah, that explains it. Handling of the buildinfo and buildconfig call inside osc, as triggered by osc build, is a bit different for reasons of ease of implementation; I believe that the global options used in the osc build call are not identically passed on. Peter -- Contact: admin@opensuse.org (a.k.a. ftpadmin@suse.com) #opensuse-mirrors on freenode.net Info: http://en.opensuse.org/Mirror_Infrastructure SUSE LINUX Products GmbH Research & Development

Hi Andreas, Andreas Bauer schrieb:
The 409 is sent by the ichain proxy when it encounters a non-redirectable request (like a POST request) using the http protocol instead of https. Somehow the url stored in the .osc/_apiurl file inside your working copy uses http protocol instead of https, therefore every osc build fails with a 409.
You have to change the url in this file, osc build ignores -A and settings from ~/.oscrc. Thanks,
changing .osc/_apiurl did it
Andreas
Cheers Chris --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Thu, 2008-07-10 at 16:50 +0200, Andreas Bauer wrote:
Peter Poeml schrieb:
On Thu, Jul 10, 2008 at 02:23:42PM +0000, Christian wrote:
Hi Peter,
is it broken ? ' Not that I knew of, but 409 is surely a strange error code coming from the API.
Somebody reported seeing a 409 some weeks ago, but no details about why this happens could be found out.
The 409 is sent by the ichain proxy when it encounters a non-redirectable request (like a POST request) using the http protocol instead of https. Somehow the url stored in the .osc/_apiurl file inside your working copy uses http protocol instead of https, therefore every osc build fails with a 409.
You have to change the url in this file, osc build ignores -A and settings from ~/.oscrc.
That fixed it for me. I'm the "Somebody" mentioned above ;) Thanks, Scott --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (5)
-
Adrian Schröter
-
Andreas Bauer
-
Christian
-
Peter Poeml
-
Scott Bahling