[ Oct 24 01:16:34 Enabled. ] [ Oct 24 01:16:34 Rereading configuration. ] [ Oct 24 01:16:38 Rereading configuration. ] [ Oct 24 01:16:40 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=oxControlService11 ++ 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::15 ++ 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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService11/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::15]: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-24T01:16:41.079299934Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.084526126Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.084536977Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.365130523Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.346482181Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:56640"} {"msg":"region e6368670-206b-4c7b-9db8-fda46bf0beb7 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.409619933Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.412836686Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"uri":"/crucible/0/regions","method":"POST","req_id":"d4e85638-611e-4ec4-aa5f-1dbd7905f873","remote_addr":"[fd00:1122:3344:101::c]:56640","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":3906,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.412867317Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e6368670-206b-4c7b-9db8-fda46bf0beb7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.423279881Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e6368670-206b-4c7b-9db8-fda46bf0beb7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.423318432Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"e6368670-206b-4c7b-9db8-fda46bf0beb7\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 16, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/e6368670-206b-4c7b-9db8-fda46bf0beb7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.476976027Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"region":"e6368670-206b-4c7b-9db8-fda46bf0beb7","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.670679934Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"region":"e6368670-206b-4c7b-9db8-fda46bf0beb7","component":"worker"} {"msg":"region e6368670-206b-4c7b-9db8-fda46bf0beb7 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.670730555Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.670798236Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-e6368670-206b-4c7b-9db8-fda46bf0beb7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.671308846Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-e6368670-206b-4c7b-9db8-fda46bf0beb7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.674887067Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.683496616Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-e6368670-206b-4c7b-9db8-fda46bf0beb7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.686327592Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/e6368670-206b-4c7b-9db8-fda46bf0beb7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.687064986Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.687139648Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.687185979Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.687227319Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.692441022Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.700837097Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.747844521Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"uri":"/crucible/0/regions","method":"POST","req_id":"72bbc7cd-f1b4-4b71-88bc-95f713336c47","remote_addr":"[fd00:1122:3344:101::c]:56640","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.379373857Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:61074"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.442794224Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"uri":"/crucible/0/regions/e6368670-206b-4c7b-9db8-fda46bf0beb7","method":"GET","req_id":"a9dbdff6-0e63-4cd3-83df-7d741a08621e","remote_addr":"[fd00:1122:3344:101::c]:61074","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":129,"response_code":"200"} {"msg":"path is \"/data/regions/e6368670-206b-4c7b-9db8-fda46bf0beb7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.44309557Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e6368670-206b-4c7b-9db8-fda46bf0beb7","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.455034394Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"datafile"} {"msg":"region e6368670-206b-4c7b-9db8-fda46bf0beb7 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.465364857Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.46551117Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.465574601Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"uri":"/crucible/0/regions/e6368670-206b-4c7b-9db8-fda46bf0beb7","method":"DELETE","req_id":"00e08fb2-0992-4d8d-9602-5ed6263b543b","remote_addr":"[fd00:1122:3344:101::c]:61074","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22519,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.465715844Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"uri":"/crucible/0/regions/e6368670-206b-4c7b-9db8-fda46bf0beb7","method":"GET","req_id":"551c7719-cc5f-477d-aad5-602dd81cbd09","remote_addr":"[fd00:1122:3344:101::c]:61074","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-e6368670-206b-4c7b-9db8-fda46bf0beb7 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.466567591Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.472023558Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e6368670-206b-4c7b-9db8-fda46bf0beb7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.483205788Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"region":"e6368670-206b-4c7b-9db8-fda46bf0beb7","component":"worker"} {"msg":"region e6368670-206b-4c7b-9db8-fda46bf0beb7 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.533637739Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.580270506Z","hostname":"oxz_crucible_0db13e5c-51e9-49b5-93b6-9b50dd1ddb5f","pid":24723,"uri":"/crucible/0/regions/e6368670-206b-4c7b-9db8-fda46bf0beb7","method":"GET","req_id":"9536b0d2-309d-4086-8601-6bf5a88240ca","remote_addr":"[fd00:1122:3344:101::c]:61074","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":73,"response_code":"200"}