[ Nov 7 09:48:02 Enabled. ] [ Nov 7 09:48:02 Rereading configuration. ] [ Nov 7 09:48:03 Rereading configuration. ] [ Nov 7 09:48: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=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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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::1a 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:05.904884732Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:05.905778637Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:05.905786667Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:06.055601924Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.919403371Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:64973"} {"msg":"region 1259d3c6-ce0b-4533-a95b-d10d1f0424b3 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.962618168Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.967889835Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"uri":"/crucible/0/regions","method":"POST","req_id":"c285413e-9738-4c99-a8e3-8b66a96fe4dc","remote_addr":"[fd00:1122:3344:101::c]:64973","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":15502,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.967923516Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/1259d3c6-ce0b-4533-a95b-d10d1f0424b3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.97960075Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/1259d3c6-ce0b-4533-a95b-d10d1f0424b3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.97962697Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"1259d3c6-ce0b-4533-a95b-d10d1f0424b3\"), 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/1259d3c6-ce0b-4533-a95b-d10d1f0424b3\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.034246377Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"region":"1259d3c6-ce0b-4533-a95b-d10d1f0424b3","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.128496951Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"uri":"/crucible/0/regions","method":"POST","req_id":"f5cc3b7d-c934-4cbc-acd8-3c37f861aa93","remote_addr":"[fd00:1122:3344:101::c]:64973","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":105,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.244381315Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"region":"1259d3c6-ce0b-4533-a95b-d10d1f0424b3","component":"worker"} {"msg":"region 1259d3c6-ce0b-4533-a95b-d10d1f0424b3 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.244414286Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.244585658Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-1259d3c6-ce0b-4533-a95b-d10d1f0424b3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.247217852Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-1259d3c6-ce0b-4533-a95b-d10d1f0424b3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.256195211Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.280451004Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-1259d3c6-ce0b-4533-a95b-d10d1f0424b3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.286059547Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/1259d3c6-ce0b-4533-a95b-d10d1f0424b3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.28683111Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.286905041Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.286948381Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.286987932Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.294411405Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.311378477Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.777188509Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"uri":"/crucible/0/regions","method":"POST","req_id":"443d827f-7525-4fda-9642-0a08efc3ef76","remote_addr":"[fd00:1122:3344:101::c]:64973","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":70,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.872798859Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:48562"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.934394711Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"uri":"/crucible/0/regions/1259d3c6-ce0b-4533-a95b-d10d1f0424b3","method":"GET","req_id":"402d7929-4511-4d6c-bd7a-3eaad9f5e202","remote_addr":"[fd00:1122:3344:101::c]:48562","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":162,"response_code":"200"} {"msg":"path is \"/data/regions/1259d3c6-ce0b-4533-a95b-d10d1f0424b3\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.934579044Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/1259d3c6-ce0b-4533-a95b-d10d1f0424b3","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.946758126Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"datafile"} {"msg":"region 1259d3c6-ce0b-4533-a95b-d10d1f0424b3 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.956650101Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.956858594Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.956917505Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"uri":"/crucible/0/regions/1259d3c6-ce0b-4533-a95b-d10d1f0424b3","method":"DELETE","req_id":"5ecb9690-cc8f-4db5-9090-ec1071a05a71","remote_addr":"[fd00:1122:3344:101::c]:48562","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":22353,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.957044707Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"uri":"/crucible/0/regions/1259d3c6-ce0b-4533-a95b-d10d1f0424b3","method":"GET","req_id":"48fd5ced-781e-4d7a-868f-88ecdb4ff194","remote_addr":"[fd00:1122:3344:101::c]:48562","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-1259d3c6-ce0b-4533-a95b-d10d1f0424b3 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.957993023Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.966357882Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/1259d3c6-ce0b-4533-a95b-d10d1f0424b3\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.97952825Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"region":"1259d3c6-ce0b-4533-a95b-d10d1f0424b3","component":"worker"} {"msg":"region 1259d3c6-ce0b-4533-a95b-d10d1f0424b3 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:05.030571808Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:05.086851032Z","hostname":"oxz_crucible_34a4cd78-d334-44bf-a360-c22b2e7fcc79","pid":24288,"uri":"/crucible/0/regions/1259d3c6-ce0b-4533-a95b-d10d1f0424b3","method":"GET","req_id":"3b5d6dd9-8f98-4507-901b-a50946c0d21d","remote_addr":"[fd00:1122:3344:101::c]:48562","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":93,"response_code":"200"}