Remove some keystone resource parsers

Current "keystone" command can parse the specified resources(tenant,
user, role, service) by itself. Then it is unnecessary to translate
resource names to resource ids in devstack.

This patch removes these resource parsers from devstack for cleanup.

Change-Id: Ibae06581b471f02168b559b4ca0c10f14996d661
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
Add oslo.rootwrap to devstack gate

oslo.rootwrap recently graduated but was not made part of the
devstack-gate. This change is part of a series of changes affecting
devstack-gate, config and devstack which will collectively fix this:

https://review.openstack.org/#/q/status:open+topic:rootwrap-gate,n,z

This should probably be merged once the config and devstack-gate changes
are in, so that it can be self-testing.

Change-Id: I7b1332c8004845a0dd76e27d871370d41d4524ac
Configuration changes required to support VMware NSX plugin

(Formerly known as Nicira NVP plugin).

Following Neutron change 79fbeb7ebebc0dfbe143aee96fbc250d1b9e7582,
this patch introduces the new naming scheme for Neutron VMware NSX
plugin configuration.

Related-blueprint: nvp-third-part-support (aka bp vmware-nsx-third-party)
Partial-implements blueprint: nicira-plugin-renaming

Change-Id: If7790887661507bfdec6d2b97c0f99609039aa73
Add a flexible API version choice for Cinder, Glance and Heat

The version of the authentication url is set to v1.0 for some
projects by default. We can make it configurable via the parameter
"$IDENTITY_API_VERSION".

Closes-Bug: #1253539
Change-Id: I6640e345d1317b1308403c95b13f8a998320241b
Handle trove service availabilty in tempest.

Partially implements blueprint: trove-tempest
Change-Id: I5413a7afeffe670f6972b41d61dd27ed05da5ba2
Adds default value for fixed_key

Adds a default value for fixed_key, for use by a key manager
implementation that reads the key from the configuration settings.
This single, fixed key proffers no protection if the key is
compromised.  The current implementation of the key manager does
not work correctly if the key is not set, so including this option
is helpful for Tempest testing and volume encryption within
DevStack.

Implements: blueprint encrypt-cinder-volumes
Change-Id: Id83060afc862c793b79b5429355b213cb4c173fd
https://blueprints.launchpad.net/nova/+spec/encrypt-cinder-volumes
Merge "Handle more nicely when role root is already here"
Remove duplicated name services

Due to the fact that keystone will not allow services with
duplicated names, cinder and nova services names were
changed

Closes-Bug: #1259425
Change-Id: I988aef477b418a289426e02e5e108aa57dd1076b
Fix xenapi functions' tests

The tests got outdated, this fix makes the tests pass again.

Change-Id: Iadddfbf34bf79ba455811645e766c2f3d0fcca84
Workaround missing zip snapshot

At the moment, xenserver installation depends on github snapshots.
Unfortunately, git.openstack.org does not have that capability. This
fix includes:

 - Exit with error code, if a download fails
 - create proper urls, even if they are using the git protocol
 - set git base to github - so we are able to do snapshots

Fixes bug: 1259905

Change-Id: I8d0cf8bf8abb16ee0a4b138a6719409c75e7a146
gitignore: add .localrc.auto and local.conf

The changeset of 893e66360caf3bcf0578d4541b3c17d089c33b02,
Change-Id of I367cadc86116621e9574ac203aafdab483d810d3
introduced local.conf and generates .localrc.auto.
But they aren't in .gitignore. This patch adds them into .gitignore.

Change-Id: I7d4dc99d980d9c5b5156cf915646bc96163a3dc4
Closes-Bug: #1267027
Enable multi-threaded nova-conductor

Just like I09f4c6f57e71982b8c7fc92645b3ebec12ff1348, enable
multi-threaded nova-conductor.  This feature was merged into nova in
I8698997d211d7617ee14a1c6113056a694d70620.

Change-Id: Id7042284e81bd64092a400d24a3170ce07beb08c
Use --tenant-id, not --tenant_id

Change-Id: I0e3d65d5b69ac82cbf7ee6ffc41ead369af8c126
Correct Qpid package name in files/apts/neutron

Ubuntu qpid server package is named as "qpidd", but
files/apts/neutron has an entry "qpid".

Change-Id: Ie3f8391a7404bdeb222acfcce77ca80a14ea8693
Closes-Bug: #1267459
Setup Keystone catalog information for Ceilometer

Change-Id: I3f536f38fe7862ee41b06d1d48b848cc07492c8d
Closes-Bug: #1267322
Merge "Add oslo.rootwrap to devstack gate"
bash8: fix bash8 warning

This patch removes the following bash8 warnings.

> /devstack/ $ ./run_tests.sh
> Running bash8...
> E003: Indent not multiple of 4: '             wget -c $image_url -O $FILES/$IMAGE_FNAME'
>  - functions: L1367
> E003: Indent not multiple of 4: '             if [[ $? -ne 0 ]]; then'
>  - functions: L1368
> E003: Indent not multiple of 4: '                 echo "Not found: $image_url"'
>  - functions: L1369
> E003: Indent not multiple of 4: '                 return'
>  - functions: L1370
> E003: Indent not multiple of 4: '             fi'
>  - functions: L1371
> E003: Indent not multiple of 4: '                                 `"should use a descriptor-data pair."'
>  - functions: L1423
> E003: Indent not multiple of 4: '                         `" Attempt to retrieve the *-flat.vmdk: $flat_url"'
>  - functions: L1438
> E003: Indent not multiple of 4: '                             `" Attempt to retrieve the descriptor *.vmdk: $descriptor_url"'
>  - functions: L1477
> E003: Indent not multiple of 4: '                         warn $LINENO "Descriptor not found $descriptor_url"'
>  - functions: L1492
> E003: Indent not multiple of 4: '                         descriptor_found=false'
>  - functions: L1493
> E003: Indent not multiple of 4: '                 fi'
>  - functions: L1501
> E003: Indent not multiple of 4: '             fi'
>  - functions: L1502
> E003: Indent not multiple of 4: '             #TODO(alegendre): handle streamOptimized once supported by the VMware driver.'
>  - functions: L1503
> E003: Indent not multiple of 4: '             vmdk_disktype="preallocated"'
>  - functions: L1504
> 14 bash8 error(s) found

Change-Id: Icf2cddf283192a50253ccfa697c2d32eec75b4ba
Closes-Bug: #1267716
Add support for Fedora 20

The list of RPM packages have been updated to support the recently
released Fedora 20 distribution.

Closes-Bug: #1263291

Co-Authored: Alvaro Lopez Ortega <alvaro@gnu.org>
Change-Id: Ia66abef1a1a54e6d5ee6eebc12908cef3f1d211d
Fix Heat/Cloud formation catalog template

Cloud formation and Heat API ports where mixed.

Change-Id: I029592c4821bb93c8a1dd91519f30908efd56627
Closes-Bug: #1267355