Did not work.
[centos@ip-172-31-81-167 ~]$ curl -i --retry 5 -s -L -k --negotiate -u : http://ip-172-31-82-140.ec2.internal:8983/solr
curl: option --negotiate: the installed libcurl version doesn't support this
curl: try 'curl --help' or 'curl --manual' for more information
solrctl will use the --negotiate option regardless of whether the cluster enabled. It will only be useful if kerberos is enabled in the cluster, though.
The problem is that your OS's version of curl does not support the "--negotiate" option which means, as Patrick said, that you have a non-standard version of curl or curl libraries installed on that host.
You can find out from where the files originate something like this:
# which curl
# rpm -qf `which curl`
# curl -V
Basically, you need to install a version of curl that leverages --negotiate on the host where you are running solrctl.
Problem is due to python version you have in your node.
incompatibility between the Python 3 version and the Python 2 version. The default Solr commands use the python2 version, so here we need to remove the Python global environment variables, not the python3 global environment variables.
Thanks & Regards,