kolla ansible图像拉ubuntu上的误差20.04
我正在尝试通过 ubuntu 20.04.4
在kolla-sible上部署OpenStack Infrastress多节点。
ansible 4.10.0
ansible-core 2.11.11
kolla-ansible 13.0.1
当我执行命令时:
kolla-ansible -i /etc/kolla/multinode pull
或者
kolla-ansible -i /etc/kolla/multinode deploy
我遇到错误:
致命:[控制器]:失败! => {“ msg”:“模板字符串时的模板错误:无过滤器'select_services_enabled_and_mapped_to_host'..字符串:{lookup('vars',('vars',(kolla_role_name | kolla_role_name | default(project_name)) /p>
致命:[compute01]:失败! => {“ msg”:“模板字符串时的模板错误:无过滤器'select_services_enabled_and_mapped_to_host'..字符串:{lookup('vars',('vars',(kolla_role_name | kolla_role_name | default(project_name)) /p>
I have 1 deployment Node, 1 controller, 1 compute Node
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
似乎不是基于错误消息中的拉面问题。似乎是您中子的另一个配置问题。默认 - 元素节点配置需要3个控制器。我不完全知道您的kolla宽恕的多节点
配置设置。应该在路径
kolla-sosible/ansible/acketory/All-In-One
中。通过在[compute]
中替换localhost
- 以主机名的名称来修改此文件,并删除ansible_connection = local oth
。当我使用1个控制器和X计算节点创建一个测试人员时,这总是对我有用的。仅如果您希望控制器不在主机上,在执行Kolla宽敞的地方,则将所有其他
localhost
替换为控制器节点的名称,并且当然删除ansible_connection =本地
到处都是。只有确定:不要忘记在
/etc/hosts
-file上写下主机的名称,并在节点上执行Kolla-sosible运行。Doesn't seems like a pull-issue based in the error-message. Seems like another configuration-problem with your Neutron. The default-multi-node config requires 3 controller. I don't exactly know your multi-node config for kolla-ansible, but when you only want 1 controller and 1 compute you can do something different:
Use the
all-in-one
-file for your setup. Should be in pathkolla-ansible/ansible/inventory/all-in-one
. Modify this file by replacing thelocalhost
in the[compute]
-section with the name of the host, where the compute should be created and remove theansible_connection=local
. This always worked for me, when I created a test-deployment with 1 controller and X compute-nodes.Only in case you want the controller not on the host, where you execute the kolla-ansible, then replace all other
localhost
by the name of your controller-node and of course remove theansible_connection=local
everywhere.Only the be sure: Don't forget to write the name of the host with it's ip-address in the
/etc/hosts
-file on the node, where you execute the kolla-ansible run.首先,
kolla-sosible Prechecks -i Multinode_or_all-in-in-in-in-In-one
命令的结果是什么?潜入此方法
select_services_enabled_and_mapped_to_to_host
kolla-ansible
项目,您会找到一些线索。该方法的返回依赖于service_mapped_to_host
因此,有两个步骤清除您的问题:
否则一切都还好,我认为您应该重新发挥作用,请参考 。
Firstly, what's the result of
kolla-ansible prechecks -i multinode_or_all-in-one
command?Dive into this method
select_services_enabled_and_mapped_to_host
ofkolla-ansible
project, you will find some clues. The method's return dependent byservice_enabled
andservice_mapped_to_host
So, there are two step to clear your problem:
Or everything is OK, I think you should redeploy it refer to kolla-ansible quickstar.