[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spacewalk-list
Subject:    [Spacewalk-list] Spacewalk Provisioning
From:       "P.Cookson () bham ! ac ! uk" <P ! Cookson () bham ! ac ! uk>
Date:       2019-01-22 13:30:09
Message-ID: 1B22ADCB75F3CD4E9AD36D9794C6C9F20A148DD2 () EX11 ! adf ! bham ! ac ! uk
[Download RAW message or body]

Hi all

I've recently built a SW 2.8 environment on a RHEL 7 server, added \
Channels/Repositories for RHEL/Oracle Linux 6/7 and successfully patched relevant \
client systems. I now want to look at provisioning RHEL/Oracle Linux 6/7 systems - I \
won't be using a DHCP server. Can anyone supply simple instructions for doing this as \
I can't seem to get a proper angle on it? I was envisaging using the newly created \
repositories created for patching but when I look in Systems > Kickstart > Create \
Kickstart Profile I see this:

Base Channel: No Kickstartable Channels found.
Kickstartable Tree: No trees were found for the selected channel

I learnt that this was because I need to "enable" the repositories to be \
kickstartable by re-syncing with relevant option but this give message "Kickstartable \
tree not detected (no valid treeinfo file)" for bot Red Hat and Oracle Linux channels \
(see below). Do I need to sync from different base channels perhaps?

[root@ ~]# spacewalk-repo-sync -c rhel7_x86_64 --sync-kickstart
12:23:10 ======================================
12:23:10 | Channel: rhel7_x86_64
12:23:10 ======================================
12:23:10 Sync of channel started.
12:23:10
12:23:10   Processing repository with URL: \
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os Repository \
group_spacewalkproject-java-packages is listed more than once in the configuration \
12:23:13 12:23:13   Importing comps file \
fef86aafcac04474fa71d40322b4b81bab738f67-comps.xml. 12:23:22     Packages in repo:    \
23382 12:24:06     No new packages to sync.
12:24:07
12:24:07   Errata in repo: 3449.
12:24:07     No new errata to sync.
12:24:07
12:24:07   Importing kickstarts.
12:24:10     Kickstartable tree not detected (no valid treeinfo file)
12:24:10 Sync of channel completed in 0:01:00.
12:24:10 Total time: 0:01:00
[root@ ~]#

[root@ ~]# spacewalk-repo-sync -c ol7_x86_64 --sync-kickstart
12:56:10 ======================================
12:56:10 | Channel: ol7_x86_64
12:56:10 ======================================
12:56:10 Sync of channel started.
12:56:11
12:56:11   Processing repository with URL: \
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/ Repository \
group_spacewalkproject-java-packages is listed more than once in the configuration \
12:56:12 12:56:12   Importing comps file comps.xml.
12:56:18     Packages in repo:             11799
12:56:36     No new packages to sync.
12:56:36
12:56:36   Errata in repo: 1360.
12:56:37     No new errata to sync.
12:56:37
12:56:37   Importing kickstarts.
12:56:39     Kickstartable tree not detected (no valid treeinfo file)
12:56:40 Sync of channel completed in 0:00:28.
12:56:40 Total time: 0:00:28
[root@ ~]#

Regards
Phil


[Attachment #3 (text/html)]

<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: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;}
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;
	mso-fareast-language:EN-US;}
