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
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
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
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
this hacky native type has been added to
populate the glance config params with the ids
that are only available after glance images have
been remotely installed.