Bug 1014849 - How to create a keypair is missing in Chapter 7
Summary: How to create a keypair is missing in Chapter 7
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: doc-Getting_Started_Guide
Version: 4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.0
Assignee: Bruce Reeler
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1011085
TreeView+ depends on / blocked
 
Reported: 2013-10-02 22:51 UTC by Summer Long
Modified: 2019-09-09 16:52 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-06 03:42:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Summer Long 2013-10-02 22:51:52 UTC
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:

Comment 2 Summer Long 2013-10-18 00:14:12 UTC
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)

Comment 3 Bruce Reeler 2013-10-21 05:55:08 UTC
Added commands on how to add a keypair to Nova using the CLI.

Comment 8 Bruce Reeler 2013-11-26 00:28:49 UTC
Added section "8.2 Adding or creating a keypair" in command line interface chapter.


Note You need to log in before you can comment on or make changes to this bug.