action #90299

414 failure when cloning job with very long job setting values

Added by ph03nix 4 months ago. Updated 4 months ago.

Feature requests
Target version:
Start date:
Due date:
% Done:


Estimated time:



I've notices a 414 error when cloning job to my own instance:

$ openqa-clone-job --show-progress --host
Failed to create job: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n  \"\">\n<html xmlns=\"\" lang=\"en\" xml:lang=\"en\">\n<head>\n<title>Submitted URI too large!</title>\n<link rev=\"made\" href=\"mailto:%5bno%20address%20given%5d\" />\n<style type=\"text/css\"><!--/*--><![CDATA[/*><!--*/ \n    body { color: #000000; background-color: #FFFFFF; }\n    a:link { color: #0000CC; }\n    p, address {margin-left: 3em;}\n    span {font-size: smaller;}\n/*]]>*/--></style>\n</head>\n\n<body>\n<h1>Submitted URI too large!</h1>\n<p>\n\n\n    The length of the requested URL exceeds the capacity limit for\n\tthis server. The request cannot be processed.\n   \n</p>\n<p>\nIf you think this is a server error, please contact\nthe <a href=\"mailto:%5bno%20address%20given%5d\">webmaster</a>.\n\n</p>\n\n<h2>Error 414</h2>\n<address>\n  <a href=\"/\"></a><br />\n  <span>Apache/2.4.43 (Linux/SUSE)</span>\n</address>\n</body>\n</html>\n\n" at /usr/share/openqa/script/../lib/OpenQA/Script/ line 288.

Cloning a similar job like works just fine.

A hypothesis for the failure is that when using openqa-clone-job, the settings get parameterized within the request URL, which in turn becomes too long.
The cloned job contains a lot of long settings.


openqa-clone-job --skip-download --skip-chained-deps --host


#1 Updated by tinita 4 months ago

  • Status changed from New to In Progress
  • Assignee set to tinita
  • Target version set to Ready

#2 Updated by tinita 4 months ago

Indeed, the parameters are appended to the URL, although we make a POST request.
I was able to fix it by adding a form parameter to the post request instead.
Currently running tests.

#3 Updated by okurz 4 months ago

  • Subject changed from 414 failure when cloning job to 414 failure when cloning job with very long job setting values
  • Category set to Feature requests

Sounds like an easy enough fix. Great news! tinita if you are hitting bigger problems then please let's rediscuss priorities.

#4 Updated by mkittler 4 months ago

Sorry, I was too slow with assigning to the ticket as I was just reading the chat. So is already there and I can confirm that it works.

#5 Updated by tinita 4 months ago

  • Assignee changed from tinita to mkittler

well, we have the same code change :)

assigning to you, marius

#6 Updated by openqa_review 4 months ago

  • Due date set to 2021-04-02

Setting due date based on mean cycle time of SUSE QE Tools

#7 Updated by mkittler 4 months ago

  • Status changed from In Progress to Resolved

The PR has been merged. I assume it works.

Also available in: Atom PDF