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

feat: Update OKD/OCP Readme for 4.15/4.16 #8078

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ArthurVardevanyan
Copy link
Contributor

Update Tested Versions for OKD/OCP Installation

@ArthurVardevanyan ArthurVardevanyan requested a review from a team as a code owner February 29, 2024 22:05
@ArthurVardevanyan ArthurVardevanyan changed the title feat: Update OKD/OCP Docs for 4.15 feat: Update OKD/OCP Readme for 4.15 Feb 29, 2024
chart/ocp-readme.md Outdated Show resolved Hide resolved
chart/templates/deployment-ui.yaml Outdated Show resolved Hide resolved
Copy link

mergify bot commented Apr 15, 2024

This pull request is now in conflict. Could you fix it @ArthurVardevanyan? 🙏

1 similar comment
Copy link

mergify bot commented Apr 24, 2024

This pull request is now in conflict. Could you fix it @ArthurVardevanyan? 🙏

Copy link

github-actions bot commented Jun 9, 2024

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@ArthurVardevanyan
Copy link
Contributor Author

Pending: https://www.okd.io/blog/2024/06/01/okd_future_statement/#okd-working-group-statement-june-1-2024

@akashsemil
Copy link

Here is more info about the issue:

I deployed latest OKD version with longhorn 1.6.2 : 4.15.0-0.okd-2024-03-10-010116

Tried to access the UI using route "Log in with OpenShift" shows the following error:

image

Checking on the openshift-authentication pod logs

image

Eventually found out service account exists but no secret token attached to it.

Screenshot from 2024-08-13 22-22-34

As in Kubernetes v1.24

The LegacyServiceAccountTokenNoAutoGeneration feature gate is beta, and enabled by default. When enabled, Secret API objects containing service account tokens are no longer auto-generated for every ServiceAccount. Use the [TokenRequest](https://kubernetes.io/docs/reference/kubernetes-api/authentication-resources/token-request-v1/) API to acquire service account tokens, or if a non-expiring token is required, create a Secret API object for the token controller to populate with a service account token by following this [guide](https://kubernetes.io/docs/concepts/configuration/secret/#service-account-token-secrets). (https://github.com/kubernetes/kubernetes/pull/108309, [@zshihang](https://github.com/zshihang))

In order to fix this either create a tokenRequest or a long-lived secret as mentioned in the PR

Refer:

https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.24.md#urgent-upgrade-notes
https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/#auto-generated-legacy-serviceaccount-token-clean-up

@ArthurVardevanyan ArthurVardevanyan changed the title feat: Update OKD/OCP Readme for 4.15 feat: Update OKD/OCP Readme for 4.15/4.16 Aug 17, 2024
@innobead
Copy link
Member

@mantissahz please help review this.

Signed-off-by: Arthur <arthur@arthurvardevanyan.com>
@ArthurVardevanyan
Copy link
Contributor Author

ArthurVardevanyan commented Aug 17, 2024

Updated to include the OKD 4.16 Builds, while not full stable channel, they are releasing "next" builds.
While not recommended/advised, it is possible to upgrade from OKD 4.15 -> 4.16 (With some manual steps).
New Builds on OKD 4.16 seem to be fine.

Note: It does not look like the 4.16 oauth proxy is being mirrored yet into the longhorn repos

My test was on a fresh build of: 4.16.0-0.okd-scos-2024-08-01-132038

@ArthurVardevanyan ArthurVardevanyan force-pushed the okd-ocp branch 4 times, most recently from 1131e04 to 64b00c1 Compare August 22, 2024 14:20
@mantissahz
Copy link
Contributor

Hi @ArthurVardevanyan,

Could you help test the Longhorn 1.7.0 as well?

Signed-off-by: Arthur <arthur@arthurvardevanyan.com>
@ArthurVardevanyan
Copy link
Contributor Author

ArthurVardevanyan commented Aug 23, 2024

Hi @ArthurVardevanyan,

Could you help test the Longhorn 1.7.0 as well?

Part 1

Started Clean on
OKD 4.15.0-0.okd-2024-03-10-010116
Longhorn 1.6.2
Screenshot from 2024-08-22 22-18-50

Screenshot from 2024-08-22 22-29-36

Part 2

Upgraded to 1.7.0, deleted the two below service objects manually, since they don't appear to be in 1.7.0
longhorn-engine-manager and longhorn-replica-manager
Git Delta on my Repo: ArthurVardevanyan/HomeLab@e3efac3
Screenshot from 2024-08-23 10-44-40
Screenshot from 2024-08-23 10-45-12

Part 3

Then I did the manual steps to force a 4.15->4.16 Upgrade, (again, not generally recommended yet)

Final
OKD 4.16.0-0.okd-scos-2024-08-21-155613
Longhorn 1.7.0
Screenshot from 2024-08-23 12-24-06

Screenshot from 2024-08-23 12-19-11

RWX

image

Copy link

mergify bot commented Dec 14, 2024

This pull request is now in conflict. Could you fix it @ArthurVardevanyan? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New Issues
Development

Successfully merging this pull request may close these issues.

5 participants