[ Oct 4 03:32:36 Enabled. ] [ Oct 4 03:32:36 Rereading configuration. ] [ Oct 4 03:32:38 Rereading configuration. ] [ Oct 4 03:32:39 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=oxControlService22 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::12 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService22/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.216039105Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.217100509Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.217111449Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.381256183Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.455539873Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:59255"} {"msg":"region e7b90ca6-21d4-4704-9f01-64c697a9ff1b state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.464350406Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.466179368Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.468480121Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"uri":"/crucible/0/regions","method":"POST","req_id":"61062e54-d19e-41ff-9618-eaee6bc1f45a","remote_addr":"[fd00:1122:3344:101::b]:59255","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":6175,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e7b90ca6-21d4-4704-9f01-64c697a9ff1b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.476595058Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e7b90ca6-21d4-4704-9f01-64c697a9ff1b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.476609818Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"e7b90ca6-21d4-4704-9f01-64c697a9ff1b\"), 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/e7b90ca6-21d4-4704-9f01-64c697a9ff1b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.534435392Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"region":"e7b90ca6-21d4-4704-9f01-64c697a9ff1b","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.695581017Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"uri":"/crucible/0/regions","method":"POST","req_id":"6a27fceb-f13f-470b-89bf-500cf6a9770d","remote_addr":"[fd00:1122:3344:101::b]:59255","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.730021031Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"region":"e7b90ca6-21d4-4704-9f01-64c697a9ff1b","component":"worker"} {"msg":"region e7b90ca6-21d4-4704-9f01-64c697a9ff1b state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.730044991Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.730186795Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-e7b90ca6-21d4-4704-9f01-64c697a9ff1b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.741229899Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-e7b90ca6-21d4-4704-9f01-64c697a9ff1b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.745272473Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.757576686Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-e7b90ca6-21d4-4704-9f01-64c697a9ff1b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.760446423Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/e7b90ca6-21d4-4704-9f01-64c697a9ff1b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.761115808Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.76121669Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.761263771Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.761302662Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.765511889Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.770291579Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:36.057374478Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"uri":"/crucible/0/regions","method":"POST","req_id":"581eb887-717b-4575-8da1-b4e573f137c6","remote_addr":"[fd00:1122:3344:101::b]:59255","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.393613493Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:59219"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.458160441Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"uri":"/crucible/0/regions/e7b90ca6-21d4-4704-9f01-64c697a9ff1b","method":"GET","req_id":"59fde517-2d57-4afc-bc15-8cc2a89b4c9f","remote_addr":"[fd00:1122:3344:101::b]:59219","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":2305,"response_code":"200"} {"msg":"path is \"/data/regions/e7b90ca6-21d4-4704-9f01-64c697a9ff1b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.458341645Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e7b90ca6-21d4-4704-9f01-64c697a9ff1b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.472226975Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"datafile"} {"msg":"region e7b90ca6-21d4-4704-9f01-64c697a9ff1b state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.483456224Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.484009827Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.484066358Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"uri":"/crucible/0/regions/e7b90ca6-21d4-4704-9f01-64c697a9ff1b","method":"DELETE","req_id":"dc4e9d73-fe2d-4b26-b2c6-cce4ae364e67","remote_addr":"[fd00:1122:3344:101::b]:59219","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":25741,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.487008916Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"uri":"/crucible/0/regions/e7b90ca6-21d4-4704-9f01-64c697a9ff1b","method":"GET","req_id":"abea6033-e725-4ae2-a4fb-e9a0c9bcb032","remote_addr":"[fd00:1122:3344:101::b]:59219","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":506,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-e7b90ca6-21d4-4704-9f01-64c697a9ff1b","v":0,"name":"crucible-agent","level":50,"time":"2023-10-04T03:36:25.494762585Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.49756179Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.511808428Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e7b90ca6-21d4-4704-9f01-64c697a9ff1b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.527234494Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"region":"e7b90ca6-21d4-4704-9f01-64c697a9ff1b","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.58522334Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"uri":"/crucible/0/regions/e7b90ca6-21d4-4704-9f01-64c697a9ff1b","method":"GET","req_id":"1722a72e-5034-4031-83b1-0b6a45cf2f4f","remote_addr":"[fd00:1122:3344:101::b]:59219","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":102,"response_code":"200"} {"msg":"region e7b90ca6-21d4-4704-9f01-64c697a9ff1b state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.590673446Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.660524077Z","hostname":"oxz_crucible_00118fe3-c1a9-46a6-a271-5d9e3a0b8a4f","pid":24308,"uri":"/crucible/0/regions/e7b90ca6-21d4-4704-9f01-64c697a9ff1b","method":"GET","req_id":"1a85fc6c-625b-4f9e-a36f-9a872ffef182","remote_addr":"[fd00:1122:3344:101::b]:59219","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":80,"response_code":"200"}