
Openstack Heat Template: OS:Nova:KeyPair Issue
OpenStack is an open source infrastructure platform that uses pooled resources to build and manage private and public clouds. OpenStack Heat templates are files (usually YAML) that configure and automate the deployment of cloud infrastructure. Recently, I faced some issues while I was creating different heat templates and after further investigation I found that the issue was with OS:Nova:KeyPair . If you are also facing a similar issue, I will be sharing the fix to this problem in this post. What should work new_keypair: type: OS::Nova::KeyPair properties: name: "test_key" save_private_key: true Ideally, the above code creates a new keypair with name "test_key" along with a public and private key which you can use to create server instances, etc. Now if this is not working for you and you are getting an error like below, the fix should work for you as well: Case - 1 - Provide only the public_key contents The error clearly states that you would need to pass in the public_key as a new p
Continue reading on Dev.to
Opens in a new tab


