Created on 08-04-2020 10:13 AM - edited 08-04-2020 10:17 AM
Hello Experts,
I am doing an upgrade from CM 5.16 to CM 7.1.2. There is an instruction to enter userid:password in the url in the .repo file:
Using the Cloudera public repository
baseurl=https://USERID:PASSWORD@archive.cloudera.com/p/cm7/7.1.2/redhat6/yum/
After setting above and running the command: yum deplist cloudera-manager-agent it gives an error below:
........@archive.cloudera.com/p/cm7/7.1.2/redhat6/yum/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'xyz.com:<password>@archive.cloudera.com'"
Anyone seen this error how to resolve. Thanks!
Created 08-04-2020 08:42 PM
It seems there is some issue with either your credentials or connectivity to the URL. Please confirm if you are using credentials generated from the license file. Refer below document for obtaining username and password for adding to the baseurl
https://docs.cloudera.com/cdp/latest/release-guide/topics/cdpdc-cm-download-information.html
Also, confirm the URL connectivity from your CM server host using curl command :
#ping archive.cloudera.com
# curl https://username:password@archive.cloudera.com/p/cm7/7.1.2/redhat6/yum
Hope this helps,
Paras
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created 08-04-2020 08:42 PM
It seems there is some issue with either your credentials or connectivity to the URL. Please confirm if you are using credentials generated from the license file. Refer below document for obtaining username and password for adding to the baseurl
https://docs.cloudera.com/cdp/latest/release-guide/topics/cdpdc-cm-download-information.html
Also, confirm the URL connectivity from your CM server host using curl command :
#ping archive.cloudera.com
# curl https://username:password@archive.cloudera.com/p/cm7/7.1.2/redhat6/yum
Hope this helps,
Paras
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created 08-05-2020 08:16 AM
Thanks for the info. This is not well documented in the CM upgrade page which will be good to have this info how to generate credentials: https://docs.cloudera.com/cdp/latest/upgrade-cdh/topics/ug_cm_upgrade_server.html
However after clicking the Download Now option from your link I now get different error which means we need to work with Cloudera to get entitled for CDP Data Center license. Thanks!
You must be a CDP Data Center customer to access these downloads. If you believe you should have this entitlement then please reach out to support or your customer service representative.