2025년 6월 21일 토요일

Elasticsearch 9.0의 변화 - 4th

엘라스틱은 30일 간의 유료 라이센스 체험 기능을 제공한다.


기간 지나면 만료 메시지가 뜨고, 이후엔 베이직 라이센스로 되돌리면 됨.
[2025-06-21T22:45:30,839][INFO ][o.e.x.s.a.Realms         ] [MHKANG] license mode is [trial], currently licensed security realms are [reserved/reserved,file/default_file,native/default_native]
[2025-06-21T22:45:30,843][WARN ][o.e.l.ClusterStateLicenseService] [MHKANG] license [7a643f8c-27ab-4a15-bd2d-09d6fb0ebab1] - expired
[2025-06-21T22:45:30,847][INFO ][o.e.l.ClusterStateLicenseService] [MHKANG] license [7a643f8c-27ab-4a15-bd2d-09d6fb0ebab1] mode [trial] - valid
[2025-06-21T22:45:30,849][WARN ][o.e.l.ClusterStateLicenseService] [MHKANG] LICENSE [EXPIRED] ON [SATURDAY, JUNE 21, 2025].
# IF YOU HAVE A NEW LICENSE, PLEASE UPDATE IT. OTHERWISE, PLEASE REACH OUT TO
# YOUR SUPPORT CONTACT.
[2025-06-21T22:45:38,768][ERROR][o.e.x.s.a.f.SecurityActionFilter] [MHKANG] blocking [cluster:monitor/nodes/stats] operation due to expired license. Cluster health, cluster stats and indices stats
operations are blocked on license expiration. All data operations (read and write) continue to work.
If you have a new license, please update it. Otherwise, please reach out to your support contact.
[2025-06-21T22:45:38,770][ERROR][o.e.x.m.c.n.NodeStatsCollector] [MHKANG] collector [node_stats] failed to collect dataorg.elasticsearch.ElasticsearchSecurityException: current license is non-compliant for [security]

전엔 그 작업을 키바나에서 진행했었다. 그런데 이번엔 아예 키바나 실행이 안 되네? 
[2025-06-21T22:57:50.084+09:00][ERROR][savedobjects-service] [.kibana_security_solution] Action failed with 'security_exception
        Root causes:
                security_exception: current license is non-compliant for [security]'. Retrying attempt 15 in 64 seconds.

라이센스 복원 작업을 엘라스틱에서 진행해야 한다는 얘기.
C:\Users\Administrator>curl -k -u elastic -X GET "https://192.168.31.177:9200/_license"
Enter host password for user 'elastic':
{
  "license" : {
    "status" : "expired",
    "uid" : "7a643f8c-27ab-4a15-bd2d-09d6fb0ebab1",
    "type" : "trial",
    "issue_date" : "2025-05-20T14:53:20.724Z",
    "issue_date_in_millis" : 1747720400724,
    "expiry_date" : "2025-06-21T14:53:20.724Z",
    "expiry_date_in_millis" : 1750517600724,
    "max_nodes" : 1000,
    "max_resource_units" : null,
    "issued_to" : "elasticsearch",
    "issuer" : "elasticsearch",
    "start_date_in_millis" : -1
  }
}

C:\Users\Administrator>curl -k -u elastic -X DELETE "https://192.168.31.177:9200/_license"
Enter host password for user 'elastic':
{"acknowledged":true}

C:\Users\Administrator>curl -k -u elastic -X GET "https://192.168.31.177:9200/_license"
Enter host password for user 'elastic':
{
  "license" : {
    "status" : "active",
    "uid" : "a5d2abde-a710-46a3-953a-06a12c223007",
    "type" : "basic",
    "issue_date" : "2025-06-21T14:01:12.104Z",
    "issue_date_in_millis" : 1750482072104,
    "max_nodes" : 1000,
    "max_resource_units" : null,
    "issued_to" : "elasticsearch",
    "issuer" : "elasticsearch",
    "start_date_in_millis" : -1
  }
}

베이직 라이센스로 되돌린 후에야 키바나 접속이 가능해짐.
[2025-06-21T23:01:12,187][INFO ][o.e.x.s.a.Realms         ] [MHKANG] license mode is [basic], currently licensed security realms are [reserved/reserved,file/default_file,native/default_native]
[2025-06-21T23:01:12,188][INFO ][o.e.l.ClusterStateLicenseService] [MHKANG] license [a5d2abde-a710-46a3-953a-06a12c223007] mode [basic] - valid

v9부터 바뀐 건가?

댓글 없음:

댓글 쓰기

크리에이티브 커먼즈 라이선스