[Openstack--Ansible] Playbook for Host Prep
Dmitriy Rabotyagov
noonedeadpunk at gmail.com
Thu Jun 30 17:20:12 UTC 2022
Hi Dave,
No, unfortunately we don't have anything like that. Basically the reason is
that OSA is super flexible and there's really a lot of ways on how to
configure networking, depending on workload.
Not saying that some ppl would leverage bare metal provisioning systems,
like Maas or Ironic, which would configure networking their own way.
However we have a role that is super helpful if you want to configure
networking with systemd-networkd. We use that role in CI and have some
example on it's usage here:
https://opendev.org/openstack/openstack-ansible/src/branch/master/tests/roles/bootstrap-host/tasks/prepare_networking.yml#L48
So depending on your workload you just need to have a sample playbook and
vars defined for hosts
чт, 30 июн. 2022 г., 18:42 Dave Hall <kdhall at binghamton.edu>:
> Hello,
>
> I am wondering if there is any sort of playbook or script for setting up
> the networking on a new physical host prior to adding it to a cluster. It
> is a bit cumbersome to do it by hand, especially given that bridges on one
> type of host need an IP while the same bridge on another type of host
> should not have an IP. Seeding the /etc/hosts file would be nice as well.
>
> Going a bit further, it would be awfully nice if a given host could have
> the same 4th octet for all host interfaces, or at least for the important
> ones. I believe that since the 172.29 subnets are /22 this should be
> possible at least for smaller clusters.
>
> Thanks.
>
> -Dave
>
> --
> Dave Hall
> Binghamton University
> kdhall at binghamton.edu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220630/725716ca/attachment.htm>
More information about the openstack-discuss
mailing list