Skip to content

vmdistributed: PVC is owned by both StatefulSet and VMCluster #1845

@vrutkovs

Description

@vrutkovs

Error message

reason: 'failed create or update vmcluster: failed to expand size for pvc vmstorage-db:
    PersistentVolumeClaim "vmstorage-db-vmstorage-az1-0" is invalid: metadata.ownerReferences:
    Invalid value: []v1.OwnerReference{v1.OwnerReference{APIVersion:"apps/v1", Kind:"StatefulSet",
    Name:"vmstorage-az1", UID:"81c58077-fecf-4bee-a466-233f9ab24fae", Controller:(*bool)(0xc0331fb26a),
    BlockOwnerDeletion:(*bool)(0xc0331fb26b)}, v1.OwnerReference{APIVersion:"operator.victoriametrics.com/v1beta1",
    Kind:"VMCluster", Name:"az1", UID:"795064e4-93f8-4d73-a1b8-4e40212fceb8", Controller:(*bool)(0xc0331fb26c),
    BlockOwnerDeletion:(*bool)(0xc0331fb26d)}}: Only one reference can have Controller
    set to true. Found "true" in references for StatefulSet/vmstorage-az1 and VMCluster/az1'
  updateStatus: failed

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions