[kolla-ansible][yoga] Installation failure while `creating shard root mysql user`

Rob Jefferson techstep at gmail.com
Thu May 25 18:42:07 UTC 2023


I've compared the Ansible versions -- both the install and
kolla-toolbox are running the same Ansible version (ansible-core
2.11.12). I made sure of that before I wrote the initial email, and
made doubly sure today.

I've also compared ansible-galaxy module versions, but that should be
more relevant on the kolla-toolbox side.

Maybe the issue is with one of the Python modules -- would anyone who
has this working mind doing a `pip freeze` and `ansible-galaxy
collection list` and sending what you have, just for a basis of
comparison?

Thanks,

Rob


On Wed, May 24, 2023 at 5:29 PM Michal Arbet <michal.arbet at ultimum.io> wrote:
>
> Hi , this is incompatibility in Ansible version I believe. And if task is created via kolla-toolbox ..check version there ....
>
> On Wed, May 24, 2023, 22:06 Rob Jefferson <techstep at gmail.com> wrote:
>>
>> I'm trying to set up Yoga (as part of a way of upgrading from Xena to
>> Yoga to Zed) using kolla-ansible, and I'm finding that I'm getting the
>> following error at the
>> `kolla-ansible/ansible/roles/mariadb/tasks/register.yml` playbook:
>>
>> TASK [mariadb : Creating shard root mysql user]
>> [...]
>> fatal: [control01]: FAILED! =>
>> {
>>   "changed": false,
>>   "msg": "Can not parse the inner module output:
>>
>> b'[WARNING]: Failure using method (v2_playbook_on_play_start) in callback
>> plugin (<ansible_collections.ansible.posix.plugins.callback.json.CallbackModule
>> object
>> at 0x7fa4e6e18d00>): 'Play' object has no attribute 'get_path'
>> [WARNING]: Failure using method (v2_playbook_on_task_start) in callback
>> plugin (<ansible_collections.ansible.posix.plugins.callback.json.CallbackModule
>> object
>> at 0x7fa4e6e18d00>): list index out of range
>> [WARNING]: Failure using method (v2_runner_on_ok) in callback plugin
>> (<ansible_collections.ansible.posix.plugins.callback.json.CallbackModule
>> object at 0x7fa4e6e18d00>): list index out of range
>> {   "custom_stats": {},
>>     "global_custom_stats": {},
>>     "plays": [],
>>     "stats\": {
>>         "localhost": {
>>            "changed\": 0,
>>            "failures\": 0,
>>            "ignored\": 0,
>>            "ok": 1,
>>            "rescued\": 0,
>>            "skipped\": 0,
>>            "unreachable\": 0
>>        }
>>     }
>> }'
>> "}
>>
>> I am not sure how to fix this error, or determine what's causing it.
>> I've tried matching up Ansible versions between my installation
>> environment and Yoga, I've tried upgrading Kolla, and so forth.
>>
>> For the installation environment, I'm using:
>>
>> * Debian 11
>> * Ansible 4.10.0
>> * ansible-core 2.11.2
>> * docker-ce 5.20.10
>>
>> Any help with this would be most appreciated.
>>
>> Thanks,
>>
>> Rob
>>



More information about the openstack-discuss mailing list