Getting this error even though gVNIC is enable/active on my source instance. Steps to reproduce:
Each time I try this I get:
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
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