[TripleO] Using TripleO standalone with ML2/OVS
Hi, I was trying to use TripleO standalone for development work in the way how Emilien described it in [1] and indeed it works quite well. Thx Emilien. But now, I’m trying to find out the way how to deploy it with Neutron using ML2/OVS instead of default in TripleO ML2/OVN. And I still don’t know how to do it :/ I know it’s my fault but maybe someone can help me with this and tell me what exactly options I should change there to deploy it with other Neutron backend? Thx in advance for any help. [1] https://my1.fr/blog/developer-workflow-with-tripleo/ — Slawek Kaplonski Senior software engineer Red Hat
Hi Slawek, So from workflow perspective you just need to pass an environment file with correct set of parameters for ovs(resource_registry and parameter_defaults) to "openstack tripleo deploy" command in the end(to override the defaults) with -e <path of environment file>. In CI multinode ovs jobs are running with environment files containing ovs specific parameters. For Multinode ovs scenario the environment file [1]. Standalone ovs work(creation of environment file and CI job) is WIP by Marios[1]. I just rechecked the job to see where it's stuck as last failures were unrelated to ovs. @Marios Andreou can share exact status and @Slawomir Kaplonski you might also help in clearing it. From job logs of WIP patch you can check command for reference[3]. You can use standalone environment files directly or use them as a reference and create custom environment files as per your use case. I have not deployed myself standalone with ovs or any other backend so can't tell exact parameters but if i try i will start with these references until someone guides for exact set of parameters someone uses for standlone ovs deployment. May be someone who have tried it will post on this mailing list. [1] https://github.com/openstack/tripleo-heat-templates/blob/master/ci/environme... [2] https://review.opendev.org/#/q/topic:scenario007+(status:open+OR+status:merg...) [3] http://logs.openstack.org/97/631497/18/check/tripleo-ci-centos-7-scenario007... Regards Yatin Karel On Sat, Jul 6, 2019 at 2:33 PM Slawek Kaplonski <skaplons@redhat.com> wrote:
Hi,
I was trying to use TripleO standalone for development work in the way how Emilien described it in [1] and indeed it works quite well. Thx Emilien. But now, I’m trying to find out the way how to deploy it with Neutron using ML2/OVS instead of default in TripleO ML2/OVN. And I still don’t know how to do it :/ I know it’s my fault but maybe someone can help me with this and tell me what exactly options I should change there to deploy it with other Neutron backend? Thx in advance for any help.
[1] https://my1.fr/blog/developer-workflow-with-tripleo/
— Slawek Kaplonski Senior software engineer Red Hat
On Mon, 8 Jul 2019 at 08:11, Yatin Karel <ykarel@redhat.com> wrote:
Hi Slawek,
So from workflow perspective you just need to pass an environment file with correct set of parameters for ovs(resource_registry and parameter_defaults) to "openstack tripleo deploy" command in the end(to override the defaults) with -e <path of environment file>.
In CI multinode ovs jobs are running with environment files containing ovs specific parameters. For Multinode ovs scenario the environment file [1]. Standalone ovs work(creation of environment file and CI job) is WIP by Marios[1]. I just rechecked the job to see where it's stuck as last failures were unrelated to ovs. @Marios Andreou can share exact status and @Slawomir Kaplonski you might also help in clearing it. From job logs of WIP patch you can check command for reference[3].
You can use standalone environment files directly or use them as a reference and create custom environment files as per your use case.
I have not deployed myself standalone with ovs or any other backend so can't tell exact parameters but if i try i will start with these references until someone guides for exact set of parameters someone uses for standlone ovs deployment. May be someone who have tried it will post on this mailing list.
Not tested yet, but when the default was switched to OVN, ML2/OVS "default" environment files were updated and should work: https://github.com/openstack/tripleo-heat-templates/commit/6053eb196488a0864... (before that switch, I know "/usr/share/openstack-tripleo-heat-templates/environments/services/neutron-ovn-standalone.yaml" was working fine to do an OVN standalone deployment) And if the neutron-ovs.yaml/ neutron-ovs-dvr.yaml files do not work out of the box, they sound worth fixing :) So you should be able to just add "-e /usr/share/openstack-tripleo-heat-templates/environments/services/neutron-ovs.yaml" to your openstack tripleo deploy command, and get a standalone ML2/OVS env.
[1] https://github.com/openstack/tripleo-heat-templates/blob/master/ci/environme... [2] https://review.opendev.org/#/q/topic:scenario007+(status:open+OR+status:merg...) [3] http://logs.openstack.org/97/631497/18/check/tripleo-ci-centos-7-scenario007...
Regards Yatin Karel
On Sat, Jul 6, 2019 at 2:33 PM Slawek Kaplonski <skaplons@redhat.com> wrote:
Hi,
I was trying to use TripleO standalone for development work in the way
how Emilien described it in [1] and indeed it works quite well. Thx Emilien.
But now, I’m trying to find out the way how to deploy it with Neutron using ML2/OVS instead of default in TripleO ML2/OVN. And I still don’t know how to do it :/ I know it’s my fault but maybe someone can help me with this and tell me what exactly options I should change there to deploy it with other Neutron backend? Thx in advance for any help.
[1] https://my1.fr/blog/developer-workflow-with-tripleo/
— Slawek Kaplonski Senior software engineer Red Hat
-- Bernard Cafarelli
participants (3)
-
Bernard Cafarelli
-
Slawek Kaplonski
-
Yatin Karel