Skip to content

Conversation

@starbops
Copy link
Member

The newly added function will detect whether the user-provided ssl-certificates Setting contains a self-signed certificate. If the certificate was not generated and signed properly, e.g., include the right IP SANs, an error will occur in the following upgrade.

Related issue: harvester/harvester#4519

else
echo "The SAN extension of the certificate does not contain the VIP address $vip"
echo "For more information, please visit: https://github.com/harvester/harvester/issues/4519"
record_fail
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: do not allow upgrade in such case? how can user fix it?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script only helps to check for upgrades and does not prevent any upgrade process; however, it is not recommended to proceed with the upgrade operation if it contains an error message. And I think It would be more useful if we could link to a suggested workaround once it was available.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good, let's wait for the workaround and update here again

@w13915984028
Copy link
Member

Please also check this new issue: harvester/harvester#4531

@starbops
Copy link
Member Author

Close this as it becomes unnecessary. We've already shipped the fix in the new version (harvester/harvester#4585) and have the workaround covered in the docs (harvester/docs#462).

@starbops starbops closed this Oct 31, 2023
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.

3 participants