DX NetOps Topology Deployment Error - fatal: [DA]: FAILED! => "msg": "Missing sudo password"
search cancel

DX NetOps Topology Deployment Error - fatal: [DA]: FAILED! => "msg": "Missing sudo password"

book

Article ID: 440727

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

When trying to deploy DX NetOps Topology Services as a user other than root the fetch_da_details.yaml task is failing with the below error:

"msg": [
        "",
        "===================================================================================================",
        "                    DA KAFKA PROPERTIES UPDATE FAILED                                              ",
        "===================================================================================================",
        "                                                                                                   ",
        "  The Topology installation will continue, but DA Kafka properties were NOT configured.            ",
        "                                                                                                   ",
        "  ACTION REQUIRED:                                                                                 ",
        "  After fixing the issue, run this command to configure DA Kafka properties:                       ",
        "                                                                                                   ",
        "    ansible-playbook -i inventory provisioning/update_da_kafka_properties.yaml -e ansible_user=root",
        "                                                                                                   ",
        "  COMMON ISSUES:                                                                                   ",
        "    - Incorrect 'da_home_path' or 'da_user' in inventory                                           ",
        "    - Missing Kafka SSL certificates on controller node                                            ",
        "    - Insufficient permissions to access DA configuration files                                    ",
        "                                                                                                   ",
        "===================================================================================================",
        "                                                                                                   "
    ]
}

Environment

All supported releases

Cause

Incorrect sudo configuration for the topology user on the DA.

Resolution

The sudoers configuration for this user must have the following set:

<username> ALL=(ALL) NOPASSWD:  ALL