I am trying to setup OSA branch 29.2.0 caracal. Whenever I try creating lxc containers using setup-hosts playbook, the new containers of version ubuntu 22 , as is the host, are missing openssh-server packages. The file /etc/ansible/roles/openstack_hosts/vars/ubuntu-22.04.yml, doesn't mention the ssh package in the distro packages. How to get ssh pkgs installed in the lxc containers ? Please help with this issue
Hey, Indeed, we have stopped installing SSH to containers, as SSH was not used by roles/playbooks for quite a while now, as connection plugin does access LXC containers through physical hosts, so in most cases SSH is not needed there. With exception of keystone, where SSH is still being used for synchronizing fernet tokens between hosts. There're multiple ways of adding extra packages to containers. 1. Using lxc_cache_extra_distro_packages variable. It will not directly install packages on containers, but ensure that the package does exist in the container image. So each container that will be created - will contain the package 2. Using openstack_host_extra_distro_packages - it will install defined packages on all hosts and containers. You can limit the scope of package presence by leveraging group_vars. чт, 9 янв. 2025 г. в 17:51, engineer2024 <engineerlinux2024@gmail.com>:
I am trying to setup OSA branch 29.2.0 caracal. Whenever I try creating lxc containers using setup-hosts playbook, the new containers of version ubuntu 22 , as is the host, are missing openssh-server packages. The file /etc/ansible/roles/openstack_hosts/vars/ubuntu-22.04.yml, doesn't mention the ssh package in the distro packages.
How to get ssh pkgs installed in the lxc containers ? Please help with this issue
participants (2)
-
Dmitriy Rabotyagov
-
engineer2024