I'm currently testing the licensing modules for my thesis on Automated Software Deployment. Unfortunately, I get an error when I try to create a license pool:
Code: Alles auswählen
Opsi service error: [Exception] Failed to create license pool
viewtopic.php?f=7&t=2123
The trial license I use, is valid:
Code: Alles auswählen
opsi-admin -d method backend_info
{
"opsiVersion" : "4.0.3.1",
...
"modules" :
{
"license_management" : true,
"expires" : "2013-06-02",
"valid" : true,
"mysql_backend" : true,
...
}
}
Code: Alles auswählen
backend_.* : file, mysql, opsipxeconfd
host_.* : file, opsipxeconfd
productOnClient_.* : file, opsipxeconfd
configState_.* : file, opsipxeconfd
.* : file
softwareLicense.* : mysql
license.* : mysql
audit.* : mysql
Code: Alles auswählen
[5] [Apr 26 10:04:32] Application 'opsi config editor 4.0.3.2.1' on client '127.0.0.1' supplied non existing session id: K9IZvH52ZEkYQamKi35DOM$
[5] [Apr 26 10:04:32] Authorization request from adminuser@127.0.0.1 (application: opsi config editor 4.0.3.2.1) (workers.py|188)
[5] [Apr 26 10:04:32] Modules file signature verified (customer: Jeroen ********) (MySQL.py|422)
[5] [Apr 26 10:04:33] -----> Executing: licensePool_getObjects([u'id', u'description']) (JsonRpc.py|123)
[5] [Apr 26 10:04:33] -----> Executing: getLicensePools_listOfHashes() (JsonRpc.py|123)
[5] [Apr 26 10:04:33] -----> Executing: auditSoftware_getObjects([u'name', u'version', u'subVersion', u'language', u'architecture', u'windowsSo$
[5] [Apr 26 10:04:33] -----> Executing: getSoftwareLicenses_listOfHashes() (JsonRpc.py|123)
[5] [Apr 26 10:04:33] -----> Executing: getLicenseContracts_listOfHashes() (JsonRpc.py|123)
[5] [Apr 26 10:04:34] -----> Executing: getSoftwareLicenses_listOfHashes() (JsonRpc.py|123)
[5] [Apr 26 10:04:34] -----> Executing: getSoftwareLicenseUsages_listOfHashes() (JsonRpc.py|123)
[5] [Apr 26 10:04:34] -----> Executing: getConfigOptions_hash() (JsonRpc.py|123)
[5] [Apr 26 10:04:34] -----> Executing: host_getObjects([u'id'], {'type': u'OpsiClient'}) (JsonRpc.py|123)
[5] [Apr 26 10:04:34] -----> Executing: auditSoftwareToLicensePool_getObjects([u'name', u'version', u'subVersion', u'language', u'architecture'$
[5] [Apr 26 10:04:34] -----> Executing: getAuditSoftwareUsage() (JsonRpc.py|123)
[5] [Apr 26 10:04:34] -----> Executing: getLicenseStatistics_hash() (JsonRpc.py|123)
[5] [Apr 26 10:04:56] -----> Executing: createLicensePool(u'test', u'') (JsonRpc.py|123)
[3] [Apr 26 10:04:56] Execution error: Failed to create license pool (JsonRpc.py|136)
Any one knows how to fix this?
Thanks on advance,
Jeroen