[ Feb 16 02:55:51 Enabled. ] [ Feb 16 02:55:51 Rereading configuration. ] [ Feb 16 02:55:52 Rereading configuration. ] [ Feb 16 02:55:55 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=oxControlService19 ++ 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::19 ++ 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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService19/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::19]: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":"2024-02-16T02:55:56.563481646Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:55:56.567318989Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:55:56.567330109Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:55:56.723841288Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.236483698Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:56124"} {"msg":"region 078fdebb-3957-4293-a9be-194e78367129 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.239468998Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.239685161Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"uri":"/crucible/0/regions","method":"POST","req_id":"aa5ebc29-c958-4c63-8647-7b2124bda7f2","remote_addr":"[fd00:1122:3344:101::b]:56124","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":1203,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.243786449Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/078fdebb-3957-4293-a9be-194e78367129","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.253919796Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/078fdebb-3957-4293-a9be-194e78367129","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.253947796Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"078fdebb-3957-4293-a9be-194e78367129\"), 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/078fdebb-3957-4293-a9be-194e78367129\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.306092186Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"region":"078fdebb-3957-4293-a9be-194e78367129","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.443865476Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"region":"078fdebb-3957-4293-a9be-194e78367129","component":"worker"} {"msg":"region 078fdebb-3957-4293-a9be-194e78367129 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.443924297Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.444005178Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-078fdebb-3957-4293-a9be-194e78367129","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.444413295Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-078fdebb-3957-4293-a9be-194e78367129","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.449836085Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.459727197Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-078fdebb-3957-4293-a9be-194e78367129","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.463600341Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/078fdebb-3957-4293-a9be-194e78367129","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.464316023Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.464411805Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.464456206Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.464495046Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.469126763Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.473368412Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:03.619362883Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"uri":"/crucible/0/regions","method":"POST","req_id":"b6d6f35a-dac3-422e-ab6d-8f927ac7b5b0","remote_addr":"[fd00:1122:3344:101::b]:56124","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.271680698Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:36064"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.27183467Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"uri":"/crucible/0/regions/078fdebb-3957-4293-a9be-194e78367129","method":"GET","req_id":"f9d42c07-5842-4000-a382-4425489c83b5","remote_addr":"[fd00:1122:3344:101::b]:36064","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":89,"response_code":"200"} {"msg":"path is \"/data/regions/078fdebb-3957-4293-a9be-194e78367129\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.272047424Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/078fdebb-3957-4293-a9be-194e78367129","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.281040762Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"datafile"} {"msg":"region 078fdebb-3957-4293-a9be-194e78367129 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.290205573Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.290344125Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.290408796Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"uri":"/crucible/0/regions/078fdebb-3957-4293-a9be-194e78367129","method":"DELETE","req_id":"cc81bfe0-6322-4726-8739-a6aed2a6b11f","remote_addr":"[fd00:1122:3344:101::b]:36064","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":18400,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.291088888Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"uri":"/crucible/0/regions/078fdebb-3957-4293-a9be-194e78367129","method":"GET","req_id":"6f1c5498-5801-4f0c-897d-c35371ebe28b","remote_addr":"[fd00:1122:3344:101::b]:36064","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":548,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-078fdebb-3957-4293-a9be-194e78367129 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.291577516Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.296133691Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/078fdebb-3957-4293-a9be-194e78367129\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.306105165Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"region":"078fdebb-3957-4293-a9be-194e78367129","component":"worker"} {"msg":"region 078fdebb-3957-4293-a9be-194e78367129 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.356402524Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T02:57:04.438563928Z","hostname":"oxz_crucible_64188d91-42e5-42bc-a261-117c1252cecd","pid":22764,"uri":"/crucible/0/regions/078fdebb-3957-4293-a9be-194e78367129","method":"GET","req_id":"e8c8e0ce-8967-4fda-9a94-6772a8b6f4af","remote_addr":"[fd00:1122:3344:101::b]:36064","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":111,"response_code":"200"}