While doing some labs with VIO 2.5, I've found a 'bug' on ansible playbook that doesn't allow customizing the favicon.ico of the dashboard.
On the VIOMGR, the file /var/lib/vio/ansible/roles/horizon/tasks/setup.yml, on the directive 'name: overwrite favicon' points to the file '/usr/share/openstack-dashboard/openstack_dashboard/static/themes/vmware/favicon.ico', while Openstack Horizon on kilo version always look to '/static/dashboard/img/favicon.ico'
So, the right specification of this config block shoud be:
- name: overwrite favicon
copy: src={{ horizon_favicon | default('img/favicon.ico') }}
dest=/usr/share/openstack-dashboard/static/dashboard/img/favicon.ico owner=horizon group=horizon mode=0644 backup=yes
tags:
- horizon
- stage_config
Best rgds.
Thanks - this will be fixed in the next release
Thanks - this will be fixed in the next release
You're welcome
As we're doing some customizations here (including localization to pt_BR), how can we contribute with that, as there are some missing translations and also some changes needed on the project?
An example:
- local_settings.py - We're changing the ansible template before doing the 'viocli deployment configuration', as we wan't to remove the ability to select router size
- On the documentation (and also on the custom.yml.sample), when customizing horizon we use 'viocli deployment configure --tags horizon, so only 'horizon' components get reconfigured instead of the whole environment)
- Something on 'custom.yml' that allows you to send your very own locale to Horizon
- Horizon from VMWare is missing the 'djangojs.po' in the locale folder, so even when you translate horizon, the JS from Django used still stays in English. So, some parts of the dashboard are on pt_BR, other on en_US.