Thanks for providing further details.

The problem you are facing is not related to the generation of certificates but a specificity of standalone TripleO deployments.

TripleO automates as much as possible the enablement of Octavia, including upload of the default keypair from undercloud to overcloud Nova. However, since there is no undercloud at all in standalone deployments, TripleO does not have a keypair to upload to the overcloud. Users are required to set parameter OctaviaAmphoraSshKeyFile.

For example, in your $HOME/standalone_parameters.yaml file add the following:
  OctaviaAmphoraSshKeyFile: /home/stack/.ssh/id_rsa.pub

Adjust the file path as needed. Save the file and deploy.

Cheers,
Carlos

On Mon, Oct 19, 2020 at 9:52 AM Chen Sagi <ChenSa@radware.com> wrote:

Hi,

 

I have tried to do that with no success.

 

I am running this command (took the example command from RHOSP 16.1 guide + added the Octavia environment file):

 

sudo openstack tripleo deploy \

  --templates \

  --local-ip=$IP/$NETMASK \

  -e /usr/share/openstack-tripleo-heat-templates/environments/standalone/standalone-tripleo.yaml \

  -r /usr/share/openstack-tripleo-heat-templates/roles/Standalone.yaml \

  -e $HOME/containers-prepare-parameters.yaml \

  -e $HOME/standalone_parameters.yaml \

  -e /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml \

  --output-dir $HOME \

  --standalone

 

And after the playbook starts it seems like it fails due to Octavia:


 

That’s why I was sure I am unable to install it.

From what I understand my problem is that Octavia won’t automatically generate certificates (and needs undercloud to do so)

 

Do you have any information that I might be missing to solve this issue?

 

Thanks,

Chen Sagi.

 

From: Carlos Goncalves <cgoncalves@redhat.com>
Sent: Monday, October 19, 2020 9:19 AM
To: Chen Sagi <ChenSa@radware.com>
Cc: openstack-discuss@lists.openstack.org
Subject: Re: approach to deploying rhosp 16.1 with octavia on standalone

 

Hi Chen,

 

OpenStack TripleO and Red Hat OpenStack Platform can create an all-in-one OpenStack cloud. Both have comprehensive documentation pages [1] [2].

 

Octavia can be enabled in both installers without an undercloud node. In fact, that is how TripleO + Octavia integration is tested in upstream CI.

 

The CLI command you mentioned is the correct one but misses additional parameters. I would refer you again to the documentation pages in [1] and [2]. Please make sure to include "standalone-tripleo.yaml" and "octavia.yaml" environment files and the "Standalone.yaml" role file.

 

I hope this helps.

Please let us know if you have any questions.

 

Carlos

 

 

On Sun, Oct 18, 2020 at 11:34 AM Chen Sagi <ChenSa@radware.com> wrote:

Hi,

 

I am trying to figure out if I am able to deploy Red Hat Openstack platform with one physical server available, included with the Octavia solution.

For now I have been trying to use the “openstack triplo deploy –standalone” command (with various environment files) and it Is unable to install Octavia without an undercloud available.

 

Is it even possible? If so, I would love to hear some suggestions.

 

Thanks,

Chen Sagi.