dockerctl: Update authorized_keys in bootstrap images during restore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Medium
|
Fuel Documentation Team | ||
Mitaka |
Won't Fix
|
Medium
|
Fuel Documentation Team | ||
Newton |
Confirmed
|
Medium
|
Fuel Documentation Team |
Bug Description
https:/
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
commit fce2e2a76499346
Author: Dmitry Bilunov <email address hidden>
Date: Wed Jan 20 17:27:57 2016 +0300
dockerctl: Update authorized_keys in bootstrap images during restore
After backup-
dockerctl backup procedure does not save the bootstrap's root
filesystem, which holds the list of authorized keys that should be
matching the private key located in /root/.ssh on the master.
It would result in inaccessible nodes from a new master installation
(which has bootstrap images regenerated with a new key, not matching
the original one, restored from the backup).
This patch updates authorized_keys inside squashfsed bootstrap images,
so it will be retained during backup-
user has not requested a full backup. Full backups already contain a
full copy of /var/www/nailgun, so no changes are needed.
User should carefully restore from non-full backups - only active
bootstrap will have its ssh keys updated. To propagate ssh keys to
already running nodes, you can use something like:
mco rpc --agent execute_
Change-Id: I3945200d02b29e
Closes-Bug: #1536198
DocImpact
Changed in fuel: | |
milestone: | none → 9.0 |
assignee: | nobody → Fuel Documentation Team (fuel-docs) |
importance: | Undecided → Medium |
status: | New → Confirmed |
(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:
actual result
version
expected result
steps to reproduce
For more detailed information on the contents of each of the listed sections see https:/ /wiki.openstack .org/wiki/ Fuel/How_ to_contribute# Here_is_ how_you_ file_a_ bug