Add commands to operate snapshot template

Bug #1445314 reported by Alexander Bozhenko
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Triaged
Medium
Fuel Sustaining
Mitaka
Won't Fix
Medium
Fuel Python (Deprecated)
Newton
Triaged
Medium
Fuel Sustaining

Bug Description

Analogously to https://bugs.launchpad.net/fuel/+bug/1431240
We need to be able to operate snapshot template(that is predefined in DUMP in nailgun/settings.yaml [1]):
1) Export default template
2) Import custom template

Having this will allow us to have the following workflow:
1. Customer files a ticket
2. We read the description and send him snapshot template.
We probably may customize the template for every ticket, since we want to get additional info depending on what is broken.
3. Client generate a customized snapshot and send it to us.

It is important that snapshot template doesn't contain any environment-specific data, like node names.
This data is populated by DumpTaks in nailgun/task/task.py.
So we these templates will be universal and suitable for every environemnt.

[1] https://github.com/stackforge/fuel-web/blob/b1cb2f73c147c394fd6a7d91667f61859e6bc20a/nailgun/nailgun/settings.yaml#L643

Revision history for this message
Sebastian Kalinowski (prmtl) wrote :

But this is what exactly was achieved with https://bugs.launchpad.net/fuel/+bug/1431240 - you create a snapshot config (as it is in DUMP section of settings.yaml) and user can then create a snapshot:

 $ fuel snapshot < custom_snapshot_config.yaml

Changed in fuel:
status: New → Invalid
Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

What fuel currently gets is config for shotgun, already populated with all nodes data.
In other words, custom_snapshot_config.yaml that you are passing is not got through DumpTask, but passed to shotgun, like if you run it directly:
shotgun -c custom_snapshot_config.yaml

Changed in fuel:
status: Invalid → New
Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
milestone: none → 6.1
Changed in fuel:
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → Triaged
Kamil Sambor (ksambor)
Changed in fuel:
milestone: 6.1 → 7.0
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

Looks as a feature. Does not break anything. Moved to 8.0.

tags: added: feature
Changed in fuel:
status: Triaged → Won't Fix
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
status: Won't Fix → Triaged
no longer affects: fuel/8.0.x
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Changed in fuel:
milestone: 8.0 → 9.0
Revision history for this message
Alexander Kislitsky (akislitsky) wrote :

We passed SCF in 8.0. Moving the bug to 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.