Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Execute service setup against a delegated host using Ansible built-in…
… modules In order to reduce the packages required to pip install on to the hosts, we allow the service setup to be delegated to a specific host, defaulting to the deploy host. We also switch as many tasks as possible to using the built-in Ansible modules which make use of the shade library. The 'virtualenv' package is now installed appropriately by the openstack_hosts role, so there's no need to install it any more. The 'httplib2' package is a legacy Ansible requirement for the get_url/get_uri module which is no longer needed. The keystone client library is not required any more now that we're using the upstream modules. As there are no required packages left, the task to install them is also removed. With the dependent patches, the openstack_openrc role is now executed once on the designated host, so it is no longer required as a meta-dependency for the role. Depends-On: https://review.openstack.org/579233 Depends-On: https://review.openstack.org/579959 Depends-On: https://review.openstack.org/580156 Depends-On: https://review.openstack.org/580601 Change-Id: Ic346e642f52f064b002f5a2facead2fca5a7a03a
- Loading branch information
Jesse Pretorius
committed
Jul 6, 2018
1 parent
f311c5a
commit cc4fa19
Showing
7 changed files
with
104 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,3 @@ dependencies: | |
when: | ||
- ansible_pkg_mgr == 'apt' | ||
- galera_client | ||
- openstack_openrc |
17 changes: 17 additions & 0 deletions
17
releasenotes/notes/ironic-service-setup-host-658842e1875ea7bf.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
features: | ||
- | | ||
The service setup in keystone for ironic will now be executed | ||
through delegation to the ``ironic_service_setup_host`` which, | ||
by default, is ``localhost`` (the deploy host). Deployers can | ||
opt to rather change this to the utility container by implementing | ||
the following override in ``user_variables.yml``. | ||
.. code-block:: yaml | ||
ironic_service_setup_host: "{{ groups['utility_all'][0] }}" | ||
deprecations: | ||
- | | ||
The variable ``ironic_requires_pip_packages`` is no longer required | ||
and has therefore been removed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters