We have decided to reduce the number of free licenses from 10 to 5. The code needs to be updated for this, as well as the EULA.
Should be all done now. We need to remember to update our website when we release. Examples: https://www.cendio.com/thinlinc/how-to-get-started https://www.cendio.com/thinlinc/download https://www.cendio.com/thinlinc/buy https://www.cendio.com/thinlinc/docs/legal/eula https://www.facebook.com/pg/ThinLinc/about/?ref=page_internal
All tests pass locally now.. but Jenkins test fails: Traceback (most recent call last): File "/usr/lib/python2.6/unittest.py", line 279, in run testMethod() File "/var/lib/jenkins/thinlinc_server_bundle/vsm/tests/test_licensehandler.py", line 233, in test_warn_admin_msg self.assertEqual(self.calls[0][0], 'InputReturnCodeStdoutStderrProcess') IndexError: list index out of range
After the latest changes Jenkins still fails (tests still pass on my workstation): Traceback (most recent call last): File "/usr/lib/python2.6/unittest.py", line 279, in run testMethod() File "/usr/lib/python2.6/site-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "/var/lib/jenkins/thinlinc_server_bundle/vsm/tests/test_licensehandler.py", line 240, in test_warn_admin_msg proc.call_args[0][3], "warning msg") TypeError: 'NoneType' object is unsubscriptable
Both the Jenkins build and the system tests should work now.
Upgraded my ThinLinc installation and verified that i only got 5 concurrent users with a hardlimit of 6: 2017-03-19 03:46:08 INFO vsmserver: VSM Server version 4.7.0post build 5387.r32252 started 2017-03-19 03:46:08 INFO vsmserver.license: Updating license data from disk to memory 2017-03-19 03:46:08 INFO vsmserver.license: License summary: 10 concurrent users. Hard limit of 11 concurrent users. 2017-03-19 03:46:08 INFO vsmserver.session: Loaded 0 sessions for 0 users from file 2017-03-20 10:29:09 INFO vsmserver: VSM Server version 4.7.0post build 5402 started 2017-03-20 10:29:09 INFO vsmserver.license: Updating license data from disk to memory 2017-03-20 10:29:09 INFO vsmserver.license: License summary: 5 concurrent users. Hard limit of 6 concurrent users. 2017-03-20 10:29:09 INFO vsmserver.session: Loaded 0 sessions for 0 users from file Added 7 test users and verified that vsmserver logged the license violation when creating the 6:th session and that the 7:th login failed with the message "Cannot allocate license" at client side.
Found that licensekeys.xml for our TAG is not updated: "If no license files are installed on the cluster, a maximum of ten concurrent users are allowed."
(In reply to comment #15) > Found that licensekeys.xml for our TAG is not updated: > > "If no license files are installed on the cluster, a maximum of ten > concurrent users are allowed." Fixed now!
I couldn't find anything else related to the change. Everything looks good and I will close this bug now. However, there are still a few things to be done in sync when we push the new release. Information about 10 free licenses on the web needs to be updated and were the EULA is used. I will close and bring these points to the table for web on next standup.
(In reply to comment #4) > Should be all done now. We need to remember to update our website when we > release. Examples: > > https://www.cendio.com/thinlinc/how-to-get-started > https://www.cendio.com/thinlinc/download > https://www.cendio.com/thinlinc/buy > https://www.cendio.com/thinlinc/docs/legal/eula > https://www.facebook.com/pg/ThinLinc/about/?ref=page_internal Some more places that need to be updated: https://www.cendio.com/thinlinc/download-register https://www.cendio.com/thinlinc/support