Solved

VTL 2.0

  • 16 August 2022
  • 7 replies
  • 202 views

Badge +1

Hi,

 

does anyone has experience with VTL 2.0 feature?

https://documentation.commvault.com/2022e/expert/135517_commvault_vtl_20.html

We tried to install the RPM but this already failed with this error:

error: too many arguments to function ‘blkdev_issue_flush’

 

I was able to fix this with rebuilding the RPM and software is running now.

Now WebUI is running, but I´m not able to add users for login:

/commvaultvtl/bin/vtuser -a -u admin -p <password>

Invalid user name

/commvaultvtl/bin/vtuser -a -u vtladmin -p <password>

Failed to add user. Reply from server is :

 

There is no error message or anything else.

 

 

Florian

icon

Best answer by Mike Struening RETIRED 29 August 2022, 23:36

View original

7 replies

Userlevel 7
Badge +23

@FlorianSchoenheim , the first error is likely due to admin already existing (or being unusable).

The second leads me to think the password had invalid characters.

Can you confirm the password fits the below?  If so, this is likely worth going right to support (and if you do, share the case number so I can track it).

From the docs: https://documentation.commvault.com/2022e/expert/136354_managing_users.html

 

Adding a New User With Admin Access

New users with admin access can be added using the following command:

/commvaultvtl/bin/vtuser -a -u <username> --p <passwd>
  • User names and passwords can be up to 32 characters in length.

  • User names and passwords need to be ascii chars and can include _ or -.

Badge +1

Hi Mike,

 

thanks for your replay. I´ve tried a couple of user / password combinations.

Admin failes because it is too short, you will receive the same error with every other short username.

You can do a -l to show a list, which is empty.

I will raise a ticket and will let you know the ticket number. But it can take some time, there a CASP between.

 

Florian

Badge +1

If someone tries to install the rpm and installation will fail.

There seems to be an issue in “core_itf.c” in line 1726:

return blkdev_issue_flush(iodev, GFP_NOIO);
 

this line will create the “error: too many arguments to function ‘blkdev_issue_flush’” failure.

I have edited the file and created 2 lines for this:

return blkdev_issue_flush(iodev);
return blkdev_issue_flush(GFP_NOIO);

 

To get this into the RPM I used rpmrebuild to edit the spec file and copied my edited core_itf.c from a tmp dir to /commvaultvtl/src/export before the build process starts.

 

First I did the installation on an Almalinux, but after the errors I reproduced the issue and a current RHEL 8.6 which has the same problems.

Used rpm was this one:

commvault-vtl-usr-3.0.50.45-rhel.x86_64.rpm

Userlevel 7
Badge +23

Let me know the case number once created.  I want to track it on my side 🤓

Badge +1

Ticket created: 220816-558

Userlevel 7
Badge +23

Thanks!

Userlevel 7
Badge +23

Hey @FlorianSchoenheim , I see the case is closed.  I’ll mark this as the answer, though I encourage you (or anyone else who has this issue) to post here if it reoccurs.

Finding Details:

Issue:
===================

The customer install an test environment with the RPM (commvault-vtl-usr-3.0.50.45-rhel.x86_64.rpm). And he cannot create user.
It is an Test environment and on this point there is no existing Commvault environment.
Operating System RHEL 8.6

Solution:

- Confirmed that the (https://documentation.commvault.com/2022e/expert/135841_open_commvault_vtl_20_web_management_interface.htm) and (https://documentation.commvault.com/2022e/expert/136354_managing_users.html) was followed
- Suggested customer to provide /var/log/messages
- However, the customer is on a leave and asked to close the case for now.

Reply