Fixing Motor Unresponsiveness on Raspberry Pi Due to Grounding

The last time I wrote about Raspberry Pi was Connect to New Provisioned Raspberry Pi Less than $3, about six years ago. Time flies! Today, I will talk about a grounding issue.

Background and Troubleshooting

I recently purchased a powerful motor driver board. It supports two DC motors with encoders and other features. During the initial testing, I experienced weird behavior. As a cloud engineer, I find it interesting to learn about the physical world.

Read more

Fixing ‘KDC Reply Did Not Match Expectations’ Error in Ansible for Windows Server

When you connect to a Windows server with Ansible, you may see the error message “KDC reply did not match expectations while getting initial credentials”. One possible reason is that the domain name that you used in the Ansible playbook command line doesn’t match the domain name that is configured in the Linux krb5.conf. The … Read more

Connect-NsxtServer shows “Unable to connect to the remote server”

When you run Connect-NsxtServer in the PowerCLI, it may show “Unable to connect to the remote server“. Because the error message is a little bit confusing with other login issues. It’s not easy to troubleshoot. The actual reason is the NSX-T uses a self-signed certificate, and the PowerCLI cannot accept the certificate automatically. The fix … Read more

Move Terraform Providers to Other Folders

Create a new control file with the name .terraformrc or terraform.rc in your profile folder. Add the following lines: Create the folder .terraform.d/plugin-cache in your profile folder. The providers will be downloaded to the cache folder when you run terraform init. If you don’t want to create the control file in the profile folder. Alternative … Read more

Setup Terraform and Ansible for Windows provisionon CentOS

black server racks on a room

Provisioning Windows machines with Terraform is easy. Configuring Windows machines with Ansible is also not complex. However, it’s a little bit challenging to combine them. The following steps are some ideas about handling a Windows machine from provisioning to post configuration without modifying the winrm configuration on the guest operating system.

[Quick Note] Failed to install pywinrm on CentOS 8

You may see error message “Running setup.py install for pykerberos … error” when install pywinrm on CentOS 8. The additional errors are “unable to execute ‘gcc’: No such file or directory” and “command ‘gcc’ failed with exit status 1“. The reason because gcc dependence is missing on the machine. You need to run following command … Read more