Using Declarative Onboarding to license an AWS BIG-IP v 14.1.x with known good licenses via BIG-IQ 6.1:
BIG-IQ returns the following (actual registration key replaced for security):
Tue, 25 Jun 2019 13:09:45 GMT - fine: [f5-declarative-onboarding: systemHandler.js] Getting reg keys in pool
Tue, 25 Jun 2019 13:09:45 GMT - fine: [f5-declarative-onboarding: systemHandler.js] xxx.xxx.xxx is not active
These are the request logs from BIG-IQ:
"GET /mgmt/cm/device/licensing/pool/regkey/licenses/a57bbe24-89cf-4edf-a698-b45c86effad4/offerings?$select=licenseState HTTP/1.1" 200 76533 "-" "-" "-"
They should read:
GET /mgmt/cm/device/licensing/pool/regkey/licenses/a57bbe24-89cf-4edf-a698-b45c86effad4/offerings/XXXXXX?$select=licenseState
Issue is with the
bigIqLicenseProviderFactory.js
changing the licesnseProvider to BigIq54LicenseProvider on the following line (line 73) fixes the problem.
getLicenseProviderByType(type, bigIp, options) {
switch (type) {
case sharedConstants.LICENSE_API_TYPES.REG_KEY:
return new BigIq52LicenseProvider(bigIp, options); <------ change to BigIQ54LicenseProvider
case sharedConstants.LICENSE_API_TYPES.UTILITY:
return new BigIq53LicenseProvider(bigIp, options);
case sharedConstants.LICENSE_API_TYPES.UTILITY_UNREACHABLE:
return new BigIq54LicenseProvider(bigIp, options);
default:
throw new Error(Unknown type ${type});
BigIq52 has
const LICENSE_PATH = '/cm/device/licensing/pool/regkey/licenses/';
BigIq54 has
const LICENSE_PATH = '/cm/device/tasks/licensing/pool/member-management/';
Using Declarative Onboarding to license an AWS BIG-IP v 14.1.x with known good licenses via BIG-IQ 6.1: BIG-IQ returns the following (actual registration key replaced for security):
Tue, 25 Jun 2019 13:09:45 GMT - fine: [f5-declarative-onboarding: systemHandler.js] Getting reg keys in pool Tue, 25 Jun 2019 13:09:45 GMT - fine: [f5-declarative-onboarding: systemHandler.js] xxx.xxx.xxx is not active
These are the request logs from BIG-IQ: "GET /mgmt/cm/device/licensing/pool/regkey/licenses/a57bbe24-89cf-4edf-a698-b45c86effad4/offerings?$select=licenseState HTTP/1.1" 200 76533 "-" "-" "-"
They should read: GET /mgmt/cm/device/licensing/pool/regkey/licenses/a57bbe24-89cf-4edf-a698-b45c86effad4/offerings/XXXXXX?$select=licenseState
Issue is with the
bigIqLicenseProviderFactory.js
changing the licesnseProvider to BigIq54LicenseProvider on the following line (line 73) fixes the problem.
getLicenseProviderByType(type, bigIp, options) { switch (type) { case sharedConstants.LICENSE_API_TYPES.REG_KEY:
case sharedConstants.LICENSE_API_TYPES.UTILITY: return new BigIq53LicenseProvider(bigIp, options); case sharedConstants.LICENSE_API_TYPES.UTILITY_UNREACHABLE: return new BigIq54LicenseProvider(bigIp, options); default: throw new Error(
Unknown type ${type}
);BigIq52 has const LICENSE_PATH = '/cm/device/licensing/pool/regkey/licenses/'; BigIq54 has const LICENSE_PATH = '/cm/device/tasks/licensing/pool/member-management/';