Failed to build cradox on CentOS7

Bug #1744458 reported by Marcin Dulak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Unassigned

Bug Description

openstack-ansible 17.0.0.0b2 fails during the setup-infrastructure.yml step "TASK [repo_build : Create OpenStack-Ansible requirement wheels]" with "Failed to build cradox".

Revision history for this message
Marcin Dulak (marcin-dulak) wrote :
Revision history for this message
Marcin Dulak (marcin-dulak) wrote :

Logging into the dev-os1-hci2_repo_container-3e0d8cfb container and executing `pip install cradox` manually results in:

Exception: gcc, python-dev, librados2 or librados-dev >= 0.80 are missing

Actually only librados2-devel seems to be missing. Manual installation of `yum install -y librados2-devel` inside of the container results in successful `pip install cradox`.

[root@dev-os1-hci2-repo-container-3e0d8cfb ~]# rpm -q librados2-devel
librados2-devel-0.94.5-2.el7.x86_64

Revision history for this message
Laurent Frisée (laurent-f) wrote :

Sorry should have put that in comment, also affect ubuntu 16.04.3.

Same behavior as the last post from Marcin Dulak, apt install librados-dev seems to solve the issue.

Version of librados-dev installed using apt command line
librados-dev 12.2.1-0ubuntu0.17.10.1~cloud0

no longer affects: ubuntu
Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

17.0.0b2 is very old now (for a bleeding edge branch I mean), and if you're willing to use the development branch, maybe you try to run directly master? Maybe requirements have moved since then...

But in any way, that sounds an important bug at first sight: a missing dependency.

Could you help us triage this by doing two things:
- Post your user space configuration (user_variables and openstack_user_config.yml), and what you're trying to achieve.
- git checkout master; git pull origin master; and try to redeploy the whole thing (don't forget to bootstrap ansible again, we bumped the version since b2).

Thank you in advance.

Revision history for this message
Marcin Dulak (marcin-dulak) wrote :

I don't experience this problem when starting from a fresh master eb67707b5ddabef8b4536324bc2c096f23f16d17 on CentOS7, and librados2-devel-0.94.5-2.el7.x86_64 is present in the container.

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Thanks for the feedback.

Could you tell us what your user config are? I'd like to understand in which context does that bug trigger, because our ceph deploys seem to work fine on master ubuntu.

Changed in openstack-ansible:
status: New → Incomplete
Revision history for this message
Marcin Dulak (marcin-dulak) wrote :

I think I used the attached openstack_user_config.yml, keeping the user_variables.yml intact.

Changed in openstack-ansible:
status: Incomplete → New
Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :
Changed in openstack-ansible:
status: New → Fix Released
Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

This has been fixed with https://review.openstack.org/530570

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.