Not able to install ondemand-release-web-1.8-1.noarch.rpm

Please help me to install ondemand-release-web package. When I try to install with the following command as described in document
#yum install https://yum.osc.edu/ondemand/1.8/ondemand-release-web-1.8-1.noarch.rpm

Getting below error.
Cannot open: https://yum.osc.edu/ondemand/1.8/ondemand-release-web-1.8-1.noarch.rpm. Skipping.
Error: Nothing to do

Note:- Tried both the version 1.7 as well as 1.8 but have same output

Thanks in Advance

Rahul Tiwari

Hi Rahul Tiwari,

What distro are you running on your server? RHEL/CentOS 7?

Hi,
Thanks for your quick response. I am using "CentOS-7.9

Thanks
Rahul

I assume you have SCL setup then. Can you wget the rpm from the same url?

Hi,
SCL setup is done. And I am able to wget the setup successfully. But installation with yum have the problem.

Thanks
Rahul

can you share the output of the yum install with the verbose (-v) flag added?

Hi,
Output is below.

yum install -v https://yum.osc.edu/ondemand/1.8/ondemand-release-web-1.8-1.noarch.rpm
Loading “fastestmirror” plugin
Loading “langpacks” plugin
Adding en_US.UTF-8 to language list
Config time: 0.008
Adding en_US to language list
Yum version: 3.4.3
rpmdb time: 0.000
Cannot open: https://yum.osc.edu/ondemand/1.8/ondemand-release-web-1.8-1.noarch.rpm. Skipping.
Error: Nothing to do

Can you wget the rpm then yum install ./ondemand-release-web-1.8-1.noarch.rpm?

I am able to install RPM with the below command. But while installing

yum install ondemand

Getting the following error messages.
https://yum.osc.edu/ondemand/1.8/web/el7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 503 - Service Unavailable
Trying other mirror.
https://yum.osc.edu/ondemand/1.8/web/el7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 503 - Service Unavailable
Trying other mirror.
https://yum.osc.edu/ondemand/1.8/web/el7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 503 - Service Unavailable
Trying other mirror.
https://yum.osc.edu/ondemand/1.8/web/el7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 503 - Service Unavailable
Trying other mirror.
https://yum.osc.edu/ondemand/1.8/web/el7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 503 - Service Unavailable
Trying other mirror.
https://yum.osc.edu/ondemand/1.8/web/el7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 503 - Service Unavailable
Trying other mirror.
https://yum.osc.e

sounds like a firewall or proxy issue maybe. I assume a normal yum install of other upstream packages is fine, i.e. yum install vim?

Hi,

No there is no proxy configured. And firewall and SELinux are disabled.
Even I am able to install another package.

Thanks
Rahul

No local repo server either right?

I can’t replicate in a container. Either we had a short outage or there is in fact something with your setup. Are you sure you don’t have a proxy server as @mjbludwig indicated? It could just be the environment variable proxy_server.

As a quick gut check you could curl that endpoint and see if it’s available (which repodata.xml is now). But I would guess that could help triage this issue - if it doesn’t work in yum, try hitting the URL with curl or wget. That’ll narrow the issue down.

1 Like

Hello,

proxy_server environment variable is “NULL” so I am sure there is no proxy setup in our environment. Output of the curl of repodata.xml endpoint.

curl https://yum.osc.edu/ondemand/1.8/web/el7/x86_64/repodata/repomd.xml

<?xml version="1.0" encoding="UTF-8"?> 1618413666 ba9afe351a92a64a416825df49f7ba6a93bc6ec330bb31d6b885bea03746611c 868fa283f148e89ab6addf4460969fa3d7f1afd2bac160ebc40e17e40edcd462 1618413665 13559 189786 c599b066f91408e487b791e06f6bc57d20b7228aeb73c1a95e3a8c801fd96e02 eaef185821aa65ff813cec8684320bf666a351e8238ea568cd16a1a22ecb7a07 1618413665 622011 10318327 c60e9d3f207f0b935da6eaaa494ad553eafe206f7ace93bf7a73ddf9c10d50e7 f07573d1f529d1ea988b07c39509ced4b413de16eb9ee3f9427a217fc598a6fa 1618413665 4663 59784 71e3a26e68408718676084f030345abe02d9fa19d93c833bf458fdc1aff5c080 daa5e8fa7250e7ac685e1d4ad9879228bbfe134099c6c8ec8f7a9aa72fe0b482 1618413665 45567 339968 10 5cb75acb17f86a270700fa6fbf0079f3729f7e6d79c2c553014459a7fa0f7ab5 1b8986de26da380962dcc5576df524ff36bffc4c99c52a590f9e6424b333d31a 1618413666 637983 4832256 10 8e7c2dbb6fb68395fde514b8c7da6590770db75301c9a1942b2933a98b2d8e64 7bdd8ba7dbf85edffffdd80885630c6cf544d32a0d21e9fece541e9459b9bf0d 1618413665 9452 68608 10

One more thing I would like to add here. Tried to install on some different system with different network, but issue remain same .

Thanks
Rahul

Is there some other upstream firewall you might be behind, like a university or enterprise firewall upstream of your server?

You could test installing other software from a non-rhel hosted repository like salt: Salt Project Package Repo (they have a typo there I think saying rhel 6 when they mean rhel 8)

Tried installing the Salt project repo which you mentioned on above I am able to install “yum install salt-master” application no error there.
Do you have any other repository for onDemand which you can refer me.

Thanks
Rahul