@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">Hi all<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;ve recently built a <b>SW 2.8</b> environment on a RHEL \
7 server, added Channels/Repositories for <b>RHEL/Oracle Linux 6/7</b> and \
successfully patched relevant client systems. I now want to look at provisioning \
RHEL/Oracle Linux 6/7<o:p></o:p></p> <p class="MsoNormal">systems &#8211; I \
won&#8217;t be using a DHCP server. Can anyone supply simple instructions for doing \
this as I can&#8217;t seem to get a proper angle on it? I was envisaging using the \
newly created repositories created for patching but when I look in Systems  &gt; \
Kickstart &gt; Create Kickstart Profile I see this:<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal"><b>Base Channel: No \
Kickstartable Channels found.<o:p></o:p></b></p> <p \
class="MsoNormal"><b>Kickstartable Tree: No trees were found for the selected \
channel</b><b><o:p></o:p></b></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I learnt that this was because I need to &#8220;enable&#8221; \
the repositories to be kickstartable by re-syncing with relevant option but this give \
message &#8220;Kickstartable tree not detected (no valid treeinfo file)&#8221; for \
bot Red Hat and Oracle Linux  channels (see below). Do I need to sync from different \
base channels perhaps?<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">[root@ ~]# <b>spacewalk-repo-sync -c rhel7_x86_64 \
--sync-kickstart</b><o:p></o:p></p> <p class="MsoNormal">12:23:10 \
======================================<o:p></o:p></p> <p class="MsoNormal">12:23:10 | \
Channel: rhel7_x86_64<o:p></o:p></p> <p class="MsoNormal">12:23:10 \
======================================<o:p></o:p></p> <p class="MsoNormal">12:23:10 \
Sync of channel started.<o:p></o:p></p> <p class="MsoNormal">12:23:10<o:p></o:p></p>
<p class="MsoNormal">12:23:10&nbsp;&nbsp; Processing repository with URL: \
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os<o:p></o:p></p> <p \
class="MsoNormal">Repository group_spacewalkproject-java-packages is listed more than \
once in the configuration<o:p></o:p></p> <p class="MsoNormal">12:23:13<o:p></o:p></p>
<p class="MsoNormal">12:23:13&nbsp;&nbsp; Importing comps file \
fef86aafcac04474fa71d40322b4b81bab738f67-comps.xml.<o:p></o:p></p> <p \
class="MsoNormal">12:23:22&nbsp;&nbsp;&nbsp;&nbsp; Packages in \
repo:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
23382<o:p></o:p></p> <p class="MsoNormal">12:24:06&nbsp;&nbsp;&nbsp;&nbsp; No new \
packages to sync.<o:p></o:p></p> <p class="MsoNormal">12:24:07<o:p></o:p></p>
<p class="MsoNormal">12:24:07&nbsp;&nbsp; Errata in repo: 3449.<o:p></o:p></p>
<p class="MsoNormal">12:24:07&nbsp;&nbsp;&nbsp;&nbsp; No new errata to \
sync.<o:p></o:p></p> <p class="MsoNormal">12:24:07<o:p></o:p></p>
<p class="MsoNormal">12:24:07&nbsp;&nbsp; Importing kickstarts.<o:p></o:p></p>
<p class="MsoNormal"><span style="color:red">12:24:10&nbsp;&nbsp;&nbsp;&nbsp; \
Kickstartable tree not detected (no valid treeinfo file)<o:p></o:p></span></p> <p \
class="MsoNormal">12:24:10 Sync of channel completed in 0:01:00.<o:p></o:p></p> <p \
class="MsoNormal">12:24:10 Total time: 0:01:00<o:p></o:p></p> <p \
class="MsoNormal">[root@ ~]#<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">[root@ ~]# \
<b>spacewalk-repo-sync -c ol7_x86_64 --sync-kickstart</b><o:p></o:p></p> <p \
class="MsoNormal">12:56:10 ======================================<o:p></o:p></p> <p \
class="MsoNormal">12:56:10 | Channel: ol7_x86_64<o:p></o:p></p> <p \
class="MsoNormal">12:56:10 ======================================<o:p></o:p></p> <p \
class="MsoNormal">12:56:10 Sync of channel started.<o:p></o:p></p> <p \
class="MsoNormal">12:56:11<o:p></o:p></p> <p class="MsoNormal">12:56:11&nbsp;&nbsp; \
Processing repository with URL: \
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/<o:p></o:p></p> <p \
class="MsoNormal">Repository group_spacewalkproject-java-packages is listed more than \
once in the configuration<o:p></o:p></p> <p class="MsoNormal">12:56:12<o:p></o:p></p>
<p class="MsoNormal">12:56:12&nbsp;&nbsp; Importing comps file \
comps.xml.<o:p></o:p></p> <p class="MsoNormal">12:56:18&nbsp;&nbsp;&nbsp;&nbsp; \
Packages in repo:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
11799<o:p></o:p></p> <p class="MsoNormal">12:56:36&nbsp;&nbsp;&nbsp;&nbsp; No new \
packages to sync.<o:p></o:p></p> <p class="MsoNormal">12:56:36<o:p></o:p></p>
<p class="MsoNormal">12:56:36&nbsp;&nbsp; Errata in repo: 1360.<o:p></o:p></p>
<p class="MsoNormal">12:56:37&nbsp;&nbsp;&nbsp;&nbsp; No new errata to \
sync.<o:p></o:p></p> <p class="MsoNormal">12:56:37<o:p></o:p></p>
<p class="MsoNormal">12:56:37&nbsp;&nbsp; Importing kickstarts.<o:p></o:p></p>
<p class="MsoNormal"><span style="color:red">12:56:39&nbsp;&nbsp;&nbsp;&nbsp; \
Kickstartable tree not detected (no valid treeinfo file)<o:p></o:p></span></p> <p \
class="MsoNormal">12:56:40 Sync of channel completed in 0:00:28.<o:p></o:p></p> <p \
class="MsoNormal">12:56:40 Total time: 0:00:28<o:p></o:p></p> <p \
class="MsoNormal">[root@ ~]#<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</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>&nbsp;</o:p></p> </div>
</body>
</html>



_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
--===============5934516652111643823==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic