Remove variable substituion to %NUM% to correctly invoke local command

Referencing %NUM% must be a mistake, because with it networks are not
deleted properly. See other commands within quantum-adv-test.sh as
an example.

Fixes bug #1164018

Change-Id: Ib222d82a1b8187167606b2543bb74c28b8465b5a
Enable debug logging in q-agt output

when only q-agt is used, without q-svc, typically in a multi-host config, q-agt wasn't logging debug output.
This change enable debug output, as it's done for q-l3, q-dhcp or q-meta agent.

Change-Id: I1f49cf9994fa9cfbaa166dac8d4e713ba99c5674
Fixes: bug #1166775
Make sure custom grep options don't get in the way

Change-Id: I3c8fa21793906d80790c31ed02f585eff35a64a5
link /etc/tgt/stack.d to cinder volumes directory

This creates /etc/tgt/stack.d as a symlink to the cinder volumes
directory and includes it in /etc/tgt/targets.conf in a similar way
to /etc/tgt/conf.d

targets.conf only gets appended to when the symlink is created.
Any old /etc/tgt/conf.d/stack.conf is deleted

Change-Id: Ifb6412f6860ceb28b724644fb9b618638f552102
Fixes: bug #1072121
Merge "Remove variable substituion to %NUM% to correctly invoke local command"
Merge "link /etc/tgt/stack.d to cinder volumes directory"
Fixes running horizon on fedora 18 and above

Fixes bug: 1167066
Summary:

1. Starting with fedora 18 the httpd.conf has
    <Directory />
        AllowOverride none
        Require all denied
    </Directory>
  which requires you to explicitly permit access to web content
  directories in other <Directory> blocks

2. Install nodejs on fedora 18 and above

Change-Id: I487a7a74bad6627d32c1081dcbe48630a704a106
Merge "Make sure custom grep options don't get in the way"
Parameterized configuration variables for PLUMgrid plugin

Fixes bug 1171028

Change-Id: Ie60ef8903001913996e265917c449bdce1e5aae9
Add a generic post-prereq phase

This generic extra phase is handy for fixing up things like python
modules after pip is installed or other distro specific requirements.

Change-Id: I4a68b830cd98c6f93191dac1edd7de2a0381feaa
Skip pip mirrors for RHEL

The RHEL6 version of pip doesn't have support for mirrors, so skip
asking for them.

Change-Id: Iaf2900067bb4b41f88d8fe82ea16b6b53d6bcc60
Add rhel6 as an allowed distro

Add RHEL6 based distributions as a valid install target

Change-Id: I89fb68d18a0d2079493be93b230162679123881d
Merge "Fixes running horizon on fedora 18 and above"
Fix attach volume detect in euca test

Fixes test for detecting when a volume has been successfully
attached to an instance to not just rely on the state being
in-use, but also be marked as "attached". The attachment
state will be displayed when https://review.openstack.org/#/c/27098/
goes through. The attachment state is not currently displayed
by euca-describe-volumes because of the extraneous data returned
by the API as per bug #1074901.

In the meantime the "attaching" status of the volume itself, rather
than the attachment state, suffices for the test to work properly, but in the long
term this will disappear as it is not a valid ec2 API state and
volumes will move straight to the in-use state.

Fixes bug #1170548

Change-Id: Id38f37e1a0efc991f60da35145f809d98b5f41cd
Add support for GlusterFS Cinder driver

The GlusterFS volume driver can be used with Cinder by setting the
following in localrc:

CINDER_DRIVER=glusterfs
CINDER_GLUSTERFS_SHARES="127.0.0.1:/vol1;127.0.0.1:/vol2"

Shares are <host>:<volume> and separated by semicolons.

Change-Id: Iaa105233c9fce8d8fda0a9ea447e045b8d010db7
Modify RPM lists for RHEL6

Modifications to the RPM list to make devstack work on RHEL6.  Makes
various packages only install on Fedora distros; generally letting pip
install the missing dependencies on RHEL.

Additionally the Qpid package name is different in RHEL6 to Fedora.
Also a small re-write of the config file is required to avoid
authenication issues.

Change-Id: If497099d27aa9cd80e1c1cee1aff2ed6b076d309
Merge "Enable debug logging in q-agt output"
Adds PowerVM support for the VIRT_DRIVER conf

Change-Id: I95d0f1417bd29196da281e8d76ecbdb1d407851f
Install polkit on Fedora/openSUSE when using nova

We clearly depend on polkit. It's usually already installed, but for
people using JeOS images, it's not.

Change-Id: Ieccd0ff569f7d4541833b98232aeebb36b3493cb
Merge "Parameterized configuration variables for PLUMgrid plugin"