Refactor ensure-bridge for persistance

Updates ensure-bridge so that we use network-scripts and eni files
to configure persistent network configs using the distro provided
mechanism. See docs here:

http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=rhel/README.RHEL;hb=HEAD
http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=debian/openvswitch-switch.README.Debian;hb=HEAD

This resolves some problems with the previous approach affecting
lease renewal and machine reboots.

With the new approach:

- tmp config files are written to disk
- the real config files are overwritten if a change is detected
- ifup/ifdown commands are used to start/stop the network interfaces
  if a change has been made
- All of the ip, ovs-vsctl, etc. commands are handled by the distro
  scripts

One more important change is that ensure-bridge expects both
the EXTERNAL_BRIDGE and PHYSICAL_INTERFACE parameters. Previously
the script only required EXTERNAL_BRIDGE. We don't have a use case
for using ensure-bridge without a physical interface so I just made
both required since this made the implementation simpler.

Change-Id: Ib775598d3bdd6f1ccecb283f47d10b92aaf0bd35
Closes-bug: #1272969
Stop using all ports option w/ neutron-ovs-cleanup

Now that our OVS bridge network configs are persistent on reboot
we no longer need to do this to make DHCP work.

Running neutron-ovs-cleanup to cleanup just the neutron generated
ports on reboot is now sufficient.

Change-Id: I42d528b0f58a2ec394d4e01bb02bbf0974e2c3af
Read default_ephemeral_format from nova.conf

Currently the default_ephemeral_format is coming through as
blank as the existing reference has no parent dict, so is not
being retrieved.

Change-Id: I3553ba27a18ec64a710168f0026fb8dd2aaed45f
Closes-Bug: #1301841
RabbitMQ - Correct rabbit.users metadata sample

Additionally, we remove the no longer used heat_users template

Change-Id: Ib26cca827b72642e0884072b31c6caf96e29160b
Failure in rabbitmq os-refresh-config on master

rabbitmq os-refresh-config in_cluster returns false when local
node is actually in the cluster. This causes it to attempt to start
the rabbitmq application (start_app), which fails and thus
causes os-collect-config to repeatedly fail.

Closes-Bug: #1304306

Change-Id: I52acd401ab0a12d11ca4af265599460440a31ed1
Factor out tgt-specific parts of cinder element

RHEL is only going to support the lio iscsi helper, so the tgt
parts of the element are not going to work there.  A subsequent
change will add a corresponding cinder-lio element to support that.

When this merges, the corresponding change to tripleo-incubator in
I1e33af0cb78fa9477bc5a0b9b89b06b907b81fae must merge as well to
prevent breakage of devtest.

Change-Id: Ic032204076adfa0d30b09423f2a46b587e07400d
debian: use os-svc-enable to enable apache

apache service is called “httpd” on RHEL/Fedora and apache2 on
Debian/Ubuntu/Fedora.

As pointed by Ben Nemec, os-svc-enable is best way to deal with this
complexity and thus support all the operating system properly.

This commit requires change I125c46bebb0342ee3bdb957116e7c7e8e27a2ecc
on diskimage-builder to be able to enable apache with os-svc-enable.

Change-Id: I4720b61eb0fd15e539564edd25843f8332478abf
Db-sync the Ceilometer database

-The Ceilometer database wasn't db-synced till now.
 The code in reset-db is not executed, seems like the
 right way is to put the sync in the API post-configure.
 Other services do it like this.

Change-Id: Ia722669b18cfbf613f3d346aaa0a248e13de7cf5
Prevent stand-alone tftpd on Debian

The tftpd-hpa package includes a SysV startup script. Ensure
(rather brutally) that this is turned off, to let xinetd get a
look-in.

Change-Id: I01f34c6869b60432cff115e46246cd526ec12a62
Ensure the (block) loop device is available.

This may not be present by default if it's available
only as a loadable module.

Change-Id: Iafabda2eb239e8f6d1697aa632678e4ca24bdef5
Merge "Db-sync the Ceilometer database"
Merge "Ensure the (block) loop device is available."
Merge "debian: use os-svc-enable to enable apache"
Create and set correct permissions on directories.

Ironic Conductor appears to be throwing an error related to
directory creation and permissions which is holding up merges
to tripleo.  This patch sets the correct permissions and creates
the directories required

Change-Id: Id25ebb818d139e8460c58e3e7359db75ddb5426e
Fixes: bug 1307907
Merge "Failure in rabbitmq os-refresh-config on master"
Merge "Create and set correct permissions on directories."
Passthrough-enable nova.conf.

This permits passthrough settings to be applied to nova.conf using
'nova' as the key in the config. I'll do a bulk patch for this once
reviewers have had time to digest and talk about this.

blueprint: passthrough-config
Change-Id: I3bb935f16e8d742aa8acc50c52accbd033488f02
Merge "Read default_ephemeral_format from nova.conf"
Merge "Prevent stand-alone tftpd on Debian"
Merge "Passthrough-enable nova.conf."