Description of problem: When uninstalling any plugin (example: openstack-app-catalog-ui), the removal does not make sure that any *.pyc files are removed from `/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/`. The related `.py` files are removed however, but the `.pyc` are read and cause failures Version-Release number of selected component (if applicable): Newton release How reproducible: Steps to Reproduce: 1. Install openstack-dashboard 2. Install openstack-app-catalog-ui (or any other UI) 3. Restart httpd 4. Uninstall openstack-app-catalog-ui 5. Restart httpd Actual results: The service doesn't start due to errors of missing imports Expected results: The service starts with no problem Additional info:
That looks like a problem. I wonder if we can find some way to clean up the .pyc files. If not, there is also a way to disable their generation in the first place -- that will make horizon startup time marginally slower, though.
The start up is slow enough as is right now as it runs compress+collectstatic on every httpd restart so I don't think it would be that much of a big impact (or will it?)
Hello Mohammed, Is this still a problem? Is it just the (murano?) package the doesn't remove the compiled files or, as appears to be the case, other packages that are also having problems. Do we need to open bugs against all ui components?
No longer an issue.