Mailinglist Archive: opensuse-buildservice (105 mails)

< Previous Next >
Re: [opensuse-buildservice] CentOS Modules: Error 400 unknown parameter module
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Fri, 06 Dec 2019 14:36:45 +0100
  • Message-id: <1917551.zh3YDCz88i@linux-ywca>
On Freitag, 6. Dezember 2019, 13:12:16 CET Moritz Röhrich wrote:
Hi OBS Community,

I am trying to build for CentOS 8 using OBS but I am getting the
following error:

400 remote error: unknown parameter 'module'

This is when your local worker starts a job?


(worker was obs-worker-75d5b98b45-9d2vj:1)

Indeed, when I curl for the requested URL, I get:
$ curl
<status code="400">
<summary>unknown parameter 'module'</summary>

This is also reflected in the src-server logs

,gpm-libs,linuxconsoletools,systemd,libfdisk,libutempter,vim-common,libpipeline,libmodman,python3-ply,SDL,kmod-libs,cryptsetup-libs,libseccomp,iptables-libs,systemd-pam,dbus,vim-filesystem,device-mapper-libs,json-c,libpcap,dbus-daemon,dbus-libs,dbus-tools,dbus-common [2276]: unknown parameter 'module'

I am however running the latest version of OBS 2.11 alpha
(2.11~alpha.20191206T090330.3a29f5dec7-9316.1). I thought fedora
modularity was supposed to be supported? This problem was also present
in my previous version of OBS, which was the 2.11 alpha from late

Is this intentional? Am I missing something? Any help is much apprechiated.

No ... we have not tested interconnect for this yet ... is the attached patch

rcobssrcserver restart

is needed afterwards.


Adrian Schroeter <adrian@xxxxxxx>
Build Infrastructure Project Manager

SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
(HRB 247165, AG München), Geschäftsführer: Felix Imendörffer

commit f7798b811eeb074d469bd89923fcf0936b29bf78
Author: Adrian Schröter <adrian@xxxxxxx>
Date: Fri Dec 6 14:35:17 2019 +0100

[backend] allow module parameter on non-AJAX routes

diff --git a/src/backend/bs_srcserver b/src/backend/bs_srcserver
index 6609d6515d..aa75aa86f9 100755
--- a/src/backend/bs_srcserver
+++ b/src/backend/bs_srcserver
@@ -6645,8 +6645,8 @@ my $dispatches = [
'/getsources $project $package $srcmd5:md5 workerid?' => \&getsources,
'/getconfig $project $repository path:prp* workerid?' => \&getbuildconfig,
'/getsslcert $project autoextend:bool? workerid? signtype:?' => \&getsslcert,
- '/getbinaries $project $repository $arch binaries: nometa:bool? workerid?'
=> \&worker_getbinaries,
- '/getbinaryversions $project $repository $arch binaries: nometa:bool?
workerid?' => \&worker_getbinaryversions,
+ '/getbinaries $project $repository $arch binaries: nometa:bool? workerid?
module*' => \&worker_getbinaries,
+ '/getbinaryversions $project $repository $arch binaries: nometa:bool?
workerid? module*' => \&worker_getbinaryversions,

# publisher/signer calls
'/getsignkey $project withpubkey:bool? autoextend:bool? withalgo:bool?' =>
< Previous Next >
Follow Ups