https://bugzilla.novell.com/show_bug.cgi?id=486418 Summary: osc meta pkg -e and osc linkpac result in BuildService API error: 500 Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: SLED 11 Status: NEW Severity: Major Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lpechacek@novell.com QAContact: adrian@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-1.14 Firefox/3.0.6 Cannot create or link package with osc, because the server keeps returning "HTTP/1.1 500 Internal Server Error" without further details. Reproducible: Always Steps to Reproduce: 1. osc meta pkg -e home:LPechacek iosc 2. modify the template 3. let osc submit the data to the server Actual Results: osc output is "BuildService API error: 500" and the package is not created. -- PUT https://api.opensuse.org/source/home%3ALPechacek/iosc/_meta send: 'PUT /source/home%3ALPechacek/iosc/_meta HTTP/1.1\r\nAccept-Encoding: identity\r\nContent-Length: 916\r\nHost: api.opensuse.org\r\nUser-Agent: osc/0.115\r\nConnection: close\r\nCookie: IPCZQX018ef15359=01003f021e369c9b416efd70; ZNPCQ002-api=V001d93b35d9\r\nContent-Type: application/octet-stream\r\n\r\n' send: '<package name="iosc">\n\n <title>XTitle of New Package</title>\n\n <description>\nLONG DESCRIPTION \nGOES \nHERE\n </description>\n\n <person role="maintainer" userid="lpechacek"/>\n <person role="bugowner" userid="lpechacek"/>\n <url>PUT_UPSTREAM_URL_HERE</url>\n\n<!-- \n use one of the examplesbelow to disable building of this package \n on a certain architecture, in a certain repository, \n or a combination thereof:\n \n <disable arch="x86_64"/>\n <disable repository="SUSE_SLE-10"/>\n <disable repository="SUSE_SLE-10" arch="x86_64"/>\n\n Possible sections where you can use the tags above:\n<build>\n </build>\n <debuginfo>\n </debuginfo>\n <publish>\n </publish>\n <useforbuild>\n </useforbuild>\n \n Please have a look at: \n http://en.opensuse.org/Restricted_Formats\n Packages containing formats listed there are NOT allowed to \n be packaged in the openSUSE Buildservice and will be deleted!\n\n-->\n\n</package>\n' reply: 'HTTP/1.1 500 Internal Server Error\r\n' header: X-Error-Info: The origin web server encountered an unexpected condition which prevented it from fulfilling the request. Please try your request again. header: Content-Type: text/html; charset=utf-8 header: Content-Length: 3078 header: Pragma: no-cache header: Connection: close Expected Results: osc output is "Done." and the package is created. The problem is in the XML metadata sent to the server - the person elements' attribute userid have the value "lpechacek", while my BS user name happens to be "LPechacek" for some reason. That causes the internal server error. Needless to say that it took me quite a lot of time to pinpoint this problem. Please fix the server side. TIA -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.