Add a tripleo-cd for CD deploying an overcloud.

This isn't perfect, but it should be a decent enough starting point.

Change-Id: I67d397d37690d8e9d9596b22101baf9fe8be2762
Merge "Add a tripleo-cd for CD deploying an overcloud."
Make tripleo-cd install.d script executable

Change-Id: Ia11f1776c31bbf8def92d95a95738c8c07b0b4d5
Pass intended TRIPLEO_ROOT to setup-env

Change-Id: Ifbd2f098757c0514f225df640bcd894a8c73d1fa
Element to build and maintain local pypi mirror

We use the instructions from diskimage-builder's pypi element README to
create a copy for use with elements which need to build images more
rapidly.

Change-Id: I452c35f1b33a3d6c8118bf762b1a58be62cfe8ea
Set my_ip for nova.

If we don't set this, when public IP is different to the management
network, Neutron may be given bad IP's for TFTP booting due to bug
1236623.

Change-Id: I007e5bd92979c984c346b23a78ddb7cf4b030b73
Related-Bug: #1236623
Merge "Set my_ip for nova."
Update the test environment on each loop.

setup-env calls pull-tools, which we need to ensure we're running the
latest code.

Change-Id: I07d767937fbb339e7a98c62bb545962101b8f27b
Fix URL to tripleo-heat-templates repository

Change-Id: I340c608b803fa5d07c1661eb8dd90c71b253f6bd
Conditionally set my_ip

local-ipv4 isn't set on the seed vm, causing nova-api to fail to start.

Change-Id: I5a321649b0258bda22c1f257adcb1781d2319df8
Merge "Update the test environment on each loop."
Add an element installing tuskar API service

This should make it easier to deploy tuskar in the undercloud
(basically, one will just add 'tuskar' the the list of elements
when building a disk image for the undercloud node).

This depends on Ib66e688bd7500f03dea7d4282607cd51078e9a51 to be
merged into tripleo-heat-templates to work properly.

Change-Id: I1d16e535ae50a06a8792e1613bb6b6c4647bf128
Make tripleo-cd use local stackrc

We can't deploy without these bits. Note that this is just a stop-gap
until we can configure these settings via Heat.

Change-Id: Iccfeeae6002b66c3e80bab33874a413aad262e3f
Make pypi-mirror more secure and robust

There's no reason we need to run this mirror as root, so run it as a
system user. Also it is creating a cache of removable data, which really
belongs in /var/cache, so we put the data there instead of /opt/stack.

Change-Id: I47d436733e9dd6ca0bebc25bf577e6d749d36f35
Display commands when running reset-db

Add a '-x' to reset-db, as the db_sync commands don't say what service
they are running for.

Change-Id: I0e33ac87f699361bd1d161f450b4f0ac1c524fb3
Signal on configuration completion.

The completion-handle comes from Heat Metadata e.g.
    Metadata:
      completion-handle: {Ref: StackCompleteHandle}

Change-Id: I7202e94a2d327c4e5d3023b02d7c0417ffd0e354
Merge "Signal on configuration completion."
Notify IRC when tripleo-cd completes.

This will let us detect failures and dogpile on them, crude but effective.

Change-Id: If923f20d61e024066d83d06e14fc1584368f8392
Support configuring a VLAN on the public network.

The CD overcloud needs a VLAN on the neutron network node, or we can't
get public traffic to VM's in or out. This isn't an entirely general
solution but that is something we should be looking to Neutron and DHCP for,
not manual metadata: as a stop gap this should be sufficient.

Change-Id: Ifaed03b96de12453bcf23cdcf2e91bb4dc32349c
Merge "Add an element installing tuskar API service"