Error while uploading license

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
Darshan
Posts: 5
Joined: Thu Dec 12, 2024 8:54 am

Thu Dec 12, 2024 9:02 am

Dear Team,

We were having perpetual license installed on our starwind, we tried to create a Lun via powershell script the lun got created but wasnt visible on GUI so we took a reboot of the starwind appliance as it got rebooted we are facing license error, as we try to upload the license it says please check license manager service is running or not depite the service is running, we tried restarting the service as well didn't worked,

Please find below attached error log of license manager service,
2024-12-10 12:48:39.830 00146 INFO | [LicenseManagerFrontController]: Getting license info compleated
2024-12-10 12:49:10.260 00017 INFO | [LicenseManagerFrontController]: Start getting license info
2024-12-10 12:49:10.260 00017 INFO | [LicenseManagerFrontController]: Getting license info compleated
2024-12-10 12:49:10.269 00283 ERROR | [SwxClient]: StarWindSWXClient::GetStorageNodeLicenseInfo method failed. [Error:'Command rejected by the server.: Deprecated (104)'. Inner exception: System.Exception: Command rejected by the server.: Deprecated (104)
at swx.Server..ctor(String addr, String login, String password, UInt32 timeoutSend, UInt32 timeoutRecv)
at StarWind.Service.Client.SWX.StarWindSWXClient.GetServer(String ip, Int32 port, String login, String password, Boolean longOperation)][TBD]
2024-12-10 12:49:10.269 00017 ERROR | [SwxClient]: StarWindSWXClient::GetStarwindTargets method failed. [Error:'Command rejected by the server.: Deprecated (104)'. Inner exception: System.Exception: Command rejected by the server.: Deprecated (104)
at swx.Server..ctor(String addr, String login, String password, UInt32 timeoutSend, UInt32 timeoutRecv)
at StarWind.Service.Client.SWX.StarWindSWXClient.GetServer(String ip, Int32 port, String login, String password, Boolean longOperation)][TBD]
yaroslav (staff)
Staff
Posts: 3094
Joined: Mon Nov 18, 2019 11:11 am

Thu Dec 12, 2024 9:39 am

Welcome to StarWind forum. Is it free or commercial key? Was creating the lun successful according to the outputs?
Check also this script out https://forums.starwindsoftware.com/vie ... NT8#p37208.
Darshan
Posts: 5
Joined: Thu Dec 12, 2024 8:54 am

Thu Dec 12, 2024 10:46 am

Dear Team,

It was a Free V san perpetual license of 3 nodes.
Darshan
Posts: 5
Joined: Thu Dec 12, 2024 8:54 am

Thu Dec 12, 2024 10:47 am

Lun creation was successful but lun was not visible on starwind GUI, 2 files got created on the location lun.img and lun.swdsk.bak
yaroslav (staff)
Staff
Posts: 3094
Joined: Mon Nov 18, 2019 11:11 am

Thu Dec 12, 2024 1:58 pm

I do not think creation was successful.
Please check if the files are created successfully on both nodes. If there are some files missing on another node please clean up the /opt/starwind/starwind-virtual-san/drive_c/starwind/headers directory and the underlying storage on both nodes and try again with the script I suggested.
Darshan
Posts: 5
Joined: Thu Dec 12, 2024 8:54 am

Fri Dec 13, 2024 6:00 am

Dear Team,

We have removed the files which got created of lun.img and Lun.swdsk.bak at location /opt/starwind/starwind-virtual-san/drive_c/starwind/storage/mnt/md0/lun and restarted starwind still our license is not getting activate it says check if license manager service is running despite the service is running and restarted.
Darshan
Posts: 5
Joined: Thu Dec 12, 2024 8:54 am

Fri Dec 13, 2024 6:02 am

Currently we are having single node created.
yaroslav (staff)
Staff
Posts: 3094
Joined: Mon Nov 18, 2019 11:11 am

Fri Dec 13, 2024 10:36 am

Could you please share the script you used to create imgfile and StarWind support bundles with me?
yaroslav (staff)
Staff
Posts: 3094
Joined: Mon Nov 18, 2019 11:11 am

Fri Dec 13, 2024 11:07 am

I think you have mixed 2 problems in one thread. Sorry for the confusion.
Please reach out to us using this form https://www.starwindsoftware.com/support-form and 1254618 as your reference.
yaroslav (staff)
Staff
Posts: 3094
Joined: Mon Nov 18, 2019 11:11 am

Fri Dec 13, 2024 1:09 pm

Please reach out to us using this form https://www.starwindsoftware.com/support-form and 1254618 as your reference.
I have removed your comment because you've shared the key here :)
yaroslav (staff)
Staff
Posts: 3094
Joined: Mon Nov 18, 2019 11:11 am

Thu Dec 19, 2024 5:59 pm

An update: The issue was related to the outdated VSAN WEB UI version; was fixed by the software update.
Post Reply