Horizon dashboard local/enabled directory not present in horizon container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In the kolla-ansible horizon queens container (ubuntu, binary), the directory
/usr/lib/
does not exist. This has implications when enabling optional dashboards
(eg heat) which assume the directory exists - see config_
in kolla_extend_start.
When optional dashboards are required, kolla_extend_start fails when
trying to copy necessary files for the optional dashboards into the
above directory and consequently the container start process fails and
the container terminates.
Our ugly hack was to add
mkdir -p /usr/lib/
to the top of the kolla_extend_start file which solved the problem.
Changed in kolla-ansible: | |
status: | New → Fix Released |
Same issue here:
cp: cannot create regular file '/usr/lib/ python2. 7/site- packages/ openstack_ dashboard/ local/enabled/ _1610_project_ orchestration_ panel.py' : No such file or directory
Sean Murphy : Where did you add the line "mkdir -p /usr/lib/ python2. 7/site- packages/ openstack_ dashboard/ local/enabled" ? In the container?
Thank you.