bootstrap-ansible.sh fails on "cryptography" install.

Bug #1577469 reported by frank.weyns@rackspace.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Critical
git-harry
Kilo
Fix Released
Critical
git-harry
Liberty
Fix Released
Critical
git-harry
Mitaka
Fix Released
Critical
git-harry
Trunk
Fix Released
Critical
git-harry

Bug Description

It seems some packages are not installed which are needed for the "cryptograhy" part on a standard Ubuntu server install:

The script "scripts/bootstrap-ansible.sh" fails with:
===
...
Wall -Wstrict-prototypes -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o
    c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
     #include <ffi.h>
                     ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

===

I need to: apt-get install build-essential libssl-dev libffi-dev python-dev
and then it works.

(This is what I googled: http://stackoverflow.com/questions/22073516/failed-to-install-python-cryptography-package-with-pip-and-setup-py )

Revision history for this message
frank.weyns@rackspace.com (frank-weyns) wrote :

This is for version 13.0.1 : git checkout 13.0.1

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

Hello Frank,

Patches are already on their way.
More feedback soon.

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

The first part of the commit already merged here:
https://review.openstack.org/#/c/311080/

You can follow the other patches by looking at the "topic" section of this patch.

Changed in openstack-ansible:
status: New → In Progress
Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/312018

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/312018
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=6bcb3d13d0b6ca23fba1b56f8d70ee5fdf612d81
Submitter: Jenkins
Branch: master

commit 6bcb3d13d0b6ca23fba1b56f8d70ee5fdf612d81
Author: Jesse Pretorius <email address hidden>
Date: Tue May 3 12:18:06 2016 +0100

    Add release note for paramiko issue workaround

    Change Ia7e0d64214cfd5412ec236ee4bdd6a076821d258 implemented the fix to resolve
    the issue with the Paramkino 2.0 update, but did not include a release note to
    be explicit that this is a known issue and to inform deployers how to work
    around it.

    This patch adds a release note to do that.

    Change-Id: Iac3bca21fc336835ef1cad3a89d7cea0e4babaa8
    Closes-Bug: #1577469

Changed in openstack-ansible:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/312952

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (liberty)

Fix proposed to branch: liberty
Review: https://review.openstack.org/312953

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (kilo)

Fix proposed to branch: kilo
Review: https://review.openstack.org/312954

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (stable/mitaka)

Reviewed: https://review.openstack.org/312952
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=b218ed9375efa546aa044c69d01451e895dc08bc
Submitter: Jenkins
Branch: stable/mitaka

commit b218ed9375efa546aa044c69d01451e895dc08bc
Author: Jesse Pretorius <email address hidden>
Date: Tue May 3 12:18:06 2016 +0100

    Add release note for paramiko issue workaround

    Change Ia7e0d64214cfd5412ec236ee4bdd6a076821d258 implemented the fix to resolve
    the issue with the Paramkino 2.0 update, but did not include a release note to
    be explicit that this is a known issue and to inform deployers how to work
    around it.

    This patch adds a release note to do that.

    Change-Id: Iac3bca21fc336835ef1cad3a89d7cea0e4babaa8
    Closes-Bug: #1577469
    (cherry picked from commit 6bcb3d13d0b6ca23fba1b56f8d70ee5fdf612d81)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (liberty)

Reviewed: https://review.openstack.org/312953
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=2c8e9a5e1c417256931c6e74d55dcd2540914a90
Submitter: Jenkins
Branch: liberty

commit 2c8e9a5e1c417256931c6e74d55dcd2540914a90
Author: Jesse Pretorius <email address hidden>
Date: Tue May 3 12:18:06 2016 +0100

    Add release note for paramiko issue workaround

    Change Ia7e0d64214cfd5412ec236ee4bdd6a076821d258 implemented the fix to resolve
    the issue with the Paramkino 2.0 update, but did not include a release note to
    be explicit that this is a known issue and to inform deployers how to work
    around it.

    This patch adds a release note to do that.

    Change-Id: Iac3bca21fc336835ef1cad3a89d7cea0e4babaa8
    Closes-Bug: #1577469
    (cherry picked from commit 6bcb3d13d0b6ca23fba1b56f8d70ee5fdf612d81)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (kilo)

Reviewed: https://review.openstack.org/312954
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=4981ed929613d6ad448dc9b566b458c85491c5f7
Submitter: Jenkins
Branch: kilo

commit 4981ed929613d6ad448dc9b566b458c85491c5f7
Author: Jesse Pretorius <email address hidden>
Date: Tue May 3 12:18:06 2016 +0100

    Add release note for paramiko issue workaround

    Change Ia7e0d64214cfd5412ec236ee4bdd6a076821d258 implemented the fix to resolve
    the issue with the Paramkino 2.0 update, but did not include a release note to
    be explicit that this is a known issue and to inform deployers how to work
    around it.

    This patch adds a release note to do that.

    Change-Id: Iac3bca21fc336835ef1cad3a89d7cea0e4babaa8
    Closes-Bug: #1577469
    (cherry picked from commit 6bcb3d13d0b6ca23fba1b56f8d70ee5fdf612d81)

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 11.2.15

This issue was fixed in the openstack/openstack-ansible 11.2.15 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 12.0.12

This issue was fixed in the openstack/openstack-ansible 12.0.12 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 13.1.0

This issue was fixed in the openstack/openstack-ansible 13.1.0 release.

Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/openstack-ansible 14.0.0.0b1

This issue was fixed in the openstack/openstack-ansible 14.0.0.0b1 development milestone.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 14.0.0.0b2

This issue was fixed in the openstack/openstack-ansible 14.0.0.0b2 development milestone.

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.