[英]how to change docker image source in Openstack kolla?
hi i am trying to install cloud-kitty
service using open stack kolla-ansible, during the installation when it try to pull container / images from dockerhub it throw error The container image not found cloudkitty-api:ussuri
, when i check on docker hub the required image not present there but there are same images present with this name objectiflibre/cloudkitty-api
.what/how should i change in kolla-ansible so that it pull
specify image for cloudkitty
.嗨,我正在尝试使用开放堆栈 kolla-ansible 安装
cloud-kitty
服务,在安装过程中,当它尝试从 dockerhub 拉取容器/图像时,它会抛出错误The container image not found cloudkitty-api:ussuri
,当我检查 docker 集线器时所需的图像不存在,但存在具有此名称objectiflibre/cloudkitty-api
的相同图像。我应该如何更改 kolla-ansible 以便它为cloudkitty
pull
指定图像。
I try to change the cloudkitty default/main.yml but i dont understand how should i change or what should i change in this.我尝试更改 cloudkitty default/main.yml 但我不明白我应该如何更改或我应该更改什么。
/root/kolla-openstack/share/kolla-ansible/ansible/roles/cloudkitty/defaults/main.yml
####################
# Docker
####################
cloudkitty_install_type: "{{ kolla_install_type }}"
cloudkitty_tag: "{{ openstack_tag }}"
cloudkitty_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ cloudkitty_install_type }}-cloudkitty-api"
cloudkitty_api_tag: "{{ cloudkitty_tag }}"
cloudkitty_api_image_full: "{{ cloudkitty_api_image }}:{{ cloudkitty_api_tag }}"
my globals.yml
我的
globals.yml
###############
# Kolla options
###############
# Valid options are [ COPY_ONCE, COPY_ALWAYS ]
config_strategy: "COPY_ALWAYS"
# Valid options are ['centos', 'debian', 'rhel', 'ubuntu']
kolla_base_distro: "ubuntu"
# Valid options are [ binary, source ]
kolla_install_type: "binary"
# Do not override this unless you know what you are doing.
openstack_release: "ussuri"
# Docker image tag used by default.
#openstack_tag: "{{ openstack_release ~ openstack_tag_suffix }}"
enable_cloudkitty: "yes"
enable_horizon_cloudkitty: "{{ enable_cloudkitty | bool }}"
cloudkitty_collector_backend: "gnocchi"
cloudkitty_storage_backend: "influxdb"
I would try first to pull the image to my local repo first:我会先尝试将图像拉到我的本地仓库:
#docker pull objectiflibre/cloudkitty-api
then try to set the correct variables in:然后尝试在以下位置设置正确的变量:
/root/kolla-openstack/share/kolla-ansible/ansible/group_vars/all.yml
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.