You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@carbon ~]# vmadm start 48fdf46a-12df-41e1-94d5-b322f2e98dd3
Unable to start VM 48fdf46a-12df-41e1-94d5-b322f2e98dd3: first of 1 error: Command failed: zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[2]='-U'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[3]='48fdf46a-12df-41e1-94d5-b322f2e98dd3'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[4]='-B'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[5]='1,manufacturer=Joyent,product=SmartDC HVM,version=7.20201001T070452Z,serial=48fdf46a-12df-41e1-94d5-b322f2e98dd3,sku=001,family=Virtual Machine'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[6]='-s'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[7]='31,lpc'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_attr_bootrom=uefi'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[8]='-l'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[9]='bootrom,/usr/share/bhyve/uefi-rom.bin'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_attr_com1=/dev/zconsole'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[10]='-l'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[11]='com1,/dev/zconsole'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_attr_com2=socket,/tmp/vm.ttyb'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[12]='-l'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[13]='com2,socket,/tmp/vm.ttyb'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_attr_hostbridge=<null>'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[14]='-s'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[15]='0,hostbridge,model=i440fx'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_attr_vcpus=4'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[16]='-c'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[17]='4'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_attr_ram=4096'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[18]='-m'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[19]='4096'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_device_resources=_dev_zvol_rdsk_zones_48fdf46a_12df_41e1_94d5_b322f2e98dd3_disk0 '
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_device__dev_zvol_rdsk_zones_48fdf46a_12df_41e1_94d5_b322f2e98dd3_disk0_path=/dev/zvol/rdsk/zones/48fdf46a-12df-41e1-94d5-b322f2e98dd3/disk0'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_device__dev_zvol_rdsk_zones_48fdf46a_12df_41e1_94d5_b322f2e98dd3_disk0_model=ahci'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_device__dev_zvol_rdsk_zones_48fdf46a_12df_41e1_94d5_b322f2e98dd3_disk0_boot=false'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_device__dev_zvol_rdsk_zones_48fdf46a_12df_41e1_94d5_b322f2e98dd3_disk0_pci_slot=0:4:0'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_device__dev_zvol_rdsk_zones_48fdf46a_12df_41e1_94d5_b322f2e98dd3_disk0_model=ahci'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_device__dev_zvol_rdsk_zones_48fdf46a_12df_41e1_94d5_b322f2e98dd3_disk0_model=ahci'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_device__dev_zvol_rdsk_zones_48fdf46a_12df_41e1_94d5_b322f2e98dd3_disk0_model=ahci'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_device__dev_zvol_rdsk_zones_48fdf46a_12df_41e1_94d5_b322f2e98dd3_disk0_media=disk'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[20]='-s'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[21]='0:4:0,ahci-hd,/dev/zvol/rdsk/zones/48fdf46a-12df-41e1-94d5-b322f2e98dd3/disk0'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_net_resources=net0 '
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': get_zcfg_var: '_ZONECFG_net_net0_primary=<null>'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[22]='-s'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': add_arg: argv[23]='6:1,virtio-net-viona,net0'
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': Error: no primary net has been specified
zone '48fdf46a-12df-41e1-94d5-b322f2e98dd3': exec /usr/lib/brand/bhyve/boot 48fdf46a-12df-41e1-94d5-b322f2e98dd3 /zones/48fdf46a-12df-41e1-94d5-b322f2e98dd3 failed
This was a zone without any nics, I then added one using
Yeah that fixed it, but validation of add_nics should catch that right? Or if it's the first nic, just add it. I believe the later happens on vmadm create.
This was a zone without any nics, I then added one using
This succeeds the validation, but results in a broken zone.
The text was updated successfully, but these errors were encountered: