Hi Pierre,
thanks a lot !! It works….with a modification….

In the documentation, for example, we find this:
SECURITY_GROUP_RULES = {
'all_tcp': {
'name': _('All TCP'),
'ip_protocol': 'tcp',
'from_port': '1',
'to_port': '65535',
},
etc….


For me, it works with this ( without the « _ » caracter)

SECURITY_GROUP_RULES = {
'all_tcp': {
'name':  ('All TCP'),
'ip_protocol': 'tcp',
'from_port': '1',
'to_port': '65535',
},


Another example: same thing for this, it’ not working (container horizon does not launch)

OPENSTACK_IMAGE_BACKEND = {
    'image_formats': [
        ('', _('Select format')),
etc

It works without « _ »

OPENSTACK_IMAGE_BACKEND = {
    'image_formats': [
        ('', ('Select format')),
etc


Thanks again


Franck

This is configured via the SECURITY_GROUP_RULES setting [1]. Kolla Ansible already provides a custom value for this setting and you can of course override it.


On Fri, 5 Apr 2024 at 14:03, Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr> wrote:
Hi,

I have a new question, I can't find the answer.
In Horizon, in security group management, when you want to add a new rule, there are default rules already ready to be used. Is it possible (with kolla-ansible, in /etc/kolla/config/neutron/....) to customize this list as desired?
Thanks in advance
<Capture d’écran 2024-04-05 à 14.01.14.png>

Franck



Le 22 mars 2024 à 11:14, Pierre Riteau <pierre@stackhpc.com> a écrit :

Hi Franck,


Configure it via custom_local_settings in Kolla Ansible for Bobcat or earlier: https://docs.openstack.org/kolla-ansible/2023.2/reference/shared-services/horizon-guide.html
Note that the file name is changing in Caracal, which is why I am not linking to the latest documentation.

On Fri, 22 Mar 2024 at 10:43, Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr> wrote:
Hi,
With horizon, is it possible de have this default parameter when you create an instance: in source, create a new volume: « No ».
And.. if it’s possible, how configure this with kolla-ansible ? 
Thank’s for your help.

Franck