Some /var/log logs aren't present in generated snapshot

Bug #1544966 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Python (Deprecated)
8.0.x
Fix Released
High
Alexey Stupnikov
Mitaka
Invalid
Medium
Fuel Python (Deprecated)

Bug Description

8.0 iso - 552

Steps:
1. Install fuel
2. Go to UI and open Support tab
3. Generate diagnostic snapshot
4. Download and extract snapshot
5. Open /var/log directory

Expected result - dmesg, messages and other system logs are present

Actual result - these logs aren't present

snapshot is attached

issue is not present in 9.0

Tags: area-python
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Diff between 7.0 and 8.0:
@@ -769,9 +819,11 @@ DUMP:
       - type: file
         path: /etc/cobbler*
       - type: dir
- path: /var/log
- exclude:
- - atop/
+ path: /var/log/docker-logs
+ - type: file
+ path: /var/log/*.log
+ - type: file
+ path: /var/log/puppet/bootstrap_admin_node.log

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

I am sure, that this bug will be found by the customer, so we need to fix it beforehand.

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

This problem is caused by fuel-web fixes from bug #1541390. It looks like we can't just add everything from /var/log with some exceptions because of https://bugs.launchpad.net/fuel/+bug/1541390/comments/47 . That is why I will compare 7.0 and 8.0 diagnostic snapshots and will write my own patch.

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

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/288477

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

We are waiting for resolution of bug #1554038

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Filled additional bug #1555696 as verify-fuel-ui-on-fuel-web tests is failing.

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

8.0 patch is ready to be merged. We are waiting for a suitable MU.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/8.0)

Reviewed: https://review.openstack.org/288477
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=340d46b27b71df739f039a4d31c3c372e7ebcca0
Submitter: Jenkins
Branch: stable/8.0

commit 340d46b27b71df739f039a4d31c3c372e7ebcca0
Author: Alexey Stupnikov <email address hidden>
Date: Fri Mar 4 17:23:29 2016 +0300

    Add missing master node's logs to Diag Snapshot

    MOS 8.0 Diagnostic Snapshot doesn't contain essential log files.
    Examples are messages, security, cron files and anaconda, sa
    directories. This issue will complicate troubleshooting and needs to
    be fixed.

    Change-Id: I59875f25a3d418133a12e92ad6604e6f14f5fbaa
    Closes-Bug: #1544966

tags: added: on-verification
Revision history for this message
Ekaterina Shutova (eshutova) wrote :

Verified on MOS 8.0 + mu3 updates.

Diagnostic snapshot before contains:
atop fuel-bootstrap-image-build.log shotgun.log
boot.log fuelmenu.log url_access_checker.log
dhcp_checker.log monit.log yum.log
docker-logs puppet

Diagnostic snapshot after contains:
anaconda docker-logs messages spooler
atop dump puppet tuned
btmp fuel-bootstrap-image-build.log sa wtmp
dhcp_checker.log lastlog shotgun.log yum.log

tags: removed: on-verification
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.