[Bug 224168] New: rug does not ask for cd
https://bugzilla.novell.com/show_bug.cgi?id=224168 Summary: rug does not ask for cd Product: openSUSE 10.2 Version: RC 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: holgi@novell.com QAContact: kkaempf@novell.com luna:~ # rug in xchat Resolving Dependencies... The following packages will be installed: xchat 2.6.6-23 (cd:///?devices=/dev/hda&alias=20061128-125831) Transaction... 0% ERROR: Transaction failed: Can't provide /suse/x86_64/xchat-2.6.6-23.x86_64.rpm from cd:///?devices=/dev/hda -- 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=224168 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schubi@novell.com, aj@novell.com, | |jsrain@novell.com AssignedTo|kkaempf@novell.com |dmacvicar@novell.com Severity|Normal |Blocker QAContact|kkaempf@novell.com |visnov@novell.com ------- Comment #1 from kkaempf@novell.com 2006-11-28 08:15 MST ------- Still non-matching callbacks ? -- 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=224168 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmacvicar@novell.com |sguruprasad@novell.com Component|libzypp |Zenworks ------- Comment #2 from kkaempf@novell.com 2006-11-28 08:27 MST ------- Apparently, the callbacks are fine but not properly evaluated by rug -- 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=224168 ------- Comment #3 from kkaempf@novell.com 2006-11-28 08:30 MST ------- I have these packages installed libzypp-zmd-backend-7.1.1.0_0.4-37 rug-7.1.100.0-30 zmd-7.1.100.0-40 Running the 'transact' helper standalone does show proper output:
sudo /usr/lib64/zmd/transact /tmp/zmd.db 0|2 10|6|SUSE LINUX (Media source cd:/// does not contain the desired media) 3|Can't provide ./suse/noarch/ttf-founder-traditional-0.20040419-7.noarch.rpm from cd:/// 1|Can't provide ./suse/noarch/ttf-founder-traditional-0.20040419-7.noarch.rpm from cd:/// 4
The second line (10|6|...) is requesting ZMD to ask for media #6 but this request isn't properly evaluated. -- 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=224168 sguruprasad@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sguruprasad@novell.com |jjoy@novell.com ------- Comment #4 from sguruprasad@novell.com 2006-11-28 08:32 MST ------- Jinu, please check this out. -- 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=224168 ------- Comment #6 from jjoy@novell.com 2006-11-28 23:38 MST ------- We did not see the transact helper returning '10' (Media Change) on the RC1 setup. we got a 0|2 3|Can't provide /suse/i586/xchat-2.6.6-17.i586.rpm from cd:///?devices=/dev/hdc 4 Looked like the Media Change status was fixed recently (RC2). We then got the latest libzypp-backend from SuSE autobuild and that helped us reproduce the status Klaus is mentioning.. Working on it.. -- 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=224168 ------- Comment #9 from kkaempf@novell.com 2006-11-29 02:27 MST ------- The helper is right to exit with "3|...". This is how media change works - zmd calls transact helper - transact needs media, reports it to zmd as "10|media-nr|repository name" since zmd has to pass control back to rug (resp. zen-*), the transact helper exits(!) at this point - zmd passed media request to client (rug or zen-installer or zen-updater) - user acknowledges "insert media X of repo Y" message - zmd restarts transact So after transact reports "10|...", the "3|..." message just contains additional information. But zmd is supposed to continue with the transaction and not abort it. -- 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=224168 ------- Comment #10 from kkaempf@novell.com 2006-11-29 02:32 MST ------- See http://en.opensuse.org/Libzypp/ZMD/ZMD7.1/helpers The "3|..." message has warning level only, its not an error ! -- 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=224168 jjoy@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wstephenson@novell.com ------- Comment #11 from jjoy@novell.com 2006-11-29 04:20 MST ------- *** Bug 224172 has been marked as a duplicate of this bug. *** -- 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=224168 ------- Comment #12 from jjoy@novell.com 2006-11-29 04:21 MST ------- 3 is defined as an Error status in ZyppBackend. A 3 after 10 was the cause for the problem. Abhi had a chat with Tambet and he also echoed the same as comment #8. A 3 was not expected after 10. Anyways the fix is this, we just ignore any other status once MediaChange is received, untill ofcourse the next transaction (0) starts.. Will speak to Klaus offline to see if ZyppBackend would have to treat a 3 as warning in any other case. -- 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=224168 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jjoy@novell.com AssignedTo|jjoy@novell.com |dmacvicar@novell.com Component|Zenworks |libzypp ------- Comment #13 from kkaempf@novell.com 2006-11-29 04:50 MST ------- Indeed. 10.1 (resp. SLE10GA) only reported "10|" and not "10|" and "3|". Actually, this is another bug in libzypp-zmd-backend :-( -- 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=224168 ------- Comment #14 from kkaempf@novell.com 2006-11-29 04:52 MST ------- transact.cc has the following code: if (med_callback.mediaNr() != 0 // exception due to MediaChange callback ? && !med_callback.description().empty()) { // "4|" means 'message' to ZMD cerr << "4|Need media " << med_callback.mediaNr() << ": " << med_callback.description() << endl; } else { // "3|" is progress to stdout cout << "3|" << joinlines( expt_r.asUserString() ) << endl; // report as message ("4|" is message) to stderr cerr << "4|" << expt_r.asString() << endl; } "4|..." is the 'transact exiting' code. So if transact is exiting early because of a media change request, it just report "4|...", if it exits early for another reason, it reports "3|..." and then "4|...". -- 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=224168 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmacvicar@novell.com AssignedTo|dmacvicar@novell.com |ma@novell.com ------- Comment #15 from kkaempf@novell.com 2006-11-29 04:54 MST ------- It looks like the requestMedia() call from zypp doesn't fill the "description" parameter in 10.2 -- 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=224168 ------- Comment #16 from jjoy@novell.com 2006-11-29 07:01 MST ------- zmd with this fix and a few other is submitted to autobuild. on klaus's request keeping the defect open to track comment #15. -- 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=224168 ------- Comment #17 from aj@novell.com 2006-11-29 10:36 MST ------- Klaus, do we need further changes here? -- 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=224168 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Blocker |Major ------- Comment #18 from kkaempf@novell.com 2006-11-29 15:57 MST ------- Not for 10.2 immediately. Adapting severity. However, we should investigate the code in comment #14 and check why callback parameters have changed (description is empty now). -- 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.
participants (1)
-
bugzilla_noreply@novell.com