Skip to content
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

Fake Product UUID Case Sensitivity Incorrect on Rockstor 4 (#2290) #2300

Conversation

phillxnet
Copy link
Member

@phillxnet phillxnet commented May 6, 2021

As Rockstor 4 is associated with newer kernel versions by default, which in turn now produce lowercase product uuid's, we fail in some cases to match against our mixed case tuple of know fake product uuids.

Fixes #2290
@FroggyFlox Ready for review.

Fix by normalising on lowercase in line with the sited uuid standard of: rfc4122 as per the kernel.

Includes formatting clean-ups of the known fake product uuids.

N.B. no functional change is made to how an existing install, of the same major version, generates it's Appliance ID.

…2290)

As Rockstor 4 is associated with newer kernel versions by default,
which in turn now produce lowercase product uuid's, we fail in the
majority of cases to match against our mixed case tuple of
know fake product uuids.

Fix by normalising on lowercase in line with the sited uuid
standard of: rfc4122 as per the kernel.

Includes formatting clean-ups of the known fake product uuids.

N.B. no functional change is made to how an existing install, of the
same major version, generates it's Appliance ID.
@phillxnet
Copy link
Member Author

@FroggyFlox I'm inclined to merge this one now ready for our next release. It's, in fact, only a case change of our know fake product uuids and nothing more, and so makes not functional change to an existing systems Appliance ID: on re-install given the same hardware. That's was important.

We also now have Appman so the case change from 3 to 4 is not a show stopper. And we might indicate this requirement within the activation code dialog (which already now links to Appman); but I see this as a related but independent issue to what is addressed in this pull request.

@FroggyFlox
Copy link
Member

Sounds good! Sorry for not getting to it; I got distracted by our other matters at hand.

@phillxnet phillxnet merged commit f170ee5 into rockstor:master May 9, 2021
@phillxnet phillxnet deleted the 2290_Fake_Product_UUID_Case_Sensitivity_Incorrect_on_Rockstor_4 branch May 10, 2021 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fake Product UUID Case Sensitivity Incorrect on Rockstor 4
2 participants