Advertisement
NMamaev

Untitled

Aug 1st, 2023
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 17.30 KB | None | 0 0
  1. [root@08364c212498 log]# grep 9c30630a1f2396bcdf04f80cfdbc4a60 *log*
  2. vm_1_reader.log:2023-08-01 08:17:49.225 [pid=263] [#3e77f57705675c975deacd50411affcd/10.60.4.173/@n.mamaev@ispsystem.com] Response body '{"last_notify":315403,"task":{"account":{"email":"n.mamaev@ispsystem.com","id":"5","ip":"10.60.4.173"},"date_create":"2023-08-01T08:15:29.012038","date_end":"2023-08-01T08:17:26","date_start":"2023-08-01T08:15:29","message_params":{"disk":"san","host":"san","name":"san_backup_1690877705285","node":"san_node_1"},"name":"disk_backup","output":"{\"before_execute\":{\"last_notify\":314825},\"file_size_mib\":1002,\"size_mib\":10240}","param":["--action","disk_backup","--virt-type","kvm","--params","{\"backup_df\":1200,\"backup_storage_path\":\"/image\",\"disk\":{\"boot_order\":1,\"expand_part\":\"sda2\",\"file_format\":\"raw\",\"id\":11,\"internal_name\":\"11_san\",\"name\":\"san\",\"pool_name\":\"Network_lvm_dev_sda\",\"size_mib\":10240,\"storage_id\":6,\"storage_params\":{\"pool\":{\"network_disk_path\":\"/dev/sda\"}},\"storage_type\":\"network_lvm\",\"target_bus\":\"virtio\",\"target_dev\":\"vda\"},\"domain_name\":\"8_san\",\"host_id\":8,\"internal_name\":\"29_11_san_backup.raw.zst\",\"name\":\"san_backup_1690877705285\",\"node\":{\"id\":8,\"ip\":\"172.31.36.47\"},\"timeout_seconds\":14400}"],"request_id":"9c30630a1f2396bcdf04f80cfdbc4a60","status":"complete"}}'
  3. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] request method: POST url: /disk/11/backup version: HTTP/1.0
  4. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Handler 'disk/{disk_id}/backup' choosen
  5. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [accept]application/json, text/plain, */*
  6. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [accept-encoding]gzip, deflate, br
  7. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [accept-language]ru
  8. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [cache-control]no-cache
  9. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [connection]close
  10. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [content-length]70
  11. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [content-type]application/json
  12. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [cookie]ses6=10000031-5da02db2-28a6-4627-a1ec-139dd5324b27; lang6=ru; token=172.31.48.153:5901
  13. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [host]instance-1
  14. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [instance-id]1
  15. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [internal-auth]eyJsYW5nIjoicnUiLCJvd25lcl9lbWFpbCI6Im4ubWFtYWV2QGlzcHN5c3RlbS5jb20iLCJvd25lcl9pZCI6NSwicm9sZXMiOlsiQGFkbWluIl0sInNlc3Npb24iOiIxMDAwMDAzMS01ZGEwMmRiMi0yOGE2LTQ2MjctYTFlYy0xMzlkZDUzMjRiMjciLCJ0cnVzdGVlX2VtYWlsIjoibi5tYW1hZXZAaXNwc3lzdGVtLmNvbSIsInRydXN0ZWVfaWQiOjUsInhzcmZfdG9rZW4iOiIxMDAwMDAzMS01ZGEwMmRiMi0yOGE2LTQ2MjctYTFlYy0xMzlkZDUzMjRiMjcifQ==
  16. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [origin]https://172.31.36.15
  17. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [pragma]no-cache
  18. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [referer]https://172.31.36.15/vm/manager/host/list?filter=~&sort=id:desc;&page=1:25;
  19. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [sec-fetch-dest]empty
  20. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [sec-fetch-mode]cors
  21. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [sec-fetch-site]same-origin
  22. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [user-agent]Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5.2 Safari/605.1.15
  23. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [x-forwarded-for]10.60.4.173, 127.0.0.1
  24. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [x-remote-ip]10.60.4.173, 127.0.0.1
  25. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [x-request-id]9c30630a1f2396bcdf04f80cfdbc4a60
  26. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173] Got header: [x-xsrf-token]10000031-5da02db2-28a6-4627-a1ec-139dd5324b27
  27. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] RequestBody: {"backup_locations":[],"comment":"","name":"san_backup_1690877705285"}
  28. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] End of POST request
  29. vm_1_writer.log:2023-08-01 08:15:29.003 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Invoke POST request callback
  30. vm_1_writer.log:2023-08-01 08:15:29.004 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 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"='11'' duration=161
  31. vm_1_writer.log:2023-08-01 08:15:29.004 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='SELECT "hdd_overselling","available_mib","size_mib","state","node","storage","id" FROM vm_storage2node WHERE "id"='10'' duration=67
  32. vm_1_writer.log:2023-08-01 08:15:29.004 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='SELECT "nm_ruled","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"='8'' duration=138
  33. vm_1_writer.log:2023-08-01 08:15:29.004 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 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"='5'' duration=110
  34. vm_1_writer.log:2023-08-01 08:15:29.004 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] WriterAsyncProcess
  35. vm_1_writer.log:2023-08-01 08:15:29.004 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='SELECT "destination_backup_location","available_until","date_create","comment","state","internal_name","schedule","backup_location","node","actual_size_mib","estimated_size_mib","parent_disk","ip_automation","expand_part","os","name","id" FROM vm_disk_backup WHERE "name"='san_backup_1690877705285'' duration=163
  36. vm_1_writer.log:2023-08-01 08:15:29.005 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='SELECT "imported_from","vm5_data","is_network","storage_params","state","type","comment","name","id" FROM vm_storage WHERE "id"='6'' duration=68
  37. vm_1_writer.log:2023-08-01 08:15:29.005 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='SELECT "snapshot_curr","snapshot_ram","snapshot_limit","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","stopped","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_additional_enabled","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"='8'' duration=143
  38. vm_1_writer.log:2023-08-01 08:15:29.008 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='INSERT INTO vm_disk_backup ("id","name","os","expand_part","ip_automation","parent_disk","estimated_size_mib","node","internal_name","state","comment") VALUES(29,'san_backup_1690877705285',22,'sda2','redhat_based',11,10240,8,'29_11_san_backup.raw.zst','creating','')' duration=2809
  39. vm_1_writer.log:2023-08-01 08:15:29.008 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='SELECT MAX(create_time) FROM vm_disk_backup_history WHERE event_type='field:name' AND ref='29'' duration=88
  40. vm_1_writer.log:2023-08-01 08:15:29.008 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='INSERT INTO vm_disk_backup_history (id,event_type,event_info,request_user,request_owner,request_ip,request_id,ref) VALUES (29,'field:name','{"new_value":"san_backup_1690877705285","old_value":null}','n.mamaev@ispsystem.com','---','10.60.4.173','9c30630a1f2396bcdf04f80cfdbc4a60',29)' duration=452
  41. vm_1_writer.log:2023-08-01 08:15:29.009 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='SELECT "hdd_overselling","ha_params","params","pool_name","enabled","is_main","cluster","storage","id" FROM vm_storage2cluster WHERE "storage"='6' AND "cluster"='5'' duration=88
  42. vm_1_writer.log:2023-08-01 08:15:29.009 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='SELECT "value","name","id" FROM vm_settings WHERE "name"='task_timeout'' duration=73
  43. vm_1_writer.log:2023-08-01 08:15:29.009 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='SELECT "value","name","id" FROM vm_settings WHERE "name"='task_timeout'' duration=47
  44. vm_1_writer.log:2023-08-01 08:15:29.009 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='SELECT "value","name","id" FROM vm_settings WHERE "name"='task_timeout'' duration=67
  45. vm_1_writer.log:2023-08-01 08:15:29.015 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 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"='18288' AND "name"='disk_backup'' duration=2811
  46. vm_1_writer.log:2023-08-01 08:15:29.015 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='INSERT INTO vm_task_log ("id","consul_id","name","param","message_params","status","main_table","main_table_id","request_info") VALUES(419,18288,'disk_backup', E'["--action","disk_backup","--virt-type","kvm","--params","{\\"backup_df\\":1200,\\"backup_storage_path\\":\\"/image\\",\\"disk\\":{\\"boot_order\\":1,\\"expand_part\\":\\"sda2\\",\\"file_format\\":\\"raw\\",\\"id\\":11,\\"internal_name\\":\\"11_san\\",\\"name\\":\\"san\\",\\"pool_name\\":\\"Network_lvm_dev_sda\\",\\"size_mib\\":10240,\\"storage_id\\":6,\\"storage_params\\":{\\"pool\\":{\\"network_disk_path\\":\\"/dev/sda\\"}},\\"storage_type\\":\\"network_lvm\\",\\"target_bus\\":\\"virtio\\",\\"target_dev\\":\\"vda\\"},\\"domain_name\\":\\"8_san\\",\\"host_id\\":8,\\"internal_name\\":\\"29_11_san_backup.raw.zst\\",\\"name\\":\\"san_backup_1690877705285\\",\\"node\\":{\\"id\\":8,\\"ip\\":\\"172.31.36.47\\"},\\"timeout_seconds\\":14400}"]','{"disk":"san","host":"san","name":"san_backup_1690877705285","node":"san_node_1"}','created','vm_disk_backup',29,'{"callback_counter":13,"first_start":426509441226330,"need_log":true,"request":{"extra_tags":[],"id":"9c30630a1f2396bcdf04f80cfdbc4a60","ip":"10.60.4.173","user":{"id":5,"name":"n.mamaev@ispsystem.com"}},"runtime":8555066}')' duration=163
  47. vm_1_writer.log:2023-08-01 08:15:29.020 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='INSERT INTO vm_host_log ("id","name","host","task","params","request_trustee","request_owner") VALUES(231,'disk_backup',8,419,'{"backup":"san_backup_1690877705285","disk":"san"}',5,5)' duration=4584
  48. vm_1_writer.log:2023-08-01 08:15:29.020 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Create notify 'instance/1/notify/create' with content '{"notifies":["host_history/231","host/8/host_history/231"]}'
  49. vm_1_writer.log:2023-08-01 08:15:29.021 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] db: id=0x76c448006890 query='INSERT INTO vm_node_log ("id","name","node","task","params","request_trustee","request_owner") VALUES(118,'disk_backup',8,419,'{"disk_name":"san"}',5,5)' duration=1128
  50. vm_1_writer.log:2023-08-01 08:15:29.021 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Create notify 'instance/1/notify/create' with content '{"notifies":["node_history/118","node/8/node_history/118"]}'
  51. vm_1_writer.log:2023-08-01 08:15:29.022 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Create notify 'instance/1/notify/create' with content '{"notifies":["host/8/backup/29"]}'
  52. vm_1_writer.log:2023-08-01 08:15:29.022 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Create notify 'instance/1/notify/create' with content '{"notifies":["backup/29"]}'
  53. vm_1_writer.log:2023-08-01 08:15:29.022 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Response body '{"id":29,"task":18288}'
  54. vm_1_writer.log:2023-08-01 08:15:29.022 [pid=769] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Writer process duration: 17
  55. vmctl.log:2023-08-01 08:15:29.033 [pid=1184] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Got action disk_backup with params
  56. vmctl.log:2023-08-01 08:15:29.033 [pid=1184] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Using VmctlMode::VMCTL virt-type kvm
  57. vmctl.log:2023-08-01 08:15:29.034 [pid=1184] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Stdin params: {"before_execute":{"last_notify":314825},"stdin":{}}
  58. vmctl.log:2023-08-01 08:15:29.034 [pid=1184] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Executing action disk_backup with params
  59. vmctl.log:2023-08-01 08:15:29.034 [pid=1184] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] Fork. New Process PID: 1187
  60. vmctl.log:2023-08-01 08:15:29.034 [pid=1184] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] PID: 1187. Execute command: 'scripts/kvm/disk_backup_create.py --node_id 8 --node_addr 172.31.36.47 --image_storage_path /image'
  61. vmctl.log:2023-08-01 08:17:26.186 [pid=1184] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] PID: 1187. Finished successefully with status 0
  62. vmctl.log:2023-08-01 08:17:26.186 [pid=1184] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] PID: 1187. Output: {"size_mib": 10240, "file_size_mib": 1002}
  63. vmctl.log:2023-08-01 08:17:26.186 [pid=1184] [#9c30630a1f2396bcdf04f80cfdbc4a60/10.60.4.173/@n.mamaev@ispsystem.com] PID: 1187. Error:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement