While discovering repositories on the Red Hat Satellite v 6, it fails with "getaddrinfo: Name or service not known" error.

Solution Verified - Updated -

Issue

  • On trying to enable the repo through command line using hammer utility, it fails with error:-
#hammer repository-set enable  --organization "Custom Org" --product "Red Hat Enterprise Linux Server" --name "Red Hat Enterprise Linux 6 Server (Kickstart)" --releasever "6.6" --basearch "x86_64"
Could not enable repository:
  getaddrinfo: Name or service not known
  • While discovering repositories on the Red Hat Satellite v 6, it fails with getaddrinfo: Name or service not known error.
  • Hostname is been changed after installation of satellite.

Environment

  • Red Hat Satellite 6(freshly installed)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.