[ Dec 11 18:48:07 Enabled. ] [ Dec 11 18:48:07 Rereading configuration. ] [ Dec 11 18:48:11 Rereading configuration. ] [ Dec 11 18:48:20 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=oxControlService13 ++ 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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 + [[ oxControlService13 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService13 ipadm: Could not delete oxControlService13: Interface does not exist + true + ipadm create-if -t oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 + ipadm show-addr oxControlService13/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService13/ll + ipadm show-addr oxControlService13/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService13/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:48:21.562932085Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:48:21.566450515Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:48:21.566464066Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:48:21.787107255Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:01.827875294Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:37416"} {"msg":"region 6beab47c-aab0-47b3-9614-30f596e1f9c9 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:01.911954526Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:01.91780177Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"uri":"/crucible/0/regions","method":"POST","req_id":"a735341b-15e1-4cce-9dd8-fef4511c544a","remote_addr":"[fd00:1122:3344:101::a]:37416","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":23538,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:01.917853941Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/6beab47c-aab0-47b3-9614-30f596e1f9c9","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:01.929445748Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/6beab47c-aab0-47b3-9614-30f596e1f9c9","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:01.929487039Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6beab47c-aab0-47b3-9614-30f596e1f9c9\"), 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/6beab47c-aab0-47b3-9614-30f596e1f9c9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:01.984749418Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"region":"6beab47c-aab0-47b3-9614-30f596e1f9c9","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.200495416Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"uri":"/crucible/0/regions","method":"POST","req_id":"db1bce87-cad7-48e3-95f4-b3ab4600288b","remote_addr":"[fd00:1122:3344:101::a]:37416","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.334573166Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"region":"6beab47c-aab0-47b3-9614-30f596e1f9c9","component":"worker"} {"msg":"region 6beab47c-aab0-47b3-9614-30f596e1f9c9 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.334606887Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.33473362Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6beab47c-aab0-47b3-9614-30f596e1f9c9","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.340455162Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6beab47c-aab0-47b3-9614-30f596e1f9c9","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.350024311Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.372986719Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6beab47c-aab0-47b3-9614-30f596e1f9c9","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.37869476Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6beab47c-aab0-47b3-9614-30f596e1f9c9","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.379801686Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.379865077Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.379907718Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.379946629Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.384054143Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.401006923Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:02.86704775Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"uri":"/crucible/0/regions","method":"POST","req_id":"8521dfcd-5485-4715-8ed1-3f98601a0088","remote_addr":"[fd00:1122:3344:101::a]:37416","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.650771812Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:44464"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.653538296Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"uri":"/crucible/0/regions/6beab47c-aab0-47b3-9614-30f596e1f9c9","method":"GET","req_id":"1bbb9cb6-3d9c-468d-8588-e13048075ba1","remote_addr":"[fd00:1122:3344:101::a]:44464","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":2739,"response_code":"200"} {"msg":"path is \"/data/regions/6beab47c-aab0-47b3-9614-30f596e1f9c9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.653737481Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/6beab47c-aab0-47b3-9614-30f596e1f9c9","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.664726103Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"datafile"} {"msg":"region 6beab47c-aab0-47b3-9614-30f596e1f9c9 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.673587077Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.673758541Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"disabling downstairs instance: downstairs-6beab47c-aab0-47b3-9614-30f596e1f9c9 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.674796244Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.675704715Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"uri":"/crucible/0/regions/6beab47c-aab0-47b3-9614-30f596e1f9c9","method":"DELETE","req_id":"060bfb44-b3db-48a4-8323-8014425105fb","remote_addr":"[fd00:1122:3344:101::a]:44464","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":22002,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.675841518Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"uri":"/crucible/0/regions/6beab47c-aab0-47b3-9614-30f596e1f9c9","method":"GET","req_id":"baf50821-142f-49f4-83c2-d37848a8b49a","remote_addr":"[fd00:1122:3344:101::a]:44464","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.681776055Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/6beab47c-aab0-47b3-9614-30f596e1f9c9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.69112593Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"region":"6beab47c-aab0-47b3-9614-30f596e1f9c9","component":"worker"} {"msg":"region 6beab47c-aab0-47b3-9614-30f596e1f9c9 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.734074036Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:55:32.787118875Z","hostname":"oxz_crucible_b5430a46-177b-4d96-8b94-95f0af63065e","pid":21908,"uri":"/crucible/0/regions/6beab47c-aab0-47b3-9614-30f596e1f9c9","method":"GET","req_id":"c8b4c3a2-d8b6-428a-adf1-3c41342c7670","remote_addr":"[fd00:1122:3344:101::a]:44464","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":58,"response_code":"200"}