Repo server role key sync is failing occassionally

Bug #1477494 reported by Andy McCrae
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Medium
Andy McCrae
Kilo
Fix Released
Medium
Andy McCrae
Trunk
Fix Released
Medium
Andy McCrae

Bug Description

The repo server key sync is failing occasionally - I'd propose we adjust how we do the authorized_keys work.

The memcache server and regeneration of keys on each run is probably not optimal.

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

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

Changed in openstack-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

Reviewed: https://review.openstack.org/204996
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=c924a7652fc408cc47bef7ca7f6a7d570b3c86be
Submitter: Jenkins
Branch: master

commit c924a7652fc408cc47bef7ca7f6a7d570b3c86be
Author: Andy McCrae <email address hidden>
Date: Thu Jul 23 11:26:31 2015 +0100

    Adjust SSH key creation method for repo servers

    This patch ensures that the authorized_keys ansible module, as well as
    the built in "generate_ssh_keys" flag for user creation, so that we can
    avoid using shell out commands.

    Additionally, this moves the key synchronisation to use ansible
    variables instead of the memcache server.

    Change-Id: I4fe7620cae6bf68f4c0fe248cb1dfa3c24e44110
    Closes-Bug: #1477494

Changed in openstack-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (kilo)

Reviewed: https://review.openstack.org/205145
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=58e84a0791bb626ab49861546af3a8644f9d3823
Submitter: Jenkins
Branch: kilo

commit 58e84a0791bb626ab49861546af3a8644f9d3823
Author: Andy McCrae <email address hidden>
Date: Thu Jul 23 11:26:31 2015 +0100

    Adjust SSH key creation method for repo servers

    This patch ensures that the authorized_keys ansible module, as well as
    the built in "generate_ssh_keys" flag for user creation, so that we can
    avoid using shell out commands.

    Additionally, this moves the key synchronisation to use ansible
    variables instead of the memcache server.

    Change-Id: I4fe7620cae6bf68f4c0fe248cb1dfa3c24e44110
    Closes-Bug: #1477494
    (cherry picked from commit c924a7652fc408cc47bef7ca7f6a7d570b3c86be)

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.11

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

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

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

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.14

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

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.