shiftstack / dev-install

13 stars 16 forks source link

download.devel.redhat.com: Name or service not known #171

Closed pierreprinetti closed 2 years ago

pierreprinetti commented 2 years ago

make osp_full fails with:

TASK [install rhos-release] **************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
fatal: [standalone]: FAILED! => {"changed": false, "msg": "Failure downloading http://download.devel.redhat.com/rcm-guest/puddles/OpenStack/rhos-release/rhos-release-latest.noarch.rpm, Request failed: <urlopen error [Errno -2] Name or service not known>", "results": []}

Also locally, I cant reach that file.

$ wget 'http://download.devel.redhat.com/rcm-guest/puddles/OpenStack/rhos-release/rhos-release-latest.noarch.rpm'
--2021-11-17 11:25:13--  http://download.devel.redhat.com/rcm-guest/puddles/OpenStack/rhos-release/rhos-release-latest.noarch.rpm
Resolving download.devel.redhat.com (download.devel.redhat.com)... failed: Name or service not known.
wget: unable to resolve host address ‘download.devel.redhat.com’
pierreprinetti commented 2 years ago

That resource is only available from within the Red Hat corporate VPN.

The workaround for external access is to add these lines to local-overrides.yaml:

rhsm_enabled: true
rhsm_username: "Red Hat username"
rhsm_password: "Red Hat password"
redhat_registry_credentials: "'1234567|<token user name>': '<token>'"