AW: Debugging rules and classes for AutoYast
Rainer König <[email protected]> Tue, 7 Sep 2021 09:31:09 +0000
| Newsgroups | gmane.linux.suse.autoinstall |
|---|---|
| Message-ID | <AM9PR04MB76657BFBB39B439049B3BEDCECD39@AM9PR04MB7665.eurprd04.prod.outlook.com> |
--_000_AM9PR04MB76657BFBB39B439049B3BEDCECD39AM9PR04MB7665eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Tracked this down to a problem with range matching in rules.xml. Bug report: https://bugzilla.suse.com/show_bug.cgi?id=3D1190245 Thanks for all the suggestions. Rainer ________________________________ Von: Rainer K=F6nig Gesendet: Montag, 6. September 2021 18:07 An: [email protected] <[email protected]> Betreff: Debugging rules and classes for AutoYast I'm trying to get the rules and classes working on both SLE 15 and Tumblewe= ed. Problem is that the only working test is with SLE 15 Build 31.2 on openqa.s= use.de, everything else complains that there is no profile. So I installed a local = apache and copied my rule-based example directory. Then I installed on a local VM. Result is: Tumbleweed Snapshot from 2021090= 4 is failing. SLE 15 Build 29.1 is failing, SLE 15 Build 31.2 is failing too. Looking at the Apache access_log it shows: 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/rule= s/rules.xml HTTP/1.1" 200 732 "-" "-" 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/C0A8= 0042 HTTP/1.1" 404 984 "-" "-" 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/C0A8= 004 HTTP/1.1" 404 984 "-" "-" 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/C0A8= 00 HTTP/1.1" 404 984 "-" "-" 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/C0A8= 0 HTTP/1.1" 404 984 "-" "-" 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/C0A8= HTTP/1.1" 404 984 "-" "-" 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/C0A = HTTP/1.1" 404 984 "-" "-" 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/C0 H= TTP/1.1" 404 984 "-" "-" 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/C HT= TP/1.1" 404 984 "-" "-" 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/5254= 0021120A HTTP/1.1" 404 984 "-" "-" 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/5254= 0021120a HTTP/1.1" 404 984 "-" "-" 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example/defa= ult HTTP/1.1" 404 984 "-" "-" So, the first attempt retrieves "rules/rules.xml", but something seems to b= e wrong with this file. Then it tries with the hexadecimal value of the IP address, alwa= ys cutting the last element of that string, but always gets 404s. Then it tries with the M= AC adress, both with non-digits in upper and lower case. At the end it attempts to get= "default". Since the same ISO image for SLE 15 SP4 is working when I'm using it in an = openQA enviroenment, I assume that the installer will do some updates when contacting the SLE re= gistration server. Form the apache log it shows that its always getting the rules/rules.xml fi= le, but it seems not to be satisfied with that. How can I find out what is wrong with the rules.= xml file? Best regards Rainer --_000_AM9PR04MB76657BFBB39B439049B3BEDCECD39AM9PR04MB7665eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo= ttom:0;} </style> </head> <body dir=3D"ltr"> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Tracked this down to a problem with range matching in rules.xml. </div= > <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Bug report: <a href=3D"https://bugzilla.suse.com/show_bug.cgi?id=3D119= 0245" id=3D"LPlnk841701">https://bugzilla.suse.com/show_bug.cgi?id=3D119024= 5</a></div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Thanks for all the suggestions.</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> Rainer</div> <div id=3D"appendonsend"></div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st= yle=3D"font-size:11pt" color=3D"#000000"><b>Von:</b> Rainer K=F6nig<br> <b>Gesendet:</b> Montag, 6. September 2021 18:07<br> <b>An:</b> [email protected] <[email protected]= g><br> <b>Betreff:</b> Debugging rules and classes for AutoYast</font> <div> </div> </div> <div class=3D"BodyFragment"><font size=3D"2"><span style=3D"font-size:11pt;= "> <div class=3D"PlainText">I'm trying to get the rules and classes working on= both SLE 15 and Tumbleweed. <br> Problem is that the only working test is with SLE 15 Build 31.2 on openqa.s= use.de, <br> everything else complains that there is no profile. So I installed a local = apache and <br> copied my rule-based example directory.<br> <br> Then I installed on a local VM. Result is: Tumbleweed Snapshot from 2021090= 4 <br> is failing. SLE 15 Build 29.1 is failing, SLE 15 Build 31.2 is failing too.= <br> <br> Looking at the Apache access_log it shows:<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /rules/rules.xml HTTP/1.1" 200 732 "-" "-"<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /C0A80042 HTTP/1.1" 404 984 "-" "-"<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /C0A8004 HTTP/1.1" 404 984 "-" "-"<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /C0A800 HTTP/1.1" 404 984 "-" "-"<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /C0A80 HTTP/1.1" 404 984 "-" "-"<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /C0A8 HTTP/1.1" 404 984 "-" "-"<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /C0A HTTP/1.1" 404 984 "-" "-"<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /C0 HTTP/1.1" 404 984 "-" "-"<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /C HTTP/1.1" 404 984 "-" "-"<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /52540021120A HTTP/1.1" 404 984 "-" "-"<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /52540021120a HTTP/1.1" 404 984 "-" "-"<br> 192.168.0.66 - - [06/Sep/2021:16:35:29 +0200] "GET /rule-based_example= /default HTTP/1.1" 404 984 "-" "-"<br> <br> So, the first attempt retrieves "rules/rules.xml", but something = seems to be wrong with<br> this file. Then it tries with the hexadecimal value of the IP address, alwa= ys cutting the <br> last element of that string, but always gets 404s. Then it tries with the M= AC adress, <br> both with non-digits in upper and lower case. At the end it attempts to get= "default".<br> <br> Since the same ISO image for SLE 15 SP4 is working when I'm using it in an = openQA enviroenment,<br> I assume that the installer will do some updates when contacting the SLE re= gistration server.<br> <br> Form the apache log it shows that its always getting the rules/rules.xml fi= le, but it seems not<br> to be satisfied with that. How can I find out what is wrong with the rules.= xml file?<br> <br> Best regards<br> Rainer<br> <br> <br> <br> </div> </span></font></div> </body> </html> --_000_AM9PR04MB76657BFBB39B439049B3BEDCECD39AM9PR04MB7665eurp_--