<div dir="ltr">If you're using bare pulp, the process is pretty much:<div>1.  Sync the upstream CDN channels for 7.{minor} to your Pulp mirror</div><div>2.  Re-point your clients at those repos rather than the normal 7.latest repos. </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 30, 2019 at 2:09 PM Aaron Wyllie <<a href="mailto:aaron.t.wyllie@gmail.com">aaron.t.wyllie@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Actually, I am starting to think that my work with Satellite 6 now and Pulp then may be crossing wires.  I could have sworn that you could setup content views in Pulp and I thought I had but my notes don't seem to show that.  So, I guess disregard "Option 1".  Maybe someone else here knows better.<div><br></div><div>I get your point about not using subscription-manager.  It sounds like you're just present straight yum repositories.  In that case, just import the RHEL 7.4 repositories and make them available on your servers the same as you would the standard RHEL 7 repositories.  The end result would be the same as using "subscription-manager release --set=7.4".</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 30, 2019 at 1:23 PM Venkataramana Bora <<a href="mailto:venkbora@in.ibm.com" target="_blank">venkbora@in.ibm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p><font size="2">Hi Aaron , thanks a lot for your quick reply. I'm sorry I did not  get your first suggestion . I'm really sorry for this, I did not create that before and could not find any useful info about that on Google search too. Can you please provide me if any useful links or how to steps of this?</font><br><br> How to create a content view with a filter to include everything up to the day before RHEL 7.5 was released (2018-04-09)?   Point your servers at that and that's all they'll ever see and have access to; essentially, RHEL 7.4.<br><br><font size="2">We are not using subscription-manager and we dont have Satellite servers. We are using only Pulp as  a Primary for Patches pulling from Redhat CDN and Pulp Slave to distribute those patches to RHEL serveres , as many of those RHEL servers are behind firewall , not exposed to RHEL. </font><br><font size="2">Looks like subscription-manager is mandatory for those servers which require version lock.</font><br><br><img src="cid:16ce3b31e2e543b71431" width="475" height="19"><br><img src="cid:16ce3b31e2eba10cbe22" width="856" height="32"><br><br><br><br><font size="2">Sincerely,</font><br><font size="2">Venkataramana Bora</font><br><font size="2">IBM Visakha Hills</font><br><font size="2">Visakhapatnam – 530 045, India</font><br><br><img width="16" height="16" src="cid:16ce3b31e2e308fca933" border="0" alt="Inactive hide details for Aaron Wyllie ---08/30/2019 06:59:34 PM---Venkataramana, Trying to control through versionlock is an e"><font size="2" color="#424282">Aaron Wyllie ---08/30/2019 06:59:34 PM---Venkataramana, Trying to control through versionlock is an exercise in futility.  Don't do</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Aaron Wyllie <<a href="mailto:aaron.t.wyllie@gmail.com" target="_blank">aaron.t.wyllie@gmail.com</a>></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">Venkataramana Bora <<a href="mailto:venkbora@in.ibm.com" target="_blank">venkbora@in.ibm.com</a>></font><br><font size="2" color="#5F5F5F">Cc:        </font><font size="2">pulp-list <<a href="mailto:pulp-list@redhat.com" target="_blank">pulp-list@redhat.com</a>></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">08/30/2019 06:59 PM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">[EXTERNAL] Re: [Pulp-list] RHEL version lock using Pulp</font><br></p><hr width="100%" size="2" align="left" noshade style="color:rgb(128,145,165)"><br><br><br>Venkataramana,<br><br>Trying to control through versionlock is an exercise in futility.  Don't do it.  <br><br>You have a few options here:<br><br>1. You could create a content view with a filter to include everything up to the day before RHEL 7.5 was released (2018-04-09).  Point your servers at that and that's all they'll ever see and have access to; essentially, RHEL 7.4.<br>2. You could import the minor point-release version of the RHEL 7 repositories you require.  So, instead of these:<br><br>rhel-7-server-rpms-x86_64 feed: '<a href="https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os" target="_blank"><u><font color="#0000FF">https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os</font></u></a>'.<br>rhel-7-server-extras-rpms-x86_64 feed: '<a href="https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os" target="_blank"><u><font color="#0000FF">https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os</font></u></a>'<br>rhel-7-server-optional-rpms-x86_64 feed:'<a href="https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/optional/os" target="_blank"><u><font color="#0000FF">https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/optional/os</font></u></a>' <br><br>You would import these:<br><br> rhel-7-server-rpms-x86_64 feed: '<a href="https://cdn.redhat.com/content/dist/rhel/server/7/7.4/x86_64/os" target="_blank"><u><font color="#0000FF">https://cdn.redhat.com/content/dist/rhel/server/7/7.4/x86_64/os</font></u></a>'.<br>rhel-7-server-extras-rpms-x86_64 feed: '<a href="https://cdn.redhat.com/content/dist/rhel/server/7/7.4/x86_64/extras/os" target="_blank"><u><font color="#0000FF">https://cdn.redhat.com/content/dist/rhel/server/7/7.4/x86_64/extras/os</font></u></a>'<br>rhel-7-server-optional-rpms-x86_64 feed:'<a href="https://cdn.redhat.com/content/dist/rhel/server/7/7.4/x86_64/optional/os" target="_blank"><u><font color="#0000FF">https://cdn.redhat.com/content/dist/rhel/server/7/7.4/x86_64/optional/os</font></u></a>' <br><br>Once those were imported, you can use the command "subscription-manager release --set=7.4" on the servers you need to pin and that is all they will see.<br><br>Please note that if you *do not* import the minor-point release repositories and you try to use that, it will fail.  An easy way to see what is available would be:<br><br># subscription-manager release --list  <== This will tell you what "releases" are available from your Pulp repositories .. if no minor-point release has been imported for RHEL 7, all you will see is "7Server".<br># subscription-manager release --set=7.4  <== Set the release version to 7.4.<br># subscription-manager release --show  <== Confirm that the managed-client is now set to release version 7.4<br><br>That "should" work for your requirements.<br><br>Cheers.<br><br>On Fri, Aug 30, 2019 at 8:39 AM Venkataramana Bora <<a href="mailto:venkbora@in.ibm.com" target="_blank"><u><font color="#0000FF">venkbora@in.ibm.com</font></u></a>> wrote:
<ul>Hi Team, <br>Would like to know, on Pulp servers is there any recent development that enables RHEL servers to lock down into a specific version (say RHEL 7.4 ) using <a href="http://cdn.redhat.com" target="_blank"><u><font color="#0000FF">cdn.redhat.com</font></u></a> feed? Right now we are using below Redhat 7 feeds for our Pulp Primary server. We have a requirement now where we need to have RHEL7.4 only servers that should not be updated to latest RHEL7.x but we should have latest RHEL7.4 security updates every month. Kindly let me know if there is any possibility of specific version locking using Pulp or not. Thanks a lot in advance !<br><br>Pulp_repo rhel-7-server-rpms-x86_64 feed: '<a href="https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os" target="_blank"><u><font color="#0000FF">https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os</font></u></a>'.<br>pulp_repo rhel-7-server-extras-rpms-x86_64 feed: <a href="https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os'" target="_blank"><u><font color="#0000FF">'https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os'</font></u></a><br>pulp_repo rhel-7-server-optional-rpms-x86_64 feed:'<a href="https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/optional/os" target="_blank"><u><font color="#0000FF">https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/optional/os</font></u></a>'<br><br>Our Pulp Master and Slave servers are with version 2.16.<br><br>Right now on one of RHEL 7.4 servers I tried to Lock version this way but many packages are updating to 7_5 or 7_6 as shown in screen shot and Kernel is also updating to latest and taking it as default boot Kernel, leaving old Kernel intact , <br>I mean not removing it. After reboot when I type cat /etc/redhat-release it still shows RHEL 7.4 but I'm concerned with Packages and Kernel updating to latest. I like to have only security updates on it. <br><br>1.#echo '7.4' > /etc/yum/vars/releasever<br><br>2.# yum update-minimal --security <br>or<br>3.#yum update --security<br><br><img src="cid:16ce3b31e2e94fd421a4" width="1315" height="328"><br><img src="cid:16ce3b31e2e3369eb785" width="1314" height="264"><br><br><br><font size="2"><br>Sincerely,<br>Venkataramana Bora<br>IBM Visakha Hills<br>Visakhapatnam – 530 045, India</font><br><br>_______________________________________________<br>Pulp-list mailing list<u><font color="#0000FF"><br></font></u><a href="mailto:Pulp-list@redhat.com" target="_blank"><u><font color="#0000FF">Pulp-list@redhat.com</font></u></a><u><font color="#0000FF"><br></font></u><a href="https://www.redhat.com/mailman/listinfo/pulp-list" target="_blank"><u><font color="#0000FF">https://www.redhat.com/mailman/listinfo/pulp-list</font></u></a><br><br></ul><br>
<p></p></div>
</blockquote></div>
_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>