2019 and before, kafka node created in lxc (configured in mustache file), but lxc didn't mount volume , since 2019, kvm becomes the default container type, kvm could mount volume.
upgrade won't change the container type. so when execute func _initNode in lxc container, checkMounts will exit with error code 1.
so it may need detect the type of container.
2019 and before, kafka node created in lxc (configured in mustache file), but lxc didn't mount volume , since 2019, kvm becomes the default container type, kvm could mount volume. upgrade won't change the container type. so when execute func _initNode in lxc container, checkMounts will exit with error code 1. so it may need detect the type of container.