admin管理员组文章数量:1406052
I've built an instance called "instance-template" (c4-standard) that I want to use as a template for instantiating other instances. OS type is Ubuntu 22.04.5 LTS. After all my code is set up, I create a snapshot of the disk and then try to create a new instance (also of type c4-standard) based on that snapshot. When I do, I keep getting the error "This boot disk source does not support gVNIC":
But following the instructions here I've verified that my source template does have gVNIC 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
What am I missing here?
I've built an instance called "instance-template" (c4-standard) that I want to use as a template for instantiating other instances. OS type is Ubuntu 22.04.5 LTS. After all my code is set up, I create a snapshot of the disk and then try to create a new instance (also of type c4-standard) based on that snapshot. When I do, I keep getting the error "This boot disk source does not support gVNIC":
But following the instructions here I've verified that my source template does have gVNIC 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
What am I missing here?
Share Improve this question edited Mar 6 at 15:55 Jorvis asked Mar 6 at 15:49 JorvisJorvis 3,2191 gold badge18 silver badges18 bronze badges1 Answer
Reset to default 2After you create a snapshot of the disk from the “instance-template” , the missing step is you need to create a boot disk from a snapshot by:
gcloud compute disks create (DISK_NAME) --source-snapshot (SNAPSHOT_NAME) --type=hyperdisk-balanced
Then create a new instance by EXISTING DISKS option then choose the created disk above.
本文标签: google cloud platformCan39t create a new instance from snapshot because of gVNICStack Overflow
版权声明:本文标题:google cloud platform - Can't create a new instance from snapshot because of gVNIC - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744964672a2634871.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论