<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma",sans-serif;
        mso-fareast-language:EN-US;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:Consolas;
        color:#365F91;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:Consolas;
        color:#365F91;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Forgot to add…..<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The source repo has been updated, with additional packages, but the cloned repo’s have remained static, as you might expect</span><span style="font-family:Wingdings;color:#1F497D">J</span><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Phil<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-GB"> Philip Cookson (IT Services)
<br>
<b>Sent:</b> 17 January 2019 15:24<br>
<b>To:</b> 'spacewalk-list@redhat.com' <spacewalk-list@redhat.com><br>
<b>Subject:</b> RE: [Spacewalk-list] Managing Channels/Repositories - Patching Workflow<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Hi Jérôme<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Bit of an update…..<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Firstly, you have to install the “<b>spacewalk-utils</b>” package to get the “<b>spacewalk-manage-channel-lifecycle</b>” utility. This is sourced from the “<b>spacewalk</b>” repository. Once this is done, you
 don’t seem to get a “<b>man</b>” page but the following command provides help and clearly states at least all the basic things you need to know:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">                # <b>spacewalk-manage-channel-lifecycle –h</b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Initially, it really does seem to accommodate cloning Dev, Test and Prod repo’s really well, although further testing is required.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="color:#1F497D">Note</span></b><span style="color:#1F497D">: After using the utility to create several cloned repo’s I started to see “<b>java.lang.OutOfMemoryError: Java heap space</b>” messages in “<b>/var/log/rhn/rhn_taskomatic_daemon.log</b>”
 In addition, the generation of repo metadata, for some of the larger repo’s, wasn’t completing. There are lots of hits about this both in the lists and from Google! After increasing max memory for Java,
<b>from 512Mb to 4096Mb</b>, I don’t seem to be having any more problems though</span><span style="font-family:Wingdings;color:#1F497D">J</span><span style="color:#1F497D"> See this link for further background info:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">                <a href="https://docs.oracle.com/cd/E92593_01/E90695/html/swk24-issues-memory.html">
https://docs.oracle.com/cd/E92593_01/E90695/html/swk24-issues-memory.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Phil<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-GB">
<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>>
<b>On Behalf Of </b><a href="mailto:Jerome.Meyer@lcsystems.ch">Jerome.Meyer@lcsystems.ch</a><br>
<b>Sent:</b> 17 January 2019 13:50<br>
<b>To:</b> 'spacewalk-list@redhat.com' <<a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>><br>
<b>Subject:</b> Re: [Spacewalk-list] Managing Channels/Repositories - Patching Workflow<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:9.0pt;font-family:Consolas;color:#365F91">Hi Phil,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:9.0pt;font-family:Consolas;color:#365F91"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Thank you for sharing your information about your test...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">„Spacewalk-manage-channel-lifecycle“ sounds very interesting. I’ll also do some tests and give you feedback.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">I’m very interested in the results of the re-sync because that is actually the most important thing.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Jérôme<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;mso-fareast-language:DE-CH">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;mso-fareast-language:DE-CH">
<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> [<a href="mailto:spacewalk-list-bounces@redhat.com">mailto:spacewalk-list-bounces@redhat.com</a>]
<b>On Behalf Of </b><a href="mailto:P.Cookson@bham.ac.uk">P.Cookson@bham.ac.uk</a><br>
<b>Sent:</b> Mittwoch, 16. Januar 2019 14:38<br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> Re: [Spacewalk-list] Managing Channels/Repositories - Patching Workflow<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Hi Jérôme<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Thanks for your feedback. I’ve read that “spacewalk-clone-by-date” gives some unexpected results, really doesn’t sound very reliable or therefore, of much interest to me!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">I’ve started some testing of “spacewalk-manage-channel-lifecycle” and, initially, that seems to be giving more consistent results. As the name suggests, maybe it’s more likely
 to manage a dev/test/prod lifecycle/workflow better? It seems to just capture the state of the source channel as opposed to copying every package, from the related repo, in to new repo’s each time. This makes me think that you’d have to ensure the source repo’s
 were retained while dev/test/prod clones were still referencing it but far less disk space is required. I’m waiting to see what happens when the source is re-synced and more packages are added to it, as I wouldn’t want the clone repo’s to get any updated packages
 as well!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Phil<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-GB">
<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>>
<b>On Behalf Of </b><a href="mailto:Jerome.Meyer@lcsystems.ch">Jerome.Meyer@lcsystems.ch</a><br>
<b>Sent:</b> 16 January 2019 12:13<br>
<b>To:</b> 'spacewalk-list@redhat.com' <<a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>><br>
<b>Subject:</b> Re: [Spacewalk-list] Managing Channels/Repositories - Patching Workflow<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Hi Phil,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">I’m using the spacewalk-clone-by-date command and there’s my point of view and experience.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">I’ve created three channels: dev,test and prod with spacewalk-clone-by-date. Each month in a specific date I resync these three channels with the same commands. In this process
 errata will be synchronized with their dependencies. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">All was perfect until I notice that not all packages will be added. By example new package version but not an errata will not be updated. At the end, the channels hasn’t the
 same packages number has it’s parents. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">I’ll perhaps make some test with other commands but if you do any more tests on your side, I'll be interested in your results.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Unfortunately I didn’t any more informations on web regarding this problematic.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91">Jérôme<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas;color:#365F91"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;mso-fareast-language:DE-CH">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;mso-fareast-language:DE-CH">
<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> [<a href="mailto:spacewalk-list-bounces@redhat.com">mailto:spacewalk-list-bounces@redhat.com</a>]
<b>On Behalf Of </b><a href="mailto:P.Cookson@bham.ac.uk">P.Cookson@bham.ac.uk</a><br>
<b>Sent:</b> Dienstag, 15. Januar 2019 14:01<br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> [Spacewalk-list] Managing Channels/Repositories - Patching Workflow<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal">Hi all<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve recently built a <b>SW 2.8</b> environment, added Channels/Repositories for
<b>RHEL/Oracle Linux 6/7</b> and successfully patched relevant client systems. I now want to know how people are managing their patching workflow – at this point in time I just want to ensure the same group of patches are applied to Dev, Test and Production
 after sufficient testing has been performed. If I never re-sync these repositories obviously they’ll remain static and could be used for the whole workflow. However, other service areas may want their environments patched at different times with additional
 patches. I guess I could just create similar Channels/Repositories, at a later time, but that would be time consuming and need more disk space. I’ve seen references to cloning using
<b>WebUI, spacecmd -- softwarechannel_clone, spacewalk-clone-by-date or spacewalk-manage-channel-lifecycle</b> and can research these further but just wondering what people have found to be the easiest and most reliable solution really?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Phil<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>