How to add ondemand-web repo and install httpd24-mod_auth_openidc

Hi,

Our team is trying to implement OOD at the University of Nebraska Lincoln. I am following the documentation to set up Keycloak and stuck at the yum install httpd24-mod_auth_openidc step. Can someone please explain how to install httpd24-mod_auth_openidc from ondemand-web repo?

Thanks,
Jingchao

What was the command you used to add the ondemand-web repo? Once the repo RPM is installed you should be able to install httpd24-mod_auth_openidc as you described. I’d double check you installed the correct repo file, for example if your on CentOS 7 make sure you installed the EL7 repo RPM or this one which isn’t documented yet: https://yum.osc.edu/ondemand/1.6/ondemand-release-web-1.6-1.noarch.rpm

Thanks for the reply. Yes, we do have the ondemand-web repo installed, and I also tried the repo you mentioned above. Please check the outputs below:

# yum install https://yum.osc.edu/ondemand/1.6/ondemand-release-web-1.6-1.el7.noarch.rpm -y
Loaded plugins: fastestmirror, priorities
ondemand-release-web-1.6-1.el7.noarch.rpm                                                      | 4.3 kB  00:00:00     
Examining /var/tmp/yum-root-Mt5Pbv/ondemand-release-web-1.6-1.el7.noarch.rpm: ondemand-release-web-1.6-1.el7.noarch
/var/tmp/yum-root-Mt5Pbv/ondemand-release-web-1.6-1.el7.noarch.rpm: does not update installed package.
Error: Nothing to do
# yum install https://yum.osc.edu/ondemand/1.6/ondemand-release-web-1.6-1.noarch.rpm -y
Loaded plugins: fastestmirror, priorities
ondemand-release-web-1.6-1.noarch.rpm                                                          | 4.3 kB  00:00:00     
Examining /var/tmp/yum-root-Mt5Pbv/ondemand-release-web-1.6-1.noarch.rpm: ondemand-release-web-1.6-1.noarch
/var/tmp/yum-root-Mt5Pbv/ondemand-release-web-1.6-1.noarch.rpm: does not update installed package.
Error: Nothing to do
# yum install httpd24-mod_auth_openidc -y
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
168 packages excluded due to repository priority protections
No package httpd24-mod_auth_openidc available.
Error: Nothing to do

I haven’t done that myself, our admin Steve did, but, he wrote down what he did and we have that at https://github.com/CHPC-UofU/OnDemand-info#keycloak. Perhaps you find that helpful.

From what I can tell the httpd24-mod_auth_openidc is coming from the base CentOS repo, not from OOD. Our server has that installed and I don’t recall Steve saying that was a problem.

We do run the Keycloak on a separate server (to which I can’t ssh :wink: ).

MC

MC

Thanks Martin. It is a package from the ondemand-web repo but our puppet wiped out the repo files. An uninstall and clean install fixed the issue.

We now have Puppet module for OnDemand if you’re wanting to do Puppet managed OnDemand: https://forge.puppet.com/osc/openondemand