tricircle/devstack
zhiyuan_cai 0d83bdca0a [urgent]Adapt new Keystone URL and mock _update_ips_for_port
1. What is the problem?
Now Keystone uses uwsgi with proxy[1], and this is the default mode
in DevStack. In this case, the original URL with 5000/35357 port can
no longer be accessed, this change will lead to Tricircle gate/check
test always failure if no adaption is made in Tricircle configuration.

After patch[2] merged, update mac address will also trigger ip updating
process. This is mainly for IPv6 address but the code logic doesn't
distinguish ip version. Some methods used by ip updating process are not
correctly simulated in FakeQuery so test_update_port test failed

2. What is the solution to the problem?
Change Keystone public URL Tricircle uses from
http://host:5000/v3 to http://host/identity and
change Keystone admin URL Tricircle uses from
http://host:35357/v3 to http://host/identity

This patch also fixes a mistake which was hidden before this Keystone
change. While generating Tricircle apache configuration file in our
DevStack script, TRICIRCLE_BIN in the template is not replaced by
the real value. So the directory access right is not correctly granted.
Before this Keystone change, Keystone apache configuration file will
grant right on the same directory, so we didn't notice this problem.

Since we don't support ip updating currently, one simple fix is to mock
_update_ips_for_port method.

3. What features need to be implemented to the Tricircle
to realize the solution?
No new features.

[1] https://github.com/openstack-dev/devstack/commit/
    6ed53156b6198e69d59d1cf3a3497e96f5b7a870
[2] https://github.com/openstack/neutron/commit/
    46d1a890e700dfa6e921387569f87f793ca4e8e9

Change-Id: I2b43c630eedff0f808c729da0ce9b819f02495dd
2017-05-03 02:14:23 -04:00
..
admin-openrc.sh Merge the verify scripts 2016-03-26 08:10:45 +00:00
apache-tricircle-api.template Support WSGI deployment for Tricircle Admin API(part1) 2017-03-25 05:17:37 -04:00
local.conf.node_1.sample Merge "Basic smoke test script" 2017-04-28 03:43:32 +00:00
local.conf.node_2.sample Merge "Basic smoke test script" 2017-04-28 03:43:32 +00:00
local.conf.sample Inconsistency Description 2017-04-07 06:00:50 +00:00
plugin.sh [urgent]Adapt new Keystone URL and mock _update_ips_for_port 2017-05-03 02:14:23 -04:00
settings Enable flat network type support 2017-04-11 17:30:31 +08:00
verify_cross_pod_install.sh Support WSGI deployment for Tricircle Admin API(part1) 2017-03-25 05:17:37 -04:00
verify_top_install.sh Support WSGI deployment for Tricircle Admin API(part1) 2017-03-25 05:17:37 -04:00