[ovirt-users] All in one adds host failure

Pym pym0914 at 163.com
Wed Jan 17 11:02:53 UTC 2018


Hi:


I'm doing ovirt all in one. I first used the iso of node to do the basic environment, and then I did the source compilation and installation ovirt on the node environment. When I add a New Host to the web interface Host- >New, in the log: Ansible playbook command has exited with value: 1, then Host installation failed.


The logs are as follows:


engine.log:
"2018-01-05 14:49:32,445+08 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [78c6a9cb-ecc5-4e44-9366-13960ef04559] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host tchyp-test.ecr.com. Stage: Termination.
2018-01-05 14:49:32,506+08 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-12) [78c6a9cb-ecc5-4e44-9366-13960ef04559] EVENT_ID: VDS_ANSIBLE_INSTALL_STARTED(560), Ansible host-deploy playbook execution has started on host tchyp-test.ecr.com.
2018-01-05 14:49:32,507+08 INFO  [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (EE-ManagedThreadFactory-engine-Thread-12) [78c6a9cb-ecc5-4e44-9366-13960ef04559] Executing Ansible command: /usr/bin/ansible-playbook --private-key=/home/pan/ovirt-engine/etc/pki/ovirt-engine/keys/engine_id_rsa --inventory=/tmp/ansible-inventory4777891582855267855 --extra-vars=host_deploy_cluster_version=4.2 --extra-vars=host_deploy_gluster_enabled=false --extra-vars=host_deploy_virt_enabled=true --extra-vars=host_deploy_vdsm_port=54321 --extra-vars=host_deploy_override_firewall=true --extra-vars=host_deploy_firewall_type=FIREWALLD --extra-vars=ansible_port=22 --extra-vars=host_deploy_post_tasks=/home/pan/ovirt-engine/etc/ovirt-engine/ansible/ovirt-host-deploy-post-tasks.yml --extra-vars=host_deploy_ovn_tunneling_interface=127.0.0.1 --extra-vars=host_deploy_ovn_central=null /home/pan/ovirt-engine/share/ovirt-engine/playbooks/ovirt-host-deploy.yml
2018-01-05 14:49:32,788+08 INFO  [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (EE-ManagedThreadFactory-engine-Thread-12) [78c6a9cb-ecc5-4e44-9366-13960ef04559] Ansible playbook command has exited with value: 1
2018-01-05 14:49:32,792+08 ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-12) [78c6a9cb-ecc5-4e44-9366-13960ef04559] Host installation failed for host 'dbefa58b-3ee2-439b-8e9f-7ece571abe32', 'tchyp-test.ecr.com': 250
2018-01-05 14:49:32,796+08 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-12) [78c6a9cb-ecc5-4e44-9366-13960ef04559] START, SetVdsStatusVDSCommand(HostName = tchyp-test.ecr.com, SetVdsStatusVDSCommandParameters:{hostId='dbefa58b-3ee2-439b-8e9f-7ece571abe32', status='InstallFailed', nonOperationalReason='NONE', stopSpmFailureLogged='false', maintenanceReason='null'}), log id: af0b8d1
2018-01-05 14:49:32,803+08 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-12) [78c6a9cb-ecc5-4e44-9366-13960ef04559] FINISH, SetVdsStatusVDSCommand, log id: af0b8d1
2018-01-05 14:49:32,809+08 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-12) [78c6a9cb-ecc5-4e44-9366-13960ef04559] EVENT_ID: VDS_INSTALL_FAILED(505), Host tchyp-test.ecr.com installation failed. 250."


ovirt-host-deploy-ansible-20180105144932-127.0.0.1-78c6a9cb-ecc5-4e44-9366-13960ef04559.log:
"ERROR! Unexpected Exception: [Errno 13] Permission denied
to see the full traceback, use -vvv"


What am I going to do now to add host success?


Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180117/f4bd90b5/attachment.html>


More information about the Users mailing list