contradictspiral
V2EX  ›  问与答

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

  •  
  •   contradictspiral · May 29, 2020 · 1708 views
    This topic created in 2177 days ago, the information mentioned may be changed or developed.

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

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

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

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

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

    支持非二进制源。
    littlewey
        2
    littlewey  
       May 29, 2020
    我刚刚把这个 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
       May 29, 2020 via Android
    @littlewey 我好好参考下你的步骤,谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4174 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:10 · PVG 13:10 · LAX 22:10 · JFK 01:10
    ♥ Do have faith in what you're doing.