[ Oct 18 19:05:22 Enabled. ] [ Oct 18 19:05:22 Rereading configuration. ] [ Oct 18 19:05:23 Rereading configuration. ] [ Oct 18 19:05:25 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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::18 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::18]: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-18T19:05:25.912491125Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.914989438Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.91499992Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:26.098151654Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.612024656Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:62372"} {"msg":"region f905f5a0-0f35-4bb1-b380-dfc2f2e2a440 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.68824415Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.691072425Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"uri":"/crucible/0/regions","method":"POST","req_id":"3700a5b9-4986-4bd2-88c7-5e336e011ea3","remote_addr":"[fd00:1122:3344:101::c]:62372","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":9818,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.692238515Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.701123244Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.701156145Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"f905f5a0-0f35-4bb1-b380-dfc2f2e2a440\"), 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/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.747506147Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"region":"f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.932162602Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"uri":"/crucible/0/regions","method":"POST","req_id":"7ded753e-ca24-4f74-8762-fe7b9ca1d70f","remote_addr":"[fd00:1122:3344:101::c]:62372","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.937411182Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"region":"f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","component":"worker"} {"msg":"region f905f5a0-0f35-4bb1-b380-dfc2f2e2a440 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.937430391Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.937580562Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.938095615Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.941023625Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.950883176Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.954011176Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.955085497Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.955150635Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.955190789Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.955225777Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.963234734Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:29.968796281Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:30.260051475Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"uri":"/crucible/0/regions","method":"POST","req_id":"5390a85a-e1b0-424d-9c3e-3487f93d33e9","remote_addr":"[fd00:1122:3344:101::c]:62372","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":111,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.229108086Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:39902"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.229262948Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"uri":"/crucible/0/regions/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","method":"GET","req_id":"c53eb134-3aed-47b8-a158-fe46b6ebbb64","remote_addr":"[fd00:1122:3344:101::c]:39902","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"path is \"/data/regions/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.22944465Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.241193394Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"datafile"} {"msg":"region f905f5a0-0f35-4bb1-b380-dfc2f2e2a440 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.251884522Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.252059725Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.252125896Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"uri":"/crucible/0/regions/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","method":"DELETE","req_id":"baea6f93-3045-45e8-b814-697bc1b644ea","remote_addr":"[fd00:1122:3344:101::c]:39902","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22701,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.252273718Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"uri":"/crucible/0/regions/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","method":"GET","req_id":"6d54688d-c562-44e2-ac8b-8057b52504e3","remote_addr":"[fd00:1122:3344:101::c]:39902","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-f905f5a0-0f35-4bb1-b380-dfc2f2e2a440 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.255720056Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.265993968Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.278089946Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"region":"f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.303937746Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"uri":"/crucible/0/regions/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","method":"GET","req_id":"6cf4ac1e-397c-45d3-a21c-d3ccc1118c31","remote_addr":"[fd00:1122:3344:101::c]:39902","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"region f905f5a0-0f35-4bb1-b380-dfc2f2e2a440 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.332599384Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:09:25.383195357Z","hostname":"oxz_crucible_72a63904-0ea8-4221-a9b7-739697956876","pid":20662,"uri":"/crucible/0/regions/f905f5a0-0f35-4bb1-b380-dfc2f2e2a440","method":"GET","req_id":"d11353f2-0092-464c-8e0d-140cffe7e150","remote_addr":"[fd00:1122:3344:101::c]:39902","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":27,"response_code":"200"}