Comment 25 for bug 1382511

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

To fix this, and a lot of other problems with snapshot we need to be able to modify snapshot template(value of DUMP in nailgun settings). Since we already have shotgun made very universal, it is low-hanging-fruit.
Take a look at
https://github.com/stackforge/fuel-web/blob/713e6684f9f54e29acfe6b8ebf641b9de2292628/nailgun/nailgun/settings.yaml#L651
It is very clear how to use that template.
Just need to add feature to override snapshot tempalte(I mean DUMP part of settings.yaml) by passing it to cli. Similar to this
https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=f48ffff2efd0436146942ec33049b23783a390e6
but add something like:
fuel snapshot --template file_with_value_of_DUMP_part_of_settings.yaml

Another sing to improve is to distinguish nodes by roles in the template
https://review.openstack.org/#/c/168262/
Please, review.