Skip to content

Nodes without MD5 checksum cannot be downloaded from remote locations #400

@wilke

Description

@wilke

Summary

When downloading a node from a remote location, if the node has no MD5 checksum stored, the download fails with an error that acknowledges the issue needs fixing.

Location

shock-server/node/util.go:163-174

Current Code

if nodeInstance.File.Checksum["md5"] == "" {
    err = errors.New("(FMOpen) node has no md5 sum, needs to be fixed")
    return
}

Impact

  • Nodes uploaded without MD5 verification cannot be retrieved from remote storage
  • No fallback mechanism (e.g., compute MD5 after download)
  • Error message indicates this is a known issue: "needs to be fixed"

Expected Behavior

Options:

  1. Allow download without MD5 verification (with warning)
  2. Compute MD5 after download and update node
  3. Require MD5 at upload time to prevent this state

Priority

Medium - data accessibility issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions