[nailgun] diagnostic snapshot should have /var/log/remote

Bug #1340615 reported by Matthew Mosesohn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Python (Deprecated)

Bug Description

When we get /var/log/ from Fuel Master, it skips the symlink /var/log/remote -> /var/log/docker-logs/remote. Normally tar preserves any symbolic links, so it must be related to how we tell Fuel Master to copy files from Fuel Master host to the mcollective container.

Changed in fuel:
importance: Undecided → High
Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

The snapshot system was changed. Now we add to snapshot entire /var/log with simple fabric's get command. It looks like fabric get doesn't resolve symlinks or resolve it in copy manner. Need to investigate.

Anyway, we have full remote content in /var/log/docker-logs/remote, so I don't think it's a high prio.

tags: added: shotgun
Changed in fuel:
importance: High → Medium
status: New → Confirmed
Dmitry Ilyin (idv1985)
summary: - diagnostic snapshot should have /var/log/remote
+ [nailgun] diagnostic snapshot should have /var/log/remote
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 5.1 → 6.0
tags: added: release-notes
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.0 → 6.1
Dmitry Pyzhov (dpyzhov)
tags: added: module-shotgun
removed: shotgun
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.1 → 7.0
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Dima, it is really hard to fix in 6.1?

Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

Diagnostic snapshot does include /var/log/remote, but in this path 10.20.0.2:/var/log/docker-logs/remote

Since remote symlink points to full path:
[root@fuel tmp]# ls -la /var/log| grep remote
lrwxrwxrwx 1 root root 27 Jan 4 06:59 remote -> /var/log/docker-logs/remote

It will point to wrong place on the node where you will untar the archive, so I propose to mark the bug as invalid.

And we already have a bug about not clear content of the snapshot:
https://bugs.launchpad.net/fuel/+bug/1401661

Changed in fuel:
status: Confirmed → Invalid
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 6.1
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.