RFE (libvirt-reproducer): user running script needs own key in authorized_keys

Bug #1769530 reported by Matt Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
In Progress
Low
Matt Young

Bug Description

This RFE is a result of testing / iterating on the CI squad's 12th sprint:

https://trello.com/c/JEGLSVh6/51-reproduce-ci-jobs-with-libvirt

Multiple members of the CI squad hit this issue, which isn't immediately apparent. Since the reproducer script runs on the local machine, it uses SSH to connect to 127.0.0.2 (own host). As this is a non-obvious "first run experience" issue, it's a good candidate to resolve. There are 2 approaches proposed thus far:

- add own key to authorized_keys
- ansible_connection=local (avoiding SSH for local host alltogether).

There's already a patch posted for the latter option...

---

https://review.openstack.org/#/c/566149

Presently the user's own key needs to be added to authorized_users.

Since the --libvirt option is for localhost only, use the
'local' connection plugin. This removes a common first point
of frustration for users and will avoid ssh entirely for the virthost
connection

Change-Id: I7cafe0e4315cc6877e0e50ebfcc8e0f8307582d1

---

Tags: ci quickstart
Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart-extras (master)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/566149
Reason: This patch has no activity for a while, per policy, we abandon it. Feel free to re-open if you think you're working on it.

Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
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.