I get the below error when i pass null value "" to ProgressMonitor argument, which is the 1st argument of the blcli command 'bulkAddServersReturnFailed':
Unknown command : name space = 'Server', command = 'bulkAddServersReturnFailed'.com.bladelogic.om.infra.cli.factory.CommandNotFoundException: Server,bulkAddServersReturnFailed Method found but with mismatching arguments.
Error was : Input '' cannot be converted to expected type : com.bladelogic.om.infra.app.api.manage.ProgressMonitor
Please share info on this if any body has ever come across this issue.
try passing litterally 'null'
I am interested in this very old subject as i am trying to use this BLCLI.
i tryed to put 'null' for data i did not have reference and the BLCLI worked fine.
It returns an object "com.bladelogic.om.infra.model.server.ServerBulkAddResult@fd12614" but i did not find any namespace/command in BMC BLCLI index or web pages in the communities how to use this result.
Please send an example for usage of this command and parsing the result object.
1 of 1 people found this helpful
i don't believe there are any commands to process this output. the original command is 'unreleased' right? there's no guarentee that the unreleased commands will work or provide useful output.
BMC support also reply same way. So i have suspended my search about this command.
i don't understand why it is possible to do this feature using the console and not using BLCLI.
Because not everything in the gui is implemented in the blcli.
this feature is very interesting in the console in order to help enduser when import bulk of server. it is a pitty to not have the same feature in BLCLI.
I do use bulkAddserver command which is working fine but with no error messages.