[ Nov 20 07:51:58 Enabled. ] [ Nov 20 07:51:58 Rereading configuration. ] [ Nov 20 07:51:59 Rereading configuration. ] [ Nov 20 07:52:00 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=oxControlService15 ++ 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 + [[ oxControlService15 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService15 ipadm: Could not delete oxControlService15: Interface does not exist + true + ipadm create-if -t oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService15 + ipadm show-addr oxControlService15/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService15/ll + ipadm show-addr oxControlService15/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService15/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-11-20T07:52:00.607553496Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:52:00.610854571Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:52:00.610862451Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:52:00.684772989Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.934685253Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:38653"} {"msg":"region 2ff2e5af-a714-4aa7-a938-e718275eccda state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.954467578Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.962009055Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.962043245Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"uri":"/crucible/0/regions","method":"POST","req_id":"0ce230ec-d006-495a-a81f-4091666b8a35","remote_addr":"[fd00:1122:3344:101::c]:38653","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":14137,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/2ff2e5af-a714-4aa7-a938-e718275eccda","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.972368977Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/2ff2e5af-a714-4aa7-a938-e718275eccda","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.972397927Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"2ff2e5af-a714-4aa7-a938-e718275eccda\"), 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/2ff2e5af-a714-4aa7-a938-e718275eccda\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.022512192Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"region":"2ff2e5af-a714-4aa7-a938-e718275eccda","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.190837998Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"uri":"/crucible/0/regions","method":"POST","req_id":"a1235f99-9160-4642-914f-6975667b6459","remote_addr":"[fd00:1122:3344:101::c]:38653","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.226105024Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"region":"2ff2e5af-a714-4aa7-a938-e718275eccda","component":"worker"} {"msg":"region 2ff2e5af-a714-4aa7-a938-e718275eccda state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.226127795Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.226259047Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-2ff2e5af-a714-4aa7-a938-e718275eccda","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.228745046Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-2ff2e5af-a714-4aa7-a938-e718275eccda","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.232655122Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.242051725Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-2ff2e5af-a714-4aa7-a938-e718275eccda","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.244819919Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/2ff2e5af-a714-4aa7-a938-e718275eccda","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.245544703Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.245615544Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.245656705Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.245693756Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.249691974Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.259081226Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.639053992Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"uri":"/crucible/0/regions","method":"POST","req_id":"3b612bff-9403-4310-ac9d-e8f7e41b0f2f","remote_addr":"[fd00:1122:3344:101::c]:38653","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":89,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.429360422Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:51564"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.431844721Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"uri":"/crucible/0/regions/2ff2e5af-a714-4aa7-a938-e718275eccda","method":"GET","req_id":"b3e4972d-bd53-498f-81a6-4c77dd5512df","remote_addr":"[fd00:1122:3344:101::c]:51564","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":2438,"response_code":"200"} {"msg":"path is \"/data/regions/2ff2e5af-a714-4aa7-a938-e718275eccda\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.432066045Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/2ff2e5af-a714-4aa7-a938-e718275eccda","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.444017867Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"datafile"} {"msg":"region 2ff2e5af-a714-4aa7-a938-e718275eccda state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.453814408Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.45440034Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.454453571Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"uri":"/crucible/0/regions/2ff2e5af-a714-4aa7-a938-e718275eccda","method":"DELETE","req_id":"dc8862ef-21f9-448e-9fa1-436c821907a9","remote_addr":"[fd00:1122:3344:101::c]:51564","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":22477,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.454582543Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"uri":"/crucible/0/regions/2ff2e5af-a714-4aa7-a938-e718275eccda","method":"GET","req_id":"a705daea-298a-44f9-a542-b7aa799fb268","remote_addr":"[fd00:1122:3344:101::c]:51564","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":26,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-2ff2e5af-a714-4aa7-a938-e718275eccda (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.457454759Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.467973114Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/2ff2e5af-a714-4aa7-a938-e718275eccda\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.479247053Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"region":"2ff2e5af-a714-4aa7-a938-e718275eccda","component":"worker"} {"msg":"region 2ff2e5af-a714-4aa7-a938-e718275eccda state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.530936439Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.563494253Z","hostname":"oxz_crucible_f8c559b1-5e66-4e93-9478-2feb1a69060f","pid":21706,"uri":"/crucible/0/regions/2ff2e5af-a714-4aa7-a938-e718275eccda","method":"GET","req_id":"b879d08d-d7d1-45f2-bf71-343968c78753","remote_addr":"[fd00:1122:3344:101::c]:51564","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":69,"response_code":"200"}