5. Operations & Troubleshooting
5.1. Ansible vs cloudera.cluster
This is most commonly caused by having more than the usual number of versions of Python installed.
Very possibly you’ve ended up with 2.7, 3.6 and 3.8, or something like that, and the library you are looking for is in the wrong version. Remove extraneous versions, figure out what is installing them and prevent it.
This usually happens when Ansible decides it simply must use /usr/bin/python even though a perfectly good python3 or other is preferred.
Most commonly this is caused by legacy Ansible python version detection where it will always use /usr/bin/python if present. This is fixed by adding ansible_python_interpreter=auto
to all your target hosts in your inventory, such as in the [deployment:vars]
group.
5.2. Cloud Credentials
Could be a credential refreshing, retry to see if it’s isolated
This looks to be caused when an underlying call uses authentication from boto, rather than boto3 - and boto doesn’t support the new access scheme. Find the failing Task and report it to us.
You need to relogin
Using Terraform for Cloudera Deploy, this typically means your SSO token has expired, relogin to continue
The browser may not open during the aws configure sso command if you have the DISPLAY environment variable set in WSL2. This is likely to happen if you run Linux GUI applications in WSL and don’t have a browser installed in the WSL distribution.
The quick fix in this case is to unset DISPLAY and re-run the SSO configure command.
5.3. Docker Usage
You need to enable WSL integration in the Docker Desktop settings for Resources > WSL Integration
Run the following command to activate the ssh-agent:
eval `ssh-agent -s`
If that command doesn’t work, try
eval "$(ssh-agent)"
Probably your SSH_AUTH_SOCK is not populated from the ssh-agent. Same fix as above.
You need to add you /private directory to the file sharing in your Docker settings for Resources > File Sharing
5.4. Code signing for Cloudera Labs
Could be lots of reasons, start by doing a commit on cmdline with GIT_TRACE=1
set to see the specific error.
A common cause is your GPG Key expiring, to fix this on OSX: . comment out no-tty in ~/.gnupg/gpg.conf . Follow this process on SO to reset your key expiry . Re-enable no-tty