[upgrade][8.0] After restore logs for already deployed nodes are not available in UI

Bug #1552643 reported by Vladimir Khlyunev on 2016-03-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Medium
Sergey Abramov
7.0.x
Medium
Unassigned
8.0.x
Medium
Unassigned
Mitaka
Medium
Sergey Abramov

Bug Description

After upgrade logs are not available (see attached screenshot)

Steps:
Deploy any cluster using 7.0 Fuel
Upgrade Fuel to 8.0
Go to "Logs" tab, select "Other servers" - restored node

Vladimir Khlyunev (vkhlyunev) wrote :

@Vladimir, please provide what exactly steps you have performed. Bug description is unclear. Logs was restored or env?

Changed in fuel:
status: New → Incomplete
description: updated
Changed in fuel:
status: Incomplete → New
tags: added: feature-upgrade

Fix proposed to branch: master
Review: https://review.openstack.org/293929

Changed in fuel:
assignee: Fuel Octane (fuel-octane-team) → Sergey Abramov (sabramov)
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/293929
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=ecbfd3fbc7973323c4cb0fb4dc62e7db4edbd0c0
Submitter: Jenkins
Branch: master

commit ecbfd3fbc7973323c4cb0fb4dc62e7db4edbd0c0
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.
    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

Changed in fuel:
status: In Progress → Fix Committed

Reviewed: https://review.openstack.org/295284
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=6347638461113a45cf97fcd80656c6af64237a4d
Submitter: Jenkins
Branch: stable/8.0

commit 6347638461113a45cf97fcd80656c6af64237a4d
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.
    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
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=112225e94ddf26564131c97270a4ce93ed0db8a7
Submitter: Jenkins
Branch: stable/7.0

commit 112225e94ddf26564131c97270a4ce93ed0db8a7
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.
    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)

tags: added: non-release
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments