[ Feb 17 07:54:58 Enabled. ] [ Feb 17 07:54:58 Rereading configuration. ] [ Feb 17 07:55:01 Rereading configuration. ] [ Feb 17 07:55:05 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_14b4dc87-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 + [[ 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::12 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_14b4dc87-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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:55:06.504922418Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:55:06.508641235Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:55:06.508652091Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:55:06.820519097Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.804950182Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:48972"} {"msg":"region a05007b3-0869-4ae2-9c03-ed3cdf293627 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.850067615Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.855365403Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.855414095Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"uri":"/crucible/0/regions","method":"POST","req_id":"f712e6ac-e204-4bbf-9394-49d8215ba37f","remote_addr":"[fd00:1122:3344:101::c]:48972","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":14441,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a05007b3-0869-4ae2-9c03-ed3cdf293627","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.864739324Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a05007b3-0869-4ae2-9c03-ed3cdf293627","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.864760985Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"a05007b3-0869-4ae2-9c03-ed3cdf293627\"), 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/a05007b3-0869-4ae2-9c03-ed3cdf293627\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.948248918Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"region":"a05007b3-0869-4ae2-9c03-ed3cdf293627","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.093175751Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"region":"a05007b3-0869-4ae2-9c03-ed3cdf293627","component":"worker"} {"msg":"region a05007b3-0869-4ae2-9c03-ed3cdf293627 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.093232392Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.093466927Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-a05007b3-0869-4ae2-9c03-ed3cdf293627","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.093957818Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-a05007b3-0869-4ae2-9c03-ed3cdf293627","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.101100439Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.114997761Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-a05007b3-0869-4ae2-9c03-ed3cdf293627","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.119207265Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/a05007b3-0869-4ae2-9c03-ed3cdf293627","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.119930332Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.120000873Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.120047034Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.120082005Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.125116818Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.135352227Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.19294241Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"uri":"/crucible/0/regions","method":"POST","req_id":"4a7af2fc-1db7-46a2-814a-4d73043457f9","remote_addr":"[fd00:1122:3344:101::c]:48972","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":755,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.638399717Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:35835"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.63852023Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"uri":"/crucible/0/regions/a05007b3-0869-4ae2-9c03-ed3cdf293627","method":"GET","req_id":"40ecd4de-7bd3-48d5-ba3b-00a63723c31b","remote_addr":"[fd00:1122:3344:101::c]:35835","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":91,"response_code":"200"} {"msg":"path is \"/data/regions/a05007b3-0869-4ae2-9c03-ed3cdf293627\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.639174865Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a05007b3-0869-4ae2-9c03-ed3cdf293627","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.64830369Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"datafile"} {"msg":"region a05007b3-0869-4ae2-9c03-ed3cdf293627 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.657582648Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.657727731Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.657801703Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"uri":"/crucible/0/regions/a05007b3-0869-4ae2-9c03-ed3cdf293627","method":"DELETE","req_id":"42452875-255e-43b4-a27a-cfc70e217651","remote_addr":"[fd00:1122:3344:101::c]:35835","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":19134,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.657949976Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"uri":"/crucible/0/regions/a05007b3-0869-4ae2-9c03-ed3cdf293627","method":"GET","req_id":"a972d747-bc99-4a73-9772-f9a23a366c74","remote_addr":"[fd00:1122:3344:101::c]:35835","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-a05007b3-0869-4ae2-9c03-ed3cdf293627 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.658796165Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.663117412Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a05007b3-0869-4ae2-9c03-ed3cdf293627\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.672865181Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"region":"a05007b3-0869-4ae2-9c03-ed3cdf293627","component":"worker"} {"msg":"region a05007b3-0869-4ae2-9c03-ed3cdf293627 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.726053415Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.792267691Z","hostname":"oxz_crucible_2cc290d2-ae32-4f01-80fb-a7c0eb02372d","pid":23052,"uri":"/crucible/0/regions/a05007b3-0869-4ae2-9c03-ed3cdf293627","method":"GET","req_id":"e30e7b6d-d041-419c-a533-920d2d2bd879","remote_addr":"[fd00:1122:3344:101::c]:35835","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":66,"response_code":"200"}