I was removing a problematic OSD and had these errors at the end of the command execution before it returned "TASK OK":
command '/sbin/pvremove /dev/sdd' failed: Insecure dependency in exec while running with -T switch at /usr/share/perl/5.28/IPC/Open3.pm line 178.
command '/sbin/pvremove...