Преглед на файлове

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 преди 7 години
родител
ревизия
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…
Отказ
Запис