Commit Graph

47 Commits

Author SHA1 Message Date
QIU Jian
293afd2e69 fix: remove apiversion param from session 2022-08-25 09:43:50 +08:00
Rain Zheng
c708e4ac11 Windows monitor agent (#14062)
* feat: add pywinrm to ansibleserver-base

* feat(devtool,ansibleserver): support install monitor agent to windows

* feat: modify Dockerfil.file-repo

Co-authored-by: rain <mac@Rains-MBP.lan>
2022-04-29 00:38:24 +08:00
Zexi Li
ec9e3bd338 feat(cloudcommon,region,keystone,logger): use enable_db_checksum_tables option control checksum record (#13736)
region: guests_tbl
keystone: user
logger: action_tbl
2022-03-21 13:28:23 +08:00
Zexi Li
575d7fac7c feat(cloudcommon): db record checksum for consistency (#13679) 2022-03-14 23:30:11 +08:00
rainzm
842851dbaf fix(region,devtool): get ssh port from 'servers/<id>/sshport' api 2022-03-03 16:42:51 +08:00
rainzm
7aaf6aee3b feat(region): restart network after change ipaddr for guest 2021-12-22 11:07:45 +08:00
Qiu Jian
1d354d8919 1. Remove is_rbac_enable option
2. code changes due to interface change
2021-12-02 10:24:23 +08:00
Qiu Jian
97a3ab12a2 support sqlite 2021-11-17 07:25:00 +08:00
Zexi Li
356dccc6fe Merge pull request #12615 from ioito/hotfix/qx-mcclient-modules
fix(common): split mcclient modules by service
2021-11-08 11:04:35 +08:00
Jian Qiu
1b5ec22599 fix: cleanup compile warnings (#12620)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-06 12:29:35 +08:00
Qu Xuan
06dc1c1b87 fix(common): split mcclient modules by service 2021-11-05 19:24:50 +08:00
rainzm
fc6c741b1f fix(devtool): change agent install metadata key
The tag beginning with sys will be overwritten by the cloud
2021-10-13 11:41:52 +08:00
rainzm
c3aa1f2b6d fix(devtool): creates a forward using the specified address 2021-10-11 09:58:52 +08:00
Qu Xuan
8ba5393ae5 fix(region): optimized validate delete condition query 2021-09-23 09:58:54 +08:00
rainzm
ab9f28deec fix(devtool): get tenant info via correct field 2021-09-08 15:31:40 +08:00
rainzm
70e58c1577 fix(devtool): create serviceurl 2021-09-07 10:33:32 +08:00
rainzm
9623c1585c feat(devtool): add sshinfo and serviceurl 2021-09-04 18:25:27 +08:00
rainzm
39d93ebb92 feat(devtool): support batch applying for virtual machines 2021-08-05 15:00:01 +08:00
rainzm
83b73bf63f feat: support install monitor agent in baremetal 2021-07-21 19:46:04 +08:00
Zexi Li
fedfe32ada Merge pull request #11592 from rainzm/agent/install
feat(devtool): use server forward direct for guest with kvm hypervisor
2021-07-12 10:28:17 +08:00
rainzm
955cf6500b feat(devtool): use server forward direct for guest with kvm hypervisor 2021-07-09 16:10:59 +08:00
rainzm
0d33ecd28c feat(devtool): add some tags 2021-06-07 17:00:15 +08:00
rainzm
9b7a33f432 fix(devtool): set 'task_id' and 'task_notify_url' in header 2021-05-10 19:54:11 +08:00
rainzm
09a9d4e493 fix(devtool): get 'lastseen' not 'last_seen' of forward 2021-05-10 18:53:17 +08:00
rainzm
c6ae4706d7 fix(devtool): wait for the remote forward to run normally 2021-05-07 18:29:54 +08:00
rainzm
314ac5ac49 fix(devtool): extend the waiting time when checking remote forward 2021-05-07 18:28:38 +08:00
rainzm
33bdc9d2f2 fix(devtool): add scope=system query when list proxy endpoints 2021-05-07 18:27:35 +08:00
rainzm
489ddc90f7 fix(devtool): correct output error 2021-05-07 18:26:11 +08:00
Zexi Li
3c15efc7de Merge pull request #10948 from rainzm/agent/fix
Makes the process of installing the agent more rigorous
2021-04-27 20:10:49 +08:00
rainzm
fd458a6030 feat(devtool): makes the process of installing the agent more rigorous
1. Use the method returned by server sshable to execute ansible playbook
2. Use direct connection and cloud proxy to find the url that the remote machine
can send data back to local influxdb
2021-04-27 11:58:34 +08:00
rainzm
e20fd94b54 feat(region): set metadata for guest with agent installed 2021-04-23 11:00:14 +08:00
rainzm
9b994792ec fix(devtool): fix a bug that may trigger panic 2021-04-19 11:12:25 +08:00
rainzm
f246e66790 feat(devtool): add ScriptApplyId fro ScriptApplyRecord 2021-04-19 11:11:31 +08:00
rainzm
7e452712ee feat(devtool): check sshable before applying ansible playbook for server 2021-04-07 18:49:34 +08:00
rainzm
1cc917e98a feat(devtool): add script
Script in devtool is a program or configuration that can be applied to the target host,
currently only supports ansible playbook
2021-04-07 17:01:08 +08:00
Qiu Jian
ba08d9d465 fix(cloudevent,devtool): missing metadata table 2020-12-23 03:10:04 +08:00
Yousong Zhou
c6970e9a25 fix(treewide): fix task error recording 2020-11-24 20:36:14 +08:00
Jian Qiu
ba292dfedc fix: use json to store task error message (#7351)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-30 10:34:32 +08:00
Zexi Li
95a58cc606 implement generic service informer 2020-05-29 19:59:34 +08:00
Zexi Li
fa2e0e344c devtool: use public influxdb endpoint 2020-01-04 14:34:05 +08:00
Zhang Dongliang
5caf8d6648 devtool 资源类型 从standalone 改为 virtualresource 2019-12-24 11:42:33 +08:00
Zhang Dongliang
7567e7773c devtool manager 去掉重复的 RegisterModelManager 2019-12-17 15:14:03 +08:00
Qiu Jian
39de0f0ee7 quota recode update 2 2019-12-12 11:31:46 +08:00
Zhang Dongliang
8586fffc69 在删除 Devtool Template 之前检测是否存在关联的 cronjob; 如有则不允许删除 2019-11-29 14:12:08 +08:00
Zexi Li
0366347728 fix caller input nil panic 2019-11-27 17:13:28 +08:00
Zhang Dongliang
b6fa205f18 rm unused re code 2019-11-27 16:48:59 +08:00
Zhang Dongliang
6429e7b1f8 新增 devtool cron manager,用来管理Ansibleserver 的定时任务 2019-11-27 16:48:59 +08:00