[Spacewalk-list] CentOS installation fails with Spacewalk Proxy

SAM O ssaammoo at hotmail.com
Wed Nov 28 13:28:12 UTC 2018


I did further check in packaging.log and seems the Repo info are not populated to Spacewalk proxy:


# more packaging.log
09:19:43,342 INFO packaging: configuring base repo​
09:19:47,000 INFO packaging: Error downloading '.treeinfo': [Errno 14] HTTP Error 404 - Not Found​
09:19:47,000 INFO packaging: Trying to download 'treeinfo'​
09:19:48,327 INFO packaging: Error downloading 'treeinfo': [Errno 14] HTTP Error 404 - Not Found​
09:19:48,328 ERR packaging: got HTTP Error 404 when downloading [.]treeinfo files​
09:19:48,334 INFO_2 yum.verbose.YumPlugins: Configuration file /tmp/yum.pluginconf.d/fastestmirror.conf not found​
09:19:48,367 INFO_2 yum.verbose.YumPlugins: Configuration file /tmp/yum.pluginconf.d/langpacks.conf not found​
09:19:48,377 INFO_2 yum.verbose.YumPlugins: Configuration file /tmp/yum.pluginconf.d/product-id.conf not found​
09:19:48,385 ERR yum.verbose.YumPlugins: Plugin "product-id" can't be imported​
09:19:48,385 INFO_2 yum.verbose.YumPlugins: No plugin match for: fastestmirror​
09:19:48,385 INFO_2 yum.verbose.YumPlugins: No plugin match for: langpacks​
09:19:48,385 DEBUG yum.verbose.plugin: Adding en_US to language list​
09:19:48,389 DEBUG yum.verbose.YumBase: Config time: 0.060​
09:19:48,457 INFO_2 yum.verbose.YumPlugins: Configuration file /tmp/yum.pluginconf.d/fastestmirror.conf not found​
09:19:48,459 INFO_2 yum.verbose.YumPlugins: Configuration file /tmp/yum.pluginconf.d/langpacks.conf not found​
09:19:48,461 INFO_2 yum.verbose.YumPlugins: Configuration file /tmp/yum.pluginconf.d/product-id.conf not found​
09:19:48,462 ERR yum.verbose.YumPlugins: Plugin "product-id" can't be imported​
09:19:48,462 INFO_2 yum.verbose.YumPlugins: No plugin match for: fastestmirror​
09:19:48,463 INFO_2 yum.verbose.YumPlugins: No plugin match for: langpacks​
09:19:48,463 DEBUG yum.verbose.plugin: Adding en_US to language list​
09:19:48,466 DEBUG yum.verbose.YumBase: Config time: 0.011​
09:19:48,532 INFO packaging: adding yum repo, name: anaconda, baseurl: http://<Spacewalk Proxy>/ks/dist/org/1/CentOS_7_Base_Repo, mirrorlist: None​
09:19:50,071 INFO packaging: Error downloading '.treeinfo': [Errno 14] HTTP Error 404 - Not Found​
09:19:50,072 INFO packaging: Trying to download 'treeinfo'​
09:19:51,439 INFO packaging: Error downloading 'treeinfo': [Errno 14] HTTP Error 404 - Not Found​
09:19:51,439 ERR packaging: got HTTP Error 404 when downloading [.]treeinfo files​
09:19:51,443 INFO packaging: adding yum repo, name: centos7-spacewalk-client-28, baseurl: http://<Spacewalk Proxy>/ks/dist/child/centos7-spacewalk-client-28/CentOS_7_Base_Repo, mirrorlist: None​
09:19:53,162 INFO packaging: Error downloading '.treeinfo': [Errno 14] HTTP Error 404 - Not Found​
09:19:53,162 INFO packaging: Trying to download 'treeinfo'

Thanks
Sam

________________________________
From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> on behalf of SAM O <ssaammoo at hotmail.com>
Sent: Wednesday, November 28, 2018 12:39 PM
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] CentOS installation fails with Spacewalk Proxy

Hello evreyone,

I am running Spacewalk Server 2.8

I setup Spacewalk proxy (2.8), when I try to kickstart a new Linux, the installation is stopped with error:

09:20:08,125 INFO anaconda: Running pre-installation scripts
09:20:08,125 INFO anaconda: Running pre-installation scripts
09:31:13,767 DEBUG anaconda: running handleException
09:31:13,768 CRIT anaconda: Traceback (most recent call last):

  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)

  File "/usr/lib64/python2.7/threading.py", line 765, in run
    self.__target(*self.__args, **self.__kwargs)

  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 252, in doInstall
    payload.install()

  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1576, in install
    for line in execReadlines("/usr/libexec/anaconda/anaconda-yum", args):

  File "/usr/lib64/python2.7/site-packages/pyanaconda/iutil.py", line 414, in next
    (self._argv, self._proc.returncode))

OSError: process '['/usr/libexec/anaconda/anaconda-yum', '--config', '/tmp/anaconda-yum.conf', '--tsfile', '/mnt/sysimage/anaconda-yum.yumtx', '--rpmlog', '/tmp/rpm-script.log', '--installroot', '/mnt/sysimage', '--release', '7', '--arch', 'x86_64', '--macro', '__dbi_htconfig', 'hash nofsync %{__dbi_other} %{__dbi_perms}', '--macro', '__file_context_path', '/etc/selinux/targeted/contexts/files/file_contexts']' exited with status 1

09:31:13,769 DEBUG anaconda: Gtk running, queuing exception handler to the main loop
09:31:13,769 INFO anaconda: Thread Done: AnaInstallThread (140522606556928)
09:31:15,532 INFO anaconda: Running kickstart %%onerror script(s)
09:31:15,533 INFO anaconda: All kickstart %%onerror script(s) have been run
09:31:15,533 INFO anaconda: Running kickstart %%traceback script(s)
09:31:15,534 INFO anaconda: All kickstart %%traceback script(s) have been run

I cleared the packages from the software section, so now for CentOS7, I have only:

@^minimal
@core

The installation works fine when I use spacewalk server, it fails only when I use spacewalk proxy.


Thanks in advance
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20181128/f01fea8b/attachment.htm>


More information about the Spacewalk-list mailing list