Client subscribed to EPEL8 can't see the repo | Entitlement Certificate(s) : String does not contain a date
Hello guys,
I'm managing various servers from a satellite 6.6 witch is installed on a RHEL 7.7.
As I'm making tests to migrate our old releases to RHEL 8, I'm actually trying to subscrib a test host to the EPEL8 (because we need some packages from that repo).
In order to do that i've followed this tutorial : https://access.redhat.com/solutions/2211261
After this :
- I made a content view that contains the EPEL8 and the satellite tools for RHEL 8 repo
- I added this content view and others content views (for BaseOs, AppStream, and other products) to a global content view
- attached this global content view to an activation key.
All those repos were synced, then published and promoted as well as the activation key.
No matter what I do on whatever host, it can see all repos (even customs one from my satellite) but it can't see that EPEL8 repo.
I've tryed on RHEL8 and RHEL7 to:
- subscribe those hosts with the activation key
- enabling and disableing the auto-attach option of the key
- adding the key with the --force option
- i've tryed to refresh evrery subscription possible with subscription-manager
- refreshed the manifest for custom repository from the satellite server
- tryed attaching those hosts with "subscription-manager attach --pool=id_of_EPEL8" that make an error about certificate update:
- on RHEL7 :
Entitlement Certificate(s) update failed due to the following reasons: - unknown string format
- on RHEL8 :
Entitlement Certificate(s) update failed due to the following reasons: - String does not contain a date.
Once the hosts are attached to the pool, it act like the attachment worked (it ins't possible to attach the host again until it is removed from the pool)
No luck about this error, I didn't found any troubleshooting tuto on google
I also read the /var/log/rhsm/rhsm.log but it doesn't contain more details about the certificate error
I found a "workaround that I don't realy like :
Following what is wrinttent on this link https://access.redhat.com/discussions/2815761 I manually added the /etc/yum.repos.d/epel.repo with the satellite EPEL8 URL
After this the host sees the EPEL8 repo and is able to install package from the satellite.
Normally there's no need for this, so my questions are :
Have I missed something following the procedure from redhat ?
Does someone have an idea of what I can do for this repo to work normally and not need to add this file manually ?
Does someone have already encontered the same issue an what have been done to fix it ?
Any help or advice is welcomed
If I ever find a fix I will post it in the discuss
Thanks for reading
Nathan