The connection plugin no longer falls back on using the
inventory_hostname as the container_name. Set container_name as a host
var for each container in the test inventory.
Change-Id: I1bf946bd8a9341c9d5030affac5779cbcbe94be6
The value set in this var is already set as part of
lxc_container_default_bind_mounts in the tests repo
test-vars.yml so it's redundant.
Change-Id: I48c0ffb8f95b30fabcdeba0c740bc2e737960c6f
This PR incorporates the openstack-ansible-tests bits into
openstack-ansible-os_neutron as well as adjusting the settings to use
ansible 2.1.1.
Change-Id: I7174b920f20488a5e1d514a8f32754bb95bb60de
Co-Authored-By: Travis Truman <travis_truman@cable.comcast.com>
Currently we don't have logs of what happened in the containers.
This commit uses the lxc_container_create ability to bind mount the
/var/log directory from the containers inside the host on
/var/log/{{ inventory_hostname}}.
Change-Id: I836517f6a0e27c9554c54f01713f54a2b6384782
Signed-off-by: Jean-Philippe Evrard <jean-philippe.evrard@rackspace.co.uk>
This commit does the following:
- fully defines the inventory rather than having test-prepare-host.yml
add containers to it
- updates test-prepare-keys.yml to use localhost instead of 127.0.0.1,
uses become_user=jenkins instead of become=false, and removes
redundant connection
- updates test-prepare-host.yml by changing 127.0.0.1 to localhost, and
removes mocking ansible_env
- groups vars in defined in each individual file into a single
test-vars.yml file
- installs libffi-dev in test-install-neutron.yml, which is necessary
to build neutron (installed by default in gate, so not an issue
there)
- switches neutron_provider_networks to vxlan, otherwise
neutron-linuxbridge-agent doesn't actually work correctly
Change-Id: Ice7e4762fb184d9172c6b8192f4e6d1732654bb9