Troubleshooting

For additional troubleshooting-related information, see the Lightbits Troubleshooting Guide or contact Lightbits Support.

Ansible Role Errors

Confirm that the duroslight ports are synchronized in the Ansible default yml file, which can be overridden in inventory ymls, and the node-manager configuration Ansible default yml:

Bash
Copy

SSH Strict Key Errors When Using sshpass

If you use the sshpass utility method in your hosts file, you can receive an error related to SSH keys in the Known Hosts file, such as:

Bash
Copy

To avoid this error, you need to disable *_StrictHostKeyChecking *_in the /etc/ssh/ssh_config, or log into each node from your installation workstation at least once.

By default, *_StrictHostKeyChecking *_is enabled in the file /etc/ssh/ssh_config. You can disable this by un-remarking it in ssh_config and setting it to:

Bash
Copy

Or, you can leave *StrictHostKeyChecking * enabled and log into each node from the installation workstation and “answer yes” to permanently add the host to the Known Hosts files.

The first time you SSH from one server to another the following SSH exchange occurs:

Bash
Copy

So, by logging into all the servers at least once from your installation workstation before you run the Ansible playbook, there will be no issues using the sshpass method.

Free Space in Linux OS for etcd Logical Volume Manager Use

If your Linux operating system has volume groups that were created for the home, root, and swap file systems and are utilizing 100% of the storage, you must reduce one of these volume groups. The Lightbits installer requires at least 10GB of space to create an LVM for use with etcd.

For example, review the Linux OS logical volumes. The Linux Virtual Server (LVS) software is used in this example.

Bash
Copy

If the Linux Virtual Server (LVS) software reports anything but "Alma" for the Volume Group name used for the LinuxOS file system, you will need to specify the exact name in the ~/light-app/ansible/inventories/cluster_example/host_vars file for that node. For more information, see the etcd_vg_name variable description in the Host Configuration File Variables list.

In this example, the LinuxOS was installed onto a 118 GB drive and the entire amount is allocated. You can resize the home LVM by 20 GB to free up some space.

To resize this file system, you need to:

  1. Move any files you have in the /home file system to a safe location.
  2. Unmount, resize, and recreate the file system.
  3. Remount the file system.

To identify how much space is available to free up, use lsblk as follows:

Bash
Copy

In this example, the LinuxOS is installed on device “sda” and on partition sda1 with 119.2 GB of space available. It is possible to take 20 GB away from home to free up some space and still have over 44 GB remaining.

  1. Mount and record the current mount path for home. $ mount /dev/mapper/Alma_lightos--c3-home on /home type xfs (rw,relatime,attr2,inode64,noquota)
  2. Unmount home and then resize it. $ umount /home $ lvresize -L -20G Alma_lightos-c3/home
  3. Remake the home file system. $ mkfs.xfs -f /dev/mapper/Alma_lightos--c3-home
  4. Remount home. $ mount /dev/mapper/Alma_lightos--c3-home /home
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard