[kolla-ansible] bootstrap-server docker version question

Can Özyurt acozyurt at gmail.com
Wed Apr 19 13:01:14 UTC 2023


Yes, there is ##Docker Options## section in globals.yml. You can find
the sample configs there as commented out.

On Wed, 19 Apr 2023 at 15:42, 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.



More information about the openstack-discuss mailing list