소스 검색

Adding master ID to master.conf file

The patch fixes the issue when reclass adapter crashes if a new node
is tried to register in reclass metadata with reactor/runner mechanism.

This actually happens because of merged PR https://github.com/saltstack/salt/pull/15881 so
ID of master is chnaged to <NODE_NAME>_master https://github.com/saltstack/salt/blame/2017.7/salt/config/__init__.py#L3584
thats why runner modul can't fine the node and crashes.

Change-Id: I12b59db72d58d5b9d09cbd454201a75366545779
Related-PROD: PROD-17051
pull/73/head
Oleh Hryhorov 6 년 전
부모
커밋
8d5afbf9f1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      salt/files/master.conf

+ 2
- 0
salt/files/master.conf 파일 보기

@@ -189,6 +189,8 @@ nacl.config:

file_recv: {{ master.get('file_recv', False) }}

id: {{ system.name }}.{{ system.domain }}

{#-
vim: syntax=jinja
-#}

Loading…
취소
저장