You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: ‘show kubernetes server status’ command used in K8S module PTF test to check the status is failing.
It returns “Kubernetes server has no status info”
Below message seen in syslog while executing the show command
Aug 22 00:12:43.735833 sonic WARNING show: :- operator(): Key '{KUBERNETES_MASTER|SERVER}' unavailable in database '{STATE_DB}'
Steps to reproduce – run K8S module PTF tests and all fails
Manual verification:
Create Kubernetes HA topology as given in https://github.com/sonic-net/sonic-mgmt/blob/master/docs/testbed/README.testbed.k8s.Setup.md
Run below steps,
root@sonic:# config kubernetes server disable on
root@sonic:# config kubernetes server ip
root@sonic:# config kubernetes server disable off
root@sonic:# show kubernetes server config
ip port insecure disable
10.112.157.37 6443 False False
root@sonic:# show kubernetes server status
Kubernetes server has no status info
root@sonic:#
In syslog - Aug 16 23:22:56.666204 sonic WARNING show: :- operator(): Key '{KUBERNETES_MASTER|SERVER}' unavailable in database '{STATE_DB}'
Snippet of PTF test run log:
=========================== short test summary info ============================
FAILED k8s/test_config_reload.py::test_config_reload_no_toggle - Failed: DUT ...
FAILED k8s/test_config_reload.py::test_config_reload_toggle_join - Failed: Un...
FAILED k8s/test_config_reload.py::test_config_reload_toggle_reset - Failed: D...
FAILED k8s/test_disable_flag.py::test_disable_flag - Failed: DUT failed to su...
FAILED k8s/test_join_available_master.py::test_join_available_master - Failed...
========================== 5 failed in 776.00 seconds ==========================
pytest_assert(server_connect_exp_status == server_connect_act_status, "DUT shows unexpected kubernetes server connected status, Expected server connected status: {}, Found server connected status: {}".format(server_connect_exp_status, server_connect_act_status))
E Failed: DUT shows unexpected kubernetes server connected status, Expected server connected status: False, Found server connected status: None
Show version info is given below.
SONiC Software Version: SONiC.202111.Innovium.3.0.0.20220816.015358
Distribution: Debian 11.4
Kernel: 5.10.0-8-2-amd64
Marvell SAI version: T2.0.1
Build commit: 003c8dfde
Expected - ‘show kubernetes server status’ should return correct status
The text was updated successfully, but these errors were encountered:
Description: ‘show kubernetes server status’ command used in K8S module PTF test to check the status is failing.
It returns “Kubernetes server has no status info”
Below message seen in syslog while executing the show command
Aug 22 00:12:43.735833 sonic WARNING show: :- operator(): Key '{KUBERNETES_MASTER|SERVER}' unavailable in database '{STATE_DB}'
Steps to reproduce – run K8S module PTF tests and all fails
Manual verification:
Create Kubernetes HA topology as given in https://github.com/sonic-net/sonic-mgmt/blob/master/docs/testbed/README.testbed.k8s.Setup.md
Run below steps,
root@sonic:
# config kubernetes server disable on# config kubernetes server iproot@sonic:
root@sonic:
# config kubernetes server disable off# show kubernetes server configroot@sonic:
ip port insecure disable
10.112.157.37 6443 False False
root@sonic:
# show kubernetes server status#Kubernetes server has no status info
root@sonic:
In syslog - Aug 16 23:22:56.666204 sonic WARNING show: :- operator(): Key '{KUBERNETES_MASTER|SERVER}' unavailable in database '{STATE_DB}'
Snippet of PTF test run log:
=========================== short test summary info ============================
FAILED k8s/test_config_reload.py::test_config_reload_no_toggle - Failed: DUT ...
FAILED k8s/test_config_reload.py::test_config_reload_toggle_join - Failed: Un...
FAILED k8s/test_config_reload.py::test_config_reload_toggle_reset - Failed: D...
FAILED k8s/test_disable_flag.py::test_disable_flag - Failed: DUT failed to su...
FAILED k8s/test_join_available_master.py::test_join_available_master - Failed...
========================== 5 failed in 776.00 seconds ==========================
E Failed: DUT shows unexpected kubernetes server connected status, Expected server connected status: False, Found server connected status: None
Show version info is given below.
SONiC Software Version: SONiC.202111.Innovium.3.0.0.20220816.015358
Distribution: Debian 11.4
Kernel: 5.10.0-8-2-amd64
Marvell SAI version: T2.0.1
Build commit: 003c8dfde
Expected - ‘show kubernetes server status’ should return correct status
The text was updated successfully, but these errors were encountered: