cloudera-deploy
cloudera-deploy copied to clipboard
--tls-verify parameter in ansible-navigator.yml fails with Docker container engine
When using Docker container engine (version 26.1.4) get the following error when executing ansible-navigator run
ansible-navigator run external_setup.yml \
-e @definition.yml \
-e @config.yml
-------------------------------------------------------------------------------
Execution environment image and pull policy overview
-------------------------------------------------------------------------------
Execution environment image name: [ghcr.io/cloudera-labs/cldr-runner-aws:latest](http://ghcr.io/cloudera-labs/cldr-runner-aws:latest)
Execution environment image tag: latest
Execution environment pull arguments: --tls-verify=false
Execution environment pull policy: tag
Execution environment pull needed: True
-------------------------------------------------------------------------------
Updating the execution environment
-------------------------------------------------------------------------------
Running the command: docker pull --tls-verify=false [ghcr.io/cloudera-labs/cldr-runner-aws:latest](http://ghcr.io/cloudera-labs/cldr-runner-aws:latest)
Error: Execution environment pull failed
unknown flag: --tls-verify See 'docker pull --help'.
Hint: Check the execution environment image name, connectivity to and
permissions for the registry, and try again
Removing the tls-verify argument from the ansible-navigator.yml file resolves the issue. Relevant code causing the issue is shown below.
https://github.com/cloudera-labs/cloudera-deploy/blob/b5eb8fabc2120c0fc0ed545f6956880638cc8d41/private-cloud/base/aws-iaas/ansible-navigator.yml#L54-L55
Need to verify that other container engines don't have an issue when this is removed. If not then I suggest this argument is removed.