New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osism-generic network not working with ubuntu 22.04 #495
Comments
Can you try to use |
We consider switching to netplan too. Is there any „migration work“ needed apart from changing |
On Ubuntu 22.04 you have to use Netplan instead of the old interfaces file. You have to set network_type to netplan and you have to migrate the old network configuration in host_vars to the Netplan. Please have a look at https://github.com/osism/testbed/blob/main/inventory/group_vars/testbed-managers.yml#L35-L39 and https://github.com/osism/ansible-collection-commons/blob/main/roles/network/templates/netplan/01-osism.yaml.j2. Netplan documentation itself is available at https://netplan.readthedocs.io/en/stable/. @osfrickler We can now switch from old interfaces files to Netplan by default. |
Could anybody provide an example snippet how the |
Should no longer be necessary with Zed. When using tenant networks for Octavia, everything is created there as well. Have a look at https://github.com/osism/testbed/blob/main/inventory/group_vars/testbed-managers.yml#L40-L44 for a sample how to do the |
Thank you! Ok so the the whole hm interface in the host_vars should be unnecessary. It looks like most of the OSISM octavia documentation has been automated in kolla-ansible or made default in osism/ansible-defaults and osism/cfg-generics in the meantime ;) I will try to delete the redundant config. |
thanks for the explanation. we have tested netplan in a fresh environment and it works as expected. |
@berendt It should be mentioned in the release notes that migration to netplan is needed when upgrading to Ubuntu 22.04. |
I dont see this as a need in OSISM Release Notes, this is purely a issue of the OS and not of OSISM |
Related to osism/issues#495 Signed-off-by: Christian Berendt <berendt@osism.tech>
Let me mention it. |
Related to osism/issues#495 Signed-off-by: Christian Berendt <berendt@osism.tech>
Imho this is a good service to the users. Thanks @berendt. |
seems that here is missing a file for ubuntu 22.04:
https://github.com/osism/ansible-collection-commons/tree/main/roles/network/vars/interfaces
TASK [osism.commons.network : Gather variables for each operating system] ******************************************************************
fatal: [node1]: FAILED! => {"msg": "No file was found when using first_found."}
The text was updated successfully, but these errors were encountered: