kolla制作过程中:neutron-sfc-agent 报错的问题

在使用二进制方式编译镜像的时候,neutron的sfc-agent提示如下错误
ERROR:kolla.image.build:neutron-sfc-agent Failed with status: error
查找编译过程中的日志记录信息,有如下提示信息
ERROR:kolla.image.build.neutron-sfc-agent:Error'd with the following message
ERROR:kolla.image.build.neutron-sfc-agent:The command '/bin/sh -c echo 'binary not yet available for centos' && /bin/false' returned a non-zero code: 1
根据kolladocker eutron eutron-sfc-agentDockerfile.j2的描述,发现是目前,sfc-agent还不支持二进制方式,只是支持源码编译模式

{% if install_type == 'binary' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}'
&& /bin/false
{% elif install_type == 'source' %}
ADD neutron-sfc-agent-archive /neutron-sfc-agent-source
RUN ln -s neutron-sfc-agent-source/* neutron-sfc-agent
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /neutron-sfc-agent
{% endif %}

原文地址:https://www.cnblogs.com/potato-chip/p/9592180.html