[ Nov 19 06:16:52 Enabled. ] [ Nov 19 06:16:52 Rereading configuration. ] [ Nov 19 06:16:54 Rereading configuration. ] [ Nov 19 06:16: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=oxControlService18 ++ 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::14 ++ 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 + [[ oxControlService18 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService18 ipadm: Could not delete oxControlService18: Interface does not exist + true + ipadm create-if -t oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 + ipadm show-addr oxControlService18/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService18/ll + ipadm show-addr oxControlService18/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService18/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::14]: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-19T06:16:56.131508095Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:56.135223044Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:56.135231474Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:56.224019815Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.110776268Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:53097"} {"msg":"region 19c0fa36-c65e-464b-aa36-dbb21fe36f34 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.177015323Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.178619656Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"uri":"/crucible/0/regions","method":"POST","req_id":"1535b351-8ea7-410e-8c30-f9926d062992","remote_addr":"[fd00:1122:3344:101::b]:53097","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":6271,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.178665088Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/19c0fa36-c65e-464b-aa36-dbb21fe36f34","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.187664028Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/19c0fa36-c65e-464b-aa36-dbb21fe36f34","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.18768574Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"19c0fa36-c65e-464b-aa36-dbb21fe36f34\"), 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/19c0fa36-c65e-464b-aa36-dbb21fe36f34\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.234051944Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"region":"19c0fa36-c65e-464b-aa36-dbb21fe36f34","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.317141087Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"uri":"/crucible/0/regions","method":"POST","req_id":"7b36fee4-2585-4481-9113-f286f6ffe753","remote_addr":"[fd00:1122:3344:101::b]:53097","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":91,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.414135852Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"region":"19c0fa36-c65e-464b-aa36-dbb21fe36f34","component":"worker"} {"msg":"region 19c0fa36-c65e-464b-aa36-dbb21fe36f34 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.414157612Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.414271418Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-19c0fa36-c65e-464b-aa36-dbb21fe36f34","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.414658353Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-19c0fa36-c65e-464b-aa36-dbb21fe36f34","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.418216551Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.428299058Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-19c0fa36-c65e-464b-aa36-dbb21fe36f34","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.430895383Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/19c0fa36-c65e-464b-aa36-dbb21fe36f34","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.431689366Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.431759493Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.431800378Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.43183697Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.436669779Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.441177513Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.692423846Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"uri":"/crucible/0/regions","method":"POST","req_id":"43ff8f58-2a3c-4604-9eab-4fb97f4fc75b","remote_addr":"[fd00:1122:3344:101::b]:53097","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.997034842Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:40993"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.997175931Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"uri":"/crucible/0/regions/19c0fa36-c65e-464b-aa36-dbb21fe36f34","method":"GET","req_id":"56a7c237-20ff-4214-85b7-c6fcf5f90632","remote_addr":"[fd00:1122:3344:101::b]:40993","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":121,"response_code":"200"} {"msg":"path is \"/data/regions/19c0fa36-c65e-464b-aa36-dbb21fe36f34\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.997331645Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/19c0fa36-c65e-464b-aa36-dbb21fe36f34","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.010455641Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"datafile"} {"msg":"region 19c0fa36-c65e-464b-aa36-dbb21fe36f34 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.021527108Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.021727002Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.021795104Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"uri":"/crucible/0/regions/19c0fa36-c65e-464b-aa36-dbb21fe36f34","method":"DELETE","req_id":"72cbb319-3a22-4142-bed7-6cda6d8875f5","remote_addr":"[fd00:1122:3344:101::b]:40993","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":24387,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.022044054Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"uri":"/crucible/0/regions/19c0fa36-c65e-464b-aa36-dbb21fe36f34","method":"GET","req_id":"84bb689c-1766-4970-8445-158a58d9b3b7","remote_addr":"[fd00:1122:3344:101::b]:40993","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":28,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-19c0fa36-c65e-464b-aa36-dbb21fe36f34 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.022802487Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.027866925Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/19c0fa36-c65e-464b-aa36-dbb21fe36f34\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.040401284Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"region":"19c0fa36-c65e-464b-aa36-dbb21fe36f34","component":"worker"} {"msg":"region 19c0fa36-c65e-464b-aa36-dbb21fe36f34 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.0984931Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.172166716Z","hostname":"oxz_crucible_e1c423da-51c6-4fe0-8693-445f473a0afb","pid":21378,"uri":"/crucible/0/regions/19c0fa36-c65e-464b-aa36-dbb21fe36f34","method":"GET","req_id":"977e64e4-1e3d-40ca-8dd2-ceead0af3fa0","remote_addr":"[fd00:1122:3344:101::b]:40993","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":103,"response_code":"200"}