V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
contradictspiral
V2EX  ›  问与答

搭建 openstack 开发环境,安装 devstack 始终报没有 neutron-agent 和 neutron-l3 包

  •  
  •   contradictspiral · 2020-05-29 01:29:55 +08:00 · 1253 次点击
    这是一个创建于 1400 天前的主题,其中的信息可能已经有所发展或是发生改变。

    最近工作需要,要搭建一个 openstack 开发环境,想使用 devstack 来搭建一个单节点的开发测试环境。

    换了 ubuntu18.04 ,centos7,debian,换过各种 stable 分支,基本都是卡在没有 neutron-agent 和 neutron-l3 这两个包上,尝试过手动安装 neutron-l3-agent,可以跳过这个环节,但之后又会报 neutron-metadata-agent: no process found 的错误...

    快被搞崩溃了,有大神出来指导下吗

    3 条回复    2020-05-29 23:10:56 +08:00
    littlewey
        1
    littlewey  
       2020-05-29 03:46:03 +08:00 via iPhone
    我最近刚好用 kolla 搭了单 server 的 train,带 l3,你可以参考一下。

    https://note.siwei.info/setup-kolla-ansible-openstack-cluster-in-vagrant-2020/

    支持非二进制源。
    littlewey
        2
    littlewey  
       2020-05-29 11:16:30 +08:00
    我刚刚把这个 vagrant 打开看了一下,是符合你的要求的:

    root@operator:/home/vagrant# openstack network agent list -f json -c Binary -c Alive -c State
    [
    {
    "Alive": true,
    "State": true,
    "Binary": "neutron-linuxbridge-agent"
    },
    {
    "Alive": true,
    "State": true,
    "Binary": "neutron-l3-agent"
    },
    {
    "Alive": true,
    "State": true,
    "Binary": "neutron-metadata-agent"
    },
    {
    "Alive": true,
    "State": true,
    "Binary": "neutron-dhcp-agent"
    }
    ]
    contradictspiral
        3
    contradictspiral  
    OP
       2020-05-29 23:10:56 +08:00 via Android
    @littlewey 我好好参考下你的步骤,谢谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   981 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:18 · PVG 04:18 · LAX 13:18 · JFK 16:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.