diff --git a/docs/contributing/development_environment.md b/docs/contributing/development_environment.md index c2652e424..da778a5a3 100644 --- a/docs/contributing/development_environment.md +++ b/docs/contributing/development_environment.md @@ -56,6 +56,34 @@ cd install_yamls/devsetup make standalone ``` +Create the edpm-compute-1 virtual machine for an extra Nova compute cell. Note +that the main cell `nova` (in terms of OSP) is going to become `nova_cell1`, +and this extra `cell1` we're adding into the source OSP deployment, is going +to become `nova_cell2`, after the data plane adoption finishes. +``` +make edpm_compute EDPM_COMPUTE_SUFFIX=1 +make edpm_compute_repos EDPM_COMPUTE_SUFFIX=1 +``` + +Omit the `edpm_deploy` make target to not making it managed from the control +plane running on OCP. Instead, deploy it as a 2nd TripleO standalone Heat stack, +with an extra OSP compute: +``` +make openstack EDPM_COMPUTE_SUFFIX=1 +``` + +Ssh into deployed standalone host: +``` +ssh -i ~/install_yamls/out/edpm/ansibleee-ssh-key-id_rsa root@192.168.122.100 +``` +Discover the deployed compute host keys (a passwordless access is required by +the Nova Live-migration feature): +``` +ssh-copy-id -i ~/.ssh/id_rsa root@192.168.122.101 +``` + +TODO Discover the remote compute node from the central controller node + ### Convenience steps To make our life easier we can copy the deployment passwords we'll be using @@ -116,6 +144,8 @@ export OS_CLOUD=standalone source ~/install_yamls/devsetup/scripts/edpm-deploy-instance.sh ``` +TODO(bogdando): document creating a 2nd instance on another compute cell + Confirm the image UUID can be seen in Ceph's images pool. ``` ssh -i ~/install_yamls/out/edpm/ansibleee-ssh-key-id_rsa root@192.168.122.100 sudo cephadm shell -- rbd -p images ls -l