What is this error, does it effect the install?

Radosław Piliszek radoslaw.piliszek at gmail.com
Tue Aug 24 17:35:56 UTC 2021


On Tue, Aug 24, 2021 at 7:24 PM Tommy Sway <sz_cuitao at 163.com> wrote:
>
> Could you please tell me again that when kolla tool is used for formal deployment, if there are failed steps or nodes are damaged in the middle, is it ok for me to reinstall a new node, add it in and run the deployment command again?
> I've heard that Ansible-based deployments are generally idempotent, so that shouldn't be a problem.
> Isn't it?
> Thank you very much!
>

Yes, we have designed our playbooks to be idempotent.
Please let us know if they are not.
Ensuring idempotence is not a trivial task. :-)

-yoctozepto

>
> -----Original Message-----
> From: Radosław Piliszek <radoslaw.piliszek at gmail.com>
> Sent: Tuesday, August 24, 2021 10:33 PM
> To: Tommy Sway <sz_cuitao at 163.com>
> Cc: openstack-discuss <openstack-discuss at lists.openstack.org>
> Subject: Re: What is this error, does it effect the install?
>
> On Tue, Aug 24, 2021 at 4:23 PM Tommy Sway <sz_cuitao at 163.com> wrote:
> >
> > I try to install Openstack using kolla, but it’s a error when I check the system before installation :
> >
> >
> >
> > # kolla-ansible -i ./multinode prechecks
> >
> >
> >
> >
> >
> > PLAY RECAP
> > **********************************************************************
> > *****************************************
> >
> > compute01                  : ok=28   changed=0    unreachable=0    failed=0    skipped=24   rescued=0    ignored=0
> >
> > control01                  : ok=65   changed=0    unreachable=0    failed=0    skipped=59   rescued=0    ignored=0
> >
> > control02                  : ok=62   changed=0    unreachable=0    failed=0    skipped=53   rescued=0    ignored=0
> >
> > control03                  : ok=62   changed=0    unreachable=0    failed=0    skipped=53   rescued=0    ignored=0
> >
> > localhost                  : ok=6    changed=0    unreachable=0    failed=1    skipped=2    rescued=0    ignored=0
> >
> > monitoring01               : ok=18   changed=0    unreachable=0    failed=0    skipped=15   rescued=0    ignored=0
> >
> > network01                  : ok=47   changed=0    unreachable=0    failed=0    skipped=109  rescued=0    ignored=0
> >
> > network02                  : ok=47   changed=0    unreachable=0    failed=0    skipped=105  rescued=0    ignored=0
> >
> > storage01                  : ok=18   changed=0    unreachable=0    failed=0    skipped=15   rescued=0    ignored=0
> >
> >
> >
> >
> >
> > The error is :
> >
> >
> >
> > The full traceback is:
> >
> > Traceback (most recent call last):
> >
> >   File
> > "/root/.ansible/tmp/ansible-tmp-1629813578.505786-101978-2636009320373
> > 31/AnsiballZ_kolla_container_facts.py", line 102, in <module>
> >
> >     _ansiballz_main()
> >
> >   File
> > "/root/.ansible/tmp/ansible-tmp-1629813578.505786-101978-2636009320373
> > 31/AnsiballZ_kolla_container_facts.py", line 94, in _ansiballz_main
> >
> >     invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
> >
> >   File
> > "/root/.ansible/tmp/ansible-tmp-1629813578.505786-101978-2636009320373
> > 31/AnsiballZ_kolla_container_facts.py", line 40, in invoke_module
> >
> >     runpy.run_module(mod_name='ansible.modules.kolla_container_facts',
> > init_globals=None, run_name='__main__', alter_sys=True)
> >
> >   File "/usr/lib64/python3.6/runpy.py", line 205, in run_module
> >
> >     return _run_module_code(code, init_globals, run_name, mod_spec)
> >
> >   File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code
> >
> >     mod_name, mod_spec, pkg_name, script_name)
> >
> >   File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
> >
> >     exec(code, run_globals)
> >
> >   File
> > "/tmp/ansible_kolla_container_facts_payload_v95779u3/ansible_kolla_con
> > tainer_facts_payload.zip/ansible/modules/kolla_container_facts.py",
> > line 18, in <module>
> >
> > ModuleNotFoundError: No module named 'docker'
> >
> > fatal: [localhost]: FAILED! => {
> >
> >     "changed": false,
> >
> >     "module_stderr": "Traceback (most recent call last):\n  File \"/root/.ansible/tmp/ansible-tmp-1629813578.505786-101978-263600932037331/AnsiballZ_kolla_container_facts.py\", line 102, in <module>\n    _ansiballz_main()\n  File \"/root/.ansible/tmp/ansible-tmp-1629813578.505786-101978-263600932037331/AnsiballZ_kolla_container_facts.py\", line 94, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/root/.ansible/tmp/ansible-tmp-1629813578.505786-101978-263600932037331/AnsiballZ_kolla_container_facts.py\", line 40, in invoke_module\n    runpy.run_module(mod_name='ansible.modules.kolla_container_facts', init_globals=None, run_name='__main__', alter_sys=True)\n  File \"/usr/lib64/python3.6/runpy.py\", line 205, in run_module\n    return _run_module_code(code, init_globals, run_name, mod_spec)\n  File \"/usr/lib64/python3.6/runpy.py\", line 96, in _run_module_code\n    mod_name, mod_spec, pkg_name, script_name)\n  File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\n    exec(code, run_globals)\n  File \"/tmp/ansible_kolla_container_facts_payload_v95779u3/ansible_kolla_container_facts_payload.zip/ansible/modules/kolla_container_facts.py\", line 18, in <module>\nModuleNotFoundError: No module named 'docker'\n",
> >
> >     "module_stdout": "",
> >
> >     "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
> >
> >     "rc": 1
> >
> > }
> >
> >
> >
> >
> >
> > I installed the docker package on the deploy localhost and run again, but it still raise the same error.
> >
> >
> >
> > What is it ? And does it effect the install ?
> >
> >
>
> It's a minor bug in that the tooling should not be trying to check docker on localhost.
> It should be fine to progress ignoring this particular issue.
>
> -yoctozepto
>
>



More information about the openstack-discuss mailing list