[ Jan 31 21:19:41 Enabled. ] [ Jan 31 21:19:41 Rereading configuration. ] [ Jan 31 21:19:43 Rereading configuration. ] [ Jan 31 21:19:45 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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::16 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:46.671153569Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:46.681056488Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:46.681069088Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:46.954485767Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.327598688Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:33193"} {"msg":"region 7b4cb353-1515-4f75-a041-6665ef6e820f state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.342059553Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.342361215Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"uri":"/crucible/0/regions","method":"POST","req_id":"ddff7456-2dc4-46c8-a27f-374eddaebeaa","remote_addr":"[fd00:1122:3344:101::a]:33193","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":2799,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.346502138Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/7b4cb353-1515-4f75-a041-6665ef6e820f","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.355382339Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/7b4cb353-1515-4f75-a041-6665ef6e820f","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.355410839Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"7b4cb353-1515-4f75-a041-6665ef6e820f\"), 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/7b4cb353-1515-4f75-a041-6665ef6e820f\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.411351325Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"region":"7b4cb353-1515-4f75-a041-6665ef6e820f","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.715859503Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"uri":"/crucible/0/regions","method":"POST","req_id":"047da053-328c-4c57-a34e-ee3f1e946730","remote_addr":"[fd00:1122:3344:101::a]:33193","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":623,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.726494948Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"region":"7b4cb353-1515-4f75-a041-6665ef6e820f","component":"worker"} {"msg":"region 7b4cb353-1515-4f75-a041-6665ef6e820f state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.726513277Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.726639569Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-7b4cb353-1515-4f75-a041-6665ef6e820f","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.727048372Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-7b4cb353-1515-4f75-a041-6665ef6e820f","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.73057067Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.738368402Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-7b4cb353-1515-4f75-a041-6665ef6e820f","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.741712949Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/7b4cb353-1515-4f75-a041-6665ef6e820f","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.742460975Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.742586406Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.742631836Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.742675977Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.747438844Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:14.752181922Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:21:15.008757407Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"uri":"/crucible/0/regions","method":"POST","req_id":"b5fb27a3-9234-4ece-8c7b-a2f168c932e8","remote_addr":"[fd00:1122:3344:101::a]:33193","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":609,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.470275314Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:51587"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.470390435Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"uri":"/crucible/0/regions/7b4cb353-1515-4f75-a041-6665ef6e820f","method":"GET","req_id":"2963fc6f-dcfb-4410-8952-c760260aa700","remote_addr":"[fd00:1122:3344:101::a]:51587","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"path is \"/data/regions/7b4cb353-1515-4f75-a041-6665ef6e820f\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.484635308Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/7b4cb353-1515-4f75-a041-6665ef6e820f","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.493842382Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"datafile"} {"msg":"snapshot is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/7b4cb353-1515-4f75-a041-6665ef6e820f@3059f5d0-7848-47d3-98f8-2e259ba9f020","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.502264129Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/7b4cb353-1515-4f75-a041-6665ef6e820f\", \"3059f5d0-7848-47d3-98f8-2e259ba9f020\"]","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.502295039Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"ZfsSnapshotInterface"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.517040536Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"uri":"/crucible/0/regions/7b4cb353-1515-4f75-a041-6665ef6e820f/snapshots/3059f5d0-7848-47d3-98f8-2e259ba9f020","method":"GET","req_id":"5eb0188f-6f44-4f5d-8b24-46f04b2a6469","remote_addr":"[fd00:1122:3344:101::a]:51587","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":46532,"response_code":"200"} {"msg":"path is \"/data/regions/7b4cb353-1515-4f75-a041-6665ef6e820f\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.517256548Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/7b4cb353-1515-4f75-a041-6665ef6e820f","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.525383903Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"datafile"} {"msg":"snapshot is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/7b4cb353-1515-4f75-a041-6665ef6e820f@3059f5d0-7848-47d3-98f8-2e259ba9f020","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.533117824Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/7b4cb353-1515-4f75-a041-6665ef6e820f\", \"3059f5d0-7848-47d3-98f8-2e259ba9f020\"]","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.533147655Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"ZfsSnapshotInterface"} {"msg":"requesting running snapshot 7b4cb353-1515-4f75-a041-6665ef6e820f-3059f5d0-7848-47d3-98f8-2e259ba9f020 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.542011026Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"datafile"} {"msg":"applying SMF actions for region 7b4cb353-1515-4f75-a041-6665ef6e820f running snapshot 3059f5d0-7848-47d3-98f8-2e259ba9f020 (state Requested)...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.542803402Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.542851942Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"uri":"/crucible/0/regions/7b4cb353-1515-4f75-a041-6665ef6e820f/snapshots/3059f5d0-7848-47d3-98f8-2e259ba9f020/run","method":"POST","req_id":"0f902ee7-7734-4415-89cd-89af5b7696ec","remote_addr":"[fd00:1122:3344:101::a]:51587","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":25626,"response_code":"200"} {"msg":"creating missing snapshot instance snapshot-7b4cb353-1515-4f75-a041-6665ef6e820f-3059f5d0-7848-47d3-98f8-2e259ba9f020","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.551065598Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:snapshot-7b4cb353-1515-4f75-a041-6665ef6e820f-3059f5d0-7848-47d3-98f8-2e259ba9f020","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.565033979Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:snapshot-7b4cb353-1515-4f75-a041-6665ef6e820f-3059f5d0-7848-47d3-98f8-2e259ba9f020","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.608131442Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/7b4cb353-1515-4f75-a041-6665ef6e820f/.zfs/snapshot/3059f5d0-7848-47d3-98f8-2e259ba9f020","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.608435115Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19001","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.608494545Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"ensure mode SCF_TYPE_ASTRING ro","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.608539616Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.608581626Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.608631437Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.626858052Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.65296665Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"worker"} {"msg":"region 7b4cb353-1515-4f75-a041-6665ef6e820f running snapshot 3059f5d0-7848-47d3-98f8-2e259ba9f020 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:00.65298566Z","hostname":"oxz_crucible_bfd201eb-7daf-46b1-97cb-928d7695eeed","pid":22420,"component":"datafile"}