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
XenAPI: Update DomU to Ubuntu Saucy

Driven by a race condition in LVM being hit in the tempest
tests.  This is a locking race between a file lock and a
semaphore which is fixed in 2.02.96-5.

Change-Id: I8a8c215c90a0602288292ffd06b7694d2db6219e
Remove duplicate debug option from keystone-all

The keystone server was started with the options like

 keystone-all ... -d --debug ...

The -d and --debug options are the same so one of them is
redundant.

This will make it less confusing if someone removes --debug and
thinks that debug is off, but debug is still on because they
didn't notice there was an extra -d.

Change-Id: I1ac977e6b12f1cc44f02b636c1bfb5c115b5b3e4
HEAT_FETCHED_TEST_IMAGE may not be defined in some cases.

Some scripts that source stackrc use set -u, which will error
when unknown variables are accessed

Change-Id: I5af2d58475e1793dfa728b7ce9180fcbba1145e9
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
Use final release of Fedora 20 for heat test image

The image file has not changed, but the URL now points to
the release directory for Fedora 20.

Change-Id: Ie1a9bcc7da634996b25ef7f6fc694398c632549d
Merge "Remove duplicate debug option from keystone-all"
config: get_meta_section() misunderstands the beginning of metasection

For example, the line, "if [[ -n $no_proxy ]]; then" is misparsed
as the beginning of metasection because get_meta_section() misses
escaping of "|" unlike get_meta_section_files().
This patch adds necessary escape as "|" -> "\|".

Change-Id: Ic14b2ac167037c4f5db89492f0e8a4c5b13c7b6d
Closes-Bug: #1262960
Fix the option of a2ensite command

devstack fails with trema when  execute
"sudo a2ensite sliceable_switch" command, without ".conf" filename extension
with Apache2.4, Apache2.22. With Apache 2.2, it successes.
Because in the versions which newer than version 2.2,
file checking of a2ensite command is more severe.
So, a2ensite command forbid "sliceable_switch" without "/conf".

Added ".conf" filename extension.

Change-Id: I29a03cb59ee493345b7df0f1a9189eb3516c86e2
Closes-Bug: #1263017
Explicily enable the stores used by devstack

Devstack currently relies on the default value of the `known_stores`
configuration option. This patch enables explicitly the default stores
used by devstack.

The real fix for the issue below will land in Glance. However, since the
default stores will be FS and HTTP we need devstack to enable Swift's as
well, which is required in the gates, hence this patch.

Partially-fixes: #1255556
Change-Id: Id9aab356b36b2150312324a0349d120bbbbd4e63
Fix bad copy and paste in lib/swift

Change-Id: I3b7526b52867525b1d7aa634aa8163c520a92f97
Merge "Fix bad copy and paste in lib/swift"
Merge "Explicily enable the stores used by devstack"
Merge "Fix the option of a2ensite command"
Merge "Use final release of Fedora 20 for heat test image"
Merge "HEAT_FETCHED_TEST_IMAGE may not be defined in some cases."
Merge "XenAPI: Update DomU to Ubuntu Saucy"
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