approach to deploying rhosp 16.1 with octavia on standalone

Carlos Goncalves cgoncalves at redhat.com
Mon Oct 19 08:26:47 UTC 2020


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 at 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 at redhat.com>
> *Sent:* Monday, October 19, 2020 9:19 AM
> *To:* Chen Sagi <ChenSa at radware.com>
> *Cc:* openstack-discuss at 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
>
>
>
> [1]
> https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/standalone.html
> <https://clicktime.symantec.com/3FeUegnwPKJt2ku29Zv1H326H2?u=https%3A%2F%2Fdocs.openstack.org%2Fproject-deploy-guide%2Ftripleo-docs%2Flatest%2Fdeployment%2Fstandalone.html>
>
> [2]
> https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/quick_start_guide/index
> <https://clicktime.symantec.com/37LK3fuV6d6bxQEvXThVgRM6H2?u=https%3A%2F%2Faccess.redhat.com%2Fdocumentation%2Fen-us%2Fred_hat_openstack_platform%2F16.1%2Fhtml-single%2Fquick_start_guide%2Findex>
>
>
>
> On Sun, Oct 18, 2020 at 11:34 AM Chen Sagi <ChenSa at 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.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20201019/1dd5ca28/attachment-0001.html>


More information about the openstack-discuss mailing list