Resolve kubeadm alpha Check in kube-cert-rotation Script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Lucas Borges |
Bug Description
-----------------
During DC sanity test, alarm 250.003 Kubernetes certificates renewal failed raised and not cleared
Severity
--------
Major
Steps to Reproduce
------------------
DC sanity test
Expected Behavior
------------------
No alarm 250.003 Kubernetes certificates renewal failed raised
Actual Behavior
----------------
alarm 250.003 Kubernetes certificates renewal failed raised
Reproducibility
---------------
This is the first time saw this issue
System Configuration
-------
DC
Timestamp/Logs
--------------
[2023-11-18 00:10:01,517] 349 DEBUG MainThread ssh.send :: Send 'fm --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://[fd01:306:
[2023-11-18 00:10:01,567] 551 DEBUG MainThread ssh.exec_cmd:: Expecting [.@controller-[01] .(keystone_
[2023-11-18 00:10:03,613] 471 DEBUG MainThread ssh.expect :: Output:
-------
UUID Alarm ID Reason Text Entity ID Severity Time Stamp
-------
ba8279bf-
5bd64503-
8a1e080c-
-------
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.security |
Changed in starlingx: | |
assignee: | nobody → Lucas Borges (lborges) |
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/901759 /opendev. org/starlingx/ config/ commit/ 1e10f4a086aa493 22994171c2bb08e 5103fbfb3a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1e10f4a086aa493 22994171c2bb08e 5103fbfb3a
Author: Lucas Borges <email address hidden>
Date: Thu Nov 23 10:54:43 2023 -0300
Resolve kubeadm alpha Check in kube-cert-rotation Script
The 'kube-cert- rotation' script evaluates the status
of the 'kubeadm' command to determine if it is in
alpha mode. This modification addresses an issue with
the check, ensuring it conforms to the correct usage.
After kubernetes v1.21 the 'kubeadm alpha' has been
deprecated.
TEST PLAN:
PASS: Deploy the DC (with dc-libvirt) and verify
that alarm 250.003 is not triggered.
Closes-bug: 2045271 b59b78e1c4f0cb0 70ec671b6a7
Change-Id: I05d7aabbb3ac35
Signed-off-by: Lucas Borges <email address hidden>