Comment 4 for bug 1806113

Revision history for this message
Bernard Cafarelli (bcafarel) wrote :

Actually, this is used to grab the undercloud default key, which will be used when a SSH key is not provided:
https://github.com/openstack/tripleo-heat-templates/commit/0e87e640c88c316a8bc8d75974c8ac79aca868be

Disabling the relevant parts (to skip loading of this key) allows deployment to pass (also used at https://github.com/imain/ocp-doit/blob/master/octavia_hack.patch )

First suggestion to fix would then to skip loading the undercloud key if OctaviaAmphoraSshKeyFile is set (which would be a required parameter for standalone then)

I tried setting "OctaviaAmphoraSshKeyFile: '/root/.ssh/id_rsa.pub'" in my standalone_parameters.yaml, deployment passed and I had:
# grep -i amp_ssh /root/undercloud-ansible-bjNi8I/octavia-ansible/group_vars/octavia_vars.yaml
amp_ssh_key_name: octavia-ssh-key
amp_ssh_key_path: /root/.ssh/id_rsa.pub
# openstack keypair list

#

I suppose the missing key is caused by THT playbooks/roles/octavia-undercloud/tasks/main.yml not being run in standalone mode (also confirmed by default image I put at /usr/share/openstack-octavia-amphora-images/amphora-x64-haproxy.qcow2 not being uploaded to glance)