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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content