Bug 211014

Summary: schema check failed
Product: [openSUSE] openSUSE 10.3 Reporter: Uwe Gansert <ug>
Component: AutoYaSTAssignee: Uwe Gansert <ug>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P2 - High CC: asklein, ben, forgotten_Xh41Ao4q6j, hannsj_uhl, info, jaca783, jechristensen, lchiquitto, marcus.gould, michael, michelandre, olaf.zaplinski, Patrick.LoPresti, richlv, simon.crute, sles, ursula.brueckner, vetter, vpelcak
Version: Beta 3Flags: coolo: SHIP_STOPPER-
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: auto yast failed, log files.
bug211014.tar.bz2
autoyast barks after saving Reference Profile
profile
y2logs
yast2 log files .
xml file created by yast2 autoyast on dell d600. sled10-sp1-beta5
AutoYast configuration - 29.06.2007 - All updates installed
image showing the schema check on element bootloader
tar ball with y2log, bootloader sysconfig and created autoinst.xml
tar file with yast2 logs, sysconfig bootloader, and fix_ip profile file
Zip file with y2log and autoinst.xml
YaST logs
YaST2 logs
valid.xml
further to my post ...
yast log files ( as requested in popup box)
file saved by save_y2logs on sled11-rc1

Description Uwe Gansert 2006-10-09 13:09:33 UTC
bug collection of failed schema checks during cloning or saving the autoyast profile from the UI
Comment 1 Cristian Rodríguez 2006-10-28 09:27:20 UTC
yup, crashed here, attached is the xml file and the yast Logs. hth,.
Comment 2 Cristian Rodríguez 2006-10-28 09:34:00 UTC
Created attachment 102927 [details]
auto yast failed, log files.
Comment 3 Uwe Gansert 2006-10-30 10:40:53 UTC
the missing schema for the add-on client is fixed already for the next beta
Thanks for the log
Comment 4 Olaf Hering 2006-11-02 10:26:01 UTC
Created attachment 103472 [details]
bug211014.tar.bz2

logs from mac.suse.de, G5
Comment 5 Andreas Vetter 2006-12-28 15:47:57 UTC
Created attachment 111139 [details]
autoyast barks after saving Reference Profile
Comment 6 Forgotten User wMtT3MV6AL 2007-01-11 13:53:04 UTC
Created attachment 112459 [details]
profile

  Checking XML with RNG validation...
/usr/bin/xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng /tmp/YaST2-16990-197Ziv/valid.xml
/tmp/YaST2-16990-197Ziv/valid.xml:4: element bootloader: Relax-NG validity error : Element profile has extra content: bootloader   
/tmp/YaST2-16990-197Ziv/valid.xml fails to validate
Comment 7 Forgotten User wMtT3MV6AL 2007-01-11 13:53:39 UTC
Created attachment 112461 [details]
y2logs
Comment 8 Uwe Gansert 2007-01-19 08:37:53 UTC
10.2 is done and many schema problems are fixed. I hope we'll get all in SP1 and 10.3
Comment 9 Simon Crute 2007-03-12 11:50:46 UTC
Created attachment 123787 [details]
yast2 log files .

Got an error while generating a profile in sled10-sp1-beta5 asking me to attach a log to this bug. 

I'll reopen this, but if you want me to open another, I'll do so
Comment 10 Uwe Gansert 2007-03-12 12:52:01 UTC
please attach the XML file that fails
Comment 11 Simon Crute 2007-03-12 13:03:06 UTC
Created attachment 123811 [details]
xml file created by yast2 autoyast on dell d600. sled10-sp1-beta5

