Articles in this section

Cannot create VPS in SolusVM 2: cannot calculate size of image: cannot make HEAD request

Applicable to:

  • SolusVM 2

Symptoms

  1. Cannot create VPS in SolusVM 2 - the following error is shown in SolusVM 2 > Tasks > vm-create:

    SVM_ERROR: cannot calculate size of image: cannot make HEAD request

  2. On the affected Compute Resource, the following can be found in /var/log/solus/agent.log

    CONFIG_TEXT: [ERR] HEAD <link> request failed: Head <link>: dial tcp: lookup example.com on [::1]:53: read udp [::1]:49012->[::1]:53: read: connection refused

Cause

Invalid nameservers in /etc/resolv.conf on Compute Resource.

Resolution

  1. Access Compute Resource over SSH.
  2. Set standard Google nameservers in /etc/resolv.conf:

# echo "nameserver 8.8.8.8" > /etc/resolv.conf

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.