You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating a CSI Snapshot, Trident logs show a snapshot not found warning message.
If it corresponds to a pre-check to validate that the snapshot name does not already exist, the message should be different or not displayed in the warning category.
Also, there is no "level=info" message stating that the snapshot was successfully created
Describe the bug
When creating a CSI Snapshot, Trident logs show a snapshot not found warning message.
If it corresponds to a pre-check to validate that the snapshot name does not already exist, the message should be different or not displayed in the warning category.
Also, there is no "level=info" message stating that the snapshot was successfully created
Environment
Lab on Demand Kubernetes v4.0
Trident version: 21.07.1
Trident installation flags used: standard with Helm
Container runtime: Docker 18.09.1
Kubernetes version: 1.18.6
Kubernetes orchestrator: Kubernetes
OS: RHEL 7.5
NetApp backend types: ONTAP 9.8
To Reproduce
Configure the Trident Operator with debug: true
Create a PVC & a CSI Snapshot, then look at the logs in debug mode
Expected behavior
A message that is clearer for the users
Additional context
Here are some details about the configuration
& the logs
[root@rhel3 ~]# trident logs -d | grep 733e62a5
time="2021-08-24T07:07:34Z" level=debug msg="GRPC call: /csi.v1.Controller/CreateSnapshot" requestID=733e62a5-31ac-476b-b65d-92cf34f19136 requestSource=CSI
time="2021-08-24T07:07:34Z" level=debug msg="GRPC request: source_volume_id:"pvc-db577cec-ad10-4fc0-af17-cfffa5339bff" name:"snapshot-c6cd9740-e5bb-4391-b1ed-e97904604ac6" " requestID=733e62a5-31ac-476b-b65d-92cf34f19136 requestSource=CSI
time="2021-08-24T07:07:34Z" level=debug msg=">>>> CreateSnapshot" Method=CreateSnapshot Type=CSI_Controller requestID=733e62a5-31ac-476b-b65d-92cf34f19136 requestSource=CSI
time="2021-08-24T07:07:34Z" level=debug msg="Found no existing snapshot snapshot-c6cd9740-e5bb-4391-b1ed-e97904604ac6 in other volumes." requestID=733e62a5-31ac-476b-b65d-92cf34f19136 requestSource=CSI
time="2021-08-24T07:07:34Z" level=debug msg=AddVolumeTransaction name=pvc-db577cec-ad10-4fc0-af17-cfffa5339bff-snapshot-c6cd9740-e5bb-4391-b1ed-e97904604ac6 op=addSnapshot requestID=733e62a5-31ac-476b-b65d-92cf34f19136 requestSource=CSI
time="2021-08-24T07:07:34Z" level=debug msg="Attempting snapshot create." backend=nas-snap-reserve requestID=733e62a5-31ac-476b-b65d-92cf34f19136 requestSource=CSI snapshot=snapshot-c6cd9740-e5bb-4391-b1ed-e97904604ac6 volume=snapshot-c6cd9740-e5bb-4391-b1ed-e97904604ac6 volumeInternal=
time="2021-08-24T07:07:34Z" level=warning msg="Snapshot not found." requestID=733e62a5-31ac-476b-b65d-92cf34f19136 requestSource=CSI snapshotName=snapshot-c6cd9740-e5bb-4391-b1ed-e97904604ac6 volumeName=sr_pvc_db577cec_ad10_4fc0_af17_cfffa5339bff
time="2021-08-24T07:07:34Z" level=debug msg="<<<< CreateSnapshot" Method=CreateSnapshot Type=CSI_Controller requestID=733e62a5-31ac-476b-b65d-92cf34f19136 requestSource=CSI
time="2021-08-24T07:07:34Z" level=debug msg="GRPC response: snapshot:<size_bytes:299008 snapshot_id:"pvc-db577cec-ad10-4fc0-af17-cfffa5339bff/snapshot-c6cd9740-e5bb-4391-b1ed-e97904604ac6" source_volume_id:"pvc-db577cec-ad10-4fc0-af17-cfffa5339bff" creation_time:<seconds:1629788852 > ready_to_use:true > " requestID=733e62a5-31ac-476b-b65d-92cf34f19136 requestSource=CSI
The text was updated successfully, but these errors were encountered: