Add a nova-baremetal element.

Future work is intended to allow this to serve
as a nova-virt element as well, by allowing the config
and which services are run (such as bm-deploy-helper)
based upon metadata config settings.

Change-Id: I59718a0b329e6adc59097492638cf02c76162c0a
Streamline upstart scripts in os-svc-daemon

Best practice is to use start-stop-daemon rather than sudo, as sudo will
apply user-centric pam limits and create a wtmp entry. Also there is no
need for a script stanza, as we are only execing one command.

Change-Id: I0c2f12536b56d90fd43ab40e74424350efcc0b61
Replace glance-api+glance-reg elements with glance:

'glance' element now results in a properly-configured,
working glance service on first boot.

While glance-api and glance-reg may need to be broken
out again in the future, the intention now is to focus
on a working service for an end-to-end PoC.

Change-Id: I4fb1cd5ad6defef5a5c4fddfded46d51e8097b5a
Merge "Add a nova-baremetal element."
Merge "Streamline upstart scripts in os-svc-daemon"
Clearly mark unaudited config templates as such.

Change-Id: I130b0874b2efad1345bb5449bce001985c477960
Enable use_namespaces setting for quantum agents.

Change-Id: I060c381cc9dc858a979e072b78bde6a55ad69472
Bring os-svc-install element docs up-to-date.

Change-Id: Ia0547de1a899359994706d1607ed19e5ad5c056f
Run os-config-applier using os-refresh-config.

There's no need to run os-config-applier at any time except when
os-refresh-config is in its configure state.

Change-Id: Id9758294c60469a976b61c68fc26d9b83130599a
Migrate data into MySQL from bootstrap.

Use Heat Metadata to specify host and credentials to pull whole database
snapshot and setup Replication. Also include root credentials for use after
the snapshot has been applied.

Change-Id: Ie3aa92463d28db54a523f520c2b4cdfb528acf9d
Disable tunneling in quantum-ovs.

Quantum-ovs was continually re-creating interfaces
every second or so, because it was configured to use tunneling,
and the default version of OVS included with ubuntu does
not support tunneling.

Change-Id: I1246181c4b9c96ebe2795b337454dc8ddcb35e8f
Merge "Bring os-svc-install element docs up-to-date."
Merge "Run os-config-applier using os-refresh-config."
Merge "Migrate data into MySQL from bootstrap."
Store build-time settings

This will write two files in /etc/ that contain the environment and
command line arguments used in the creation of an image. This should
assist with later efforts to repeat the creation of an image.

Change-Id: Icdbe6693380bed6c406feee10d2cb1a88a992932
Do not require arguments for os-svc-daemon.

They are not actually required, so allow os-svc-daemon to be called
without them.

Change-Id: I62c2887d48e4173005c54c9cab4ecd6aff8069a1
Remove strict sql_mode setting which breaks apps.

Strict sql_mode settings are very application specific, many will simply
not work with them. This setting was likely inherited from some other
production MySQL config file and is not appropriate for a generic
configuration. Specifically, this broke the MySQL package maintainer
scripts.

Change-Id: I068fcc7b3c770541d3d1ecfb372384750f182584
Fix mysql migration script to handle errors.

Errors in mysqldump would have been missed due to not having pipefail
set. Also there was a type-o in the invocation of mysqldump that was
going undetected, that has been repaired. Finally we should not pass
--master-data if we don't have slave credentials, as the master data,
even if provided, is useless without a valid slave user/pass.

Change-Id: I0f80af34c747f465250ef17fae4a44dac919c9cd
Merge "Remove strict sql_mode setting which breaks apps."
Merge "Fix mysql migration script to handle errors."