Commit Graph
6987 Commits
Author SHA1 Message Date
Yousong Zhou 6eeeb27378 hostman: linux_bridge: flush addr on member iface down
Previously it was done by "ifconfig xx 0.0.0.0 down"

Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-17 18:11:08 +08:00
wanyaoqi 96862a2560 fix postpaid expire 2020-01-17 17:51:29 +08:00
Yousong Zhou bc999888a2 vpcagent: a vpc agent with ovn driver 2020-01-17 17:48:04 +08:00
Yousong Zhou 7c29b06669 scheduler: network_predicate: allow onecloud vpc networks 2020-01-17 17:48:04 +08:00
Yousong Zhou d17452240b scheduler: simplify MinCounters 2020-01-17 17:48:04 +08:00
Yousong Zhou da68e7fccf scheduler: simplify findCandidatesThatFit() 2020-01-17 17:48:03 +08:00
Yousong Zhou 99e2a1a948 hostman: add OvnHelper 2020-01-17 17:48:03 +08:00
Yousong Zhou 2a6f76539c hostman: drop flow mods in ifup/ifdown script
For classic network iface, these are to be handled by sdnagent.  However
these can cause problem for ovn-controller
2020-01-17 17:48:01 +08:00
Yousong Zhou 496bbbf5c0 hostman: hostbridge: const values for driver types 2020-01-17 17:47:00 +08:00
Yousong Zhou 9173e8aa0b hostman: fix wording: detective -> detect 2020-01-17 17:46:58 +08:00
Yousong Zhou 5226deb366 mcclient: options: list all including deleted resource with --delete-all 2020-01-17 17:46:08 +08:00
Yousong Zhou 3cd8049222 cloudcommon: db: allow sysadmin to list deleted resources
The query arg name cannot be "deleted" to avoid collide with resource
field name.
2020-01-17 17:46:08 +08:00
Yousong Zhou 770a6d194d cloudcommon: extend interface for fetching metadata 2020-01-17 17:46:07 +08:00
Yousong Zhou 4221e214f0 guestnetworks: nic desc for onecloud vpc 2020-01-17 17:45:07 +08:00
Yousong Zhou 54783f601a hosts: Add OvnVersion field 2020-01-17 17:44:31 +08:00
Yousong Zhou 2fbe4a30b7 hosts: GetNetworkWithId: take into account onecloud vpc subnet 2020-01-17 17:44:31 +08:00
Yousong Zhou 5f623cb892 hosts: simplify GetNetworkWithIdAndCredential
By removing unused arg
2020-01-17 17:44:31 +08:00
Yousong Zhou 282da02f9f networks: forbid updating onecloud vpc network 2020-01-17 17:44:31 +08:00
Yousong Zhou d9d343822f networks: validate onecloud vpc subnet
Also rewrite for more readability, especially the part on finding wire,
vpc, region, etc.
2020-01-17 17:44:31 +08:00
Yousong Zhou f194ad7183 vpcs: add method containsIPV4Range() 2020-01-17 17:44:31 +08:00
Yousong Zhou 93c2192b77 vpcs: 自动删除wire 2020-01-17 17:44:29 +08:00
Yousong Zhou 81dc7fd91e networks: auto-create zone wire 2020-01-17 17:41:06 +08:00
Yousong Zhou 0a3c8acbd4 vpcs: 允许为私有云创建vpc 2020-01-17 17:41:06 +08:00
Yousong Zhou e9e8cd1519 models: guard against nil memory access 2020-01-17 17:41:06 +08:00
Yousong Zhou fb682c8e2b mcclient: rename BaseManagerInterface to IBaseManager 2020-01-17 17:41:06 +08:00
Yousong Zhou 5b0f36dbcb mcclient: models: map to db models 2020-01-17 17:41:06 +08:00
Yousong Zhou b5a9625575 esxi: dont import hostman pkgs
Fix building region on darwin
2020-01-17 16:52:11 +08:00
Rain 7524141e49 feature(esxiagent): Add Template VM as CachedImage 2020-01-17 14:16:08 +08:00
Qu Xuan 75c22ea603 fix: 修复未赋予keypair scheme值问题 2020-01-17 14:11:08 +08:00
yunion-ci-robot b896ae5ca7 Merge pull request #4935 from yousong/bugfix/yousong-iproute2
netutils2: guard against possible nil members
2020-01-17 13:48:10 +08:00
Qu Xuan 24591ecfab fix: 腾讯云主机带宽跟随eip带宽变化而变化 2020-01-17 13:32:23 +08:00
wanyaoqi fd698314be fix snapshot list filter by disk type 2020-01-17 11:57:04 +08:00
yunion-ci-robot 1c44b51913 Merge pull request #4880 from tb365/bugfix/tb-elb-bugfix-0108
Bugfix/tb elb bugfix 0108
2020-01-17 11:00:09 +08:00
yunion-ci-robot 050c4173a0 Merge pull request #4922 from wanyaoqi/bugfix/wyq/host-misc-fix-0116
host: fix detect host info
2020-01-17 10:55:08 +08:00
yunion-ci-robot ea27a3c029 Merge pull request #4931 from rainzm/bugfix/esxi_copy_image
bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
2020-01-17 10:54:09 +08:00
Qu Xuan c4f9e47a1b fix: 避免/opt/yunion/tmp目录不存在导致自定义镜像创建azure服务器失败 2020-01-17 10:50:03 +08:00
Rain 5b1c97af58 bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-17 10:39:41 +08:00
zhaoxiangchun 139d2cacee add License Head 2020-01-17 10:28:00 +08:00
yunion-ci-robot e7a3905669 Merge pull request #4926 from ioito/hotfix/qx-cloudevent-list-filter
cloudevent 支持since until参数过滤
2020-01-17 09:20:08 +08:00
yunion-ci-robot 0fa2e68627 Merge pull request #4924 from tb365/bugfix/tb-bugfix-011601
server sku filter by city bugfix
2020-01-17 08:46:07 +08:00
yunion-ci-robot 4aee13b813 Merge pull request #4925 from ioito/feature/qx-batch-perform-uncache-image
fix: 支持批量释放镜像缓存
2020-01-17 08:45:07 +08:00
yunion-ci-robot cd3899eb15 Merge pull request #4428 from tb365/feature/tb-ctyun-operations
ctyun operations
2020-01-16 22:54:08 +08:00
Yousong Zhou 975728bb31 netutils2: guard against possible nil members 2020-01-16 22:48:26 +08:00
Yousong Zhou bd1efb1716 netutils: DefaultSrcIpDev: use iproute2.RouteGetByDst 2020-01-16 22:48:26 +08:00
Yousong Zhou 6f49ceade3 iproute2: add RouteGetByDst() 2020-01-16 22:48:26 +08:00
Yousong Zhou 5d1905aa3c iproute2: test against non-nil dst of routes returned by List4() 2020-01-16 22:48:26 +08:00
Rain bc83e2940a bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-16 22:00:07 +08:00
yunion-ci-robot 5a698a76bd Merge pull request #4933 from rainzm/bugfix/host-deployer_vddk
fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil
2020-01-16 21:48:11 +08:00
Rain ea1e9c75fa fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil 2020-01-16 21:19:16 +08:00
Yousong Zhou 167bca1931 hostman: replace route command dep with netlink call 2020-01-16 20:47:50 +08:00