Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@af495e8db047 log]# grep 34e0f54170e7f2ccc77ebe71e49a4c95 *
- host.log:2023-05-26 07:49:19.705 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG Start host delete
- host.log:2023-05-26 07:49:19.706 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG Starting new HTTP connection (1): input:1500
- host.log:2023-05-26 07:49:19.710 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG http://input:1500 "GET /vm/v3/ssh_address?id_type=node&id=1 HTTP/1.1" 200 1984
- host.log:2023-05-26 07:49:19.710 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG ssh params: {'is_dummy': False, 'last_notify': 186985, 'node_id': 1, 'ssh_address': '172.31.48.161', 'ssh_port': 22, 'ssh_user': 'astra-node-1'}
- host.log:2023-05-26 07:49:19.753 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG Connecting to astra-node-1@172.31.48.161:22
- host.log:2023-05-26 07:49:19.774 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG Starting new HTTP connection (1): consul:8500
- host.log:2023-05-26 07:49:19.776 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG http://consul:8500 "PUT /v1/session/create HTTP/1.1" 200 77
- host.log:2023-05-26 07:49:19.777 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG [ConsulSession#a2a48271-0019-af61-7c1b-7e12e38fa65d]: session is created
- host.log:2023-05-26 07:49:19.778 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG Starting new HTTP connection (1): consul:8500
- host.log:2023-05-26 07:49:19.779 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG http://consul:8500 "PUT /v1/session/renew/a2a48271-0019-af61-7c1b-7e12e38fa65d HTTP/1.1" 200 213
- host.log:2023-05-26 07:49:19.780 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG http://consul:8500 "PUT /v1/kv/task_manager/progress/463?acquire=a2a48271-0019-af61-7c1b-7e12e38fa65d HTTP/1.1" 200 30
- host.log:2023-05-26 07:49:19.805 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG firewall_type is FirewallType.NFTABLES
- host.log:2023-05-26 07:49:20.135 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'ip nat'
- host.log:2023-05-26 07:49:20.148 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table ip nat'
- host.log:2023-05-26 07:49:20.159 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'ip nat'
- host.log:2023-05-26 07:49:20.216 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table ip nat'
- host.log:2023-05-26 07:49:20.227 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'ip nat'
- host.log:2023-05-26 07:49:20.238 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table ip nat'
- host.log:2023-05-26 07:49:20.294 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'ip nat'
- host.log:2023-05-26 07:49:20.309 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table ip nat'
- host.log:2023-05-26 07:49:20.321 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'ip nat'
- host.log:2023-05-26 07:49:20.334 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table ip nat'
- host.log:2023-05-26 07:49:20.388 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'ip nat'
- host.log:2023-05-26 07:49:20.400 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table ip nat'
- host.log:2023-05-26 07:49:20.410 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'ip nat'
- host.log:2023-05-26 07:49:20.421 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table ip nat'
- host.log:2023-05-26 07:49:20.475 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'ip nat'
- host.log:2023-05-26 07:49:20.485 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table ip nat'
- host.log:2023-05-26 07:49:20.495 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:20.505 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:20.558 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'add set inet filter I-vm3-connlimit-blackhole { type ipv4_addr; size 65535; flags dynamic,timeout; }'
- host.log:2023-05-26 07:49:20.567 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:20.577 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:20.587 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:20.597 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:20.651 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:20.662 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:20.672 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:20.683 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:20.693 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:20.747 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:20.758 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:20.769 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:20.779 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'delete set inet filter I-vm3-connlimit-blackhole'
- host.log:2023-05-26 07:49:20.789 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:20.843 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:20.852 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:20.862 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:20.873 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'delete rule inet filter FORWARD handle 21'
- host.log:2023-05-26 07:49:20.926 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:20.937 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:20.947 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'delete rule inet filter FORWARD handle 22'
- host.log:2023-05-26 07:49:20.957 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:21.015 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:21.028 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'delete rule inet filter FORWARD handle 23'
- host.log:2023-05-26 07:49:21.037 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:21.096 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:21.106 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'delete rule inet filter FORWARD handle 24'
- host.log:2023-05-26 07:49:21.116 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:21.171 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:21.183 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:21.193 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:21.246 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:21.256 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:21.267 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft 'list tables' | grep 'inet filter'
- host.log:2023-05-26 07:49:21.277 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run nft --handle 'list table inet filter'
- host.log:2023-05-26 07:49:21.330 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run grep --quiet --fixed-strings 'include "/etc/nftables/vm/3_2disks.nft"' /etc/nftables/vm_list.nft
- host.log:2023-05-26 07:49:21.339 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run pos=$(grep --line-number --fixed-strings 'include "/etc/nftables/vm/3_2disks.nft"' /etc/nftables/vm_list.nft); pos=${pos%%:*}; sed --in-place "${pos}d" /etc/nftables/vm_list.nft
- host.log:2023-05-26 07:49:21.350 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG run rm -rf /etc/nftables/vm/3_2disks.nft
- host.log:2023-05-26 07:49:49.790 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG http://consul:8500 "PUT /v1/session/renew/a2a48271-0019-af61-7c1b-7e12e38fa65d HTTP/1.1" 200 213
- host.log:2023-05-26 07:50:19.822 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG http://consul:8500 "PUT /v1/session/renew/a2a48271-0019-af61-7c1b-7e12e38fa65d HTTP/1.1" 200 213
- host.log:2023-05-26 07:50:49.850 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG http://consul:8500 "PUT /v1/session/renew/a2a48271-0019-af61-7c1b-7e12e38fa65d HTTP/1.1" 200 213
- host.log:2023-05-26 07:51:04.759 [pid=2458] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] DEBUG Token file missing
- grep: nginx: Is a directory
- vm_1_reader.log:2023-05-26 07:52:34.287 [pid=239] [#e59eaf7c507061c16154a2d44e2b9034/10.60.4.173/@nikitamamaev1912@gmail.com] Response body '{"last_notify":187897,"task":{"account":{"email":"nikitamamaev1912@gmail.com","id":"100005","ip":"172.18.0.24"},"date_create":"2023-05-26T07:49:19.406914","date_end":"2023-05-26T07:51:04","date_start":"2023-05-26T07:49:19","message_params":{"ip_addr":"172.31.50.207","name":"2disks"},"name":"host_delete","output":"","param":["--action","host_delete","--virt-type","kvm","--params","{\"disks\":[{\"boot_order\":1,\"expand_part\":\"/dev/sda2\",\"file_format\":\"qcow2\",\"id\":3,\"internal_name\":\"3_2disks\",\"name\":\"2disks\",\"pool_name\":\"File_vm\",\"size_mib\":10240,\"storage_id\":1,\"storage_params\":{\"pool\":{\"vm_storage_path\":\"/vm\"}},\"storage_type\":\"file\",\"target_bus\":\"virtio\",\"target_dev\":\"vda\"},{\"boot_order\":2,\"expand_part\":null,\"file_format\":\"qcow2\",\"id\":4,\"internal_name\":\"4_2disks_2\",\"name\":\"2disks_2\",\"pool_name\":\"File_vm\",\"size_mib\":5120,\"storage_id\":1,\"storage_params\":{\"pool\":{\"vm_storage_path\":\"/vm\"}},\"storage_type\":\"file\",\"target_bus\":\"virtio\",\"target_dev\":\"vdb\"}],\"id\":\"3\",\"internal_name\":\"3_2disks\",\"node\":{\"id\":1,\"ip_addr\":\"172.31.48.161\",\"os_version\":\"AstraLinux 1.7.3\",\"port\":22,\"virt_type\":\"kvm\"}}"],"request_id":"34e0f54170e7f2ccc77ebe71e49a4c95","status":"complete"}}'
- vm_1_writer.log.1:2023-05-26 07:49:19.392 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24] request method: DELETE url: /host/3 version: HTTP/1.0
- vm_1_writer.log.1:2023-05-26 07:49:19.392 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24] Handler 'host/{host_id}' choosen
- vm_1_writer.log.1:2023-05-26 07:49:19.392 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24] Got header: [connection]close
- vm_1_writer.log.1:2023-05-26 07:49:19.392 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24] Got header: [host]instance-1
- vm_1_writer.log.1:2023-05-26 07:49:19.392 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24] Got header: [instance-id]1
- vm_1_writer.log.1:2023-05-26 07:49:19.392 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24] Got header: [internal-auth]eyJlbWFpbF9jb25maXJtZWQiOnRydWUsImV4cGlyZXNfYXQiOiIiLCJpbnN0YW5jZV9vd25lciI6ZmFsc2UsImxhbmciOiJydSIsImxhc3Rfbm90aWZ5IjoxODY5ODUsIm93bmVyX2VtYWlsIjoibmlraXRhbWFtYWV2MTkxMkBnbWFpbC5jb20iLCJvd25lcl9pZCI6MTAwMDA1LCJyb2xlcyI6WyJAYWRtaW4iXSwic2VzX2lkIjozMywic2Vzc2lvbiI6IjEwMDAwMDMwLWFhMzdmZGFiLWNhZGMtNDhmNS1iNTE4LWIyY2JmMDViNzE0NSIsInN1X2luc3RhbmNlIjpmYWxzZSwidHJ1c3RlZV9lbWFpbCI6Im5pa2l0YW1hbWFldjE5MTJAZ21haWwuY29tIiwidHJ1c3RlZV9pZCI6MTAwMDA1LCJ4c3JmX3Rva2VuIjoiMTAwMDAwMzAtYWEzN2ZkYWItY2FkYy00OGY1LWI1MTgtYjJjYmYwNWI3MTQ1In0=
- vm_1_writer.log.1:2023-05-26 07:49:19.392 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24] Got header: [x-forwarded-for]172.18.0.24
- vm_1_writer.log.1:2023-05-26 07:49:19.392 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24] Got header: [x-remote-ip]172.18.0.24
- vm_1_writer.log.1:2023-05-26 07:49:19.392 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24] Got header: [x-request-id]34e0f54170e7f2ccc77ebe71e49a4c95
- vm_1_writer.log.1:2023-05-26 07:49:19.392 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24] Got header: [x-xsrf-token]10000030-aa37fdab-cadc-48f5-b518-b2cbf05b7145
- vm_1_writer.log.1:2023-05-26 07:49:19.393 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Request body is empty
- vm_1_writer.log.1:2023-05-26 07:49:19.393 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] End of POST request
- vm_1_writer.log.1:2023-05-26 07:49:19.393 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Invoke POST request callback
- vm_1_writer.log.1:2023-05-26 07:49:19.393 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] WriterAsyncProcess
- vm_1_writer.log.1:2023-05-26 07:49:19.394 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "is_protected","net_is_synced","vm5_data","ha_sync_error","ha_maintenance","ha_restore_priority","ha_restore_on_fail","ip_automation","network_device","firewall_rules","process_number","tcp_connections_out","tcp_connections_in","anti_spoofing_settings","anti_spoofing","io_write_iops","io_read_iops","io_write_mbitps","io_read_mbitps","io_weight","nesting","cpu_weight","cpu_custom_model","cpu_mode","net_weight","net_out_mbitps","net_in_mbitps","iso","rescue_mode","start_date","disabled","mon_install_date","comment","domain","preset","account","reserved_node","node","vnc_port","proxy_port","net_bandwidth_mbitps_changed","net_bandwidth_mbitps_new","net_bandwidth_mbitps","cpu_number_new","cpu_number","ram_mib_new","ram_mib","spice_password","spice_port","spice_enabled","is_migrating","vnc_password","autostart_enabled","xml_version","state_update_date","guest_agent","state","os","internal_name","name","id" FROM vm_host WHERE "id"='3'' duration=531
- vm_1_writer.log.1:2023-05-26 07:49:19.394 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "additional_data","vm5_data","update_dc_networks_failed","network_error","network_settings_lock","ha_error","ha_disable_failed","ha_state","host_filter","host_limit","selinux_enforcing","hostname","overselling","lxd_version","qemu_version","libvirt_version","uptime","kernel_version","os_version","metrics_timestamp","mon_install_date","mon_installed","host_creation_blocked","property","disk_params","gray_ips","problems","spice_error","bird_error","lxd_error","libvirt_error","frr_error","connection_error","state","ssh_user","ssh_port","vnc_addr","ip_addr_v6","ip_addr","socket_number","vcpu_limit","cpu_number","max_vcpu_number","ram_mib","cluster","comment","name","id" FROM vm_node WHERE "id"='1'' duration=241
- vm_1_writer.log.1:2023-05-26 07:49:19.394 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "vm5_data","spice_enabled","node_os_family","vxlan_mode","node_network_gateway","node_network_timeout","ha_error","ha_cluster_id","ha_agent_version","ha_checking_host","ha_enabled","net_bandwidth_mbitps","dns_servers","host_per_node_limit","proxy_enabled","domain_change_allowed","manage_disk_enabled","iso_enabled","cpu_overselling","overselling","qemu_version","domain_template","image_storage_path","os_storage_path","interface_count","imported_from","host_filter","host_distribution_policy","datacenter_type","virtualization_type","time_zone","comment","name","id" FROM vm_cluster WHERE "id"='1'' duration=159
- vm_1_writer.log.1:2023-05-26 07:49:19.394 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT id FROM vm_disk WHERE host='3'' duration=111
- vm_1_writer.log.1:2023-05-26 07:49:19.395 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "vm5_data","tags","iso","type","host","account","storage2node","bus","target_dev","boot_order","state","size_mib_new","size_mib","expand_part","is_main","internal_name","name","id" FROM vm_disk WHERE "id"='3'' duration=113
- vm_1_writer.log.1:2023-05-26 07:49:19.395 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "hdd_overselling","available_mib","size_mib","state","node","storage","id" FROM vm_storage2node WHERE "id"='1'' duration=103
- vm_1_writer.log.1:2023-05-26 07:49:19.395 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "imported_from","vm5_data","is_network","storage_params","state","type","comment","name","id" FROM vm_storage WHERE "id"='1'' duration=102
- vm_1_writer.log.1:2023-05-26 07:49:19.395 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "hdd_overselling","ha_params","params","pool_name","enabled","is_main","cluster","storage","id" FROM vm_storage2cluster WHERE "storage"='1' AND "cluster"='1'' duration=118
- vm_1_writer.log.1:2023-05-26 07:49:19.395 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "vm5_data","tags","iso","type","host","account","storage2node","bus","target_dev","boot_order","state","size_mib_new","size_mib","expand_part","is_main","internal_name","name","id" FROM vm_disk WHERE "id"='4'' duration=112
- vm_1_writer.log.1:2023-05-26 07:49:19.399 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "vm5_data","auth_source","state","roles","email","id" FROM vm_account WHERE "id"='100005'' duration=141
- vm_1_writer.log.1:2023-05-26 07:49:19.399 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT os.id AS id, os.name AS name, os.tags AS tags, os_group.group_key AS "group" FROM vm_os os LEFT JOIN vm_os_group os_group ON os.os_group=os_group.id WHERE os.id='14'' duration=254
- vm_1_writer.log.1:2023-05-26 07:49:19.399 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "cluster","bgp_community_v6","bgp_as_v6","bgp_community","bgp_as","mac","gateway","bgp_routing_type","id" FROM vm_ip_fabric_settings WHERE "cluster"='1'' duration=158
- vm_1_writer.log.1:2023-05-26 07:49:19.400 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT disk.id AS id, disk.name AS name, disk.size_mib AS size_mib, disk.boot_order AS boot_order, disk.expand_part AS expand_part, vm_storage2node.id AS pool_id, vm_storage2cluster.pool_name AS pool_name, vm_storage2node.storage AS storage_id FROM vm_disk disk LEFT JOIN vm_storage2node ON vm_storage2node.id=disk.storage2node LEFT JOIN vm_node ON vm_node.id=vm_storage2node.node LEFT JOIN vm_storage2cluster ON vm_storage2cluster.storage=vm_storage2node.storage AND vm_storage2cluster.cluster=vm_node.cluster WHERE disk.host='3'' duration=362
- vm_1_writer.log.1:2023-05-26 07:49:19.400 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT i.id AS id, i.name AS name, i.mac_address AS mac_address, i.vxlan IS NOT NULL AS is_vxlan, i.model AS model, x.id AS vxlan_id, b.id AS node_bridge, b.name AS node_bridge_name, b.is_main_network AS is_main_network FROM vm_host_interfaces AS i LEFT JOIN vm_node_bridge b ON i.node_bridge = b.id LEFT JOIN vm_vxlan x ON x.id = i.vxlan WHERE (i.host = '3') ORDER BY i.id, b.is_main_network DESC' duration=279
- vm_1_writer.log.1:2023-05-26 07:49:19.400 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "date_create","old_values","take_slave_ip","vlan","is_main_network","is_default","state","gateway_v6","gateway_v4","ipv6","ipv4","node","name","id" FROM vm_node_bridge WHERE id = '1'' duration=151
- vm_1_writer.log.1:2023-05-26 07:49:19.400 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT id AS local_id, ip_addr, gateway, net_prefix, domain, host_interface AS interface_id, remote_id, network AS network_id, ippool AS ippool_id, state FROM vm_ip WHERE host='3' AND family='2'' duration=146
- vm_1_writer.log.1:2023-05-26 07:49:19.401 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT id AS local_id, ip_addr, gateway, net_prefix, domain, host_interface AS interface_id, remote_id, network AS network_id, ippool AS ippool_id, state FROM vm_ip WHERE host='3' AND family='10'' duration=205
- vm_1_writer.log.1:2023-05-26 07:49:19.401 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "value","name","id" FROM vm_settings WHERE "name"='queued_vm_delete'' duration=133
- vm_1_writer.log.1:2023-05-26 07:49:19.401 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT ip_addr FROM vm_ip WHERE host='3' ORDER BY id LIMIT 1' duration=126
- vm_1_writer.log.1:2023-05-26 07:49:19.401 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "value","name","id" FROM vm_settings WHERE "name"='task_timeout'' duration=113
- vm_1_writer.log.1:2023-05-26 07:49:19.401 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "value","name","id" FROM vm_settings WHERE "name"='consul_task_ttl_in_sec'' duration=101
- vm_1_writer.log.1:2023-05-26 07:49:19.407 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='SELECT "ha_cluster_id","ha_id","password_hidden","defer_reason","request_info","node","main_table_id","main_table","output","date_end","date_start","date_create","status","message_params","param","name","consul_id","id" FROM vm_task_log WHERE "consul_id"='463' AND "name"='host_delete'' duration=290
- vm_1_writer.log.1:2023-05-26 07:49:19.410 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='INSERT INTO vm_task_log ("id","consul_id","name","param","message_params","status","main_table","main_table_id","node","request_info") VALUES(31,463,'host_delete', E'["--action","host_delete","--virt-type","kvm","--params","{\\"disks\\":[{\\"boot_order\\":1,\\"expand_part\\":\\"/dev/sda2\\",\\"file_format\\":\\"qcow2\\",\\"id\\":3,\\"internal_name\\":\\"3_2disks\\",\\"name\\":\\"2disks\\",\\"pool_name\\":\\"File_vm\\",\\"size_mib\\":10240,\\"storage_id\\":1,\\"storage_params\\":{\\"pool\\":{\\"vm_storage_path\\":\\"/vm\\"}},\\"storage_type\\":\\"file\\",\\"target_bus\\":\\"virtio\\",\\"target_dev\\":\\"vda\\"},{\\"boot_order\\":2,\\"expand_part\\":null,\\"file_format\\":\\"qcow2\\",\\"id\\":4,\\"internal_name\\":\\"4_2disks_2\\",\\"name\\":\\"2disks_2\\",\\"pool_name\\":\\"File_vm\\",\\"size_mib\\":5120,\\"storage_id\\":1,\\"storage_params\\":{\\"pool\\":{\\"vm_storage_path\\":\\"/vm\\"}},\\"storage_type\\":\\"file\\",\\"target_bus\\":\\"virtio\\",\\"target_dev\\":\\"vdb\\"}],\\"id\\":\\"3\\",\\"internal_name\\":\\"3_2disks\\",\\"node\\":{\\"id\\":1,\\"ip_addr\\":\\"172.31.48.161\\",\\"os_version\\":\\"AstraLinux 1.7.3\\",\\"port\\":22,\\"virt_type\\":\\"kvm\\"}}"]','{"ip_addr":"172.31.50.207","name":"2disks"}','created','vm_host',3,1,'{"callback_counter":19,"first_start":48414643678960,"need_log":true,"request":{"extra_tags":[],"id":"34e0f54170e7f2ccc77ebe71e49a4c95","ip":"172.18.0.24","user":{"id":100005,"name":"nikitamamaev1912@gmail.com"}},"runtime":13636891}')' duration=315
- vm_1_writer.log.1:2023-05-26 07:49:19.414 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='INSERT INTO vm_host_log ("id","name","host","task","request_trustee","request_owner") VALUES(12,'host_delete',3,31,100005,100005)' duration=865
- vm_1_writer.log.1:2023-05-26 07:49:19.414 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Create notify 'instance/1/notify/create' with content '{"notifies":["host_history/12","host/3/host_history/12"]}'
- vm_1_writer.log.1:2023-05-26 07:49:19.417 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] db: id=0x7e4dd405f720 query='INSERT INTO vm_node_log ("id","name","node","task","host","params","request_trustee","request_owner") VALUES(8,'host_delete',1,31,3,'{"host_name":"2disks"}',100005,100005)' duration=1513
- vm_1_writer.log.1:2023-05-26 07:49:19.419 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Create notify 'instance/1/notify/create' with content '{"notifies":["node_history/8","node/1/node_history/8"]}'
- vm_1_writer.log.1:2023-05-26 07:49:19.420 [pid=678] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Response body '{"task":463}'
- vmctl.log:2023-05-26 07:49:19.446 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Got action host_delete with params
- vmctl.log:2023-05-26 07:49:19.446 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Using VmctlMode::VMCTL virt-type kvm
- vmctl.log:2023-05-26 07:49:19.449 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Stdin params: {"before_execute":{"last_notify":186985},"stdin":{"metadata":{"account":{"email":"nikitamamaev1912@gmail.com","id":100005},"base_resources":{"cpu_number":1,"ram_mib":512},"cluster":{"datacenter_type":"ip_fabric","id":1,"interface_count":1,"ip_fabric":{"bgp_routing_type":"frr","gateway":"10.0.0.75","mac":"02:00:00:00:00:01"},"virtualization_type":"kvm"},"disks":[{"boot_order":1,"expand_part":"/dev/sda2","id":3,"name":"2disks","pool":{"id":1,"name":"File_vm"},"size_mib":10240,"storage":{"id":1}},{"boot_order":2,"expand_part":"","id":4,"name":"2disks_2","pool":{"id":1,"name":"File_vm"},"size_mib":5120,"storage":{"id":1}}],"domain":"2disks.ipfabric.com","id":3,"interfaces":[{"cluster_interface":0,"id":3,"is_vxlan":false,"mac_address":"52:54:00:5C:18:52","model":"virtio","name":"ens3","node_interface":1,"node_interface_name":"vmbr0","vxlan_id":0}],"internal_name":"3_2disks","ipv4":[{"domain":"2disks.ipfabric.com","gateway":"10.0.0.75","interface_id":3,"ip_addr":"172.31.50.207","ippool_id":1,"local_id":3,"net_prefix":32,"network_id":1,"remote_id":6,"state":"active"}],"ipv6":[],"metadata_version":"1.0.1","name":"2disks","node":{"id":1,"ip_addr":"172.31.48.161","os_version":"AstraLinux 1.7.3","port":22,"virt_type":"kvm"},"os":{"group":"ubuntu","id":14,"name":"Ubuntu 22.04","tags":["ubuntu2204","ubuntu","linux"]},"preset":13,"state":{"disabled":false,"rescue_mode":false},"tuned_resources":{"anti_spoofing":false,"anti_spoofing_settings":{"vlan":false},"cpu_custom_model":null,"cpu_mode":"default","cpu_weight":1024,"firewall_rules":[],"io_read_iops":0,"io_read_mbitps":0,"io_weight":500,"io_write_iops":0,"io_write_mbitps":0,"nesting":false,"net_in_mbitps":0,"net_out_mbitps":0,"net_weight":5,"process_number":-1,"tcp_connections_in":0,"tcp_connections_out":0}}}}
- vmctl.log:2023-05-26 07:49:19.449 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Executing action host_delete with params
- vmctl.log:2023-05-26 07:49:19.449 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Create renew session. ttl 120, behavior delete
- vmctl.log:2023-05-26 07:49:19.450 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Start renew timer for session: a0f29359-3821-edcc-2d7a-697d2af627cc
- vmctl.log:2023-05-26 07:49:19.453 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] Fork. New Process PID: 2458
- vmctl.log:2023-05-26 07:49:19.453 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] PID: 2458. Execute command: 'scripts/kvm/host_delete.py --node_addr 172.31.48.161 --domain_name 3_2disks'
- vmctl.log:2023-05-26 07:51:04.802 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] PID: 2458. Finished successefully with status 0
- vmctl.log:2023-05-26 07:51:04.802 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] PID: 2458. Output: {}
- vmctl.log:2023-05-26 07:51:04.802 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] PID: 2458. Error:
- vmctl.log:2023-05-26 07:51:04.802 [pid=2453] [#34e0f54170e7f2ccc77ebe71e49a4c95/172.18.0.24/@nikitamamaev1912@gmail.com] InternalCall service: nodewatch path: update_nodes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement