Marvin Beckers
2016-02-25 07:52:06 UTC
Hello Katello/Foreman community,
I've set up a Katello 2.4 instance on CentOS 7 (following the manual
install instructions) to gather some experience working with it.
Installation worked well and I've looked around, read some documentation
and tried to set up tftp boot for hosts. Booting over the network works
well, but I didn't create any repository mirrors before (which renders my
tftp boot useless for the moment, obviously). First of all, let me note the
Katello server is using a proxy for communication with the Internet. It has
been configured during installation. I've set up a product called "CentOS
7" which includes a repository called "Base". The repository is configured
like that:
- Label: Base
- Type: yum
- URL: http://mirror.centos.org/centos/7/os/x86_64/
- Yum Metadata Checksum: sha256
Syncing this repository now gives me a strange problem though: I'm
importing not all packages, although the task completes successfully.
Taking a look at the task I made the following observations: Up to a
specific package, it works well. But one package is failing with "A
connection error occured":
{"url"=> "http://mirror.centos.org/centos/7/os/x86_64/Packages/batik-1.8-0.12.svn1230816.el7.noarch.rpm",
"errors"=>["A connection error occurred"]}
After that, countless packages are marked as "Download skipped", including packages such as the kernel (which leads me to the conclusion it's not skipping "unneeded" packages). I suspect the error above is causing that behaviour (maybe because it's a dependency or Katello is following a "connection fails, I abort" policy).
The repository currently holds only 775 packages according to Foreman which
primarily are starting with the letter "a" (which seem to be imported
successfully as a whole) but also include packages alphabetical *after*
batik (e.g. NetworkManager). The sync task is reporting this after running:
New packages: 8297 (6.19 GB).
Failed to download 8232 packages.
I've suspected our proxy to drop the package (for whatever reason), but the Katello server is able to download the exact package (copy-pasting the URL from the error above) via wget using the same proxy. Honestly, I'm really confused and have little idea how to debug this issue. Unfortunately, it seems like nobody has encountered the same problem (or at least my Google-Fu did not help me finding it). Does anybody have an idea how to debug Katello's weird behaviour or blacklist/skip this package to download the other packages?
Kind regards,
Marvin Beckers
I've set up a Katello 2.4 instance on CentOS 7 (following the manual
install instructions) to gather some experience working with it.
Installation worked well and I've looked around, read some documentation
and tried to set up tftp boot for hosts. Booting over the network works
well, but I didn't create any repository mirrors before (which renders my
tftp boot useless for the moment, obviously). First of all, let me note the
Katello server is using a proxy for communication with the Internet. It has
been configured during installation. I've set up a product called "CentOS
7" which includes a repository called "Base". The repository is configured
like that:
- Label: Base
- Type: yum
- URL: http://mirror.centos.org/centos/7/os/x86_64/
- Yum Metadata Checksum: sha256
Syncing this repository now gives me a strange problem though: I'm
importing not all packages, although the task completes successfully.
Taking a look at the task I made the following observations: Up to a
specific package, it works well. But one package is failing with "A
connection error occured":
{"url"=> "http://mirror.centos.org/centos/7/os/x86_64/Packages/batik-1.8-0.12.svn1230816.el7.noarch.rpm",
"errors"=>["A connection error occurred"]}
After that, countless packages are marked as "Download skipped", including packages such as the kernel (which leads me to the conclusion it's not skipping "unneeded" packages). I suspect the error above is causing that behaviour (maybe because it's a dependency or Katello is following a "connection fails, I abort" policy).
The repository currently holds only 775 packages according to Foreman which
primarily are starting with the letter "a" (which seem to be imported
successfully as a whole) but also include packages alphabetical *after*
batik (e.g. NetworkManager). The sync task is reporting this after running:
New packages: 8297 (6.19 GB).
Failed to download 8232 packages.
I've suspected our proxy to drop the package (for whatever reason), but the Katello server is able to download the exact package (copy-pasting the URL from the error above) via wget using the same proxy. Honestly, I'm really confused and have little idea how to debug this issue. Unfortunately, it seems like nobody has encountered the same problem (or at least my Google-Fu did not help me finding it). Does anybody have an idea how to debug Katello's weird behaviour or blacklist/skip this package to download the other packages?
Kind regards,
Marvin Beckers
--
You received this message because you are subscribed to the Google Groups "Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+***@googlegroups.com.
To post to this group, send email to foreman-***@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+***@googlegroups.com.
To post to this group, send email to foreman-***@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.