Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Can't create instance of same type from snapshot (gVNIC error)

Getting this error even though gVNIC is enable/active on my source instance.  Steps to reproduce:

  1. Create instance (c4-standard, Ubuntu 22.04.5 LTS)
  2. Create snapshot of instance
  3. Attempt to create new instance using snapshot

Each time I try this I get:

Screenshot from 2025-03-06 09-45-06.png

 

But on the source template I verify gVNIC is enabled:

jorvis@instance-template:~$ sudo lshw -class network
*-network
description: Ethernet interface
product: Compute Engine Virtual Ethernet [gVNIC]
vendor: Google, Inc.
physical id: 3
bus info: pci@0000:00:03.0
logical name: ens3
version: 00
serial: 42:01:0a:8e:00:1d
width: 32 bits
clock: 33MHz
capabilities: msix bus_master cap_list ethernet physical
configuration: autonegotiation=off broadcast=yes driver=gve driverversion=1.0.0 duplex=full ip=10.142.0.29 latency=0 link=yes multicast=yes port=twisted pair
resources: irq:11 memory:d1202000-d1202fff memory:d1200000-d120007f memory:d1100000-d11fffff
0 1 122
1 REPLY 1

As an interesting note, if I use the CLI instead of the web interface to instantiate using that snapshot it works just fine:

gcloud compute instances create test-instance \
--machine-type=c4-standard-2 \
--zone=us-east1-b \
--source-snapshot=snapshot-test \
--network-interface=network-tier=PREMIUM,nic-type=GVNIC,stack-type=IPV4_ONLY,subnet=default