[ Nov 30 05:05:37 Enabled. ] [ Nov 30 05:05:37 Rereading configuration. ] [ Nov 30 05:05:39 Rereading configuration. ] [ Nov 30 05:05:41 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":"2023-11-30T05:05:42.140899374Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.142048618Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.142059278Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:05:42.350542932Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.695898436Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:58699"} {"msg":"region b7731fae-0fcc-42d2-8262-bd72a1a700f9 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.732087082Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.732959631Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.737544078Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"uri":"/crucible/0/regions","method":"POST","req_id":"167873be-d399-4bcf-9da1-af235a976c79","remote_addr":"[fd00:1122:3344:101::a]:58699","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":18802,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7731fae-0fcc-42d2-8262-bd72a1a700f9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.744087827Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7731fae-0fcc-42d2-8262-bd72a1a700f9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.744107197Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"b7731fae-0fcc-42d2-8262-bd72a1a700f9\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/b7731fae-0fcc-42d2-8262-bd72a1a700f9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.790751257Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"region":"b7731fae-0fcc-42d2-8262-bd72a1a700f9","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.974968256Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"region":"b7731fae-0fcc-42d2-8262-bd72a1a700f9","component":"worker"} {"msg":"region b7731fae-0fcc-42d2-8262-bd72a1a700f9 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.975027997Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.975103109Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-b7731fae-0fcc-42d2-8262-bd72a1a700f9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.977550771Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-b7731fae-0fcc-42d2-8262-bd72a1a700f9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.981920044Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.99539933Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-b7731fae-0fcc-42d2-8262-bd72a1a700f9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:37.999375084Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/b7731fae-0fcc-42d2-8262-bd72a1a700f9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.004623625Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.006633658Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.006696229Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.0067381Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.011603733Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.015282581Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"uri":"/crucible/0/regions","method":"POST","req_id":"f2cdf721-89b2-4f83-a9da-ad03c67c15c3","remote_addr":"[fd00:1122:3344:101::a]:58699","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:06:38.01803202Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.22543742Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:33466"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.229848124Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"uri":"/crucible/0/regions/b7731fae-0fcc-42d2-8262-bd72a1a700f9","method":"GET","req_id":"dbfe36f9-3cbc-412f-9599-3da96caf485f","remote_addr":"[fd00:1122:3344:101::a]:33466","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":4368,"response_code":"200"} {"msg":"path is \"/data/regions/b7731fae-0fcc-42d2-8262-bd72a1a700f9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.232283036Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7731fae-0fcc-42d2-8262-bd72a1a700f9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.24613242Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"datafile"} {"msg":"region b7731fae-0fcc-42d2-8262-bd72a1a700f9 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.254603329Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.255207302Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.255256533Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"uri":"/crucible/0/regions/b7731fae-0fcc-42d2-8262-bd72a1a700f9","method":"DELETE","req_id":"d6aa3d98-f654-485e-9055-a5abc6a895b6","remote_addr":"[fd00:1122:3344:101::a]:33466","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":25268,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.255449577Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"uri":"/crucible/0/regions/b7731fae-0fcc-42d2-8262-bd72a1a700f9","method":"GET","req_id":"e3ca8ccc-f4dd-44ed-8af4-db80ad839ffe","remote_addr":"[fd00:1122:3344:101::a]:33466","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":28,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-b7731fae-0fcc-42d2-8262-bd72a1a700f9 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.256331526Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.269291331Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7731fae-0fcc-42d2-8262-bd72a1a700f9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.278982406Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"region":"b7731fae-0fcc-42d2-8262-bd72a1a700f9","component":"worker"} {"msg":"region b7731fae-0fcc-42d2-8262-bd72a1a700f9 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.324887321Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T05:09:32.327837743Z","hostname":"oxz_crucible_5765b79d-36e9-4cb4-b065-c23ef20649ad","pid":21392,"uri":"/crucible/0/regions/b7731fae-0fcc-42d2-8262-bd72a1a700f9","method":"GET","req_id":"7e1bfdaa-1edd-41af-b453-afee9b46438d","remote_addr":"[fd00:1122:3344:101::a]:33466","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":104,"response_code":"200"}