报错: Rendering SLS 'base:minions.install' failed: Jinja variable 'list' object has no e
来源:互联网 发布:硅藻泥环保 知乎 编辑:程序博客网 时间:2024/05/22 02:08
1.报错[CRITICAL] Rendering SLS 'base:minions.install' failed: Jinja variable 'list' object has no element 0
执行:
salt-ssh -i '*' state.sls minions.install
之后,报错:
[CRITICAL] Rendering SLS 'base:minions.nosls' failed: Jinja variable 'list' object has no element 010.10.10.30: - Rendering SLS 'base:minions.nosls' failed: Jinja variable 'list' object has no element 0
是因为“minion_id: {{ grains['fqdn_ip4'][0] }}”没有匹配到IP的原因
问题处理:
登陆10.10.10.30服务器,修改/etc/hosts文件,绑定主机名和网卡IP
10.10.10.30 salt.test01.com
注:禁止在/etc/hosts文件中绑定主机名salt.test01.com在127.0.0.1上,否则“minion_id: {{ grains['fqdn_ip4'][0] }}”匹配的IP将是127.0.0.1
0 0
- 报错: Rendering SLS 'base:minions.install' failed: Jinja variable 'list' object has no e
- python3 报错: AttributeError: 'module' object has no attribute 'urlopen'
- 报错AttributeError: 'module' object has no attribute 'HTTPSConnection'
- 报错 AttributeError: 'module' object has no attribute 'bool_'
- Tensorflow报错:AttributeError: 'module' object has no attribute 'summary'
- 【Tensorflow】报错:AttributeError: 'module' object has no attribute 'scalar_summary'
- import module报错AttributeError: 'module' object has no attribute
- Tensorflow报错:AttributeError: 'module' object has no attribute 'scalar_summary'
- django 报错'NoneType' object has no attribute 'strftime'
- spark程序报错 unicode object has no attitube tzinfo
- pandas报错AttributeError: 'module' object has no attribute 'plotting'
- tensorflow报错:AttributeError: 'module' object has no attribute 'get_or_create_global_step'
- Ubuntu报错'_NamespacePath' object has no attribute 'sort'
- AttributeError: 'list' object has no attribute 'write_pdf'
- AttributeError: 'list' object has no attribute 'write_pdf'
- Uncaught TypeError: Object [object Object] has no method 'live' 报错
- 安卓WebView报错:android uncaught typeerror object object object has no method
- jquery file upload报错 TypeError: Object [object Object] has no method 'progressbar'
- Android 的大牛的博客
- 结构体作为对象的属性
- 在CentOS 6.3 64bit上如何从源码生成rpm包?
- linux jexus 服务 设置开机启动
- 技术博客的前言
- 报错: Rendering SLS 'base:minions.install' failed: Jinja variable 'list' object has no e
- HtmlParser【ed2k】
- leetcode刷题日记——Palindrome Linked List
- Android 5.x SEAndroid内核节点的读写权限
- leetcode:203 Remove Linked List Elements-每日编程第四十题
- LaTeX软件的安装和使用
- 初涉数据库
- 软件测试依据的国家技术标准规范
- 【整理】Android对Linux内核的改动你知道多少?