kubernetes/kops · error

error describing volumes: %v

Error message

error describing volumes: %v

What it means

findEtcdStatus wraps Compute Disks.List failure while scanning each zone for the cluster's etcd volumes (to reconstruct etcd cluster status). It fires when the GCE API errors for a zone, aborting status discovery used by FindClusterStatus.

Source

Thrown at upup/pkg/fi/cloudup/gce/status.go:80

// FindEtcdStatus discovers the status of etcd, by looking for the tagged etcd volumes
func (c *gceCloudImplementation) findEtcdStatus(cluster *kops.Cluster) ([]kops.EtcdClusterStatus, error) {
	statusMap := make(map[string]*kops.EtcdClusterStatus)

	labels := c.Labels()

	zones, err := c.allZones()
	if err != nil {
		return nil, err
	}

	var disks []*compute.Disk

	// TODO: Filter disks query by Label?
	ctx := context.Background()
	for _, zone := range zones {
		l, err := c.compute.Disks().List(ctx, c.project, zone)
		if err != nil {
			return nil, fmt.Errorf("error describing volumes: %v", err)
		}
		for _, d := range l {
			klog.V(4).Infof("Found disk %q with labels %v", d.Name, d.Labels)

			match := true
			for k, v := range labels {
				if d.Labels[k] != v {
					match = false
				}
			}
			if match {
				disks = append(disks, d)
			}
		}
	}

	for _, disk := range disks {
		etcdClusterName := ""

View on GitHub (pinned to 4c8573c808)

Solutions

  1. Grant compute.disks.list permission
  2. Check quota and API health
  3. Retry the status operation
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at upup/pkg/fi/cloudup/gce/status.go:80 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of kubernetes/kops@4c8573c808 (2026-09-05). Data as JSON: /api/errors/f0bb8c97a16d1991. Report an issue: GitHub.