Satellite upgrade fails with 'Hammer configuration failed: Incorrect credential for <target_ID> user'

Solution Verified - Updated -

Issue

  • While running the upgrade check, it fails with the following error:

    [root@satellite ~]# satellite-maintain upgrade check --target-version 6.11.z
    Checking for new version of satellite-maintain...
    Nothing to update, can't find new version of satellite-maintain.
    Running preparation steps required to run the next scenarios
    ================================================================================
    Setup hammer:
    Configuring Hammer CLI...
    Hammer admin password:
                                                                      [FAIL]
    Hammer configuration failed: Incorrect credential for <target_ID> user.
    --------------------------------------------------------------------------------`
    Check whether system has any non Red Hat repositories (e.g.: EPEL) enabled:
    \ Checking repositories enabled on the system                         [OK]
    --------------------------------------------------------------------------------`
    Scenario [preparation steps required to run the next scenarios] failed.
    
    The following steps ended up in failing state:
    
    [hammer-setup]
    
    Resolve the failed steps and rerun the command.
    
    If the situation persists and, you are unclear what to do next,
    contact Red Hat Technical Support.
    
    In case the failures are false positives, use
    --whitelist="hammer-setup"
    

Environment

  • Red Hat Satellite 6

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