{"record":{"id":"7ef6254004f3dca1","repo":"kubernetes/kops","slug":"error-describing-volumes-v-7ef625","errorCode":null,"errorMessage":"error describing volumes: %v","messagePattern":"error describing volumes: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/awsup/status.go","lineNumber":75,"sourceCode":"// findEtcdStatus discovers the status of etcd, by looking for the tagged etcd volumes\nfunc findEtcdStatus(c AWSCloud, cluster *kops.Cluster) ([]kops.EtcdClusterStatus, error) {\n\tklog.V(2).Infof(\"Querying AWS for etcd volumes\")\n\tstatusMap := make(map[string]*kops.EtcdClusterStatus)\n\n\ttags := c.Tags()\n\n\trequest := &ec2.DescribeVolumesInput{}\n\tfor k, v := range tags {\n\t\trequest.Filters = append(request.Filters, NewEC2Filter(\"tag:\"+k, v))\n\t}\n\n\tvar volumes []ec2types.Volume\n\tklog.V(2).Infof(\"Listing EC2 Volumes\")\n\tpaginator := ec2.NewDescribeVolumesPaginator(c.EC2(), request)\n\tfor paginator.HasMorePages() {\n\t\tpage, err := paginator.NextPage(context.TODO())\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"error describing volumes: %v\", err)\n\t\t}\n\t\tvolumes = append(volumes, page.Volumes...)\n\t}\n\n\tvar err error\n\tfor _, volume := range volumes {\n\t\tvolumeID := aws.ToString(volume.VolumeId)\n\n\t\tetcdClusterName := \"\"\n\t\tvar etcdClusterSpec *etcd.EtcdClusterSpec\n\t\tmaster := false\n\t\tfor _, tag := range volume.Tags {\n\t\t\tk := aws.ToString(tag.Key)\n\t\t\tv := aws.ToString(tag.Value)\n\n\t\t\tif strings.HasPrefix(k, TagNameEtcdClusterPrefix) {\n\t\t\t\tetcdClusterName = strings.TrimPrefix(k, TagNameEtcdClusterPrefix)\n\t\t\t\tetcdClusterSpec, err = etcd.ParseEtcdClusterSpec(etcdClusterName, v)","sourceCodeStart":57,"sourceCodeEnd":93,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/awsup/status.go#L57-L93","documentation":"The paginated EC2 DescribeVolumes call failed while findEtcdStatus searched for etcd volumes by cluster tags. Fires on API errors, throttling, or missing ec2:DescribeVolumes permission, aborting cluster status discovery.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/awsup/status.go:75 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify ec2:DescribeVolumes permission","Retry the kops operation (e.g. 'kops validate cluster') after transient failures","Check the wrapped error for throttling and back off"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"4c8573c808a73d578c5eadc86d410646ea0b0d73","analyzedAt":"2026-09-05T04:13:19.212Z","contentChangedAt":"2026-09-05T04:13:19.212Z","schemaVersion":2},"datasetVersion":"2026-09-12T07:17:12.445Z"}