Skip to content

Container restart fails when the admin user password has changed using Splunk WEB #169

@gibban69

Description

@gibban69

Steps to reproduce

  1. docker run --name splunk -d -p 8000:8000 -e "SPLUNK_PASSWORD=helloworld" -e "SPLUNK_START_ARGS=--accept-license" splunk/splunk:7.2.5
  2. Login to <http://:8000> and change password for admin user
  3. docker stop splunk
  4. docker start splunk

Step 4 fails and container stops

included: /opt/ansible/roles/splunk_standalone/tasks/../../splunk_common/tasks/check_for_required_restarts.yml for localhost Monday 08 April 2019 12:57:45 +0000 (0:00:00.087) 0:00:30.655 ********** TASK [splunk_standalone : Check for required restarts] ************************* fatal: [localhost]: FAILED! => {"changed": false, "content": "", "msg": "Status code was -1 and not [200, 404]: Connection failure: [Errno 104] Connection reset by peer", "redirected": false, "status": -1, "url": "http://127.0.0.1:8089/services/messages/restart_required?output_mode=json"}

How can I change the password for admin user?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions