Comment 1 for bug 1909841

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Hello,

Currently, For Octavia SSH pub key we uses the existing 'default' keypair from the undercloud. But, In master nova service is removed from the undercloud so compute endpoint is not available anymore.

Looks like we need modifications in tripleo-heat-templates.

https://github.com/openstack/tripleo-heat-templates/blob/master/deployment/octavia/octavia-deployment-config.j2.yaml#L209-L211

~~~
  default_key_pair:
    type: OS::Nova::KeyPair
    external_id: default
~~~

We will need a different approach to get the public key of the 'stack' user. May be reusing '/home/stack/.ssh/id_rsa.pub' as we were doing before[1] and we deal with the permission issue separately which we noticed earlier[2]

[1] https://github.com/openstack/tripleo-heat-templates/commit/0e87e640c88c316a8bc8d75974c8ac79aca868be
[2] https://bugs.launchpad.net/tripleo/+bug/1770641