Diagnostic snapshot missing many log files

Bug #1323436 reported by Mike Scherbakov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Ihor Kalnytskyi
5.0.x
Won't Fix
Critical
Fuel Python (Deprecated)

Bug Description

ISO 5.0RC4
Diagnostic snapshot became very poor on logs, for example, it doesn't contain log about master node installation, there is no docker logs and other. Let's find out what caused this regression and revert that changeset.

~/Downloads/fuel-snapshot-2014-05-26_23-19-44/localhost/var/log% ls **/*
astute/app.log nailgun/assassind.log
astute/astute.log nailgun/receiverd.log
cobbler/cobbler.log ostf-stdout.log
cobbler/tasks/2014-05-26_231856_sync.log ostf.log
cobbler/tasks/2014-05-26_231905_sync.log remote/9c2b59a4b1b1/kernel.log
nailgun/api.log remote/9c2b59a4b1b1/rsyslogd-2182.log
nailgun/app.log remote/9c2b59a4b1b1/rsyslogd.log

astute:
app.log astute.log

cobbler:
anamon cobbler.log kicklog syslog tasks

cobbler/anamon:

cobbler/kicklog:

cobbler/syslog:

cobbler/tasks:
2014-05-26_231856_sync.log 2014-05-26_231905_sync.log

nailgun:
api.log app.log assassind.log receiverd.log

puppet:

remote:
9c2b59a4b1b1

remote/9c2b59a4b1b1:
kernel.log rsyslogd-2182.log rsyslogd.log

Revision history for this message
Mike Scherbakov (mihgen) wrote :
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Logs actually persist on running system:
[root@fuel ~]# cd /var/log/
[root@fuel log]# ls
anaconda.ifcfg.log boot.log docker-cobbler.log docker-rabbitmq.log maillog secure
anaconda.log btmp docker-logs docker-rsync.log messages spooler
anaconda.program.log coredump docker-mcollective.log docker-rsyslog.log nginx supervisor
anaconda.storage.log cron docker-nailgun.log dracut.log ntpstats tallylog
anaconda.syslog dmesg docker-nginx.log fuelmenu.log puppet wtmp
anaconda.yum.log docker docker-ostf.log lastlog remote yum.log
audit docker-astute.log docker-postgres.log lxc rhsm

so the issue is in diagnostic snapshot capabilities.

Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
Revision history for this message
Mike Scherbakov (mihgen) wrote :

I've found logs.
We've hidden them once again. They are now in folder with name which represents IP address of master node. Closing this issue as Invalid for both 5.0 & 5.1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Igor Kalnitsky (ikalnitsky)
status: Invalid → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/102242
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=9be3661d726f57c5aa574a0b2b7b87d05677f3af
Submitter: Jenkins
Branch: master

commit 9be3661d726f57c5aa574a0b2b7b87d05677f3af
Author: Igor Kalnitsky <email address hidden>
Date: Tue Jun 24 15:05:44 2014 +0300

    Shotgun: make snapshot of entire /var/log

    Shootgun uses a fabric.api.get method to download some folder from the
    remote host. Unfortunately, this method has a bug and fails when we
    trying to download a folder that contains a symlink to another one.

    So we need to patch fabric api to prevent us from such falls. The issue
    with fabric api is that it recognize all symlinks as a file. As a result
    we fails when trying to download a folder (pointed by a symlink) as
    a file.

    The patch was proposed to the fabric master branch and can be reviewed
    here:

        https://github.com/fabric/fabric/pull/1147

    Closes-Bug: #1318514
    Closes-Bug: #1323436

    Change-Id: Ic2ae889337e5da15bbdf83338b8e8d5d913aeb63

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Marking as Won't Fix for 5.0.1, please propose backport if you think impact of this change is small enough for a maintenance release.

Revision history for this message
Meg McRoberts (dreidellhasa) wrote :

Marked as known issue in 5.0.1 Release Notes.

Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/5.1.x
Changed in fuel:
milestone: 5.0 → 5.1
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.