<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Figure it out, created a dump of spacewalk db, looked everywhere for the string in question and could not find it in DB.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Dug deeper and found that spacecmd cached erratas, systems and login info. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>It can be cleared either by delete errata file from ~/.spacecmd/ or via clear_caches command in spacecmd shell. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Overall, we probably need an enhancement request for spacecmd maintainer to add a time out and invalidate the cache or add a message on “errors” to drop the cache.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com] <b>On Behalf Of </b>Paul Robert Marino<br><b>Sent:</b> Monday, May 07, 2012 6:52 PM<br><b>To:</b> spacewalk-list@redhat.com<br><b>Subject:</b> Re: [Spacewalk-list] spacecmd errata delete - not clean<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p>Could you have erratas that could be applied to a channel but are unpublished?<o:p></o:p></p><p>Or were there any tracebacks or other errors in the web api log while you were doing the deletes?<o:p></o:p></p><p>On May 7, 2012 5:02 PM, "Musayev, Ilya" <<a href="mailto:imusayev@webmd.net">imusayev@webmd.net</a>> wrote:<br>><br>> Due to some issues with errata’s not picking the packages it should have picked up, I deleted all the erratas via spacecmd errata_delete search:rhel-x86_64-server-5<br>><br>>  <br>><br>> Eventhough – it claimed it deleted the erratas, I decided to re-run errata import. Figured I should not have used some flags while it was running, I canceled the rhn_clone script half way. Went in to spacecmd again to delete the erratas I recently imported, it appears the remnants of erratas that were deleted on the first errata_delete still exist. For example, when I want to delete all rhel-x86_64-server-5 errata’s for the second time, I get<br>><br>>  <br>><br>> errata_delete search: rhel-x86_64-server-5<br>><br>> ERROR: redstone.xmlrpc.XmlRpcFault: The errata RHBA-2007:0098:rhel-x84_64-server-5 cannot be found.<br>><br>>  <br>><br>> Looks like the first delete was not clean or complete as it still seems some errata content<br>><br>>  <br>><br>> Regards<br>><br>> ilya<br>><br>><br>> _______________________________________________<br>> Spacewalk-list mailing list<br>> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><o:p></o:p></p></div></body></html>