Interestingly, it has failed to configure the sound card too. I'll log a new bug for that.
Comment 12 Uwe Gansert 2007-03-12 14:20:19 UTC
okay, there were bugs in yast2-powermanagement, yast2-sound, yast2-network, yast2-bootloader and yast2-registration that I could fix and send the fix to the maintainer.
I hope they are all fixed in the next beta.
Comment 13 Katarina Machalkova 2007-03-13 11:44:44 UTC
y2-network part fixed (yast2-network 2.13.96). Btw, there were several wireless options missing in the validation file, I've hopefully created the complete list
Comment 14 Uwe Gansert 2007-03-27 11:38:26 UTC
yast2-registration fixed for RC2
Comment 15 Matej Horvath 2007-05-11 07:49:02 UTC
Please see bug 266288
Comment 16 Andreas Vetter 2007-05-11 10:34:20 UTC
(In reply to comment #15)
> Please see bug 266288

If I only could! It's a non-public bug.
Comment 17 Ulrich Voigt 2007-06-29 06:58:38 UTC
Created attachment 148878 [details]
AutoYast configuration - 29.06.2007 - All updates installed

The error still exists. Isn't there any workaround?
Comment 18 Heiko Rommel 2007-08-16 12:57:00 UTC
schema file with element bootloader and 
autoyast2-2.13.95-0.8 (sles10-sp1)

attaching files in a minute
Comment 19 Heiko Rommel 2007-08-16 13:00:16 UTC
Created attachment 157915 [details]
image showing the schema check on element bootloader
Comment 20 Heiko Rommel 2007-08-16 13:00:57 UTC
Created attachment 157916 [details]
tar ball with y2log, bootloader sysconfig and created autoinst.xml
Comment 21 Tim Lee 2007-08-21 16:10:10 UTC
Created attachment 158776 [details]
tar file with yast2 logs, sysconfig bootloader, and fix_ip profile file

In a clean install of 10.3 beta1 I tried to save a profile from the yast2. Got an error dialog "schema check failed" with this bug #. The error dialog also said:

 Element profile has extra content: bootloader
Comment 22 Stephan Rickauer 2007-08-30 12:27:27 UTC
> In a clean install of 10.3 beta1 I tried to save a profile from the yast2. Got
> an error dialog "schema check failed" with this bug #. The error dialog also
> said:
> 
>  Element profile has extra content: bootloader
> 

Same with beta 2 here, see bug 304836
Comment 23 Uwe Gansert 2007-09-14 11:13:10 UTC
please test again next beta
Comment 24 Uwe Gansert 2007-09-14 11:18:52 UTC
*** Bug 304836 has been marked as a duplicate of this bug. ***
Comment 25 Uwe Gansert 2007-09-14 11:20:08 UTC
*** Bug 300028 has been marked as a duplicate of this bug. ***
Comment 26 Stephan Kulow 2007-09-14 12:18:50 UTC
you didn't mean to put yourself into NEEDINFO, right?
Comment 27 Kazuhiro Takagi 2007-09-28 01:34:40 UTC
Created attachment 175346 [details]
Zip file with y2log and autoinst.xml

When SLES10SP1 is installed.
Comment 28 Stephan Kulow 2007-10-21 12:44:04 UTC
assuming this helps
Comment 29 Michael Brown 2007-11-07 17:36:26 UTC
I'm experiencing this bug as well. In my case, I'm using SLES SP1.

The autoyast.xml file created by the initial install exhibits the validation error, as does any file subsequently saved by the autoyast editor.

# xmllint -noout -relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng \
horizon-initial-autoinst.xml
horizon-initial-autoinst.xml:4: element add-on: Relax-NG validity error : Element profile has extra content: add-on
horizon-initial-autoinst.xml fails to validate

Comment 30 Libor Pechacek 2007-12-05 09:00:15 UTC
Comment on attachment 175346 [details]
Zip file with y2log and autoinst.xml

fixed in bug 330911
Comment 31 Rihards Olups 2007-12-05 12:38:56 UTC
sles 10 sp1, created reference profile with 'http server' only selected.
upon saving, message was shown :

Checking XML with RNG validation...
/usr/bin/xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng /tmp/YaST2-09883-u6WCA4/valid.xml
/tmp/YaST2-09883-u6WCA4/valid.xml:4: element bootloader: Relax-NG validity error : Element profile has extra content: boot
/tmp/YaST2-09883-u6WCA4/valid.xml fails to validate

should i file a separate report or not ?

i also had to use a workaround to have 'http server' option available at all (adding X-SuSE-YaST-AutoInstClonable=true in /usr/share/applications/YaST2/http-server.desktop).
Comment 32 Bernhard Walle 2007-12-07 10:01:33 UTC
Created attachment 186342 [details]
YaST logs

I also get an error with openSUSE 11.0

XML wird mit RNG-Validierung überprüft...                                                         

/usr/bin/xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng /tmp/YaST2-163
/tmp/YaST2-16344-FAX8pE/valid.xml:4: element bootloader: Relax-NG validity error : Element profile
/tmp/YaST2-16344-FAX8pE/valid.xml fails to validate
Comment 33 Michel-Andre Robillard 2008-02-15 17:08:12 UTC
Hi all!

I am trying to build a new autoyast file and when I "save" or "save as" it says it is OK then I receive a pop-up "Profile check failed please attach the log to bug id 211014"

VMware Server Console  1.0.4 build-56528
SLES10-SP2-Beta2 / feb 7 2008 /
Language: french
KBY: Canada (fr)

Below is the log file

Michel-André
**************************************************************

2008-02-15 11:49:24 <1> sles10-sp2-b2(3240) [YCP] Profile.ycp:674 Profile check failed please attach the log to bug id 211014: Some schema check failed!
Please attach your logfile to bug id 211014

Vérification XML avec validation RNG...
/usr/bin/xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng /tmp/YaST2-03240-7vC2Na/valid.xml
/tmp/YaST2-03240-7vC2Na/valid.xml:4: element bootloader: Relax-NG validity error : Element profile has extra content: bootloader
/tmp/YaST2-03240-7vC2Na/valid.xml fails to validate


2008-02-15 11:49:37 <3> sles10-sp2-b2(3240) [bash] ShellCommand.cc(shellcommand):78 /tmp/YaST2-03240-7vC2Na/valid.xml:4: element bootloader: Relax-NG validity error : Element profile has extra content: bootloader
2008-02-15 11:49:37 <3> sles10-sp2-b2(3240) [bash] ShellCommand.cc(shellcommand):78 /tmp/YaST2-03240-7vC2Na/valid.xml fails to validate
Comment 34 Tomas Cech 2008-03-17 16:56:41 UTC
Created attachment 202625 [details]
YaST2 logs

tested on SLES10 SP2 Beta4
Comment 35 Tomas Cech 2008-03-17 16:59:24 UTC
Created attachment 202626 [details]
valid.xml

adding also valid.xml of the SLES10 SP2 try
Comment 36 Benjamin Pollitzer 2008-03-17 18:09:36 UTC
YaST2-10475-qWdG5g.tar.gz uploaded ....

Relax-NG validity error : Element profile has extra content: add-on fails to validate
Comment 37 Benjamin Pollitzer 2008-03-17 18:10:36 UTC
Created attachment 202641 [details]
further to my post ...
Comment 38 Leo Eraly 2008-04-03 07:39:17 UTC
Created attachment 205887 [details]
yast log files ( as requested in popup box)

Tested on SLES10 SP2 RC1
Comment 39 Alex Castro 2008-04-23 16:39:25 UTC
I have the same issues described above my xml file fails to validate on bootloader.  I have the most up-to-date version of yast2 available.  Currently running SLES10 sp1.  Just wondering if there are any resolutions for this... and I just wanted to get added to the cc list.
Comment 41 Simon Crute 2009-01-06 14:04:46 UTC
Created attachment 263375 [details]
file saved by save_y2logs on sled11-rc1
Comment 42 Simon Crute 2009-01-07 13:51:54 UTC
Ignore comment 41. These were created with slsed10-sp2. (Using the wrong VM. Doh !!) 
Comment 43 Forgotten User Xh41Ao4q6j 2010-11-27 22:56:49 UTC
Is this solved in current versions? 

(just shaking old bugs during openSUSE Bug Day)
Comment 44 Jeroen Kappelle 2011-02-23 10:21:09 UTC
This error still appears with SLES 10 SP3 and SMT 10 SP 3

  Checking XML with RNG validation...
/usr/bin/xmllint --noout --relaxng
/usr/share/YaST2/schema/autoyast/rng/profile.rng
/tmp/YaST2-16990-197Ziv/valid.xml
/tmp/YaST2-16990-197Ziv/valid.xml:4: element bootloader: Relax-NG validity
error : Element profile has extra content: bootloader   
/tmp/YaST2-16990-197Ziv/valid.xml fails to validate
Comment 45 Uwe Gansert 2011-12-02 14:59:38 UTC
*** Bug 734498 has been marked as a duplicate of this bug. ***
Comment 46 Olaf Zaplinski 2012-03-19 13:10:16 UTC
bug still exists in SLES 11 SP1 and SP2
Comment 47 Uwe Gansert 2012-04-24 15:01:57 UTC
I did many fixes to RNC files today.
I'm sure I did not catch everything but this generic bug does not help me fixing it, so I'll close it.