'ansible_become' defined as a host_var or in the inventory for a host
has a higher precedence than 'become' defined within a playbook.
In change Id5b76a87809f03951c954fc3d752419a673403f7, 'become' was
defined explicitly for each play running against localhost so
'ansible_become' should be removed from its host_vars.
Change-Id: I0a3019ed7f4e151625682d009e5359378152592d
This patch fixes a few minor issues:
* The ironic_service_user_name was not being passed to Nova
- this value was fixed in Nova #1647253
* The br-flat network seems to already existing on some gate nodes, this
has been changed to named br-vlan
Change-Id: I12f68a1cda39a3d615fbcf6ad62694faca6d09f4
This patch adds the ability to specify a cleaning and provisioning
network for Ironic. If none are specified then Ironic continues to
function as it does now.
Ironic role will calculate the UUID of the neutron network assuming a
network name is provided.
Additionally, this is added to testing by configuring a network to add
with the network-name.
Change-Id: I9be6f351c0da292ac8b861d2168e73d1861e1603
The testing needs swift which needs rsyslog_client.
This PR updates the role requirements for testing.
Change-Id: Id1aafc80345f7f12caecf883d41916b26f1cd00a
This patch consumes the centralised Ansible test scripts
implemented in https://review.openstack.org/381853
Change-Id: I2623678bc73068a64178fafc94db124c8c62ba83
We want to add virtual bmc testing and a full stack test of Ironic, as a
first step lets set it up with all the integrated components.
Change-Id: If4db7ada81e3ce54a6f28db6a67e7e0b4d679cce
This patch consumes the test scripts implemented by
https://review.openstack.org/375061 to ensure that
the tests and test preparation is consistent and
more maintainable.
Change-Id: Ie01392e33b86b9b61019cc733f9f3db15f36c19d
Ironic in OSA is currently broken as the ironic database
user isn't created, and consequently the ironic services can't
connect to the database. It broke back in patch 91deb13.
This patch corrects the os_ironic side of the problem. Another
patch will fix the openstack-ansible side.
Change-Id: I30b04756258a3241bb2444fd98f3a6624c0d2309
Partial-Bug: #1625081
Signed-off-by: Michael Davies <michael@the-davies.net>
If multiple regions exist, keystone_authtoken should contain region_name.
This prevents the service from authenticating across regions.
Change-Id: I3e08385d91f5f913209dc944875c843828da3c2b
The openstack_hosts role is not used in any of the test playbooks
or required by dependent roles and can be removed from the test
role requirements.
Change-Id: I4182c169c1fa01651bf2187182961187f23d27d4
All rabbitmq connection vars are now namespaced. Namespace support
was previously inconsistent which limited deployer override options.
Change-Id: Iccc4839f497ae4868d1234e8fd36220870ad7f04
Implements: blueprint multi-rabbitmq-clusters
The pip_install and pip_lock_down roles have been merged.
Remove pip_lock_down from the role's meta dependencies and test
requirements.
Change-Id: I62d9f8dce930f4e0dfe56c872ca46995e0e78b6d
Ironic gating was failing due to missing pip packages, additionally
there were some structural changes ro the inventory file which were
needed.
Change-Id: I77c40e7a49ebfbe05aac6d6a3d11ba9329c60413
This change makes is intended to simplify the the ironic.conf file
so that we only carry what is needed. In the file we're setting the
swift configuration section when not in stand alone mode and the
keystone_auth section has been updated for the options that ironic
requires.
URI testing for ironic's rest API has been updated to run the tests
using a header for the authentication token. This is required now that
the keystone_auth section is filled in.
Co-Authored-By: Michael Davies <michael@the-davies.net>
Change-Id: Ic6bd466e6fa03c2382424666588c306bad473e99
Partially-implements: blueprint role-ironic
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This is an initial set of tests of the ironicclient intended
to show that the ironic role has been installed and that the
API is responding correctly.
Tests are:
- list chassis
- list nodes
- list drivers
- create node
- validate node
- create port
- update node
- delete node
Change-Id: I98e67e076bce8711cb1c8e0f8b2e9ae0d89d520d
Test ironic using the REST API.
Tests currently implemented:
- list chassis
- list nodes
- list drivers
- create node
- create port
- validate node
- update node
- delete node
Change-Id: I0a8ede31d8d3baa3f120ecb3e85bb8ff16e011d4
This patch implements an initial set of inventory and playbooks
which results in the successful convergence of a standalone
build of Ironic.
It also adds the rootwrap filters, implement config_template
for all the conf files appropriately and ensures that the sudoers
is implemented in the right order of execution.
All content is based from the head of stable/mitaka on
24 Mar 2016.
Change-Id: I9182951c394a8c52826480aba7bc7e4d437988c5
Unfortunately the first commit of os_ironic had broken tests. This patch
corrects the test configurations to ensure that the docs and lint tests
work.
As a temporary measure, functional testing is left as a place holder
to allow other patches to be worked on for this role while the functional
testing is being put together.
Change-Id: I38278155232a4e4d6ef259b79bd515fae2bc837b
Signed-off-by: Michael Davies <michael@the-davies.net>
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>