fuel-octane/octane
Sergey Abramov b1c430528e Move sql container runner into util function
This function is used to execute SQL-queries by using psql
in the postgres container.

Usage:

    from octane.util import sql

    sql_query = ...
    sql.run_psql_in_container(sql_query, container, db)

Change-Id: I180a0179f223fa59bd0a99cd90b093a153b6ddfe
2016-05-16 15:25:42 +03:00
..
bin Change check on host_evacuation 2016-05-04 15:45:04 +03:00
commands Remove fix for custom field in release metadata 2016-05-12 13:05:56 +00:00
fuelclient Add ability to change roles during upgrade nodes 2016-04-13 16:28:41 -05:00
handlers Move sql container runner into util function 2016-05-16 15:25:42 +03:00
helpers Remove fix for custom field in release metadata 2016-05-12 13:05:56 +00:00
patches Merge "Stop update of volume metadata gracefully if 'os' volume is not on LVM" 2016-05-13 12:47:18 +00:00
tests Move sql container runner into util function 2016-05-16 15:25:42 +03:00
util Move sql container runner into util function 2016-05-16 15:25:42 +03:00
__init__.py Cleanup after cookiecutter 2015-07-15 12:23:13 +03:00
app.py Set default log_file 2015-09-09 17:21:24 +03:00
log.py Monkey-patch Formatter.format on 2.6 to globally fix 'None' problem 2015-09-09 19:41:04 +03:00
magic_consts.py Restore fixes for partitioning schema for versions before 7.0 2016-05-12 13:05:56 +00:00