开发者社区> 问答> 正文

kolla部署all-in-one的neutron问题?报错

@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

展开
收起
爱吃鱼的程序员 2020-06-07 16:37:53 601 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
                        <p>kolla我没有搞过,抱歉</p>
    
                    
    
                        <p>好的,没关系</p>
    
                    
    
                        <p>“kolla部署all-in-one的neutron问题”,我也遇到这问题,你解决了吗?</p>
    
                    
    
                            你这个问题解决没? 我现在是用的kolla-ansible安装queen版本。也遇到这个问题
                        
    
                        <p>我找到解决方法了,在all-in-one或者multinode里面加入</p> 
    

    [neutron-vpnaas-agent:children]

    neutron

    就可以了

                            希望能帮助更多的人:v:
    
    2020-06-07 16:38:13
    赞同 1 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
基于Kubernetes实现弹性的CI/CD系统 立即下载
ANSIBLE在生产环境中的实践 立即下载
Future of CI_CD with Tekton and kubernetes 立即下载