[ Dec 19 23:01:57 Enabled. ] [ Dec 19 23:01:57 Rereading configuration. ] [ Dec 19 23:02:00 Rereading configuration. ] [ Dec 19 23:02:06 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ 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::1a 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:08.286413327Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:08.291807822Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:08.291822092Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:08.566519632Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.516161413Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:36378"} {"msg":"region a841cde7-bd57-4e3b-b423-2734f1855af1 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.547578487Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.550147683Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.550171473Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"uri":"/crucible/0/regions","method":"POST","req_id":"d44c2023-6027-4eee-8cca-2ef96d99275f","remote_addr":"[fd00:1122:3344:101::b]:36378","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":13540,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a841cde7-bd57-4e3b-b423-2734f1855af1","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.559526473Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a841cde7-bd57-4e3b-b423-2734f1855af1","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.559557313Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"a841cde7-bd57-4e3b-b423-2734f1855af1\"), 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/a841cde7-bd57-4e3b-b423-2734f1855af1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.605180204Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"region":"a841cde7-bd57-4e3b-b423-2734f1855af1","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.677754469Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"uri":"/crucible/0/regions","method":"POST","req_id":"aafd7c0e-ab48-4dba-858c-d775ce261155","remote_addr":"[fd00:1122:3344:101::b]:36378","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":91,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.888744087Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"region":"a841cde7-bd57-4e3b-b423-2734f1855af1","component":"worker"} {"msg":"region a841cde7-bd57-4e3b-b423-2734f1855af1 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.888778937Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.888871878Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-a841cde7-bd57-4e3b-b423-2734f1855af1","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.893400791Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-a841cde7-bd57-4e3b-b423-2734f1855af1","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.900983476Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.912341913Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-a841cde7-bd57-4e3b-b423-2734f1855af1","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.915327055Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/a841cde7-bd57-4e3b-b423-2734f1855af1","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.916034834Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.916102115Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.916147336Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.916190076Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.919904338Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.929140176Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.175989551Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"uri":"/crucible/0/regions","method":"POST","req_id":"8cadaf86-819e-4c50-b856-ade3d3bb7b9d","remote_addr":"[fd00:1122:3344:101::b]:36378","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.729190065Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:51452"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.729493109Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"uri":"/crucible/0/regions/a841cde7-bd57-4e3b-b423-2734f1855af1","method":"GET","req_id":"a190f0ed-34ca-46a6-ac7f-30b9464ee0d1","remote_addr":"[fd00:1122:3344:101::b]:51452","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":242,"response_code":"200"} {"msg":"path is \"/data/regions/a841cde7-bd57-4e3b-b423-2734f1855af1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.730867038Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a841cde7-bd57-4e3b-b423-2734f1855af1","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.740493161Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"datafile"} {"msg":"region a841cde7-bd57-4e3b-b423-2734f1855af1 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.749683428Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.74984949Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.749937932Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"uri":"/crucible/0/regions/a841cde7-bd57-4e3b-b423-2734f1855af1","method":"DELETE","req_id":"8b0b8589-4893-4a95-9f9f-6a4f7e010a35","remote_addr":"[fd00:1122:3344:101::b]:51452","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":20306,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.750120874Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"uri":"/crucible/0/regions/a841cde7-bd57-4e3b-b423-2734f1855af1","method":"GET","req_id":"0fd9c8a4-1cf8-4db5-a089-530d63ac4453","remote_addr":"[fd00:1122:3344:101::b]:51452","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-a841cde7-bd57-4e3b-b423-2734f1855af1 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.751060977Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.755134884Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a841cde7-bd57-4e3b-b423-2734f1855af1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.763617581Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"region":"a841cde7-bd57-4e3b-b423-2734f1855af1","component":"worker"} {"msg":"region a841cde7-bd57-4e3b-b423-2734f1855af1 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.812755851Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.851411246Z","hostname":"oxz_crucible_d47ed049-99da-499f-add0-332af0fbd8d5","pid":24162,"uri":"/crucible/0/regions/a841cde7-bd57-4e3b-b423-2734f1855af1","method":"GET","req_id":"918af5cf-3195-4fc2-a730-cfa3e21ddfd4","remote_addr":"[fd00:1122:3344:101::b]:51452","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":61,"response_code":"200"}