Skip to content

Instantly share code, notes, and snippets.

@lenw
Created February 26, 2019 21:00
Show Gist options
  • Save lenw/f2e5e0f2b77933913c0a39c093d5bc82 to your computer and use it in GitHub Desktop.
Save lenw/f2e5e0f2b77933913c0a39c093d5bc82 to your computer and use it in GitHub Desktop.
vm issue
February 26, 2019 at 07:44:57 PM UTC
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change 6 4
+ 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=31453355-5fcc-4d6e-bb03-a3604fc7a073
+ ZONEPATH=/zones/31453355-5fcc-4d6e-bb03-a3604fc7a073
+ state=6
+ cmd=4
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ pre == pre ]]
+ [[ 4 == 0 ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == pre ]]
+ [[ 4 == 4 ]]
+ [[ -n '' ]]
+ cleanup_net
+ flowadm remove-flow -t -z 31453355-5fcc-4d6e-bb03-a3604fc7a073 -l net0
flowadm: invalid link 'net0'
+ (( 1 != 0 ))
+ echo 'error removing flows for net0'
+ logger -p daemon.err 'zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 ' 'error removing flows for net0'
+ exit 0
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change result 0
February 26, 2019 at 08:17:48 PM UTC
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change 6 4
+ 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=31453355-5fcc-4d6e-bb03-a3604fc7a073
+ ZONEPATH=/zones/31453355-5fcc-4d6e-bb03-a3604fc7a073
+ state=6
+ cmd=4
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ pre == pre ]]
+ [[ 4 == 0 ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == pre ]]
+ [[ 4 == 4 ]]
+ [[ -n '' ]]
+ cleanup_net
+ flowadm remove-flow -t -z 31453355-5fcc-4d6e-bb03-a3604fc7a073 -l net0
flowadm: invalid link 'net0'
+ (( 1 != 0 ))
+ echo 'error removing flows for net0'
+ logger -p daemon.err 'zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 ' 'error removing flows for net0'
+ exit 0
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change result 0
February 26, 2019 at 08:22:51 PM UTC
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change 6 4
+ 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=31453355-5fcc-4d6e-bb03-a3604fc7a073
+ ZONEPATH=/zones/31453355-5fcc-4d6e-bb03-a3604fc7a073
+ state=6
+ cmd=4
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ pre == pre ]]
+ [[ 4 == 0 ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == pre ]]
+ [[ 4 == 4 ]]
+ [[ -n '' ]]
+ cleanup_net
+ flowadm remove-flow -t -z 31453355-5fcc-4d6e-bb03-a3604fc7a073 -l net0
flowadm: invalid link 'net0'
+ (( 1 != 0 ))
+ echo 'error removing flows for net0'
+ logger -p daemon.err 'zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 ' 'error removing flows for net0'
+ exit 0
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change result 0
February 26, 2019 at 08:22:57 PM UTC
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change 6 4
+ 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=31453355-5fcc-4d6e-bb03-a3604fc7a073
+ ZONEPATH=/zones/31453355-5fcc-4d6e-bb03-a3604fc7a073
+ state=6
+ cmd=4
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ pre == pre ]]
+ [[ 4 == 0 ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == pre ]]
+ [[ 4 == 4 ]]
+ [[ -n '' ]]
+ cleanup_net
+ flowadm remove-flow -t -z 31453355-5fcc-4d6e-bb03-a3604fc7a073 -l net0
flowadm: invalid link 'net0'
+ (( 1 != 0 ))
+ echo 'error removing flows for net0'
+ logger -p daemon.err 'zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 ' 'error removing flows for net0'
+ exit 0
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change result 0
February 26, 2019 at 08:23:02 PM UTC
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change 6 4
+ 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=31453355-5fcc-4d6e-bb03-a3604fc7a073
+ ZONEPATH=/zones/31453355-5fcc-4d6e-bb03-a3604fc7a073
+ state=6
+ cmd=4
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ pre == pre ]]
+ [[ 4 == 0 ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == pre ]]
+ [[ 4 == 4 ]]
+ [[ -n '' ]]
+ cleanup_net
+ flowadm remove-flow -t -z 31453355-5fcc-4d6e-bb03-a3604fc7a073 -l net0
flowadm: invalid link 'net0'
+ (( 1 != 0 ))
+ echo 'error removing flows for net0'
+ logger -p daemon.err 'zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 ' 'error removing flows for net0'
+ exit 0
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change result 0
February 26, 2019 at 08:28:59 PM UTC
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change 6 4
+ 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=31453355-5fcc-4d6e-bb03-a3604fc7a073
+ ZONEPATH=/zones/31453355-5fcc-4d6e-bb03-a3604fc7a073
+ state=6
+ cmd=4
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ pre == pre ]]
+ [[ 4 == 0 ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == pre ]]
+ [[ 4 == 4 ]]
+ [[ -n '' ]]
+ cleanup_net
+ flowadm remove-flow -t -z 31453355-5fcc-4d6e-bb03-a3604fc7a073 -l net0
flowadm: invalid link 'net0'
+ (( 1 != 0 ))
+ echo 'error removing flows for net0'
+ logger -p daemon.err 'zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 ' 'error removing flows for net0'
+ exit 0
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change result 0
February 26, 2019 at 08:38:54 PM UTC
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change 6 4
+ 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=31453355-5fcc-4d6e-bb03-a3604fc7a073
+ ZONEPATH=/zones/31453355-5fcc-4d6e-bb03-a3604fc7a073
+ state=6
+ cmd=4
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ pre == pre ]]
+ [[ 4 == 0 ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == pre ]]
+ [[ 4 == 4 ]]
+ [[ -n '' ]]
+ cleanup_net
+ flowadm remove-flow -t -z 31453355-5fcc-4d6e-bb03-a3604fc7a073 -l net0
flowadm: invalid link 'net0'
+ (( 1 != 0 ))
+ echo 'error removing flows for net0'
+ logger -p daemon.err 'zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 ' 'error removing flows for net0'
+ exit 0
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change result 0
February 26, 2019 at 08:55:05 PM UTC
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change 6 4
+ 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=31453355-5fcc-4d6e-bb03-a3604fc7a073
+ ZONEPATH=/zones/31453355-5fcc-4d6e-bb03-a3604fc7a073
+ state=6
+ cmd=4
+ VNDADM=/usr/sbin/vndadm
+ SNAPSHOT_DIR=root/checkpoints
+ OVERLAY_RULES=/var/run/smartdc/networking/overlay_rules.json
+ DEFAULT_MTU=1500
+ [[ pre == pre ]]
+ [[ 4 == 0 ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == post ]]
+ [[ pre == pre ]]
+ [[ 4 == 4 ]]
+ [[ -n '' ]]
+ cleanup_net
+ flowadm remove-flow -t -z 31453355-5fcc-4d6e-bb03-a3604fc7a073 -l net0
flowadm: invalid link 'net0'
+ (( 1 != 0 ))
+ echo 'error removing flows for net0'
+ logger -p daemon.err 'zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 ' 'error removing flows for net0'
+ exit 0
zone 31453355-5fcc-4d6e-bb03-a3604fc7a073 pre-state-change result 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment