cloudstack/tools
Wei Zhou 09fce75047
OVS/GRE: bug fixes (#5446)
* OVS/GRE: fix failed to fetch cloudbr* info on host

* OVS/GRE: move ovstunnel.py to python3

* OVS: add test_privategw_acl_ovs_gre.py for automatic testing

(1) VR <-> VM should work
(2) Private GW should work

* OVS: fix an issue on xenserver

ovs bridges are deleted by xenserver/ovs automatically
```
[root@ref-trl-1797-x-M7-wei-zhou-xs2 ~]# grep -r xapi7 /var/log/ |grep del-br
/var/log/xensource.log:Sep 15 07:13:44 ref-trl-1797-x-M7-wei-zhou-xs2 xcp-networkd: [ info|localhost|611 |org.xen.xapi.xenops.classic events D:4a3d931cd89f|network_utils] /usr/bin/ovs-vsctl --timeout=20 -- --if-exists del-br xapi7
/var/log/daemon.log:Sep 15 07:13:45 ref-trl-1797-x-M7-wei-zhou-xs2 ovs-vsctl: ovs|00001|vsctl|INFO|Called as /usr/bin/ovs-vsctl --timeout=20 -- --if-exists del-br xapi7
```

which results that xe network exists but bridge does not exist, and operation stuck for 20 minutes at
```
2021-09-15 16:06:56    DEBUG [root] #### VMOPS enter  create_tunnel ####
2021-09-15 16:06:56    DEBUG [root] Creating tunnel from host 2 to host 1 with GRE key 2116
2021-09-15 16:06:56    DEBUG [root] Executing:['/usr/bin/ovs-vsctl', '--timeout=0', 'wait-until', 'bridge', 'xapi7', '--', 'get', 'bridge', 'xapi7', 'name']
2021-09-15 16:26:56    DEBUG [root] bridge xapi7 for creating tunnel - VERIFIED
2021-09-15 16:26:56    DEBUG [root] Executing:['/usr/bin/ovs-vsctl', 'add-port', 'xapi7', 't2116-2-1', '--', 'set', 'interface', 't2116-2-1', 'type=gre', 'options:key=2116', 'options:remote_ip=10.0.34.230']
```

* OVS/GRE: component test test_vpc_distributed_routing_offering.py passes on xenserver

* OVS: support Shared network with GRE protocol

* update #5446: use lang3.StringUtils

* OVS/GRE: VPC with distributed routing on kvm (still not working)
2021-10-03 14:47:52 +05:30
..
apidoc UI: Support to upload resource icons (#5157) 2021-09-15 00:50:42 -03:00
appliance systemvmtemplate: bump to Debian 11.0.0 systemvmtemplate (#5317) 2021-08-18 16:47:08 +05:30
bugs-wiki fixing license headers in marvin 2012-07-04 18:45:08 -04:00
build cloudstack: make code more inclusive 2021-06-08 15:47:20 +05:30
checkstyle Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
cli README: Repo has moved (#2235) 2017-08-10 13:54:26 +02:00
devcloud-kvm Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
devcloud4 Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
docker tools/docker: Upgrade to ubuntu 20.04 , MySQL 8 and python3 (#5507) 2021-09-24 17:17:27 +05:30
eclipse CLOUDSTACK-9859: Retirement of midonet plugin (final removal) (#2285) 2017-10-10 10:08:23 +05:30
git Show actual diff in commits after merge 2015-12-12 11:22:32 +01:00
jira jira-changes.py: generate content for CHANGES.md from jira filter 2014-11-30 21:16:59 -05:00
logo README: happy holidays! 2015-12-23 13:27:40 +05:30
marvin OVS/GRE: bug fixes (#5446) 2021-10-03 14:47:52 +05:30
ngui cloudstack: make code more inclusive 2021-06-08 15:47:20 +05:30
transifex CLOUDSTACK-9621: Improve conversion Transifex's JSON format to CloudStack JS 2016-11-27 11:02:26 +00:00
travis Merge branch '4.15' into main 2021-06-16 15:38:18 -03:00
utils/database_comparision_during_upgrade database_comparision_during_upgrade: add missing license header 2015-04-27 11:55:41 +02:00
whisker CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
pom.xml Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30