Comment 2 for bug 1963662

Revision history for this message
syuan wu (syuan) wrote :

I found on this website (https://storyboard.openstack.org/#!/story/2009924) that title is "cloudkitty-dashboard still uses horizon create_instance.SetInstanceDetailsAction class code which is dropped in horizon")
and the code is fixed and merged.
but when I set enable_cloudkitty: "yes" and redeploy with kolla-ansible, it seems has not been updated.

So my current workaround is Manually modify the code

1. Enter horizon docker
# docker exec -it horizon bash

2. According to the above website to fix the code of the two file
# vi /var/lib/kolla/venv/lib/python3.8/site-packages/cloudkittydashboard/enabled/_11_project_rating_panel.py
=> use hash(#) to comment the UPDATE_HORIZON_CONFIG line
# vi /var/lib/kolla/venv/lib/python3.8/site-packages/cloudkittydashboard/overrides.py
=> use hash(#) to comment the all lines of this file