简体   繁体   English

openstack octavia 构建计算实例失败

[英]openstack octavia failed to build compute instance

I installed and configured octavia for openstack load balancing.我为 openstack 负载平衡安装并配置了 Octavia。 but when i want create a new loadbalancer using openstack loadbalancer create --name lb1 --vip-su.net-id su.net-pub octavia worker log say: ERROR octavia.controller.worker.v1.controller_worker octavia.common.exceptions.ComputeBuildException: Failed to build compute instance due to: Failed to retrieve image with amphora tag.但是当我想使用openstack loadbalancer create --name lb1 --vip-su.net-id su.net-pub octavia worker log 创建一个新的负载均衡器时说: ERROR octavia.controller.worker.v1.controller_worker octavia.common.exceptions.ComputeBuildException: Failed to build compute instance due to: Failed to retrieve image with amphora tag. why?为什么? (I use ubuntu) (我用的是ubuntu)

another question is: I installed octavia on controller node.另一个问题是:我在 controller 节点上安装了 Octavia。 must install anything on compute node(s)?必须在计算节点上安装任何东西吗?

I had a similar problem and adding --project service solved it when uploading the image.我遇到了类似的问题,上传图片时添加--project service解决了这个问题。

$ openstack image create amphora-x64-haproxy.qcow2 --container-format bare --disk-format qcow2 --private --tag amphora --file amphora-x64-haproxy.qcow2 --property hw_architecture='x86_64' --property hw_rng_model=virtio --project service

About the second question no need for anything to be installed on compute nodes.关于第二个问题,无需在计算节点上安装任何东西。 Only network access to lb-mgmt-net from controllers.仅从控制器对lb-mgmt-net的网络访问。

This Link helped me.这个链接帮助了我。

Set tag of image with value "amphora"设置值为“amphora”的图像标签

openstack image set --tag "amphora" image_name

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM