title: Couldn't resolve host 'metadata.google.internal'
body: <p>My VM was running for 2 years uptime or even more with no problems.
  Several days ago I couldn't reach the website it hosts.</p>
  
  <p>I tried ssh but it failed to connect, so I restarted the VM and it fails to boot.</p>
  
  <p>Attaching the log from the serial console.
  I see problems resolving metadata server.</p>
  
  <p>What can be wrong?</p>
  
  <p>Thanks!</p>
  
  <pre><code>Nov 27 13:21:54 (none) /etc/mysql/debian-start[2326]: Upgrading MySQL tables if necessary.
  [[36minfo[39;49m] Checking for tables which need an upgrade, are corrupt or were 
  not closed cleanly..
  curl: (6) Couldn't resolve host 'metadata.google.internal'
  Nov 27 13:21:54 (none) google: 
  Nov 27 13:21:54 (none) google: No startup script found in metadata.
  Nov 27 13:21:54 (none) /etc/mysql/debian-start[2330]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
  Nov 27 13:21:54 (none) /etc/mysql/debian-start[2330]: Looking for 'mysql' as: /usr/bin/mysql
  Nov 27 13:21:54 (none) /etc/mysql/debian-start[2330]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
  Nov 27 13:21:54 (none) /etc/mysql/debian-start[2330]: This installation of MySQL is already upgraded to 5.5.52, use --force if you still need to run mysql_upgrade
  Nov 27 13:21:54 (none) /etc/mysql/debian-start[2377]: Checking for insecure root accounts.
  Nov 27 13:21:54 (none) /etc/mysql/debian-start[2382]: Triggering myisam-recover for all MyISAM tables
  Nov 27 13:21:56 (none) accounts-from-metadata: WARNING error while trying to update accounts: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  Nov 27 13:22:01 (none) accounts-from-metadata: WARNING error while trying to update accounts: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  Nov 27 13:22:06 (none) accounts-from-metadata: WARNING error while trying to update accounts: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  Nov 27 13:22:11 (none) accounts-from-metadata: WARNING error while trying to update accounts: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  Nov 27 13:22:16 (none) accounts-from-metadata: WARNING error while trying to update accounts: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  Nov 27 13:22:21 (none) accounts-from-metadata: WARNING error while trying to update accounts: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  Nov 27 13:22:26 (none) accounts-from-metadata: WARNING error while trying to update accounts: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  Nov 27 13:22:31 (none) accounts-from-metadata: WARNING error while trying to update accounts: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  Nov 27 13:22:37 (none) accounts-from-metadata: WARNING error while trying to update accounts: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  Nov 27 13:22:42 (none) accounts-from-metadata: WARNING error while trying to update accounts: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  Nov 27 13:22:47 (none) accounts-from-metadata: WARNING error while trying to update accounts: &lt;urlopen error [Errno 101] Network is unreachable&gt;
  </code></pre>