[Bug 477957] New: difficulty with database cruft and deleteprj
https://bugzilla.novell.com/show_bug.cgi?id=477957 Summary: difficulty with database cruft and deleteprj Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: adrian@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6 cruft in the database doesn't match filesystem. After several failed attempts at creating projects, the database had a bunch of cruft that the filesystem did not. Essentially projects that did not exist. While it was pretty hard to find (poorly documented, no "how do I delete a project") the kind folks on the IRC buildservice channel helped. I ran (with Admin creds): osc ls # this would list a bunch of cruft osc deleteprj $SOMEPROJ but deleteprj would fail typically with a 404 not found. strace to the rescue! The perl was stat'ing to see if the .xml for the project existed, which it did not. Simply touching the file allowed me to continue. Therefore, I suggest that a) the perl continue regardless of whether the .xml file exists, or perhaps do the database part *first* b) a "how to delete a project" bit is made more visible. ;-) Thanks! Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=477957 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |poeml@novell.com |ovo.novell.com | -- 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.
participants (1)
-
bugzilla_noreply@novell.com