- Removes unused mistral actions
- All mistral workbooks
- Custom filter for undercloud nova
- mistral entry points as we don't have mistral
Depends-On: https://review.opendev.org/c/openstack/python-tripleoclient/+/775749
Change-Id: I7f826da829bbc7d7a4fcde8afcea3f61742a316a
The ceph external deploy tasks is using validation modules via
mistral.
We need to setup the correct new path for mistral in order to
get the module. (warn.py)
Change-Id: Ide21daaac9a558561d0943cc0a380952cf7e29b3
Resolves: rhbz#1885828
Currently we set poll interval in ansible to 0.05 which means it'll wait
50ms. The default is 0.001 which at scale is too cpu intensive. That
being said, waiting 50ms for each task across all hosts increases
overall execution time. Let's lower it to 0.01 as a middle ground
between the current 0.05 and the 0.001 default.
Change-Id: Ie4268fcc8c1a8031eaf7c33e9c137c198017ee18
Similar to aef369e7b4d38e4ca7eb158d2878e84a4b93e603 however this only
affects the ansible-playbook execution. By default openstack cli sets
verbosity to 1 so we are always running ansible-playbook with a -v. This
can a consequence on the information returned during execution as we may
get extra result data in the output.
Change-Id: I4e1cb6658172a7da5ae5198ba55d47de33282975
This changes to move get network configs action to utils.
Need this changes for derive parameters ansible changes.
Change-Id: Ia18eab278b4d6c66b97eb6722ac196b2002e008c
Using a multiple of 10 can be excessive on resource usage. It has now
been lowered to 4. The default maximum will also no longer exceed 100.
Change-Id: I57345d5b100efce143fa940b56c81f5e6bc6c390
Signed-off-by: Luke Short <ekultails@gmail.com>
/usr/lib/python3.6/site-packages/tripleo_common/actions/ansible.py:154:
DeprecationWarning: This method will be removed in future versions. Use
'parser.read_file()' instead.
config.readfp(sio_cfg)
Change-Id: Ibd33a26feae03e4f0d46370346b7a950d1f6b02c
From now, limit_hosts will take precedence over the blacklisted_hostnames.
And therefore Ansible won't be run with two --limit if both limit hosts
and blacklisted hostnames are in use. When we want to run Ansible on
specific hosts, we will ignore the blacklisted nodes and assume we know
what we do. In the case of the scale-down scenario, the unreachable nodes
are ignored.
Note: adding unit tests coverage for both parameters.
Change-Id: I2e9fc7b9e9005fce7d956f1b936054e540b39849
Closes-Bug: #1857298
tripleo_states will be a useful callback to print out informations about
a deployment state (e.g. if a node failed but was ignored because of
max_failed_percentage).
Depends-On: https://review.opendev.org/735962
Change-Id: I82f4945bf1178fad1ff511c994518008f308d12e
This patch removes the following Validations workflows:
- tripleo.validations.list_groups
- tripleo.validations.list_validations
- tripleo.validations.run_validation
- tripleo.validations.upload
The following workflows still remain in charge and will be migrated
in a follow up patch:
- tripleo.validation.get_pubkey
- tripleo.validation.get_privkey
- tripleo.validation.enable
Depends-On: https://review.rdoproject.org/r/#/c/23700/
Change-Id: Ie36926e47cc46d5852a098f9e583169e7b1dcd7d
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Mistral context.security auth attributes are not same as the
keystone auth plugins. Use the attributes directly in
generate_ansible_inventory() function.
This will help us to move to using ansible module.
Change-Id: I83856119ea53e39d1891c3f7d94a4d5645da0046
For the jsonfile plugin, the path should be a local directory. This
directory needs to be readable by any user that would execute the
playbook. Since /var/lib/mistral may not be world readable, we should
use something in the user's home dir instead. This changes it to
~/.ansible/fact_cache
Change-Id: I8fa7127cf9ebb51ce4f090670ec2a45bcfcf77e8
Closes-Bug: #1873480
- Removes the incorrect swift_url lookup
- Removes the usage of session object
- Removes os_auth_token for undercloud
- Moves the code to inventory module for it to be used in ansible
module
Change-Id: I3cdce51764a27a389e008832ed366b6346c4f0e0
The tripleoclient command to get the ansible failures using
mistral api has been removed in the dependant patch.
Depends-On: https://review.opendev.org/720345
Change-Id: Ife5c2b41f7cfc48f5b648ea8647457efeaadcacb