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

Edge-Node Clustering miscellaneous bug fixes #4549

Merged

Conversation

naiming-zededa
Copy link
Contributor

  • handle the ENC App Status and cluster reachable conditions and with error message status
  • fix an issue in checkAppsStatus() of using staled oldStatus{}
  • in multiple applications case, the there is a bug since now we changed the logic to not always publish the ENClusterAppStatus, need to use the correct oldStatus for the application
  • fix the token rotation failure and waitfor cluster status bug and fix a bug in waiting for bootstrap server status, we can fall into the 'else' condition and get a wrong cert
  • if not all-pods-ready, not printing the misleading 'applying node labels' message, instead log the 'Not all pods are ready'
  • handle the case convert to single-node and immediately back to cluster-mode again. we need towait for the bootstrap 'cluster' status before moving on
  • try to fix an issue of 'k3s.log' file rotation not taking effect once a while. the file size can not be truncated. Add a HUP signal before truncate the file

@github-actions github-actions bot requested a review from uncleDecart January 25, 2025 03:51
@naiming-zededa naiming-zededa force-pushed the naiming-misc-cluster-bugfixes branch 2 times, most recently from f724b48 to 3107eb9 Compare January 25, 2025 04:23
@naiming-zededa naiming-zededa force-pushed the naiming-misc-cluster-bugfixes branch from 3107eb9 to d89e34f Compare January 27, 2025 23:35
@github-actions github-actions bot requested a review from eriknordmark January 27, 2025 23:35
pkg/kube/cluster-init.sh Outdated Show resolved Hide resolved
@naiming-zededa naiming-zededa force-pushed the naiming-misc-cluster-bugfixes branch from d89e34f to d9ade52 Compare January 28, 2025 19:28
Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

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

Kick off tests

@naiming-zededa naiming-zededa force-pushed the naiming-misc-cluster-bugfixes branch from d9ade52 to b5364d1 Compare January 29, 2025 17:43
@github-actions github-actions bot requested a review from eriknordmark January 29, 2025 17:43
@naiming-zededa naiming-zededa force-pushed the naiming-misc-cluster-bugfixes branch from b5364d1 to e91485f Compare January 30, 2025 15:28
@naiming-zededa
Copy link
Contributor Author

no conflict, but rebased again.

Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

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

LGTM

- handle the ENC App Status and cluster reachable conditions and with
  error message status
- fix an issue in checkAppsStatus() of using staled oldStatus{}
- in multiple applications case, the there is a bug since now we changed
  the logic to not always publish the ENClusterAppStatus, need to use
  the correct oldStatus for the application
- fix the token rotation failure and waitfor cluster status bug
  and fix a bug in waiting for bootstrap server status, we can fall into
  the 'else' condition and get a wrong cert
- if not all-pods-ready, not printing the misleading 'applying node
  labels' message, instead log the 'Not all pods are ready'
- handle the case convert to single-node and immediately back to
  cluster-mode again. we need towait for the bootstrap 'cluster' status
  before moving on
- try to fix an issue of 'k3s.log' file rotation not taking effect once
  a while. the file size can not be truncated. Add a HUP signal before
  truncate the file

Signed-off-by: Naiming Shen <naiming@zededa.com>
@naiming-zededa naiming-zededa force-pushed the naiming-misc-cluster-bugfixes branch from e91485f to 5cd695f Compare January 30, 2025 18:27
@github-actions github-actions bot requested a review from eriknordmark January 30, 2025 18:27
Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

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

LGTM

@eriknordmark eriknordmark merged commit abf4f4f into lf-edge:master Jan 31, 2025
41 checks passed
@naiming-zededa naiming-zededa deleted the naiming-misc-cluster-bugfixes branch January 31, 2025 19:27
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