<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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Good afternoon, all.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve got what I think is a fairly standard methodology:  a set of release channels, that are cloned into local production channels in successive stages (dev -> qa -> production.)  This has been working fairly well for quite some time, with
 the exception of errata population.  I know I don’t have a large installation, less than 300 client servers, and 273 distinct channels (including a sandbox set.)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Unfortunately, I have internal requirements to keep the channels fairly complete, i.e. not just the latest packages available during a channel cloning or rolling operation.  This does mean that spacewalk-clone-by-date really doesn’t appear
 to work effectively.  And, in general, when we elect to roll content from one stage to the next, it’s a complete “this point in time,” all packages and errata that are currently there.  I’d like to be able to perform this content roll programmatically, rather
 than working through the web GUI with it’s multitude of selections, clicks and confirmations.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Programmatically, I can get a list of packages from the clone_original channel without issue, and determine which packages are missing.  Calling channel.software.addPackages is pretty simple. 
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Errata…. That’s turning out to be another story.  As all channels in use by client systems here are cloned channels, all errata should also be cloned as opposed to original, correct?  At least, from the standpoint of the original channel
 set creation through a cloning operation, all of the errata come in with a CL- advisory name.  Much like the package lists, I can get a list of errata from the clone_original, compare it against the current channel during a content roll operation, and determine
 which errata need to be clone.  It would seem that calling errata.clone into the target channel would be appropriate.  That’s turning out to not be the case.  I have a rather serious issue where errata cover multiple major distribution releases.  The original
 errata get populated properly into the appropriate release channels, and only the proper packages for that that particular distribution release show up in that channel.  However, if I clone that errata into a channel cloned from that release channel, all packages
 get copied into that clone channel.  For example, an errata notice might cover an EL6 and an EL7 (derived) release.   The release/source channels will only contain the .el6 packages.  However, the dev-* clone channels after a channel roll operation now contain
 the .el7 packages referenced in that errata notice.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is errata.clone behaving as intended (I’m fairly sure it is?)  Is there some other RPC API function call I should be using?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Jeff Kalchik<o:p></o:p></p>
<p class="MsoNormal">Systems Engineering<o:p></o:p></p>
<p class="MsoNormal">Land O’Lakes<o:p></o:p></p>
</div>
This message may contain confidential material from Land O'Lakes, Inc. (or its subsidiary) for the sole use of the intended recipient(s) and may not be reviewed, disclosed, copied, distributed or used by anyone other than the intended recipient(s). If you are
 not the intended recipient, please contact the sender by reply email and delete all copies of this message.
</body>
</html>