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]install mysql addon failed #8158

Open
ahjing99 opened this issue Sep 18, 2024 · 0 comments
Open

[BUG]install mysql addon failed #8158

ahjing99 opened this issue Sep 18, 2024 · 0 comments
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@ahjing99
Copy link
Collaborator

kbcli version
Kubernetes: v1.30.3-gke.1639000
KubeBlocks: 1.0.0-alpha.6
kbcli: 1.0.0-alpha.0


k get addon mysql -o yaml
apiVersion: extensions.kubeblocks.io/v1alpha1
kind: Addon
metadata:
  annotations:
    addon.kubeblocks.io/kubeblocks-version: '>=0.7.0'
    addons.extensions.kubeblocks.io/default-is-empty: "true"
    helm.sh/resource-policy: keep
    meta.helm.sh/release-name: kubeblocks
    meta.helm.sh/release-namespace: kb-system
  creationTimestamp: "2024-09-18T07:08:10Z"
  finalizers:
  - addon.kubeblocks.io/finalizer
  generation: 4
  labels:
    addon.kubeblocks.io/model: RDBMS
    addon.kubeblocks.io/name: mysql
    addon.kubeblocks.io/provider: community
    addon.kubeblocks.io/version: 1.0.0-alpha.0
    app.kubernetes.io/instance: kubeblocks
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: kubeblocks
  name: mysql
  resourceVersion: "5213955"
  uid: ccf4d52a-d6f0-4b14-a93b-6cc381e1e740
spec:
  defaultInstallValues:
  - enabled: true
    resources: {}
  description: MySQL is a widely used, open-source relational database management
    system (RDBMS).
  helm:
    chartLocationURL: file:///mysql-1.0.0-alpha.0.tgz
    chartsImage: docker.io/apecloud/kubeblocks-charts:1.0.0-alpha.6
    chartsPathInImage: /charts
    installValues: {}
    valuesMapping:
      jsonMap: {}
      valueMap: {}
  install:
    enabled: true
    resources: {}
  installable:
    autoInstall: true
  provider: community
  type: Helm
  version: 1.0.0-alpha.0
status:
  conditions:
  - lastTransitionTime: "2024-09-18T07:09:02Z"
    message: "Release \"kb-addon-mysql\" does not exist. Installing it now.\nError:
      release kb-addon-mysql failed, and has been uninstalled due to atomic being
      set: 5 errors occurred:\n\t* ComponentDefinition.apps.kubeblocks.io \"mysql-8.0-\"
      is invalid: metadata.name: Invalid value: \"mysql-8.0-\": a lowercase RFC 1123
      subdomain must consist of lower case alphanumeric characters, '-' or '.', and
      must start and end with an alphanumeric character (e.g. 'example.com', regex
      used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')\n\t*
      ComponentDefinition.apps.kubeblocks.io \"mysql-5.7-\" is invalid: metadata.name:
      Invalid value: \"mysql-5.7-\": a lowercase RFC 1123 subdomain must consist of
      lower case alphanumeric characters, '-' or '.', and must start and end with
      an alphanumeric character (e.g. 'example.com', regex used for validation is
      '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')\n\t* ComponentDefinition.apps.kubeblocks.io
      \"mysql-orc-8.0-\" is invalid: metadata.name: Invalid value: \"mysql-orc-8.0-\":
      a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters,
      '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com',
      regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')\n\t*
      ComponentDefinition.apps.kubeblocks.io \"mysql-8.4-\" is invalid: metadata.name:
      Invalid value: \"mysql-8.4-\": a lowercase RFC 1123 subdomain must consist of
      lower case alphanumeric characters, '-' or '.', and must start and end with
      an alphanumeric character (e.g. 'example.com', regex used for validation is
      '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')\n\t* ComponentDefinition.apps.kubeblocks.io
      \"mysql-orc-5.7-\" is invalid: metadata.name: Invalid value: \"mysql-orc-5.7-\":
      a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters,
      '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com',
      regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')\n\n\n"
    observedGeneration: 4
    reason: InstallationFailedLogs
    status: "False"
    type: InstallableChecked
  observedGeneration: 4
  phase: Failed


k logs install-mysql-addon-7fmlp -n kb-system
Defaulted container "helm" out of: helm, copy-charts (init)
Release "kb-addon-mysql" does not exist. Installing it now.
Error: release kb-addon-mysql failed, and has been uninstalled due to atomic being set: 5 errors occurred:
	* ComponentDefinition.apps.kubeblocks.io "mysql-8.0-" is invalid: metadata.name: Invalid value: "mysql-8.0-": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
	* ComponentDefinition.apps.kubeblocks.io "mysql-5.7-" is invalid: metadata.name: Invalid value: "mysql-5.7-": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
	* ComponentDefinition.apps.kubeblocks.io "mysql-orc-8.0-" is invalid: metadata.name: Invalid value: "mysql-orc-8.0-": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
	* ComponentDefinition.apps.kubeblocks.io "mysql-8.4-" is invalid: metadata.name: Invalid value: "mysql-8.4-": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
	* ComponentDefinition.apps.kubeblocks.io "mysql-orc-5.7-" is invalid: metadata.name: Invalid value: "mysql-orc-5.7-": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

@ahjing99 ahjing99 added the kind/bug Something isn't working label Sep 18, 2024
@ahjing99 ahjing99 added this to the Release 1.0.0 milestone Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants