1. 程式人生 > >kolla制作過程中:neutron-sfc-agent 報錯的問題

kolla制作過程中:neutron-sfc-agent 報錯的問題

neu non-zero rem 日誌記錄 arch docke ble install per

在使用二進制方式編譯鏡像的時候,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
根據kolla\docker\neutron\neutron-sfc-agent\Dockerfile.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 %}

kolla制作過程中:neutron-sfc-agent 報錯的問題