I’m playing around with KVM on SmartOS for the first time. I’ve noticed that
when I attempt to create a KVM with RAM of say 1024, it works. If I bump that
to 2048 or 4096 then it fails with the following
timed out waiting for /var/svc/provisioning to move for
0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
I’ve tried using the following image
d42c37f4-2956-413f-b12a-32a79dfe84af ubuntu-certified-16.04 20180109 linux
zvol 2018-01-10
as well as trying to roll my own, that is boot from an os install cdrom. With
1024 or less it works and I can get to the vnc console. I found a log file in
/var/log/ related to my latest test, attached.
Any suggestions/pointers are welcomed.
[root@articulate /var/log]# cat zone_bh.0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
February 1, 2018 at 04:23:50 PM UTC
zone 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 pre-state-change 2 0
+ jst_ufpromisc=yes
+ jst_createvnd=yes
+ jst_simplefs=yes
+ jst_mdatapath=/var/run/smartdc
+ . /usr/lib/brand/jcommon/statechange
+ unset LD_LIBRARY_PATH
+ PATH=/usr/bin:/usr/sbin
+ export PATH
+ . /lib/sdc/config.sh
+ CACHE_FILE_JSON=/tmp/.config.json
+ NET_BOOT_FILE=/system/boot/networking.json
+ NET_BOOT_HN_FILE=/usbkey/boot/networking.json
+ OVERLAY_RULES_DIR=/var/run/smartdc/networking
+ OVERLAY_RULES_FILE=/var/run/smartdc/networking/overlay_rules.json
+ [[ pre == -json ]]
+ subcommand=pre
+ ZONENAME=0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
+ ZONEPATH=/zones/0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
+ state=2
+ cmd=0
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ pre == pre ]]
+ [[ 0 == 0 ]]
+ setup_fs
+ mkdir -m755 -p /var/zonecontrol/0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
+ uname -v
+ 1> /zones/0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377/lastbooted
+ [[ -n yes ]]
+ return
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == pre ]]
+ [[ 0 == 4 ]]
+ exit 0
zone 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 pre-state-change result 0
February 1, 2018 at 04:23:50 PM UTC
zone 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 post-state-change 2 0
+ jst_ufpromisc=yes
+ jst_createvnd=yes
+ jst_simplefs=yes
+ jst_mdatapath=/var/run/smartdc
+ . /usr/lib/brand/jcommon/statechange
+ unset LD_LIBRARY_PATH
+ PATH=/usr/bin:/usr/sbin
+ export PATH
+ . /lib/sdc/config.sh
+ CACHE_FILE_JSON=/tmp/.config.json
+ NET_BOOT_FILE=/system/boot/networking.json
+ NET_BOOT_HN_FILE=/usbkey/boot/networking.json
+ OVERLAY_RULES_DIR=/var/run/smartdc/networking
+ OVERLAY_RULES_FILE=/var/run/smartdc/networking/overlay_rules.json
+ [[ post == -json ]]
+ subcommand=post
+ ZONENAME=0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
+ ZONEPATH=/zones/0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
+ state=2
+ cmd=0
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ post == pre ]]
+ [[ post == post ]]
+ [[ 0 == 0 ]]
+ [[ -n '' ]]
+ setup_net
+ typeset tmp overlay tag id rule
+ eval echo '$_ZONECFG_net_net0_address'
+ echo
+ address=''
+ [[ -n '' ]]
+ eval echo '$_ZONECFG_net_net0_global_nic'
+ echo admin
+ global_nic=admin
+ [[ -z admin ]]
+ get_boolean_nic_property net0 dhcp_server
+ eval echo '$_ZONECFG_net_net0_dhcp_server'
+ echo
+ bool_val=''
+ [[ '' == 1 ]]
+ [[ '' == true ]]
+ echo false
+ dhcp_server=false
+ eval echo '$_ZONECFG_net_net0_mac_addr'
+ echo 82:40:ef:4e:e8:5e
+ mac_addr=82:40:ef:4e:e8:5e
+ eval echo '$_ZONECFG_net_net0_vlan_id'
+ echo
+ vlan_id=''
+ eval echo '$_ZONECFG_net_net0_blocked_outgoing_ports'
+ echo
+ blocked_outgoing_ports=''
+ eval echo '$_ZONECFG_net_net0_ips'
+ echo 10.0.0.59/24
+ zone_ips=10.0.0.59/24
+ eval echo '$_ZONECFG_net_net0_ip'
+ echo 10.0.0.59
+ zone_ip=10.0.0.59
+ eval echo '$_ZONECFG_net_net0_netmask'
+ echo 255.255.255.0
+ zone_netmask=255.255.255.0
+ get_boolean_nic_property net0 allow_dhcp_spoofing
+ eval echo '$_ZONECFG_net_net0_allow_dhcp_spoofing'
+ echo
+ bool_val=''
+ [[ '' == 1 ]]
+ [[ '' == true ]]
+ echo false
+ allow_dhcp_spoof=false
+ get_boolean_nic_property net0 allow_ip_spoofing
+ eval echo '$_ZONECFG_net_net0_allow_ip_spoofing'
+ echo
+ bool_val=''
+ [[ '' == 1 ]]
+ [[ '' == true ]]
+ echo false
+ allow_ip_spoof=false
+ get_boolean_nic_property net0 allow_mac_spoofing
+ eval echo '$_ZONECFG_net_net0_allow_mac_spoofing'
+ echo
+ bool_val=''
+ [[ '' == 1 ]]
+ [[ '' == true ]]
+ echo false
+ allow_mac_spoof=false
+ get_boolean_nic_property net0 allow_restricted_traffic
+ eval echo '$_ZONECFG_net_net0_allow_restricted_traffic'
+ echo
+ bool_val=''
+ [[ '' == 1 ]]
+ [[ '' == true ]]
+ echo false
+ allow_restricted_traffic=false
+ get_boolean_nic_property net0 allow_unfiltered_promisc
+ eval echo '$_ZONECFG_net_net0_allow_unfiltered_promisc'
+ echo
+ bool_val=''
+ [[ '' == 1 ]]
+ [[ '' == true ]]
+ echo false
+ allow_unfiltered_promisc=false
+ eval echo '$_ZONECFG_net_net0_allowed_ips'
+ echo
+ allowed_ips=''
+ eval echo '$_ZONECFG_net_net0_vrrp_vrid'
+ echo
+ vrid=''
+ eval echo '$_ZONECFG_net_net0_vrrp_primary_ip'
+ echo
+ vrrp_primary_ip=''
+ eval echo '$_ZONECFG_net_net0_mtu'
+ echo
+ mtu=''
+ isoverlay=''
+ [[ -z 10.0.0.59/24 ]]
+ orig_global=admin
+ sed -E 's_[a-zA-Z_0-9]+/[0-9]+__'
+ echo admin
+ tmp=admin
+ [[ -n admin ]]
+ [[ -z '' ]]
+ load_sdc_sysinfo
+ SYSINFO_LOADED=LOADED
+ eval echo '$SYSINFO_NIC_admin'
+ echo bnx1
+ global_nic=bnx1
+ [[ -z bnx1 ]]
+ dladm show-vnic -p -o LINK -z 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 net0
+ 1> /dev/null 2>& 1
+ (( 1 == 0 ))
+ [[ -z bnx1 ]]
+ [[ -n '' ]]
+ opt_str='-p '
+ [[ -z '' ]]
+ mtu=1500
+ opt_str='-p mtu=1500,'
+ opt_str='-p mtu=1500,zone=0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377'
+ [[ -n '' ]]
+ [[ -n 82:40:ef:4e:e8:5e ]]
+ opt_str='-p mtu=1500,zone=0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 -m
82:40:ef:4e:e8:5e'
+ [[ -n '' ]]
+ tname=tmp256300
+ dladm create-vnic -t -l bnx1 -p
mtu=1500,zone=0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 -m 82:40:ef:4e:e8:5e
tmp256300
+ 2>& 1
+ dout=''
+ (( 0 != 0 ))
+ dladm rename-link -z 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 tmp256300 net0
+ (( 0 != 0 ))
+ [[ -z 82:40:ef:4e:e8:5e ]]
+ [[ false == true ]]
+ [[ false == true ]]
+ enable_dhcp=false
+ comma=''
+ spoof_opts=''
+ [[ false != true ]]
+ spoof_opts=mac-nospoof
+ comma=,
+ [[ false != true ]]
+ spoof_opts=mac-nospoof,ip-nospoof
+ comma=,
+ [[ false != true ]]
+ spoof_opts=mac-nospoof,ip-nospoof,restricted
+ comma=,
+ [[ false == false ]]
+ spoof_opts=mac-nospoof,ip-nospoof,restricted,dhcp-nospoof
+ comma=,
+ [[ -n mac-nospoof,ip-nospoof,restricted,dhcp-nospoof ]]
+ dladm set-linkprop -t -z 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 -p
protection=mac-nospoof,ip-nospoof,restricted,dhcp-nospoof net0
+ (( 0 != 0 ))
+ [[ false != true ]]
+ unset allowed_ip_map
+ typeset -A allowed_ip_map
+ OLDIFS=$' \t\n'
+ IFS=,
+ [[ 10.0.0.59/24 != dhcp ]]
+ [[ 10.0.0.59/24 != addrconf ]]
+ sed 's|^\([^/]*\)/.*|\1|'
+ printf %s 10.0.0.59/24
+ clean_ip=10.0.0.59
+ allowed_ip_map[10.0.0.59]=true
+ IFS=$' \t\n'
+ [[ -n '' ]]
+ allowed_ip_list=''
+ separator=''
+ allowed_ip_list+=10.0.0.59
+ separator=,
+ [[ -n 10.0.0.59 ]]
+ dladm set-linkprop -t -z 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 -p
allowed-ips=10.0.0.59 net0
+ [[ -n yes ]]
+ [[ false == true ]]
+ [[ -n '' ]]
+ [[ -n yes ]]
+ /usr/sbin/vndadm create -z 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 net0
+ [[ 0 -ne 0 ]]
+ setup_fw
+ ipf_conf=/zones/0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377/config/ipf.conf
+ ipf6_conf=/zones/0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377/config/ipf6.conf
+ [ -e /zones/0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377/config/ipf.conf ]
+ [[ post == post ]]
+ [[ 0 == 1 ]]
+ [[ post == post ]]
+ [[ 2 == 6 ]]
+ [[ post == pre ]]
+ exit 0
zone 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 post-state-change result 0
February 1, 2018 at 04:23:50 PM UTC
zone 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 pre-state-change 2 1
+ jst_ufpromisc=yes
+ jst_createvnd=yes
+ jst_simplefs=yes
+ jst_mdatapath=/var/run/smartdc
+ . /usr/lib/brand/jcommon/statechange
+ unset LD_LIBRARY_PATH
+ PATH=/usr/bin:/usr/sbin
+ export PATH
+ . /lib/sdc/config.sh
+ CACHE_FILE_JSON=/tmp/.config.json
+ NET_BOOT_FILE=/system/boot/networking.json
+ NET_BOOT_HN_FILE=/usbkey/boot/networking.json
+ OVERLAY_RULES_DIR=/var/run/smartdc/networking
+ OVERLAY_RULES_FILE=/var/run/smartdc/networking/overlay_rules.json
+ [[ pre == -json ]]
+ subcommand=pre
+ ZONENAME=0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
+ ZONEPATH=/zones/0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
+ state=2
+ cmd=1
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ pre == pre ]]
+ [[ 1 == 0 ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == pre ]]
+ [[ 1 == 4 ]]
+ exit 0
zone 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 pre-state-change result 0
February 1, 2018 at 04:23:50 PM UTC
zone 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 post-state-change 2 1
+ jst_ufpromisc=yes
+ jst_createvnd=yes
+ jst_simplefs=yes
+ jst_mdatapath=/var/run/smartdc
+ . /usr/lib/brand/jcommon/statechange
+ unset LD_LIBRARY_PATH
+ PATH=/usr/bin:/usr/sbin
+ export PATH
+ . /lib/sdc/config.sh
+ CACHE_FILE_JSON=/tmp/.config.json
+ NET_BOOT_FILE=/system/boot/networking.json
+ NET_BOOT_HN_FILE=/usbkey/boot/networking.json
+ OVERLAY_RULES_DIR=/var/run/smartdc/networking
+ OVERLAY_RULES_FILE=/var/run/smartdc/networking/overlay_rules.json
+ [[ post == -json ]]
+ subcommand=post
+ ZONENAME=0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
+ ZONEPATH=/zones/0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
+ state=2
+ cmd=1
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ post == pre ]]
+ [[ post == post ]]
+ [[ 1 == 0 ]]
+ [[ post == post ]]
+ [[ 1 == 1 ]]
+ setup_cpu_baseline
+ nawk $'{\n\t\tif ($2 == "privileged") print $3\n\t }'
+ prctl -P -n zone.cpu-baseline -i zone 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377
+ curr_base=''
+ [ -n '' ]
+ nawk $'{\n\t if ($1 == "[ncpus:") print (substr($2, 1, length($2) - 1) *
100)\n\t}'
+ zonecfg -z 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 info capped-cpu
+ cap=''
+ [ -z '' ]
+ return
+ [[ post == post ]]
+ [[ 2 == 6 ]]
+ [[ post == pre ]]
+ exit 0
zone 0f5b30fb-8a5d-4fc2-ccd1-b0a578fa3377 post-state-change result 0
[root@articulate /var/log]#
sysinfo output
[root@articulate /var/log]# sysinfo
{
"Live Image": "20180118T013028Z",
"System Type": "SunOS",
"Boot Time": "1517485987",
"SDC Version": "7.0",
"Manufacturer": "HP",
"Product": "ProLiant DL360 G5",
"Serial Number": "123456",
"SKU Number": "",
"HW Version": "",
"HW Family": "ProLiant",
"Setup": "false",
"VM Capable": true,
"CPU Type": "Unknown",
"CPU Virtualization": "vmx",
"CPU Physical Cores": 0,
"UUID": "00000000-0000-3132-3334-353600000000",
"Hostname": "articulate",
"CPU Total Cores": 8,
"MiB of Memory": "49149",
"Zpool": "zones",
"Zpool Disks": "c1t0d0,c1t1d0,c1t2d0,c1t3d0,c1t4d0,c1t5d0",
"Zpool Profile": "raidz2",
"Zpool Creation": 1516845433,
"Zpool Size in GiB": 526,
"Disks": {
"c1t0d0": {"Size in GB": 146},
"c1t1d0": {"Size in GB": 146},
"c1t2d0": {"Size in GB": 146},
"c1t3d0": {"Size in GB": 146},
"c1t4d0": {"Size in GB": 146},
"c1t5d0": {"Size in GB": 146}
},
"Boot Parameters": {
"console": "vga",
"vga_mode": "115200,8,n,1,-",
"root_shadow": "$5$2HOHRnK3$NvLlm.1KQBbB0WjoP7xcIwGnllhzp2HnT.mDO7DpxYA",
"smartos": "true",
"boot_args": "",
"bootargs": ""
},
"Network Interfaces": {
"bnx1": {"MAC Address": "00:22:64:0d:68:22", "ip4addr": "10.0.0.8", "Link
Status": "up", "NIC Names": ["admin"]},
"bnx0": {"MAC Address": "00:22:64:0d:68:28", "ip4addr": "", "Link Status":
"down", "NIC Names": []},
"e1000g0": {"MAC Address": "00:1b:78:5c:46:98", "ip4addr": "", "Link
Status": "down", "NIC Names": []},
"e1000g1": {"MAC Address": "00:1b:78:5c:46:99", "ip4addr": "", "Link
Status": "down", "NIC Names": []}
},
"Virtual Network Interfaces": {
},
"Link Aggregations": {
}
}
[root@articulate /var/log]#
Thank you,
Chad
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com