source deployment: docker sahara-base needs ssh-keygen binary

Bug #1665293 reported by Javier Castillo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Unassigned
Newton
Fix Released
Undecided
Unassigned
Ocata
Fix Released
Medium
Unassigned
Pike
Fix Released
Medium
Unassigned

Bug Description

Trunk: newton

Installation type: source + ubuntu

Problem: sahara-api needs "ssh-keygen" to be installed into its container.

Possible solution: in sahara-base Dockerfile, we could add something like:

{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install openssh
{% elif base_distro in ['ubuntu'] %}
RUN apt-get -y install openssh-client
{% endif %}

Tags: kolla
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

could u push a fix for this?

Changed in kolla:
milestone: none → pike-1
importance: Undecided → Medium
Revision history for this message
Javier Castillo (javcasalc) wrote :

https://review.openstack.org/436869

I'd suggest to push this fix into newton/ocata trunks

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/444768

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

Reviewed: https://review.openstack.org/436869
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=a614a43bebf51aa63de10dfebfa342dc8d44f491
Submitter: Jenkins
Branch: master

commit a614a43bebf51aa63de10dfebfa342dc8d44f491
Author: Javier Castillo Alcíbar <email address hidden>
Date: Wed Feb 22 11:46:23 2017 +0100

    Sahara needs to run ssh-keygen

    In order to generate keypair and access to cluster instances,
    sahara-base container must include this binary, even when we
    deploy based on source type.

    Change-Id: I40747bceba3fede66864b781df1da1034ea22d11
    Closes-Bug: #1665293

Changed in kolla:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/ocata)

Reviewed: https://review.openstack.org/444767
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=6f5ec7792d25f05e4b9cae19cfbf387125fd5ae7
Submitter: Jenkins
Branch: stable/ocata

commit 6f5ec7792d25f05e4b9cae19cfbf387125fd5ae7
Author: Javier Castillo Alcíbar <email address hidden>
Date: Wed Feb 22 11:46:23 2017 +0100

    Sahara needs to run ssh-keygen

    In order to generate keypair and access to cluster instances,
    sahara-base container must include this binary, even when we
    deploy based on source type.

    Change-Id: I40747bceba3fede66864b781df1da1034ea22d11
    Closes-Bug: #1665293
    (cherry picked from commit a614a43bebf51aa63de10dfebfa342dc8d44f491)

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

Reviewed: https://review.openstack.org/444768
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=ba2a766a82a77ff19f4722785c36403b046266ee
Submitter: Jenkins
Branch: stable/newton

commit ba2a766a82a77ff19f4722785c36403b046266ee
Author: Javier Castillo Alcíbar <email address hidden>
Date: Wed Feb 22 11:46:23 2017 +0100

    Sahara needs to run ssh-keygen

    In order to generate keypair and access to cluster instances,
    sahara-base container must include this binary, even when we
    deploy based on source type.

    Change-Id: I40747bceba3fede66864b781df1da1034ea22d11
    Closes-Bug: #1665293

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 3.0.3

This issue was fixed in the openstack/kolla 3.0.3 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 4.0.1

This issue was fixed in the openstack/kolla 4.0.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.0.0b2

This issue was fixed in the openstack/kolla 5.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.