I was able to recreate your scenario and I also attempted a step upgrade from mitaka->newton->ocata, and the upgrade from newton->ocata runs into permissions errors for /var/lib/openstack-dashboard/static as well. https://paste.ubuntu.com/p/4ntKjw3pxN/
I'm not sure why an upgrade would cause these errors vs a fresh install to ocata or pike. I'll dig in some more. The fix may be along the lines of what you suggested, in updating the postinst script with:
Hi Felipe,
Thanks for reporting this.
I was able to recreate your scenario and I also attempted a step upgrade from mitaka- >newton- >ocata, and the upgrade from newton->ocata runs into permissions errors for /var/lib/ openstack- dashboard/ static as well. https:/ /paste. ubuntu. com/p/4ntKjw3px N/
I'm not sure why an upgrade would cause these errors vs a fresh install to ocata or pike. I'll dig in some more. The fix may be along the lines of what you suggested, in updating the postinst script with:
sudo chmod -R 755 /var/lib/ openstack- dashboard/ openstack- dashboard/ secret_ key
sudo chmod 600 /var/lib/
Corey