[opensuse-autoinstall] autoyast hangs when "package selection" is checked on suse 11.1
Hello, Autoyast hangs when creating a reference profile under 64-bit opensuse 11.1 when the "package selection" option is checked. y2base just sits there using 100% of the CPU for an indefinite period of time. I have left it running for several hours, but it never completes. I've tried this both on an out-of-the-box opensuse 11.1 system, and on a fully updated opensuse 11.1 system with the same results. I need the "package selection" option for the autoinstallation I'm working on. Is there an easy fix for this issue? thanks, Jim Faulkner -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thursday 23 July 2009 22:56:16 Jim Faulkner wrote:
Hello,
Autoyast hangs when creating a reference profile under 64-bit opensuse 11.1 when the "package selection" option is checked. y2base just sits there using 100% of the CPU for an indefinite period of time. I have left it running for several hours, but it never completes.
Hmm, anything interesting in the logs? What does tail of /var/log/YaST2/y2log show when it hangs? Isn't there any other process accessing libzypp (pkg management library) at the same time, holding an exclusive lock? (e.g. updater applet ...). Anyway, y2logs will be really helpful here. hB. -- \\\\\ Katarina Machalkova \\\\\\\__o YaST developer __\\\\\\\'/_ & hedgehog painter
On Fri, 24 Jul 2009, Katarina Machalkova wrote:
Hmm, anything interesting in the logs? What does tail of /var/log/YaST2/y2log show when it hangs? Isn't there any other process accessing libzypp (pkg management library) at the same time, holding an exclusive lock? (e.g. updater applet ...). Anyway, y2logs will be really helpful here.
No, I don't think there would be any other programs holding a lock. My testing machine is at runlevel 3, so X is not running at all. However, as I stated in my message earlier today, when I left it running overnight, I was able to successfully generate a reference profile. The logs are very confusingly timestamped. At some point y2log was rotated, however its difficult to tell when. I don't know if y2log is timestamped in the local time zone (which is EDT), UTC, or something else. There are also strange gaps in the logs. I started the run of autoyast at about 16:50 EDT, however there are no log entries between 15:42 and 19:41, which is precisely where the rotated y2log-1 ends and the current y2log begins. I don't know if some data was lost in the log rotating process, but I am sure that I started creating the reference profile at about 16:50 EDT, because the machine was rebooted at 16:43. I believe that the reference profile finished generating at timestamp 2009-07-23 21:17:42 in y2log. The timestamps that follow that (2009-07-24 11:03:28) are accurate for EDT because that's when I got in and saved the reference profile. Here is the rotated log: http://zoo.cs.yale.edu/jim/y2log-1.bz2 here is the current log: http://zoo.cs.yale.edu/jim/y2log.bz2 The generated reference profile is also pretty strange. There are many duplicate packages and patterns in the <software> section. Here's some sample lines from the file: <pattern>yast2_install_wf</pattern> <pattern>yast2_install_wf</pattern> <pattern>yast2_install_wf</pattern> <pattern>yast2_install_wf</pattern> </patterns> <remove-packages config:type="list"> <package>AdobeICCProfiles</package> <package>AdobeICCProfiles</package> <package>AdobeICCProfiles</package> <package>AdobeICCProfiles</package> <package>ConsoleKit-32bit</package> The full generated profile is here: http://zoo.cs.yale.edu/jim/drupal-autoyast.xml.bz2 Despite the fact that I was able to generate a reference profile, I'll probably need some additional assistance. I generated the profile on a testing machine with standard patterns installed, the machine I really need the reference profile for has many more packages installed (close to all available packages on the retail DVD). I had thought that I left autoyast running on that machine overnight as well, however when I save the profile on that machine, it basically empty, only 258 bytes. I'll start a run of autoyast on it and follow up with more info. -- Jim Faulkner / james.faulkner@cs.yale.edu Systems Administrator, Linux Systems Design & Support (LSDS) Yale University Information Technology Services (ITS) =============================================================== NOTE: Yale ITS will NEVER request passwords or other personal information via email. Messages requesting such information are fraudulent and should be deleted. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Fri, 24 Jul 2009, Jim Faulkner wrote:
I'll start a run of autoyast on it and follow up with more info.
OK, I was able to successfully create a reference profile on this machine. However, it took an extremely long time. It literally took almost 14 hours to generate the reference profile. And again, there is significant duplication in the <patterns> and <remove-packages> sections of the resulting XML file. This time I shut down cron so there would be no log rotation while generating the reference profile. I also moved the existing y2log out of the way before running autoyast. This way the resulting y2log consists of only my autoyast run. Here is the log: http://zoo.cs.yale.edu/jim/y2log-gari.bz2 As you can see, I started the autoyast run at around 12:53 on 2009-07-24. It did not complete until 1:58 on 2009-07-25. It took a little over 13 hours to generate the reference profile. While it was being generated, autoyast appeared to be hung. Here is the resulting XML file which exhibits significant duplication: http://zoo.cs.yale.edu/jim/autoinstall-gari.xml.bz2 So presuming that the autoyast XML file works correctly, I should be all set. However, I think that autoyast's statement that "This may take a while" is probably insufficient warning for the length of time it takes to generate these profiles. This machine, gari, has dual Xeon 5140 CPUs, 4 GB of RAM, and a 15k RPM SAS drive so I don't think the hardware is the issue. It would be nice to see a reduction in the time it takes to generate a profile in future versions of opensuse. -- Jim Faulkner / james.faulkner@cs.yale.edu Systems Administrator, Linux Systems Design & Support (LSDS) Yale University Information Technology Services (ITS) =============================================================== NOTE: Yale ITS will NEVER request passwords or other personal information via email. Messages requesting such information are fraudulent and should be deleted. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hi, Jim
OK, I was able to successfully create a reference profile on this machine. However, it took an extremely long time. It literally took almost 14 hours to generate the reference profile. And again, there is significant duplication in the <patterns> and <remove-packages> sections of the resulting XML file.
I suspect you're hitting this issue (the second one of those, to be precise): ------------------------------------------------------------------- Mon Feb 9 11:19:44 CET 2009 - ug@suse.de - shell escape added for the password for encrypted profiles - speed up software cloning with many repositories - clean up - 2.18.0 I thought the fix went out as online update for openSUSE 11.1, but I can't seem to find it among released patches :( So the solution now seems to be using autoyast2 package from openSUSE Factory ... hB. -- \\\\\ Katarina Machalkova \\\\\\\__o YaST developer __\\\\\\\'/_ & hedgehog painter
on Thursday 23 July 2009 Jim Faulkner wrote:
Autoyast hangs when creating a reference profile under 64-bit opensuse 11.1 when the "package selection" option is checked. y2base just sits there using 100% of the CPU for an indefinite period of time. I have left it running for several hours, but it never completes.
you say "out of the box" but I ask anyway. Do you have a lot of repositories added to your installation? then please deactivate them and try again. There was a bug when you have a lot of (lets say 10 or so) repositories. -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Fri, 24 Jul 2009, Uwe Gansert wrote:
you say "out of the box" but I ask anyway. Do you have a lot of repositories added to your installation? then please deactivate them and try again. There was a bug when you have a lot of (lets say 10 or so) repositories.
No, I did not add or change any repositories. I do use an out of the ordinary installation method, however, I'm not sure if that would affect the available repositories. I purchased the boxed version of opensuse, copied the contents of the DVD to an FTP server, and did a network install from that FTP server. I just checked the available repositories, and it does have my FTP server in there as an additional repository. However, that only makes it 6 repositories in total (opensuse-11.1-update, opensuse-11.1-debug, opensuse-11.1-non-oss, opensuse-11.1-oss, opensuse-11.1-source, and my FTP server), and only 4 of them are enabled (opensuse-11.1-update, opensuse-11.1-non-oss, opensuse-11.1-oss, and my FTP server). I may have complained too soon however. I left autoyast running overnight on a testing machine, and it was able to successfully complete generation of a reference profile. Judging from the logs, it took about 5 or 6 hours to complete. I'll follow up shortly with the logs that Katarina requested. -- Jim Faulkner / james.faulkner@cs.yale.edu Systems Administrator, Linux Systems Design & Support (LSDS) Yale University Information Technology Services (ITS) =============================================================== NOTE: Yale ITS will NEVER request passwords or other personal information via email. Messages requesting such information are fraudulent and should be deleted. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Jim Faulkner
-
Katarina Machalkova
-
Uwe Gansert