Ansible-deploy KVM libvirt-python failed
Hello community! Does anybody faced something like that deploying throught Ansible on KVM servers?
Environment: CentOS 7, 9 VM (3 control, 3 ceph, 2 compute, 1 ansible), Ocata version.
When running the "openstack-ansible setup-infrastructure.yml -vvv" its stop with the failure:
"Failed to build libvirt-python" at TASK [repo_build : Create OpenStack-Ansible requirement wheels]
Here are some logs from inside of container "control02_repo_container-f46a1e28" in a controller/infra node.
Failed command: pip wheel --timeout 120 --wheel-dir /tmp/openstack-wheel-output --find-links /var/www/repo/links --find-links /tmp/openstack-wheel-output --constraint /var/www/repo/os-releases/15.1.8/centos-7.3-x86_64/requirements_constraints.txt --no-binary libvirt-python --build /tmp/openstack-builder --log /var/log/repo/repo_builder.log --requirement /var/www/repo/os-releases/15.1.8/centos-7.3-x86_64/requirements.txt
[root@control02-repo-container-f46a1e28 repo]# tail -15 /var/log/repo/repo_builder.log Removing source in /tmp/openstack-builder/jmespath Removing source in /tmp/openstack-builder/requestsexceptions Removing source in /tmp/openstack-builder/setproctitle Removing source in /tmp/openstack-builder/pycparser Removing source in /tmp/openstack-builder/anyjson Removing source in /tmp/openstack-builder/waitress Removing source in /tmp/openstack-builder/beautifulsoup4 ERROR: Failed to build one or more wheels Exception information: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/commands/wheel.py", line 201, in run "Failed to build one or more wheels" CommandError: Failed to build one or more wheels [root@control02-repo-container-f46a1e28 repo]#
Thanks a lot!!!