kolla部署all-in-one的neutron问题

zwpimm 发布于 2018/05/06 09:12
阅读 802
收藏 1

@CloudMAN 你好,想跟你请教个问题:

上个问题,按照您的指导,先不安装cinder或先不创建volume,实例就能创建成功,谢谢。一直在看您的3本《每天5分钟》,感觉讲解通俗、透彻,受益匪浅,希望今后多多出书。

还有个问题,通过kolla部署all-in-one时,当部署到neutron时报错,centos、ubuntu都一样,all-in-one文件没修改,global.yml也没问题,ip a查看已经创建了docker0、ovs-system、br-ex等虚拟设备,不知何故。

TASK [neutron : Setting sysctl values] **********************************************************************************
fatal: [localhost]: FAILED! => {"msg": "The conditional check '(neutron_l3_agent.enabled | bool and neutron_l3_agent.host_in_groups | bool) or (neutron_vpnaas_agent.enabled | bool and  neutron_vpnaas_agent.host_in_groups | bool)' failed. The error was: error while evaluating conditional ((neutron_l3_agent.enabled | bool and neutron_l3_agent.host_in_groups | bool) or (neutron_vpnaas_agent.enabled | bool and  neutron_vpnaas_agent.host_in_groups | bool)): Unable to look up a name or access an attribute in template string ({{ inventory_hostname in groups['neutron-vpnaas-agent'] }}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable\n\nThe error appears to have been in '/usr/local/share/kolla-ansible/ansible/roles/neutron/tasks/config.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: Setting sysctl values\n  ^ here\n"}
    to retry, use: --limit @/usr/local/share/kolla-ansible/ansible/site.retry

PLAY RECAP **************************************************************************************************************
localhost                  : ok=129  changed=0    unreachable=0    failed=1   

Command failed ansible-playbook -i ./all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla  -e action=deploy /usr/local/share/kolla-ansible/ansible/site.yml

加载中
0
CloudMAN
CloudMAN

kolla我没有搞过,抱歉

0
z
zwpimm

好的,没关系

0
东方青木
东方青木

“kolla部署all-in-one的neutron问题”,我也遇到这问题,你解决了吗?

dsadsdas
dsadsdas
你这个问题解决没? 我现在是用的kolla-ansible安装queen版本。也遇到这个问题
0
JanniHan
JanniHan

我找到解决方法了,在all-in-one或者multinode里面加入

[neutron-vpnaas-agent:children]

neutron

就可以了

JanniHan
JanniHan
希望能帮助更多的人:v:
返回顶部
顶部