[nailgun] Split diagnostic snapshot into manageable chunks

Bug #1279371 reported by Dmitry Pyzhov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Wishlist
Fuel Sustaining
Mitaka
Won't Fix
Wishlist
Fuel Python (Deprecated)
Newton
Confirmed
Wishlist
Fuel Sustaining

Bug Description

Sometimes diagnostic snapshot became huge and in order to share it it should be split. Files should be less then 5Gb in order to upload to cloud storages.

Also we should investigate if we can add ability to skip some files from snapshot or split it into several parts based on directory structrure.

Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :
Evgeniy L (rustyrobot)
Changed in fuel:
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 5.0 → 5.1
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
Dmitry Ilyin (idv1985)
summary: - Split diagnostic snapshot into manageable chunks
+ [nailgun] Split diagnostic snapshot into manageable chunks
Changed in fuel:
milestone: 5.1 → 6.0
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.0 → 6.1
Evgeniy L (rustyrobot)
tags: added: feature
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.1 → next
Dmitry Pyzhov (dpyzhov)
tags: added: module-shotgun
Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

In the end of creation diagnostic snapshot we have:
Trying to execute command: tar zcf /var/www/nailgun/dump/fuel-snapshot-2015-04-09_04-06-50.tgz -C /var/www/nailgun/dump fuel-snapshot-2015-04-09_04-06-50

We can add an option to change it to something like:
tar zcf - -C /var/www/nailgun/dump/ fuel-snapshot-2015-04-09_04-13-17 | split --bytes=200MB - fuel-snapshot-2015-04-09_04-13-17.tgz

To archive it:
cat fuel-snapshot-2015-04-09_04-13-17.tgz* | tar xz

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: next → 7.0
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Changed in fuel:
milestone: 8.0 → 9.0
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.