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

BQ Data Transfer Configs stuck on "Updating" #1432

Closed
3 tasks done
AlexandruAG6 opened this issue Mar 26, 2024 · 3 comments · Fixed by #2688
Closed
3 tasks done

BQ Data Transfer Configs stuck on "Updating" #1432

AlexandruAG6 opened this issue Mar 26, 2024 · 3 comments · Fixed by #2688
Assignees
Labels
enhancement New feature or request

Comments

@AlexandruAG6
Copy link

Checklist

Bug Description

Scheduled Queries created via BQ Data Transfer Configs keep the KCC object stuck in "Updating", while a new Scheduled Query is created in GCP each update cycle.

Additional Diagnostic Information

I'm deploying a BQ Data Transfer Config via KCC, by applying a k8s manifest via Terraform. The Data Transfer Config is used to set up a Scheduled Query. The object is created in Kubernetes, and the actual Scheduled Query is created in GCP, but the k8s object is stuck continuously in the "Updating" state, and with each update cycle, a new Scheduled Query is created in GCP. The k8s object does not seem to be aware that the Scheduled Query is actually created, and will keep trying to create new ones.

Kubernetes Cluster Version

Server Version: v1.27.8-gke.1067004

Config Connector Version

1.113.0

Config Connector Mode

namespaced mode (default)

Log Output

No response

Steps to reproduce the issue

  1. deploy a BigQuery Scheduled Query via KCC
  2. check the status/count of the Scheduled Queries in GCP, and the status of the KCC object

YAML snippets

apiVersion: bigquerydatatransfer.cnrm.cloud.google.com/v1alpha1
kind: BigQueryDataTransferConfig
metadata:
  annotations:
    cnrm.cloud.google.com/management-conflict-prevention-policy: none
    cnrm.cloud.google.com/state-into-spec: merge
  creationTimestamp: "2024-03-26T09:54:58Z"
  finalizers:
  - cnrm.cloud.google.com/finalizer
  - cnrm.cloud.google.com/deletion-defender
  generation: 1
  name: tstquery9
  namespace: placeholder
  resourceVersion: "223432102"
  uid: aa945d85-6014-465b-bcd6-a99a17f98ac9
spec:
  dataSourceId: scheduled_query
  destinationDatasetId: test
  displayName: tstquery9
  location: EU
  params:
    destination_table_name_template: tsttable3
    query: SELECT qtr,nonrep FROM `project-placeholder.test.tsttable`
    write_disposition: WRITE_APPEND
  projectRef:
    name: project-placeholder
  schedule: every monday 08:00
@AlexandruAG6 AlexandruAG6 added the bug Something isn't working label Mar 26, 2024
@jingyih
Copy link
Collaborator

jingyih commented Apr 9, 2024

/assign

@jingyih jingyih added enhancement New feature or request and removed bug Something isn't working labels Apr 11, 2024
@jingyih
Copy link
Collaborator

jingyih commented Apr 11, 2024

This is an alpha resource. The request is to stabilize them and support them (i.e. move to beta).

@jingyih
Copy link
Collaborator

jingyih commented Sep 20, 2024

Scheduled Queries created via BQ Data Transfer Configs keep the KCC object stuck in "Updating", while a new Scheduled Query is created in GCP each update cycle.

We implemented direct cloud reconciler for this resource in Config Connector 1.123. This issue should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants