Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License master fails to install new license on 9.2.1 #826

Open
yaroslav-nakonechnikov opened this issue May 3, 2024 · 0 comments
Open
Assignees
Labels

Comments

@yaroslav-nakonechnikov
Copy link

TASK [splunk_common : Ensure license path] *************************************
ok: [localhost]
Friday 03 May 2024  10:31:43 +0000 (0:00:00.877)       0:02:33.116 ************

TASK [splunk_common : Apply license] *******************************************
fatal: [localhost]: FAILED! => {
    "changed": false,
    "cmd": [
        "/opt/splunk/bin/splunk",
        "add",
        "licenses",
        "/mnt/licenses/enterprise.lic",
        "-auth",
        "admin:EXPOSED_PASS"
    ],
    "delta": "0:00:01.534122",
    "end": "2024-05-03 10:31:45.766179",
    "rc": 22,
    "start": "2024-05-03 10:31:44.232057"
}

STDERR:

WARNING: Server Certificate Hostname Validation is disabled. Please see server.conf/[sslConfig]/cliVerifyServerName for details.
/mnt/licenses/enterprise.lic: failed to add because: stack already has this license, cannot add again


MSG:

non-zero return code
...ignoring
Friday 03 May 2024  10:31:45 +0000 (0:00:02.379)       0:02:35.495 ************
Friday 03 May 2024  10:31:45 +0000 (0:00:00.059)       0:02:35.555 ************
Friday 03 May 2024  10:31:45 +0000 (0:00:00.027)       0:02:35.583 ************
Friday 03 May 2024  10:31:45 +0000 (0:00:00.060)       0:02:35.644 ************
Friday 03 May 2024  10:31:46 +0000 (0:00:00.087)       0:02:35.732 ************

TASK [splunk_license_master : include_tasks] ***********************************
included: /opt/ansible/roles/splunk_license_master/tasks/../../splunk_common/tasks/enable_forwarding.yml for localhost
Friday 03 May 2024  10:31:46 +0000 (0:00:00.103)       0:02:35.835 ************

this is not expected error.

otherwise it should be just warning, or it should overwrite license with provided value.

i expect to overwrite it, so it will guarantee that LM has always legit license installed. And renewing process it much simpler!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants