<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 30 March 2016 at 12:40, William H. ten Bensel <span dir="ltr"><<a href="mailto:WHTENBEN@up.com" target="_blank">WHTENBEN@up.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><tt><font size="3">*Deployed*... Does that mean activate/re-activate OR
the installation of the rpms did not get the files OR an rhncfg-client
get failed? </font></tt><br><br></blockquote><div><br><br><br></div><div>Sorry, I'm not 100% with the lingo yet. Deployed in that context meant "kickstart install on just provisioned bare metal vm, via cobbler"<br></div><div><br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><tt><font size="3">Activate/re-activate should have pushed the files.
</font></tt><br><tt><font size="3">Installation of the rpms by themselves, will not push
the files.  rhncfg-client get or a schedule through the UI, api, or
spacecmd.</font></tt><br></blockquote><div> </div><div><br></div><div>Right. Late last week I moved the installation of the rhncfg-* files from the Configuration Channel to the Kickstart profile "Software" tab, in order to confirm that the rpms were installed before the Configuration Channel kicked in?<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><tt><font size="3">This are some of the options you can do in the kickstart:</font></tt><br><br><tt><font size="3">1. Ensure that the rpms Avi gave are installed.</font></tt><br><br><tt><font size="3">2. This has been part of our default kickstart for
years.</font></tt><br><tt><font size="3"># Per rhncfg-client documentation, the first get or
deploy of files can fail if this file does not exist.<br># The work around is either reschedule, rerun, or touch the file<br>touch /var/log/rhncfg-actions</font></tt><br></blockquote><div><br></div><div><br>Ah, I'll try this now. I am putting it into an early run post-install script - is that what you are suggesting here? OR do you put this in the Kickstart Details -> Advanced options ?<br><br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="sans-serif" size="2">3.  In a %post script, verify all
of the files were deployed.</font><br><font face="sans-serif" size="2">        for
myconfigs in `rhncfg-client list |egrep -v "myspacewalk.server.domain|Config
Channel" |awk '{print $3}'`; do</font><br><font face="sans-serif" size="2">         
      rhncfg-client get $myconfigs</font><br><font face="sans-serif" size="2">        done</font><br></blockquote><div><br></div><div>Hmmm. ok - I'll test. Thanks<br><br></div><div>cheers<br></div><div>L. <br></div><div><br><br><br><br><br clear="all">------<br>The most dangerous phrase in the language is, "We've always done it this way."<br><br>- Grace Hopper<br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br><font face="sans-serif" color="#5f5f5f" size="1">From:      
 </font><font face="sans-serif" size="1">Lachlan Musicman <<a href="mailto:datakid@gmail.com" target="_blank">datakid@gmail.com</a>></font><br><font face="sans-serif" color="#5f5f5f" size="1">To:      
 </font><font face="sans-serif" size="1"><a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a></font><br><font face="sans-serif" color="#5f5f5f" size="1">Date:      
 </font><font face="sans-serif" size="1">03/29/2016 07:19 PM</font><br><font face="sans-serif" color="#5f5f5f" size="1">Subject:    
   </font><font face="sans-serif" size="1">Re: [Spacewalk-list]
Kickstart and Config management</font><br><font face="sans-serif" color="#5f5f5f" size="1">Sent by:    
   </font><font face="sans-serif" size="1"><a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a></font><br><hr noshade><br><br><br><font size="3">This email originated from outside of the company. Please
use discretion if opening attachments or clicking on links.</font><hr><font size="3"> </font><p></p><div><div class="h5"><font size="3">On 30 March 2016 at 10:43, Avi Miller <</font><a href="mailto:avi.miller@oracle.com" target="_blank"><font color="blue" size="3"><u>avi.miller@oracle.com</u></font></a><font size="3">>
wrote:</font><br><font size="3"><br>> On 30 Mar 2016, at 10:30 AM, Lachlan Musicman <</font><a href="mailto:datakid@gmail.com" target="_blank"><font color="blue" size="3"><u>datakid@gmail.com</u></font></a><font size="3">>
wrote:<br>><br>><br>> If this doesn't work, where should I look for information on why?
I'm not seeing anything in the log files.<br><br>Post-provisioning, check that you have the following RPMs installed:<br><br>rhncfg-management<br>rhncfg-client<br>rhncfg<br>rhncfg-actions<br><br>And check that configuration management is allowed:<br><br># rhn-actions-control --report<br>deploy is enabled<br>diff is enabled<br>upload is enabled<br>mtime_upload is enabled<br>run is enabled<br><br>If you don't have the RPMs, the rhn-actions-control won't work. If you're
not installing the RPMs as part of the provisioning process (i.e. if they're
not available in any channel enabled for kickstart), then the enabling
options won't work.<br></font><br><font size="3"><br></font><br><font size="3">Thanks Avi.<br></font><br><font size="3">Here's the output on a machine that I *just* deployed:<br><br><br>[root@vmpr-res-head-node ~]# rpm -qa | grep rhncfg<br>rhncfg-5.10.85-1.el7.noarch<br>rhncfg-actions-5.10.85-1.el7.noarch<br>rhncfg-client-5.10.85-1.el7.noarch<br>rhncfg-management-5.10.85-1.el7.noarch<br><br>[root@vmpr-res-head-node ~]# rhn-actions-control --report<br>deploy is enabled<br>diff is enabled<br>upload is enabled<br>mtime_upload is enabled<br>run is enabled<br><br></font><br><font size="3">So everything looks right from that perspective. <br></font><br><font size="3">But, no file deployment?<br></font><br><font size="3">Hmmm..</font><br><font size="3"><br><br><br>------<br>The most dangerous phrase in the language is, "We've always done it
this way."<br><br>- Grace Hopper<br><br> </font><br><font size="3">Cheers,<br>Avi</font><br><font size="3"><br>--<br>Oracle <</font><a href="http://www.oracle.com/" target="_blank"><font color="blue" size="3"><u>http://www.oracle.com</u></font></a><font size="3">><br>Avi Miller | Product Management Director | </font><a href="tel:%2B61%20%283%29%208616%203496" target="_blank"><font color="blue" size="3"><u>+61
(3) 8616 3496</u></font></a><font size="3"><br>Oracle Linux and Virtualization<br>417 St Kilda Road, Melbourne, Victoria 3004 Australia<br><br><br>_______________________________________________<br>Spacewalk-list mailing list</font><font color="blue" size="3"><u><br></u></font><a href="mailto:Spacewalk-list@redhat.com" target="_blank"><font color="blue" size="3"><u>Spacewalk-list@redhat.com</u></font></a><font color="blue" size="3"><u><br></u></font><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank"><font color="blue" size="3"><u>https://www.redhat.com/mailman/listinfo/spacewalk-list</u></font></a><br></div></div><tt><font size="2">This email originated from outside of the company.
 Please use discretion if opening attachments or clicking on links.<span class=""><br><br>_______________________________________________<br>Spacewalk-list mailing list<br><a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br></span></font></tt><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank"><tt><font size="2">https://www.redhat.com/mailman/listinfo/spacewalk-list</font></tt></a><br><br>
<br>
<br>
**<br>
<br>
<br>
<br>
This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient.  Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law.  If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.<br>
<br>
**<br><p></p><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" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div></div>