Hi Kaustav, You might be hitting a known issue. Please check the solution posted by Dana on this list. Look for title: '[ovirt-devel] workaround for host deploy failure (get_events)' Artur
On Fri, Mar 27, 2020 at 11:37 AM Kaustav Majumder <[email protected]> wrote: > Hi all, > I am trying to run create-brick playbook from ansible-runner integrated > inside ovirt-engine but it throws errors as > ``` > Running command: CreateBrickCommand internal: false. Entities affected : > ID: 45b7ce67-9939-4d5f-a1ba-92411356b7e6 Type: VDSAction group > MANIPULATE_HOST with role type ADMIN 2020-03-27 15:43:07,518+05 ERROR > [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (default > task-29) [5ff56203-33ca-424b-9137-491cf1ef2cd3] Exception: Failed to > execute call to start playbook. 2020-03-27 15:43:07,519+05 ERROR > [org.ovirt.engine.core.bll.gluster.CreateBrickCommand] (default task-29) > [5ff56203-33ca-424b-9137-491cf1ef2cd3] Failed to execute Ansible create > brick role. Please check logs for more details: > /home/kmajumde/work/ovirt-engine-builds/27-03-global-vol-options/var/log/ovirt-engine/brick-setup/ovirt-gluster-brick-ansible-20200327154307-10.70.35.17-5ff56203-33ca-424b-9137-491cf1ef2cd3.log > 2020-03-27 15:43:07,519+05 ERROR > [org.ovirt.engine.core.bll.gluster.CreateBrickCommand] (default task-29) > [5ff56203-33ca-424b-9137-491cf1ef2cd3] Command > 'org.ovirt.engine.core.bll.gluster.CreateBrickCommand' failed: > EngineException: Failed to execute Ansible create brick role. Please check > logs for more details: > /home/kmajumde/work/ovirt-engine-builds/27-03-global-vol-options/var/log/ovirt-engine/brick-setup/ovirt-gluster-brick-ansible-20200327154307-10.70.35.17-5ff56203-33ca-424b-9137-491cf1ef2cd3.log > (Failed with error GeneralException and code 100) 2020-03-27 > 15:43:07,526+05 ERROR > [org.ovirt.engine.core.bll.gluster.CreateBrickCommand] (default task-29) > [5ff56203-33ca-424b-9137-491cf1ef2cd3] Transaction rolled-back for command > 'org.ovirt.engine.core.bll.gluster.CreateBrickCommand'. 2020-03-27 > 15:43:07,530+05 ERROR > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > (default task-29) [5ff56203-33ca-424b-9137-491cf1ef2cd3] EVENT_ID: > CREATE_GLUSTER_BRICK_FAILED(4,139), Failed to create brick brick-1 on host > 10.70.35.17 of cluster Default. ``` > *The corresponding log is not created* > kmajumde:~/work/git/ovirt-engine] global_vol_options+ 7s ± less > /home/kmajumde/work/ovirt-engine-builds/27-03-global-vol-options/var/log/ovirt-engine/brick-setup/ovirt-gluster-brick-ansible-20200327154307-10.70.35.17-5ff56203-33ca-424b-9137-491cf1ef2cd3.log > /home/kmajumde/work/ovirt-engine-builds/27-03-global-vol-options/var/log/ovirt-engine/brick-setup/ovirt-gluster-brick-ansible-20200327154307-10.70.35.17-5ff56203-33ca-424b-9137-491cf1ef2cd3.log: > No such file or directory > *checking ansible-runner status gives* > > > > > > > > > > > > > > > > > > > > > > *[kmajumde:~/work/git/ovirt-engine] global_vol_options+ 1m1s 130 ± > systemctl status ansible-runner-service.service ● > ansible-runner-service.service - Ansible Runner Service Loaded: loaded > (/usr/lib/systemd/system/ansible-runner-service.service; disabled; vendor > preset: disabled) Active: active (running) since Fri 2020-03-27 15:42:56 > IST; 8min ago Main PID: 30097 (gunicorn-3) Tasks: 3 (limit: 4915) > Memory: 62.1M CGroup: /system.slice/ansible-runner-service.service > ├─30097 /usr/bin/python3 /usr/bin/gunicorn-3 -b localhost:50001 -w 2 > runner_service.wsgi:application ├─30112 /usr/bin/python3 > /usr/bin/gunicorn-3 -b localhost:50001 -w 2 > runner_service.wsgi:application └─30123 /usr/bin/python3 > /usr/bin/gunicorn-3 -b localhost:50001 -w 2 > runner_service.wsgi:applicationMar 27 15:42:58 localhost.localdomain > gunicorn-3[30097]: Request received, content-type :NoneMar 27 15:42:58 > localhost.localdomain gunicorn-3[30097]: 127.0.0.1 - GET > /api/v1/hosts/10.70.35.1 <http://10.70.35.1>Mar 27 15:43:01 > localhost.localdomain gunicorn-3[30097]: Request received, content-type > :NoneMar 27 15:43:01 localhost.localdomain gunicorn-3[30097]: 127.0.0.1 - > GET /api/v1/hosts/10.70.35.1 <http://10.70.35.1>Mar 27 15:43:03 > localhost.localdomain gunicorn-3[30097]: Request received, content-type > :NoneMar 27 15:43:03 localhost.localdomain gunicorn-3[30097]: 127.0.0.1 - > GET /api/v1/hosts/10.70.35.1 <http://10.70.35.1>Mar 27 15:43:07 > localhost.localdomain gunicorn-3[30097]: Request received, content-type > :NoneMar 27 15:43:07 localhost.localdomain gunicorn-3[30097]: 127.0.0.1 - > GET /api/v1/hosts/10.70.35.17 <http://10.70.35.17>Mar 27 15:43:07 > localhost.localdomain gunicorn-3[30097]: Request received, content-type > :application/json; charset=UTF-8Mar 27 15:43:07 localhost.localdomain > gunicorn-3[30097]: 127.0.0.1 - POST /api/v1/playbooks/create-brick.yml* > > *Is there a way to find the root cause for this?* > -- > > Thanks, > > Kaustav Majumder > _______________________________________________ > Devel mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Privacy Statement: https://www.ovirt.org/privacy-policy.html > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/[email protected]/message/P2GWVT2HBSTFAHZ55ZV3TA7YALWBNNTA/ > -- Artur Socha Senior Software Engineer, RHV Red Hat <https://www.redhat.com> <https://www.redhat.com>
_______________________________________________ Devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/FZ5AUT2CCNRS4VODDFCBX7K5JQAM4CJJ/
