坑-minion改IP

  • minion IP,192.168.184.129更改為 192.168.184.133,重啟master和minion服務(wù)后,發(fā)現(xiàn)master端未發(fā)現(xiàn)192.168.184.133,仍是如下:
[root@localhost ~]# salt-key -L
Accepted Keys:
192.168.184.129
Denied Keys:
Unaccepted Keys:
Rejected Keys:
  • 查看master日志,并未有發(fā)現(xiàn)
  • 查看minion日志:
2017-09-19 16:45:43,691 [salt.crypt                                            ][ERROR   ][12951] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:45:52,700 [salt.utils.parsers                                    ][WARNING ][12951] Minion received a SIGTERM. Exiting.
2017-09-19 16:45:55,151 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:05,159 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:15,177 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:25,195 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:35,212 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:45,230 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:46:55,248 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:47:05,266 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:47:15,279 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:47:25,296 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2017-09-19 16:47:35,314 [salt.crypt                                            ][ERROR   ][13323] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
  • 原因是因為master端在這個minion上有著緩存的key,存的是192.168.184.129,所以無法識別192.168.184.133
  • 解決方法:minion端上執(zhí)行rm -rf /etc/salt/minion_id,后重啟服務(wù)。
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • Saltstack介紹 Saltstack是一個新的基礎(chǔ)設(shè)施管理工具。目前處于快速發(fā)展階段,可以看做是強化的Fun...
    yoyo鹿鳴閱讀 2,406評論 0 0
  • 學習地址[http://tech.mainwise.cn/?p=438] 更新于 3.25 23:16 salt簡...
    J書越來越垃圾了閱讀 31,194評論 9 36
  • 前言 前面我們均以單master管理多minion的方式開展學習,在saltstack架構(gòu)擴展中,我們將學習如何擴...
    風逍H閱讀 787評論 0 0
  • 那一程 于午后初見 陽光微醺 玉蘭綻開 已記不起你的模樣 昏黃的路燈下 我們是夜歸人 一路無語 那一晚 你的歌聲動...
    日落黃昏的烏鴉閱讀 297評論 0 0
  • 制作靜態(tài)庫 動態(tài)庫:.dylib .framework 靜態(tài)庫:.a .framework 兩者區(qū)別*:動態(tài)庫時在...
    海青閱讀 1,942評論 0 1

友情鏈接更多精彩內(nèi)容