[kolla-ansible] bootstrap-server docker version question

Hoai-Thu Vuong thuvh87 at gmail.com
Wed Apr 19 13:15:39 UTC 2023


I think you can edit this variable: docker_registry (noted that docker
config is created for you, check in tasks directory with this variable).
https://opendev.org/openstack/ansible-collection-kolla/src/commit/0e3dbd7b266ecc634e34b91815b822dacba0887c/roles/docker/defaults/main.yml#L52

On Wed, Apr 19, 2023, 19:40 Satish Patel <satish.txt at gmail.com> wrote:

> Thanks, I'll check it out.
>
> One more question related bootstrap, I have local docker registry and I do
> create daemon.json file on each nodes when I add compute nodes. Can
> bootstrap has option to add registry configuration during preparing new
> nodes?
>
> $ cat /etc/docker/daemon.json
>
> {
>
>     "bridge": "none",
>
>     "insecure-registries": [
>
>         "docker-reg.example.com:4000"
>
>     ],
>
>     "ip-forward": false,
>
>     "iptables": false,
>
>     "log-opts": {
>
>         "max-file": "5",
>
>         "max-size": "50m"
>
>     }
>
> }
>
> On Wed, Apr 19, 2023 at 12:35 AM Hoai-Thu Vuong <thuvh87 at gmail.com> wrote:
>
>> I think you can pin version of docker
>>
>>
>> https://opendev.org/openstack/ansible-collection-kolla/src/commit/0e3dbd7b266ecc634e34b91815b822dacba0887c/roles/docker/defaults/main.yml#L13
>>
>> On Wed, Apr 19, 2023 at 8:49 AM Satish Patel <satish.txt at gmail.com>
>> wrote:
>>
>>> Thanks, I'll check it out.
>>>
>>> On Tue, Apr 4, 2023 at 11:09 AM Gregory Orange <
>>> gregory.orange at pawsey.org.au> wrote:
>>>
>>>> On 4/4/23 22:37, Satish Patel wrote:
>>>> > How do i tell bootstrap-server to don't use docker-ce and just use
>>>> > docker.io <http://docker.io>? are there any setting to tell?
>>>>
>>>> A quick grep (well, ack) through /usr/local/share/kolla-ansible showed
>>>> me this:
>>>>
>>>> ansible/roles/baremetal/defaults/main.yml
>>>> 10:docker_apt_package: "docker-ce"
>>>> 19:docker_yum_package: "docker-ce"
>>>>
>>>> So I would say try changing that variable in your globals.yml and see
>>>> if
>>>> that does the trick.
>>>>
>>>
>>
>> --
>> Thu.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230419/2be31833/attachment-0001.htm>


More information about the openstack-discuss mailing list