5 Commits

Author SHA1 Message Date
Javier Pena
74424c4a4b Enable Keystone v3 support for providers
tempest_glance_id_setter and tempest_neutron_net_id_setter were
previously using Credentialsv2_0, which do not work in a Keystone v3
environment (and that's what we should be using today).

Closes-Bug: #1633864

Change-Id: I95ea682064ff6365622fc31c562b42014fc52303
2016-10-17 17:12:45 +02:00
Lukas Bezdicka
4a61da58d6 Switch id setters to openstack client
Switch tempest_glance_id_setter and tempest_neutron_id_setter to
use openstack client with credentials provided in tempest config.
This will allow to run puppet-tempest on standalone node but adds
dependancy to openstacklib.

Change-Id: I27215a9b0f94db39774e20515eddce4cffd7cadf
2015-11-30 16:35:02 +01:00
Sofer Athlan-Guyot
44dc670713 Bad configuration for glance/neutron setters.
When using the name of the network or the image the
tempest_glance_id_setter and tempest_neutron_net_id providers are used.
If the configuration is missing from the file, then they are just
appended to the file and they end up in the wrong block.

Change-Id: I5b525f643ab26cf1bd0f7d2bcaee9f45f55f0137
Closes-Bug: #1445251
2015-08-27 12:27:18 -04:00
Hunter Haugen
5ef9dc94b4 Fix tempest_*_id_setter to query the RAL and cache
The tempest_glance_id_setter previously would query the catalog for the
id of a glance_image resource with a given name. This doesn't work on a
split-node openstack where tempest is not on the glance host. It would
also fail horribly if glance-api.conf didn't exist.

The tempest_neutron_id_setter previously would query the instances of
neutron network IDs from the RAL once for every line in the tempest.conf
file if the network did not exist (because the cache would be nil).

Now they both query the RAL directly from the system, similar to how
tempest_neutron_id_setter did it but using Puppet::Resource.indirection,
but don't continue requerying for every line in the tempest.conf when
the given resource title doesn't yet exist, and tempest_glance_id_setter
raises a helpful error if the glance-api.conf file does not exist.

Change-Id: Icdca2c1a5f449b3fcda68d43a34452cd119303cb
2014-04-10 17:37:40 -07:00
Maru Newby
666017e42e Rename quantum to neutron.
Change-Id: Ibacb9ef23b6b0f4480575139d4915b13c5a6b3ea
2013-08-07 11:42:33 -07:00