From c34ca175eedbbb583d474993f00320de8c1161dd Mon Sep 17 00:00:00 2001 From: Evgeny L Date: Wed, 19 Dec 2018 21:15:32 +0000 Subject: [PATCH] Elaborate on secrets update in the docs Provide the details on how to generate UUID and what other secrets require updates. Change-Id: If3ee74bc3487d2e7a15e5e909e6a23f2a66b0630 --- doc/source/authoring_and_deployment.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/source/authoring_and_deployment.rst b/doc/source/authoring_and_deployment.rst index 472e13638..041219543 100644 --- a/doc/source/authoring_and_deployment.rst +++ b/doc/source/authoring_and_deployment.rst @@ -415,7 +415,16 @@ Update Passphrases ~~~~~~~~~~~~~~~~~~~~ Replace passphrases under ``site/${NEW_SITE}/secrets/passphrases/`` -with random generated ones (e.g. ``openssl rand -hex 10``). +with random generated ones: + +- Passpharses generation ``openssl rand -hex 10`` +- UUID generation ``uuidgen`` (e.g. for Ceph filesystem ID) +- Update ``secrets/passphrases/ipmi_admin_password.yaml`` with IPMI password +- Update ``secrets/passphrases/ubuntu_crypt_password.yaml`` with password hash: + +:: + + python3 -c "from crypt import *; print(crypt('', METHOD_SHA512))" Manifest linting and combining layers ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~