-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perform entitlement check and install latest fixes during cloud-init #67
Comments
Sample code snippet to perform entitlement check/patch the software (this code will not work as is, requires setting right values):
|
AB#1296614 |
@edburns @majguo Please review the updated script and let me know if you have any questions. |
Thanks @git4rk . Today I tried the updated script and find a problem that I can successfully update all packages with my personal IBMid, which is supposed to fail as my IBMid should be "unentitled". Here are the reproducible steps:
The expected result is that updating all packages should fail, but it succeeded with the following output:
I'm not sure what's the root cause. Here're other questions in my mind which may relate to the issue:
Cloud you pls help take a look? Thanks. |
@majguo Entitlement check is not related to the Installation Manager version or where it was downloaded from. Also, entitlement check is not enabled for 9.0.5.6 and older versions. Please use these latest versions to build the image:
To verify the entitlement, you can also run this command with entitled and un-entitled credentials: |
@git4rk Thanks for your response. I'll take a look at it today and respond with the update later. |
I tried to run your method with Ed's IBMid account (suppose entitled), but failed when I tried to save @edburns ’s IBMid credential to a keystore file:
We need to triage if the error is caused by:
I'll work with @edburns to verify if his account is locked or not first. |
@git4rk I'm happy to report that the previous issue was caused by the fact that @edburns 's IBMid was locked. After his IBMid account is unlocked, I'm able to successfully run your suggested command to check entitlement:
|
The text was updated successfully, but these errors were encountered: