[ Feb 15 05:58:36 Enabled. ] [ Feb 15 05:58:36 Rereading configuration. ] [ Feb 15 05:58:40 Rereading configuration. ] [ Feb 15 05:58:44 Executing start method ("/opt/oxide/lib/svc/manifest/crucible/agent.sh"). ] + . /lib/svc/share/smf_include.sh ++ SMF_EXIT_OK=0 ++ SMF_EXIT_NODAEMON=94 ++ SMF_EXIT_ERR_FATAL=95 ++ SMF_EXIT_ERR_CONFIG=96 ++ SMF_EXIT_MON_DEGRADE=97 ++ SMF_EXIT_MON_OFFLINE=98 ++ SMF_EXIT_ERR_NOSMF=99 ++ SMF_EXIT_ERR_PERM=100 ++ svcprop -c -p config/datalink svc:/oxide/crucible/agent:default + DATALINK=oxControlService17 ++ svcprop -c -p config/gateway svc:/oxide/crucible/agent:default + GATEWAY=fd00:1122:3344:101::1 ++ svcprop -c -p config/dataset svc:/oxide/crucible/agent:default + DATASET=oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::17 ++ svcprop -c -p config/listen_port svc:/oxide/crucible/agent:default + LISTEN_PORT=32345 ++ svcprop -c -p config/portbase svc:/oxide/crucible/agent:default + PORTBASE=19000 ++ svcprop -c -p config/downstairs_prefix svc:/oxide/crucible/agent:default + DOWNSTAIRS_PREFIX=downstairs ++ svcprop -c -p config/snapshot_prefix svc:/oxide/crucible/agent:default + SNAPSHOT_PREFIX=snapshot + [[ oxControlService17 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService17 ipadm: Could not delete oxControlService17: Interface does not exist + true + ipadm create-if -t oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17 + ipadm show-addr oxControlService17/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService17/ll + ipadm show-addr oxControlService17/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService17/omicron6 + route get -inet6 default -inet6 fd00:1122:3344:101::1 default: not in table + route add -inet6 default -inet6 fd00:1122:3344:101::1 add net default: gateway fd00:1122:3344:101::1 + args=('-D' '/opt/oxide/crucible/bin/crucible-downstairs' '--dataset' "$DATASET" '-l' "[$LISTEN_ADDR]:$LISTEN_PORT" '-P' "$PORTBASE" '-p' "$DOWNSTAIRS_PREFIX" '-s' "$SNAPSHOT_PREFIX") + exec /opt/oxide/crucible/bin/crucible-agent run -D /opt/oxide/crucible/bin/crucible-downstairs --dataset oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:58:44.674219201Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:58:44.676430094Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:58:44.676442134Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:58:44.889814113Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.449889637Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:65439"} {"msg":"region 8619bfd6-f23d-452c-99ab-fdfd881e0438 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.457812897Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.460823206Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.460853477Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"uri":"/crucible/0/regions","method":"POST","req_id":"c5d858bf-8ac5-4afa-9004-932a3f57e3fd","remote_addr":"[fd00:1122:3344:101::a]:65439","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":6122,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.470893667Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.470916408Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"8619bfd6-f23d-452c-99ab-fdfd881e0438\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 16, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.517961553Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"region":"8619bfd6-f23d-452c-99ab-fdfd881e0438","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.637601663Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"region":"8619bfd6-f23d-452c-99ab-fdfd881e0438","component":"worker"} {"msg":"region 8619bfd6-f23d-452c-99ab-fdfd881e0438 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.637642944Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.637735228Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-8619bfd6-f23d-452c-99ab-fdfd881e0438","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.638147541Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-8619bfd6-f23d-452c-99ab-fdfd881e0438","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.641112368Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.648723188Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-8619bfd6-f23d-452c-99ab-fdfd881e0438","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.65242081Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.653183175Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.653248247Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.653293488Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.65333402Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.657251918Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.661761667Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.758047969Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"uri":"/crucible/0/regions","method":"POST","req_id":"ead19fba-cb8b-45c9-800b-29ee745b0049","remote_addr":"[fd00:1122:3344:101::a]:65439","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":63,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.006608864Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:44980"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.006709688Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"uri":"/crucible/0/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438","method":"GET","req_id":"5c46fb73-927e-4cc6-9c22-de63ad401485","remote_addr":"[fd00:1122:3344:101::a]:44980","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":67,"response_code":"200"} {"msg":"path is \"/data/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.006878593Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.015751365Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"datafile"} {"msg":"region 8619bfd6-f23d-452c-99ab-fdfd881e0438 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.024177861Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.024309935Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.024363297Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"uri":"/crucible/0/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438","method":"DELETE","req_id":"2d159302-fc0f-4f70-b4a7-a51ae1c4d3c1","remote_addr":"[fd00:1122:3344:101::a]:44980","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":17503,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.024513662Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"uri":"/crucible/0/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438","method":"GET","req_id":"351cf983-0a05-40b3-af0a-f5a83b6368c3","remote_addr":"[fd00:1122:3344:101::a]:44980","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":17,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-8619bfd6-f23d-452c-99ab-fdfd881e0438 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.025579087Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.029878729Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.038627966Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"region":"8619bfd6-f23d-452c-99ab-fdfd881e0438","component":"worker"} {"msg":"region 8619bfd6-f23d-452c-99ab-fdfd881e0438 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.088095701Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.11182774Z","hostname":"oxz_crucible_1d816ece-0442-4979-9d32-7665ef85afde","pid":23716,"uri":"/crucible/0/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438","method":"GET","req_id":"1facfe35-47ad-481f-9ec4-b913b87731f5","remote_addr":"[fd00:1122:3344:101::a]:44980","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":51,"response_code":"200"}