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

[BUG] Some engines list-logs and enable-logs failedl, such as greptimedb/nebula/starrocks/risingwave/oracle-mysql/PolarDBX/OceanBase #5546

Closed
JashBook opened this issue Oct 19, 2023 · 1 comment
Assignees
Labels
bug kind/bug Something isn't working severity/minor It is better to fix the problem for a better user experience
Milestone

Comments

@JashBook
Copy link
Collaborator

JashBook commented Oct 19, 2023

Describe the bug
Some engines list-logs and enable-logs failed.

kbcli version
Kubernetes: v1.26.7-gke.500
KubeBlocks: 0.7.0-beta.7
kbcli: 0.7.0-beta.7

To Reproduce
Steps to reproduce the behavior:

  1. greptimedb
➜  ~ kbcli cluster list-logs greptime-xnqtbm
No log files found. You can enable the log feature with the kbcli command below.
kbcli cluster update greptime-xnqtbm --enable-all-logs=true --namespace default
➜  ~ kbcli cluster update greptime-xnqtbm --enable-all-logs=true --namespace default
error: failed to reconfigure log variables of target cluster: name is required
  1. nebula
➜  ~ kbcli cluster list-logs nebula-gufjdv
No log files found. You can enable the log feature with the kbcli command below.
kbcli cluster update nebula-gufjdv --enable-all-logs=true --namespace default
➜  ~ kbcli cluster update nebula-gufjdv --enable-all-logs=true --namespace default
error: failed to reconfigure log variables of target cluster: no config templates for component nebula-console
  1. starrocks
kbcli cluster list-logs starrock-beoyti 
No log files found. You can enable the log feature with the kbcli command below.
kbcli cluster update starrock-beoyti --enable-all-logs=true --namespace default
➜  ~ kbcli cluster update starrock-beoyti --enable-all-logs=true --namespace default
error: failed to reconfigure log variables of target cluster: name is required
  1. risingwave
➜  ~ kbcli cluster list-logs rswave-ycjkci
No log files found. You can enable the log feature with the kbcli command below.
kbcli cluster update rswave-ycjkci --enable-all-logs=true --namespace default
➜  ~ kbcli cluster update rswave-ycjkci --enable-all-logs=true --namespace default
error: failed to reconfigure log variables of target cluster: name is required
  1. oracle-mysql
➜  ~ kbcli cluster list-logs omysql-uanmwf
No log files found. You can enable the log feature with the kbcli command below.
kbcli cluster update omysql-uanmwf --enable-all-logs=true --namespace default
➜  ~ kbcli cluster update omysql-uanmwf --enable-all-logs=true --namespace default
cluster.apps.kubeblocks.io/omysql-uanmwf updated (no change)
➜  ~ kbcli cluster list-logs omysql-uanmwf
No log files found. You can enable the log feature with the kbcli command below.
kbcli cluster update omysql-uanmwf --enable-all-logs=true --namespace default
  1. Polardbx
➜  ~ kbcli cluster list-logs polardbx-sbpppl
No log files found. You can enable the log feature with the kbcli command below.
kbcli cluster update polardbx-sbpppl --enable-all-logs=true --namespace default
➜  ~ kbcli cluster update polardbx-sbpppl --enable-all-logs=true --namespace default
error: failed to reconfigure log variables of target cluster: no config templates for component gms

  1. OceanBase
➜  ~  kbcli cluster list-logs ocbase-rxojaj
No log files found. You can enable the log feature with the kbcli command below.
kbcli cluster update ocbase-rxojaj --enable-all-logs=true --namespace default
➜  ~ kbcli cluster update ocbase-rxojaj --enable-all-logs=true --namespace default
error: failed to reconfigure log variables of target cluster: no config templates for component ob-bundle
  1. pika
➜  ~ kbcli cluster list-logs pika-orwvlw  
No log files found. You can enable the log feature with the kbcli command below.
kbcli cluster update pika-orwvlw --enable-all-logs=true --namespace default
➜  ~ kbcli cluster update pika-orwvlw --enable-all-logs=true --namespace default
error: failed to reconfigure log variables of target cluster: name is required

Expected behavior
fix list-logs and enable-logs

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
apecloud-mysql logconfigs
image

postgresql logsconfigs
image

@JashBook JashBook added the kind/bug Something isn't working label Oct 19, 2023
@JashBook JashBook added this to the Release 0.7.0 milestone Oct 19, 2023
@JashBook JashBook added the severity/minor It is better to fix the problem for a better user experience label Oct 19, 2023
@JashBook JashBook changed the title [BUG] Some engines list-logs and enable-logs failed [BUG] Some engines list-logs and enable-logs failedl, such as greptimedb/nebula/starrocks/risingwave/oracle-mysql Oct 19, 2023
@ahjing99 ahjing99 changed the title [BUG] Some engines list-logs and enable-logs failedl, such as greptimedb/nebula/starrocks/risingwave/oracle-mysql [BUG] Some engines list-logs and enable-logs failedl, such as greptimedb/nebula/starrocks/risingwave/oracle-mysql/PolarDBX/OceanBase Oct 19, 2023
@ahjing99 ahjing99 modified the milestones: Release 0.7.0, Release 0.8.0 Nov 6, 2023
@ahjing99 ahjing99 modified the milestones: Release 0.8.0, Release 0.9.0 Jan 12, 2024
@ahjing99 ahjing99 modified the milestones: Release 0.9.0, Release 0.9.1 Jul 8, 2024
@github-actions github-actions bot modified the milestones: Release 0.9.1, Release 0.9.2 Aug 8, 2024
@github-actions github-actions bot modified the milestones: Release 0.9.2, Release 0.8.5 Oct 8, 2024
@shanshanying
Copy link
Contributor

These Addons does not support 'log' api. User may use kubectl logs <podName> -c <containerName> to check logs instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug kind/bug Something isn't working severity/minor It is better to fix the problem for a better user experience
Projects
None yet
Development

No branches or pull requests

4 participants