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]: When VolumeGroup Snapshot ReadyToUse, the VolumeSnapshot don't have Status #68

Closed
phuongatemc opened this issue Oct 20, 2021 · 9 comments
Labels
area/csi-powerflex Issue pertains to the CSI Driver for Dell EMC PowerFlex type/bug Something isn't working. This is the default label associated with a bug issue.

Comments

@phuongatemc
Copy link

When VolumeGroup Snapshot Ready, the VolumeSnapshot don't have Status

Steps to reproduce the behavior:

  • Using dellemc/csi-volumegroup-snapshotter:v0.2.0, I created VolumeGroup Snapshot of 3 PVCs with same label "volume-group=volumeGroup1" using controller code.
  • After the DellCsiVolumeGroupSnapshot.Status ReadyToUse is true, the code tried to fetch the VolumeSnapshot and found that it misses the Status field.
    VG Snapshot's Status: {
    "snapshotGroupID": "217b52c106138b0f-c56b7d7100000003",
    "snapshotGroupName": "volumegroup1-102021-184622",
    "snapshots": "volumegroup1-102021-184622-0-pvol0,volumegroup1-102021-184622-1-pvol1,volumegroup1-102021-184622-2-pvol2",
    "creationTime": "2021-10-20T18:45:25Z",
    "readyToUse": true,
    "status": "Complete"
    }
    ...
    Missing Status of volumesnapshot 'volumegroup1-102021-184622-2-pvol2' in ns 'helmtest-vxflexos'.
@phuongatemc phuongatemc added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels Oct 20, 2021
@nb950
Copy link

nb950 commented Oct 20, 2021

please retest with VG image 0.3.0 , seems related to issue reported in #67

@prablr79 prablr79 added the area/csi-powerflex Issue pertains to the CSI Driver for Dell EMC PowerFlex label Oct 21, 2021
@mjsdell mjsdell removed the needs-triage Issue requires triage. label Oct 21, 2021
@phuongatemc
Copy link
Author

I still saw this issue in 0.3.0 VolumeGroup Snapshotter.

@jooseppi-luna
Copy link
Contributor

Hi @phuongatemc -- can you give us access to the cluster with the issue? Also, could you give us:

  1. kubectl describe volumesnapshot xxx -n namespace output where status is missing
  2. kubectl logs of the external-snapshotter pod?
  3. The output of kubectl logs controller vg-snapshotter -n vxflexos
  4. The version of external-snapshotter you are running
  5. Please run the verify.sh script located in the scripts folder and send us the output.

@phuongatemc
Copy link
Author

I think this may be a timing issue because if I created the VolumeGroup Snapshot manually using kubectl commands, I've never seen this issue. I only saw this issue when I used golang code to fetch the VolumeSnapshots after they are created in the VolumeGroup Snapshot (Status.ReadyToUse == true). And even with golang code, it is intermittent.

@nb950
Copy link

nb950 commented Oct 28, 2021

talked to customer , suggest wait for volumesnapshot status to be updated , it may take a little time because external-snapshotter is responsible for updating status . if this is indeed the fix please confirm

@phuongatemc
Copy link
Author

I have implemented in my controller code to validate VolumeSnapshot and VolumeSnapshotContent and retry if they are not ready as discussed with Jai Kumar. So far I couldn't see the problem again.

@nb950
Copy link

nb950 commented Nov 4, 2021

created story action item to fix this in vgs controller.

@mjsdell
Copy link
Collaborator

mjsdell commented Nov 5, 2021

Marking this as closed per the above comment.

@mjsdell mjsdell closed this as completed Nov 5, 2021
@nb950 nb950 reopened this Nov 8, 2021
@bharathsreekanth
Copy link
Contributor

This issue was fixed as part of dell/csi-volumegroup-snapshotter#14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csi-powerflex Issue pertains to the CSI Driver for Dell EMC PowerFlex type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

No branches or pull requests

7 participants