[Bug 261239] New: Registration successfull - but no update server configured
https://bugzilla.novell.com/show_bug.cgi?id=261239 Summary: Registration successfull - but no update server configured Product: openSUSE 10.3 Version: Alpha 2plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: mc@novell.com ReportedBy: aj@novell.com QAContact: jsrain@novell.com Just got the message "Your registration was successfull, an update server has been added" - looking at details I do not see any update server. This is factory install from 2007-04-03. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=261239 ------- Comment #1 from aj@novell.com 2007-04-05 05:54 MST ------- Created an attachment (id=129292) --> (https://bugzilla.novell.com/attachment.cgi?id=129292&action=view) content file of installation source -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=261239 ------- Comment #2 from aj@novell.com 2007-04-05 05:54 MST ------- Created an attachment (id=129293) --> (https://bugzilla.novell.com/attachment.cgi?id=129293&action=view) log files -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=261239 mc@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mc@novell.com AssignedTo|mc@novell.com |jdsn@novell.com ------- Comment #3 from mc@novell.com 2007-04-05 06:07 MST -------
From /var/log/messages: Apr 5 15:47:34 e37 suse_register[6115]: FACTORY cannot be registered (101)
So suse_register exit with exit code 101 . yast2-registration should react on this exitcode and display a special message. So the Bug is in yast2-registration. Daniel: Please check, why yast2-registration does not check the exitcode of suse_register. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=261239 jdsn@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdsn@novell.com AssignedTo|jdsn@novell.com |mc@novell.com ------- Comment #4 from jdsn@novell.com 2007-04-27 08:51 MST ------- suse_register exited with exit code 0. And as 0 is not 101 there was no special message shown.
From var/log/YaST2/y2log: [YCP] Register.ycp:339 Server response: $["exit":"0", "stderr":"FACTORY cannot be registered", "stdout":""]
-- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=261239 mc@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |aj@novell.com ------- Comment #5 from mc@novell.com 2007-04-27 09:05 MST ------- We need access to such a machine and try to reproduce it there. AJ: Do you have such a machine online? If not, Daniel: can you setup a machine with FACTORY? I am very busy with SP1 and I do not have the time to setup a machine. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=261239 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|aj@novell.com | ------- Comment #6 from aj@novell.com 2007-04-27 09:26 MST ------- I don't have any online right now :-( Note: Factory has currently a broken X server, try again on monday (new package was just checked in). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=261239 mc@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mc@novell.com |jdsn@novell.com ------- Comment #8 from mc@novell.com 2007-05-02 04:24 MST ------- I tested on 10.3 Alpha3 and changed the product in zypp db. # /usr/lib/zypp/zypp-query-pool products @system i|product|openSUSE-FACTORY|10.3|i686|openSUSE-FACTORY|10.3-Alpha3 d167:/var/lib/zypp/db/products # suse_register -d 2 GUID:9e0cdd11a6f0449fa5ac8c952f559af4 query pool command: /usr/lib/zypp/zypp-query-pool products @system installed products: $VAR1 = [ [ 'openSUSE-FACTORY', '10.3', 'Alpha3', 'i686' ] ]; [...] FACTORY cannot be registered d167:/var/lib/zypp/db/products # echo $? 101 It looks like suse_register behaves correctly. Maybe the exit code gets lost in YaSTs SCR agents? But this is something Daniel has to check. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=261239 jdsn@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #9 from jdsn@novell.com 2007-05-04 10:27 MST ------- The code of the background agent that is used is unchanged. In SLE10 SP1 it works fine but in 10.3a3 it does not. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=261239 mc@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Critical ------- Comment #10 from mc@novell.com 2007-06-13 02:48 MST ------- This is an important bug when the exitcode does not reach the yast module. Setting to critical. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=261239#c11
Michael Calmer
https://bugzilla.novell.com/show_bug.cgi?id=261239#c12
J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=261239#c13
--- Comment #13 from J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=261239#c16
--- Comment #16 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=261239#c17
--- Comment #17 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=261239#c18
Michael Calmer
https://bugzilla.novell.com/show_bug.cgi?id=261239#c19
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=261239#c20
--- Comment #20 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=261239#c21
--- Comment #21 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=261239#c22
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=261239#c23
--- Comment #23 from Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=261239#c24
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=261239#c25
--- Comment #25 from J. Daniel Schmidt
Daniel, could try the patch for ag_background? I slightly changed the exit status handling...
Will try. (monday at the latest - absent on friday) btw. Why did it work until now? Until 10.2 it worked fine. And I could not find any changes in the background agent code. *puzzled* -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=261239#c26
--- Comment #26 from J. Daniel Schmidt
Daniel, could try the patch for ag_background? I slightly changed the exit status handling...
.. even more puzzled ... The patch does not apply correctly. The file ag_background that was installed with oS10.3a7 is different from your original file! Only the lines to be added were missing. I could add them manually. All lines that your patch would have removed alread have been removed. Probably the problem is that the packages are not in sync in autobuild and in SVN?? Well, even when I apply the changes manually the error code always gets lost with ag_background. I substituted the script "suse_register" that I call with ag_background by a shell script that _only_ does an "exit 0" or "exit 1". I switched the exit code (as well as the stdout and stderr output that I needed) before it was called according to the workflow that I wanted to walk through with the registration. I observed that the stdout and stderr output is alway correct - BUT the exit code is always one call behind. To make it clear: script in YCP --------------------------------- exit 1 exit 1 stdout: foo1 stout: foo1 ---------------------------------next call exit 0 exit 1 stdout: bar0 stdout: bar0 ---------------------------------next call exit 0 exit 0 stdout: foobar0 stdout: foobar0 ---------------------------------next call exit 1 exit 0 stdout: fara1 stdout: fara1 --------------------------------- -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=261239#c27
J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=261239#c29
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=261239#c30
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=261239#c31
--- Comment #31 from J. Daniel Schmidt
participants (1)
-
bugzilla_noreply@novell.com