Ask Your Question
0

How to ssh ubuntu instance created via trove

asked 2017-08-17 04:40:44 -0500

omprakash zeabalane gravatar image

Hi All, Using Disk image builder i have created qcow2 image and launched instance for trove. But i am not able to ssh the Ubuntu instance. Getting public key denied error. Please let me know how to link our own ssh-key and launch instance for trove service.

Refereed URL: https://docs.openstack.org/project-install-guide/database/ocata/ (Openstack docs)

Thanks, Omprakash Zeabalane

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-08-17 13:24:03 -0500

amrith gravatar image

If you built your own image, I'm not sure what the question is. I would assume that you would enable ssh daemon, create a user and install the public key in it, and use that to ssh into the instance.

edit flag offensive delete link more
0

answered 2017-08-17 17:53:22 -0500

Trove is a service that relies on communication with an agent running on the instance for setting up and configuring databases. It doesn't have any particular mechanism for logging on the instance via ssh.

To use Nova's keypair, your image must import the public key from the metadata service or the config drive. The de-facto standard for this is cloud-init. Perhaps you failed to add it to your image?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-08-17 04:40:44 -0500

Seen: 168 times

Last updated: Aug 17 '17