Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

cluster_absolute_unit.yaml doesnt run as advertised

Đang mở
#724 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
docker, docker-compose
Lĩnh vực
devops

Hướng nghiên cứu

Start with the DISTRIBUTED_TOPOLOGY documentation and the cluster_absolute_unit.yaml scenario, then inspect test_scenarios/defaults/default.yml and the sample-compose-up Make target. Reproduce the commands and check how SPLUNK_PASSWORD and SPLUNK_GENERAL_TERMS are passed into Compose. Done means the documented startup works with the generated defaults and required environment values, including license acceptance.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Following the this documentation:
https://splunk.github.io/docker-splunk/advanced/DISTRIBUTED_TOPOLOGY.html

I wasnt able to start the cluster up.
Issues faced:

  1. default.yml inside ./test_scenarios/defaults/ wasnt respected atleast not for the password (generated via docker run with "SPLUNK_PASSWORD" set
  2. did not read the set env-var SPLUNK_PASSWORD when running compose up via make (also not when setting environment:
    - SPLUNK_PASSWORD (which is missing in this compose file)
  3. Required adding - SPLUNK_GENERAL_TERMS=--accept-sgt-current-at-splunk-com otherwise I would get license not accepted error.

How i generated default.yml:
docker run -it -e SPLUNK_PASSWORD=savepassword splunk/splunk:latest create-defaults > test_scenarios/defaults/default.yml

How I started the containers:
SPLUNK_PASSWORD=savepassword ; SPLUNK_COMPOSE=cluster_absolute_unit.yaml make sample-compose-up

OS: MacOS ARM64 (latest)
Docker Desktop: Version 4.45.0

Ngôn ngữ chính
Python
Star
554
Fork
278
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của splunk/docker-splunk

Tất cả issue của splunk/docker-splunk

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.