Creating a user with the Satellite 6 hammer API causes a "Password hash can't be blank" error

Solution In Progress - Updated -

Issue

  • Using the API guide, it recommends creating a user using the following PUT command:

    PUT:
        "login": "test",
        "firstname": "Testing",
        "lastname": "User",
        "mail": "user1@example.com",
        "admin": "true",
        "password": "123456",
        "auth_source_id": "1"
    
  • The PUT command generates this error message:

    ERROR:
    {u'error': {u'errors': {u'password_hash': [u"can't be blank"]}, u'id': None, u'full_messages': [u"Password hash can't be blank"]}}
    

Environment

  • Satellite 6.0
  • hammer

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.