Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Not able to move replica's #233

@boedy

Description

@boedy

Moving replica’s doesn’t work unfortunately:

➜ ondat describe volume pvc-8a4d6583-23c7-4869-9325-ba0bf42a174f -n main
ID                    e455a29a-2a32-42c2-9234-21a613f84522
Name                  pvc-8a4d6583-23c7-4869-9325-ba0bf42a174f
Description
AttachedOn            us-west-e37f (3ed1a3fc-bbfe-4cbc-996f-bda12795600b)
Attachment Type       host
NFS
  Service Endpoint
  Exports:
Namespace             main (a92a8f34-4cfa-4db1-bca2-a266e0906acc)
Labels                app.kubernetes.io/component=primary,
                      app.kubernetes.io/instance=state,
                      app.kubernetes.io/name=mariadb,
                      csi.storage.k8s.io/pv/name=pvc-8a4d6583-23c7-4869-9325-ba0bf42a174f,
                      csi.storage.k8s.io/pvc/name=data-state-mariadb-0,
                      csi.storage.k8s.io/pvc/namespace=main,
                      storageos.com/nocompress=true,
                      storageos.com/replicas=1
Topology Preferences
  Requisite Zones:    []
  Preferred Zones:    []
Filesystem            ext4
Size                  10 GiB (10737418240 bytes)
Version               OA
Created at            2023-03-16T13:00:51Z (18 minutes ago)
Updated at            2023-03-16T13:19:05Z (4 seconds ago)

Master:
  ID                  bebe7fbb-a0bf-4d32-aa8e-de46ba705216
  Node                us-west-d446 (50b9f492-7b53-4c9b-9961-2cddbf1a6446)
  Health              online

Replicas:
  ID                  e55936b1-0c8a-432f-9290-2413a751ad21
  Node                us-west-e37f (3ed1a3fc-bbfe-4cbc-996f-bda12795600b)
  Health              ready
  Promotable          true
➜  ondat update volume move e55936b1-0c8a-432f-9290-2413a751ad21 3ed1a3fc-bbfe-4cbc-996f-bda12795600b 50b9f492-7b53-4c9b-9961-2cddbf1a6446 -n main --use-ids
Error: volume not found for id e55936b1-0c8a-432f-9290-2413a751ad21
command terminated with exit code 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions