traditional openstack upgrade doesn't re-run register_configs()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard Charm |
Fix Released
|
High
|
Liam Young |
Bug Description
In hooks/horizon_
CONFIGS = register_configs()
When the openstack payload is upgraded by the traditional (action-
if (CompareOpenSta
Note that an action-managed upgrade does the right thing and re-runs register_configs()
summary: |
- traditional upgrade doesn't re-run register_configs() + traditional openstack upgrade doesn't re-run register_configs() |
Changed in charm-openstack-dashboard: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Liam Young (gnuoy) |
milestone: | none → 19.10 |
Changed in charm-openstack-dashboard: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. opendev. org/684682 /git.openstack. org/cgit/ openstack/ charm-openstack -dashboard/ commit/ ?id=56e4d3c3226 b189dd3e8d0f526 a5a7775c65a62b
Committed: https:/
Submitter: Zuul
Branch: master
commit 56e4d3c3226b189 dd3e8d0f526a5a7 775c65a62b
Author: Liam Young <email address hidden>
Date: Wed Sep 25 10:01:50 2019 +0000
Stop running register_configs at load time
Stop running register_configs so it is not run unnecessarily and
simplifies unit tests. As part of this make sure that CONFIGS is
refreshed after an upgrade as config files and contexts may
have changed.
Change-Id: I08a847abe7db22 a11860f359442e1 e8945585466
Closes-Bug: #1844325