Mailinglist Archive: opensuse-buildservice (273 mails)

< Previous Next >
Re: [opensuse-buildservice] OBS on 11,1
  • From: Marcus Rueckert <darix@xxxxxxxxx>
  • Date: Mon, 26 Jan 2009 13:49:25 +0100
  • Message-id: <20090126124925.GE4808@xxxxxxxxxxxxxxxxxxxxxxx>
On 2009-01-26 07:51:33 -0200, aledr wrote:
On Mon, Jan 26, 2009 at 6:13 AM, Dominique Leuenberger
<Dominique.Leuenberger@xxxxxxxxxxxxx> wrote:
In the weekend we (mainly ScriptRipper, }-Tux-{ and me) were busy making
the 'first' install of an OBS-Server running on OSS 11.1. Signing works
(created bnc #469229).

Whereas we discovered some 'issues' that we could identify and solve, we
believed by the end everything looks fine.
It almost does: OBS is running and is correctly building packages.

But now I ran into an issue: (again.. next one to come)
- I can't check in new files anymore.

As soon as I issue a osc ci -m "blabla"
I get the following lines in production_slave.log

--- start log ---
Processing SourceController#index_package (for ::ffff: at
2009-01-26 08:53:37) [GET]
Parameters: {"action"=>"index_package", "project"=>"VideoLAN",
"package"=>"ffmpeg", "controller"=>"source"}
AUTH: Basic<And here would be my password... base64.. so OK>
SQL (0.005579) SHOW TABLES
User Columns (0.018492) SHOW FIELDS FROM `users`
User Load (0.021333) SELECT * FROM `users` WHERE (login = '<UserName>')
USER found: <UserName>
User <UserName> initialised
User's source backend <:>
SQL (0.001270) SHOW TABLES
DbPackage Columns (0.013361) SHOW FIELDS FROM `db_packages`
DbPackage Load (0.001772) SELECT pack.*
FROM db_packages pack
LEFT OUTER JOIN db_projects pro ON pack.db_project_id =

[backend] GET: /source/VideoLAN/ffmpeg?
Sending data
Completed in 0.23076 (4 reqs/sec) | Rendering: 0.00023 (0%) | DB: 0.06227
(26%) | 200 OK []

Processing SourceController#file (for ::ffff: at 2009-01-26
08:53:38) [PUT]
Parameters: {"rev"=>"upload", "action"=>"file", "project"=>"VideoLAN",
"package"=>"ffmpeg", "controller"=>"source",
checking schema map for controller 'source', action 'file'
schema path not set, skipping validation
no authentication string was sent
Rendering status
errorcode 'unknown' - Authentication required
Rendering status (401)
Completed in 0.04921 (20 reqs/sec) | Rendering: 0.00220 (4%) | DB: 0.00000
(0%) | 401 Unauthorized
--- end log ---

So action file seems actually not to work here!

First I thought it might be because I patched out the check to run only on
rails 2.0.2 (OSS is shipped with 2.1), so that check back in, replacing
rails 2.1 with 2.0.2 (is provided in the openSUSE:Tools:Devel project,
where I have the entire obs from).

But the output above actually was created finally with rails 2.0.2, the
check not patched out... so rails is not to blame here.

What cought my eye is the line "schema path not set, skipping
validation"... why is there no schema file if that's needed for auth? (but
then: I
really have no clue of the code, so this might just be a wrong info in the
log file).

osc gives the following output (just to make it complete here)
--- start log osc ---
Transmitting file data .Traceback (most recent call last):
File "/usr/bin/osc", line 12, in <module>
r =
File "/usr/lib64/python2.6/site-packages/osc/", line 40, in
return prg.main()
File "/usr/lib64/python2.6/site-packages/osc/", line 256, in main
return self.cmd(args)
File "/usr/lib64/python2.6/site-packages/osc/", line 279, in cmd
retval = self.onecmd(argv)
File "/usr/lib64/python2.6/site-packages/osc/", line 395, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib64/python2.6/site-packages/osc/", line 1070, in
return handler(argv[0], opts, *args)
File "/usr/lib64/python2.6/site-packages/osc/", line 1350,
in do_commit
File "/usr/lib64/python2.6/site-packages/osc/", line 751, in commit
File "/usr/lib64/python2.6/site-packages/osc/", line 705, in
http_PUT(u, file = os.path.join(self.dir, n))
File "/usr/lib64/python2.6/site-packages/osc/", line 1495, in
def http_PUT(*args, **kwargs): return http_request('PUT', *args,
File "/usr/lib64/python2.6/site-packages/osc/", line 1479, in
fd = urllib2.urlopen(req, data=data)
File "/usr/lib64/python2.6/", line 124, in urlopen
return, data, timeout)
File "/usr/lib64/python2.6/", line 395, in open
response = meth(req, response)
File "/usr/lib64/python2.6/", line 508, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.6/", line 427, in error
result = self._call_chain(*args)
File "/usr/lib64/python2.6/", line 367, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/", line 847, in http_error_401
url, req, headers)
File "/usr/lib64/python2.6/", line 825, in http_error_auth_reqed
return self.retry_http_basic_auth(host, req, realm)
File "/usr/lib64/python2.6/", line 835, in retry_http_basic_auth
File "/usr/lib64/python2.6/", line 389, in open
response = self._open(req, data)
File "/usr/lib64/python2.6/", line 407, in _open
'_open', req)
File "/usr/lib64/python2.6/", line 367, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/", line 1139, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.6/", line 1112, in do_open
r = h.getresponse()
File "/usr/lib64/python2.6/", line 970, in getresponse
File "/usr/lib64/python2.6/", line 390, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.6/", line 354, in _read_status
raise BadStatusLine(line)
--- end log osc ---

And now: thank you for reading such a loooong mail :) Now I'm looking
forward for your tips on how to solve this one.
I'm sure when we're all done and all issues are resolved, installation of
OBS on 11.1 will be a breaze.

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

I got the same from my local OBS and It seems that the file size is
the problem when committing. Small files are uploaded correctly but
the not so small aren't. There's no limit of request size by default
on lighttpd and I increased the upload limit on fastcgi and didn't
work (didn't need to do that once the webclient accept the files, but
I was just trying). So I think that is some piece of code in OBS

You can add the "Live Log" to the list of features that aren't working
correctly, but I talked about this on the list a few months ago.

I hope to get a solution soon. =D

you might run into this bug:


openSUSE - SUSE Linux is my linux
openSUSE is good for you
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >