Commvault / terraform-provider-commvault

Terraform module for Commvault
5 stars 1 forks source link

Installation of MediaAgent failed #10

Open AndreasLehmann opened 1 year ago

AndreasLehmann commented 1 year ago

I try to install a CV Media-Agent on a Linux VM (Ubuntu 18.04 LTS) in an Azure envrionment. The installation process failed with the error message:

│ Error: Unable to get client ID
│ 
│   with commvault_install_ma.installma, 
│   on main.tf line 106, in resource "commvault_install_ma" "installma": 
│  106:  resource "commvault_install_ma" "installma"{ 
│ 

main.tf:

...
 resource "commvault_install_ma" "installma"{
     mediaagent_name = var.cv_ma_name
     hostname = azurerm_linux_virtual_machine.ma-linux-vm.private_ip_address
     user_name = var.ma_linux_admin_username
     password =  var.ma_linux_admin_password
     is_unix = true
 }
...

I checked the follwing conditions:

11/25 15:09:29 596 API-testuser - Client.InstallClient expects parameter 'ClientInstallRequest request' value not to be null. Response status code set to BadRequest(400)



Version of the CV-Server: 11.24.73 (SP3)
ale-msg commented 1 year ago

Any news on that?

cvltmaheshp commented 1 year ago

Hi @ale-msg , This shows that the request json wasnt formed and sent to the web service. Could you try hardcoding the values instead of using variables and see if it sends a request ? I will add a logging field in future version to capture request being sent. But for now can you capture using wireshark the request being sent to webserver ?