[kolla-ansible][yoga] Installation failure while `creating shard root mysql user`
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
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@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
I am running yoga in 3 productions without any issue. never heard of this error before. On Wed, May 24, 2023 at 5:38 PM Michal Arbet <michal.arbet@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@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
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@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@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
Update: So far, I have: * crafted a new installer (we build a Docker container to deploy to OpenStack); * grabbed the most recent Yoga Kolla release; * built and pushed containers from that; and * grabbed the most recent Kolla-Ansible release for Yoga.
From what I'm gathering right now, I now appear to have a functional OpenStack Yoga install.
I suspect the update that changed the `ansible.posix` version to less than `1.5.4` and building the new images did it. Thanks, all! Rob On Thu, May 25, 2023 at 2:42 PM Rob Jefferson <techstep@gmail.com> wrote:
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@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@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
I deployed yoga several days ago and everything was working as expected . On Wed, May 24, 2023, 22:06 Rob Jefferson <techstep@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
participants (4)
-
Michal Arbet
-
Oliver Weinmann
-
Rob Jefferson
-
Satish Patel