BIG-IQ v. 5.1 automation: Script to import multiple BIG-IPs errors out with "401 Authorization Required"
Hi,
I am using "bulkDiscovery.pl" and my own "data.csv" from https://github.com/carldubois/bigiq-cm-restapi-bulk The csv file has just two BIG-IPs (VIP-1\nVIP-2). The script is run with the following command line args: perl bulkDiscovery.pl -a admin:"PASSWD" -v -l -c data.csv -q admin:"PASSWD"
The following error is displayed-
401 Authorization Required
webd
Further analysis shows the error is from line 302 of the script: my $trustTask = &callCurl ($trustCmd, "Establish trust with $mip", $opt_v);
I have tried to curl the URI (line 301) from the command line with various permutations, but it gives the same error every time.
Any advice would be appreciated.
-Thanks
by carldubois-
Hi, in 5.1 basic authentication was disabled. You can re enabled by ssh into bigiq shell and "set-basic-auth on".