kubernetes/kops · error
no urls were specified
Error message
no urls were specified
What it means
addURLs was invoked with an empty URL list — the id segment after '@' split on commas produced zero URLs, so there is nothing to register for the asset.
Source
Thrown at upup/pkg/fi/assetstore.go:234
}
if i == -1 {
i = strings.Index(id, "@azureblob://")
}
if i != -1 {
urls := strings.Split(id[i+1:], ",")
hash, err := hashing.FromString(id[:i])
if err != nil {
return err
}
return a.addURLs(ctx, urls, hash)
}
// TODO: local files!
return fmt.Errorf("unknown asset format: %q", id)
}
func (a *AssetStore) addURLs(ctx context.Context, urls []string, hash *hashing.Hash) error {
if len(urls) == 0 {
return fmt.Errorf("no urls were specified")
}
var err error
if hash == nil {
for _, url := range urls {
hash, err = hashFromHTTPHeader(url)
if err != nil {
klog.Warningf("unable to get hash from %q: %v", url, err)
continue
} else {
break
}
}
if err != nil {
return err
}
}
View on GitHub (pinned to 4c8573c808)
Solutions
- Ensure at least one URL follows the '@' in the asset id
- Check for stray commas or truncation in the asset id string
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at upup/pkg/fi/assetstore.go:234 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/296790142ecb2064.
Report an issue: GitHub.