After restore there are no logs on existent nodes in Nailgun UI.
In /var/log/docker-logs/remote they exists and have access by ip addr.
Move logs from ip addr path to FQDN path and create symlink ip
addr path to fqdn path.
If ip addr path doesn't exists create empty fqdn path dir and create
link to it with ip addr path name to this directory.
Change-Id: Ic82fc30082c2a743e79d3495a6d87bab17e2c742
Closes-bug: 1552643
(cherry picked from commit ecbfd3fbc7973323c4cb0fb4dc62e7db4edbd0c0)
Reviewed: https:/ /review. openstack. org/295291 /git.openstack. org/cgit/ openstack/ fuel-octane/ commit/ ?id=112225e94dd f26564131c97270 a4ce93ed0db8a7
Committed: https:/
Submitter: Jenkins
Branch: stable/7.0
commit 112225e94ddf265 64131c97270a4ce 93ed0db8a7
Author: Sergey Abramov <email address hidden>
Date: Fri Mar 18 13:01:59 2016 +0300
move remote logs and create links on it
After restore there are no logs on existent nodes in Nailgun UI. docker- logs/remote they exists and have access by ip addr.
In /var/log/
Move logs from ip addr path to FQDN path and create symlink ip
addr path to fqdn path.
If ip addr path doesn't exists create empty fqdn path dir and create
link to it with ip addr path name to this directory.
Change-Id: Ic82fc30082c2a7 43e79d3495a6d87 bab17e2c742 3c4cb0fb4dc62e7 db4edbd0c0)
Closes-bug: 1552643
(cherry picked from commit ecbfd3fbc797332