Document URL: https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack/3/html-single/Getting_Started_Guide/index.html Section Number and Name: 7.2. Launching an Instance Describe the issue: This section has the following command, and assumes the existence of a keypair: $ nova boot --flavor 2 --key_name oskey --image 17a34b8e-c573-48d6-920c-b4b450172b41 rhel If the chapters are being used as a procedure, this step is missing. Suggestions for improvement: Add a section, 'Creating a Keypair' (analogous to the same chapter in the Dashboard section). Additional information:
Bruce, here's the info from the old Compute Admin guide upstream: Adding a keypair The Compute service can inject an SSH public key into an account on the instance, assuming the virtual machine image being used supports this. To add a keypair to the Compute service, use the nova keypair-add command. This command can be used to either generate a new keypair, or to upload an existing public key. The following example uploads an existing public key, located at ~/.ssh/id_rsa.pub, and gives the keypair the name mykey. $ nova keypair-add --pub_key ~/.ssh/id_rsa.pub mykey List the keypairs by doing: $ nova keypair-list +-------+-------------------------------------------------+ | Name | Fingerprint | | mykey | c3:d2:b5:d3:ec:4a:29:b0:22:32:6e:34:dd:91:f9:cf | +-------+-------------------------------------------------+ Confirm that the uploaded keypair matches your local key by checking your key's fingerprint with the ssh-keygen command: $ ssh-keygen -l -f ~/.ssh/id_rsa.pub 2048 c3:d2:b5:d3:ec:4a:29:b0:22:32:6e:34:dd:91:f9:cf /home/myaccount/.ssh/id_rsa.pub (RSA)
Added commands on how to add a keypair to Nova using the CLI.
Added section "8.2 Adding or creating a keypair" in command line interface chapter.