Welcome to the Linux Foundation Forum!

3.12 Adding an SSH Key


Cannot successfully generate nova keypair. 


nova keypair-add --pub_key ~/.ssh/id_rsa.pub lftest

It is failing with:

ERROR (AttributeError): 'Namespace' object has no attribute 'os_project_domain_id'

What is unclear to me, is what file to source.  I've sourced devstack/accrc/admin/admin which sets the OS_PROJECT_DOMAIN_ID to 'default', but this apparently is failing.


  • serewicz
    serewicz Posts: 1,000


    Please paste the output that preceeds the error. I would have suspected a source file issue. When you are  in the ~/devstack directory and you run source openrc admin, this error occurs?  

    Please let me know which lab you were in, ie lab 3.1, task 2, step 1. I will spin up the same lab to see if there is perhaps an issue with the version of Python or some such being installed, which would be my next guess.

    Thank you.


Upcoming Training