Foreman-discovery failed in Red Hat Satellite 6 with error: Validation failed: Discovery attribute set can't be blank .

Solution Verified - Updated -

Issue

  • Using Foreman discovery in Red Hat Satellite 6 server, following traceback are observed in the foreman-proxy log :

    Jan 06:25:50 fdi /usr/bin/discovery-menu[1793]: Interface with link found: 00:1b:21:87:c0:98 (ens22a0)
    Jan 06:25:50 fdi /usr/bin/discovery-menu[1793]: Response from server 422: {"message":"Validation failed: Name has already been taken, Discovery attribute set can't be blank"}
    Jan 06:25:51  fdi /usr/bin/discovery-menu[1793]: Wrote result 422 to /tmp/discovery-http-failure
    Jan 06:25:50  fdi /usr/bin/discovery-menu[1793]: Unattended facts upload finished, result: false
    Jan 06:25:53  fdi /usr/bin/discovery-menu[1793]: Entering screen_status fdi /usr/bin/discovery-menu[1793]: Entering screen_status
    

Environment

  • Red Hat Satellite
    • 6.2.x
    • 6.3.x

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