Mute false alarm when installing docker

In install_docker.sh, we will restart docker service, then connect
to /var/run/docker.sock with retry mechanism.

At the first contacting with /var/run/docker.sock, when docker
service is not ready, it may complain some error.

Mute this false alarm.

Change-Id: If00a18d2e3ddee951662e272d47ae84215f16ad2
Closes-Bug: #1252087
Neutron: Define a utility function to add neutron service class

When enabling neutron service (i.e. enable_service q-xxx), related code
unconditionally adds a necessary plugin class to Q_SERVICE_PLUGIN_CLASSES.
Which may cause duplication in Q_SERVICE_PLUGIN_CLASSES when
Q_SERVICE_PLUGIN_CLASSES is explicitly specified in localrc.
As a result, neutron server fails to start.

This patch introduces a utility function to add service class,
and check duplication.

Closes-Bug: #1261291
Change-Id: Id2880c7647babfccc3e8d9fc60dd93c4b3997ed9
Correct glance db_sync command

Closes-Bug: #1263431

Change-Id: I30a53adfdd8e00a9995595af2e090190bac241a0
Neutron: create network resources when agents are started

Creating network resources before the agents start with the ml2
plugin might result in bnding failures for some resources such as
DHCP ports because the resources are created before the agents
report to the server.

This patch should ensure all agents have started and reported
their state to the server before creating network resources.

Change-Id: Ifafb73bd3c5409a555a573ad9a94b96d79061c38
Related-Bug: #1253896
XenAPI: Fix bug with Xen ext4-using guests

Ubuntu saucy is using ext4, which means it hits a barrier
bug with certain versions of Xen, leading to a read only
filesystem.

This is bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/824089

Change-Id: I9a72b203d473dc555324d44ad7c240c80dccda15
Set default_network in tempest.conf

This is to support testing of change
Ia78582cac3790653c2281a5b63d953cd46d5c290 in Tempest.

Change-Id: Ibb812e2598fb11b7eef21a0868ee9baeea73186c
Change the libvirtd log level to DEBUG

Gate tests fail sometimes due to libvirt problems, but it is difficult
to investigate their reasons or workarounds because there is not any
log about libvirt.
This patch changes the log level of libvirtd to DEBUG for investigating
libvirt problems.

Change-Id: Ib6559ff978fa813d0332f2339d241dd3437196ee
Related-Bug: #1254872
Migrating trove to entry points

partially implements blueprint entrypoints-for-binscripts

Change-Id: Iaafde0ab7f27598d566fc008fba7eddc582139c9
Ensure hostname resolves correctly

rabbitmq hangs on startup if the unqualified hostname for the
system doesn't resolve properly.  This change ensures that the
hostname is added to /etc/hosts so that will never happen with
devstack.

Change-Id: I2c250f38f9feb18d1a59f3a457c6d01c1d98499c
Merge "Mute false alarm when installing docker"
Merge "Neutron: Define a utility function to add neutron service class"
Merge "Set default_network in tempest.conf"
Handle more nicely when role root is already here

When using postgresql we were handling the fallback if the role root was
already here but this was still printing an error message, try to make
it a bit smarter.

Closes-Bug: #1265477
Change-Id: Ib3768dd182ab968e81038f900550f641b9a2af5c
Merge "Migrating trove to entry points"
Merge "Change the libvirtd log level to DEBUG"
Merge "Correct glance db_sync command"
Merge "XenAPI: Fix bug with Xen ext4-using guests"
Merge "Ensure hostname resolves correctly"
Merge "Handle more nicely when role root is already here"