Support Questions

Find answers, ask questions, and share your expertise

CM 7.x upgrade error: [Errno 14] PYCURL ERROR 6 ; Couldn't resolve host

avatar
Expert Contributor

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

  • Substitute your USERNAME and PASSWORD in the Package Repository URL where indicated in the URL in /etc/yum.repos.d/cloudera-manager.repo 
  • 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!

1 ACCEPTED SOLUTION

avatar
Master Collaborator

@ebeb 

 

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.

 

 

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

@ebeb 

 

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.

 

 

avatar
Expert Contributor

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!

Access Restricted

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.