Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation of MediaAgent failed #10

Open
AndreasLehmann opened this issue Nov 25, 2022 · 2 comments
Open

Installation of MediaAgent failed #10

AndreasLehmann opened this issue Nov 25, 2022 · 2 comments

Comments

@AndreasLehmann
Copy link

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:

  • cv server is reachable with ping
  • api-user can authenticate at https://cv.msg.de/webconsole/sandbox/
  • vm-user can login with user/password
  • cv webservice logfile shows :
11/25 15:09:29 596 API-testuser  - Processing [POST] request : /InstallClient : Headers :[Content-Type=application/json][Accept=application/json][Accept-Encoding=gzip][Host=cv.msg.de:81][Content-Length=301][operatorcompanyid=0][SkipOldJsonConverter=true][MS-ASPNETCORE-TOKEN=3************************9][X-Original-Proto=http][trace-id=ws16100b176260][X-Original-For=127.0.0.1:54629][WEBSERVERCORE-FLAG=true] : Parameters : (empty) : AdditionalInfo[ClientIP[10.223.3.162] ConsoleType[Unknown] Operation[CV.WebServer.Controllers.ClientController.InstallClient (CVWebControllerClient)] isTokenSupplied?[True] Username[API-testuser]]

11/25 15:09:29 596 API-testuser <validator> - 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
Copy link

ale-msg commented Feb 17, 2023

Any news on that?

@cvltmaheshp
Copy link
Member

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants