trove/trove/tests/unittests
Greg Lucas a4e054e3ac Inject guest conf files to configurable location
Introduce a configuration option for a directory on the guest where the
taskmanager should inject configuration files.

During instance creation inject the guest_info and trove-guestagent
conf files to the 'injected_config_location'. The default location is
/etc/trove/conf.d.

Also:
 - Change the default value for 'guest_config' to remove the risk of
   overwriting a guest image's conf file with the sample.
 - Add trove-guestagent.conf injection to heat template.
 - Add new 'guest_info' option that defaults to "guest_info.conf".

Depends-On: I1dffd373da722af55bdea41fead8456bb60c82b2

Co-Authored-By: Denis Makogon <dmakogon@mirantis.com>
Co-Authored-By: Duk Loi <duk@tesora.com>

DocImpact: This change introduces a new option with a default that
affects existing guest images. The guestagent init script for any
existing guest image will need to be modified to read the conf
files from /etc/trove/conf.d.  For backwards compatibility set the
injected_config_location to /etc/trove and guest_info to
/etc/guest_info.

Closes-Bug: 1309030
Change-Id: I1057f4a1b6232332ed4b520dbc7b3bbb04145f73
2015-03-09 14:24:08 +00:00
..
api Correct a test and order of parameters to assertEqual 2015-02-23 12:45:31 -05:00
backup Correct a test and order of parameters to assertEqual 2015-02-23 12:45:31 -05:00
cluster Move cluster strategies to strategies/cluster 2015-01-26 18:53:39 -08:00
common Inject guest conf files to configurable location 2015-03-09 14:24:08 +00:00
conductor Integration with oslo.messaging library 2015-01-06 09:16:39 +02:00
configuration Correct a test and order of parameters to assertEqual 2015-02-23 12:45:31 -05:00
datastore Correct a test and order of parameters to assertEqual 2015-02-23 12:45:31 -05:00
db Correct a test and order of parameters to assertEqual 2015-02-23 12:45:31 -05:00
dns Remove mockito, and replace with mock 2014-03-31 16:25:07 -07:00
guestagent Merge "Delete mysql error log file as root on restore" 2015-02-25 03:46:18 +00:00
instance Merge "Support string flavor IDs" 2015-01-27 14:09:38 +00:00
mgmt Integration with oslo.messaging library 2015-01-06 09:16:39 +02:00
mysql Tox tests should not require errors in rigid order 2014-03-26 19:44:22 -07:00
network Add neutron support 2014-07-22 03:33:50 -07:00
quota Merge "Clusters API Implementation" 2014-09-03 16:59:56 +00:00
router Remove copyright from empty files 2014-01-16 13:13:23 +04:00
secgroups Correct a test and order of parameters to assertEqual 2015-02-23 12:45:31 -05:00
taskmanager Inject guest conf files to configurable location 2015-03-09 14:24:08 +00:00
upgrade Added route for Admin API to support guest upgrade 2014-06-23 17:52:59 +00:00
util Removes XML api from trove 2014-03-10 00:16:49 +00:00
__init__.py Remove copyright from empty files 2014-01-16 13:13:23 +04:00