Re: [openstack-dev] Does the openstack ci vms start each time clear up enough?

2018-05-06 Thread Vega Cai
To test whether it's our new patch that causes the problem, I submitted a dummy patch[1] to trigger CI and the CI failed again. Checking the log of nova scheduler, it's very strange that the scheduling starts with 0 host at the beginning. May 06 09:40:34.358585

[openstack-dev] [tricircle] Nominate change in tricircle core team

2018-03-11 Thread Vega Cai
Hi team, I would like to nominate Baisen Song (songbaisen) for tricircle core reviewer. Baisen has actively joined the discussion of feature development and has contributed important patches since Queens, like resource deletion reliability and openstack-sdk new version adaption. I really think his

[openstack-dev] [tricircle] Rocky Tricircle PTL candidacy

2018-02-04 Thread Vega Cai
Hi folks, I would like to announce my self nomination for the PTL candidacy in Tricircle Rocky cycle. My name is Zhiyuan Cai, and my IRC handle is zhiyuan. I am currently the PTL of Tricircle for Queens cycle and have been actively participating in the development of this project since Mitaka

[openstack-dev] [tricircle] No Tricircle meeting tomorrow

2017-11-21 Thread Vega Cai
Hi, Tomorrow I will attend the bug smash in Wuhan so I will not be able to chair the weekly meeting. We will resume the meeting next week. BR Zhiyuan -- BR Zhiyuan __ OpenStack Development Mailing List (not for usage

Re: [openstack-dev] [tricircle]Distinguish the direction of requests

2017-11-05 Thread Vega Cai
For the first question, since api-paste.ini is a configuration file, you can just add your new filter to the configuration file so your filter can take effect. As Joe suggests, you can add embed the information in the oslo.context object so plugin can get it from context which is passed to plugin.

Re: [openstack-dev] [all] Update on Zuul v3 Migration - and what to do about issues

2017-10-02 Thread Vega Cai
hone > > On Sep 30, 2017, at 7:35 AM, Vega Cai <luckyveg...@gmail.com> wrote: > > Hi, > > In Tricircle we use the "multinode" topology to setup a test environment > with three regions, "CentralRegion" and "RegionOne" in one node, and > "R

Re: [openstack-dev] [all] Update on Zuul v3 Migration - and what to do about issues

2017-09-30 Thread Vega Cai
Hi, In Tricircle we use the "multinode" topology to setup a test environment with three regions, "CentralRegion" and "RegionOne" in one node, and "RegionTwo" in the other node. I notice that the job definition has been migrated to

[openstack-dev] [tricircle] PTG summary

2017-09-18 Thread Vega Cai
Hello folks, After the discussion in the PTG on last Friday, we plan the following work items for the Queens circle: queens-1 LBaaS Integration with Nova cell V2 Distinguish request from user and local neutron server Default security group update queens-2 Network deletion reliability Security

[openstack-dev] [tricircle] [ptg] PTG reminder

2017-09-14 Thread Vega Cai
Hello folks, Just to remind that the PTG of Tricircle team will be held on Sep 15th, from 9:00 am to 17:00 pm(UTC+8). We will discuss our topics in this etherpad page[1] and #openstack-tricircle channel, so you can join the discussion via etherpad and IRC. Also, please feel free to add topic to

[openstack-dev] [tricircle] Tricircle PTG plan

2017-08-25 Thread Vega Cai
Hello folks, As discussed in our weekly meeting, since most of our developers are in China, we will hold a small scale team gathering in China. Please refer to this etherpad page[1] for the date and place of the gathering. During the gathering, we will discuss our topics in that etherpad page and

Re: [openstack-dev] [tricircle-Problem accessing the instance console]

2017-08-24 Thread Vega Cai
Hi Meher, You can first check whether the nova-consoleauth and nova-novncproxy services are correctly running. If you use DevStack, the window names for these two services are n-cauth and n-novnc. BR Zhiyuan On Wed, 23 Aug 2017 at 23:55 wrote: > Hello to the Tricircle

Re: [openstack-dev] [tricircle-North South Networking via Direct Provider Networks]

2017-08-20 Thread Vega Cai
Also, you can upload a new image with OpenStack client, when horizon service is not running: https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/image.html#image-create Since Nova service is running on RegionOne and RegionTwo, the image should be also uploaded to

Re: [openstack-dev] [tricircle-Service Function Chaining]

2017-08-17 Thread Vega Cai
Hi Meher, The document structure of networking-sfc has been changed so the link in the guide is not accurate. Since you have already deployed Tricircle and would like to enable service function chaining feature, I think you can refer to these guides[1, 2] to setup local Neutron server. The

[openstack-dev] [Tricircle] Queens PTL candidacy

2017-08-02 Thread Vega Cai
Hi all, I would like to announce my self nomination for the PTL candidacy in Tricircle Queens cycle. My name is Zhiyuan Cai, and my IRC handle is zhiyuan. As a core reviewer of Tricircle project, I have been actively participating in the development of this project since Mitaka cycle. During the

Re: [openstack-dev] [tricircle]

2017-07-10 Thread Vega Cai
Hi Meher, According to the DevStack script, for RHEL, the Apache configuration files are placed in /etc/httpd/conf.d BR Zhiyuan On Mon, 10 Jul 2017 at 22:14 wrote: > Hello everybody, > > > > I posted before a problem related to installing the tricircle on a single >

Re: [openstack-dev] [tricircle]

2017-06-28 Thread Vega Cai
Hi Meher, Welcome to join Tricircle! Both Keystone and Tricircle services are running under Apache, so if Keystone failed to start after enabling Tricircle, I guess there might be some problems of Apache configuration. You can check what services are enabled in Apache by listing this folder:

Re: [openstack-dev] [tricircle]mascot for the Tricircle project

2017-04-24 Thread Vega Cai
So cute XD Zhiyuan On Mon, 24 Apr 2017 at 16:11 Zhipeng Huang wrote: > perfect XD > > On Mon, Apr 24, 2017 at 2:59 PM, joehuang wrote: > >> Hello, team, >> >> What about the mascot of Tricircle project? >> >> Your comments are welcome. >> >> Best

Re: [openstack-dev] [tricircle]Nominating Victor Morales as Tricircle Core

2017-02-28 Thread Vega Cai
+1 Zhiyuan On Wed, 1 Mar 2017 at 11:41 Devale, Sindhu wrote: > +1 > > Sindhu > > From: joehuang > Reply-To: "OpenStack Development Mailing List (not for usage questions)" < > openstack-dev@lists.openstack.org> > Date: Tuesday, February 28, 2017 at

Re: [openstack-dev] [tricircle][all] guide for reading source code

2017-02-21 Thread Vega Cai
Wow, awesome guide!! My suggestion will be no matter where we maintain the guide, it will be better to not just update the original guide directly, to make readers easy to follow the changes of logic. BR Zhiyuan On Tue, 21 Feb 2017 at 11:00 joehuang wrote: > Hello, > >

[openstack-dev] [devstack] [tricircle] Problem in placement-api after installing Tricircle with DevStack

2017-02-14 Thread Vega Cai
In Nova Ocata release, deploying placement API is a must. The nova-compute service will fail to start if [placement] section is not configured in nova.conf. DevStack script is updated to generate Apache configuration file for placement API and it works fine in single region scenario. However, in

[openstack-dev] [Tricircle] Heading for PTG

2017-02-13 Thread Vega Cai
Hi folks, I am heading for Atlanta PTG as the representative of Tricircle project, if you are interested in Tricircle project and will also attend Atlanta PTG, we can meet and discuss some topics there. BR Zhiyuan -- BR Zhiyuan

Re: [openstack-dev] [neutron] Barcelona summit "neutron-agent retrospective" recap

2016-11-10 Thread Vega Cai
It's cool to store tunnel termination endpoint information in the port model. Will this information support updating so external devices or controllers can inject the tunnel termination endpoints via the API? This is very useful to support VxLAN type external network, which there are already some

[openstack-dev] [neutron] Feature to enhance floating IP router lookup to consider extra routes

2016-11-02 Thread Vega Cai
Hi folks, During the development of Tricircle, we find that one feature whose spec has already been accepted is very useful, that is to enhance floating IP router lookup to consider extra routes[1]. With this feature, floating IP is allowed to be associated to internal addresses that are

Re: [openstack-dev] [tricircle]Tricricle cleanning

2016-10-12 Thread Vega Cai
Hello, patch for installation guide update of multi-node deployment has just been submitted. Here is the link: https://review.openstack.org/#/c/385306/ BR Zhiyuan On Wed, 12 Oct 2016 at 10:17 joehuang wrote: > Hello, Team, > > Understand this period is keeping us quite

Re: [openstack-dev] [tricircle][trio2o] trio2o git repo ready and tricircle splitting

2016-09-18 Thread Vega Cai
+1 for the proposal. What about the codes for Pod operation? It seems that both Tricircle and Trio2o need these codes. We submit patches to these two projects separately? Zhiyuan joehuang 于2016年9月18日周日 下午4:17写道: > hello, team, > > Trio2o git repository is ready now:

Re: [openstack-dev] [tricircle] your proposal for the name of networking and gateway sub-projects

2016-09-05 Thread Vega Cai
Oops, sorry for "triangel". Then what about "trio2o", openstack-to-openstack Zhiyuan Yipei Niu 于2016年9月5日周一 上午11:22写道: > Trifennel +1 > > Best regards, > Yipei > __ > OpenStack Development Mailing List

Re: [openstack-dev] [tricircle]your proposal for the name of networking and gateway sub-projects

2016-09-04 Thread Vega Cai
+1 for Triangel On 2 September 2016 at 17:34, joehuang wrote: > After the discussion in the #openstack-tricircle channel, 3 candidates > available now, please vote the name for the new sub-project for api-gateway > functionality: > > 1. Triangel > The Triangel are dolls

Re: [openstack-dev] [tricircle] About registering and loading a plugin

2016-06-27 Thread Vega Cai
Hi Yipei, You can also refer to my network type driver implementation: https://review.openstack.org/#/c/331638/ Type driver is registered in setup.cfg and loaded by code. BR Zhiyuan On 27 June 2016 at 21:44, Yipei Niu wrote: > Dear all, > > Recently, I learn to name a

Re: [openstack-dev] [tricircle] Launch work group for cross-pod L2 networking feature

2016-05-25 Thread Vega Cai
Hi members, Thanks for attending the work group meeting. Our discussion log can be viewed here: https://docs.google.com/document/d/15meGv7wL2ClWZMKd4BPN0Q3br-ac2JDmTvFPLOgUHt0/edit?usp=sharing BR Zhiyuan On 24 May 2016 at 09:51, Yipei Niu wrote: > Hi, all, > > Since I have

[openstack-dev] [tricircle] Launch work group for cross-pod L2 networking feature

2016-05-23 Thread Vega Cai
Hi members, Sorry that it's a bit late to launch our cross-pod L2 networking work group since I was attending OSCON last week. What about having our first work group meeting on Wednesday 10am(Beijing time UTC+8), in #openstack-tricircle channel? Topics I think we can discuss: (1) feature

Re: [openstack-dev] [tricircle]Proposing Shinobu Kinjo for Tricircle core reviewer

2016-05-03 Thread Vega Cai
+1, Shinobu has given me many suggestions in my patches. On 4 May 2016 at 07:57, Zhipeng Huang wrote: > +1, still remember Shinobu getting started from basic concept of > tricircle, and now becoming a maester of multisite openstack :) > > On Tue, May 3, 2016 at 9:03 PM,

[openstack-dev] [tricircle] Easy Way to Test Tricircle North-South L3 Networking

2016-05-03 Thread Vega Cai
Hi all, Just would like to share a way to test Tricircle north-south L3 networking without requiring the third interface. In the Tricircle readme, it is said that you need to add an interface in your host to br-ext bridge. One interface to access the host, one interface for east-west networking

[openstack-dev] [Tricircle] Asynchronous Job Management Patches

2016-04-06 Thread Vega Cai
Hi, I have submitted the second patch for asynchronous job management, please help to review. Here is the link: https://review.openstack.org/#/c/302110/ The first patch has been merged. Link for the first patch: https://review.openstack.org/#/c/295729/ BR Zhiyuan

Re: [openstack-dev] [tricircle] playing tricircle with two node configuration

2016-03-29 Thread Vega Cai
-29 15:41:04.122 TRACE neutron.api.v2.resource > ^[[01;35m^[[00m File > "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line > 69, in exception_handler_v20 > ^[[01;31m2016-03-29 15:41:04.122 TRACE neutron.api.v2.resource > ^[[01;35m^[[00mstatus_cod

Re: [openstack-dev] [tricircle] playing tricircle with two node configuration

2016-03-29 Thread Vega Cai
le with two node >> configuration >> >> Sorry for interruption. >> >> >> I followed the README.md in github, every thing goes well until I >> >> boot virtual machines with the following command >> >> Point here is that even Yipei was

Re: [openstack-dev] [tricircle] playing tricircle with two node configuration

2016-03-28 Thread Vega Cai
t; >> > # Use Neutron instead of nova-network >> > >> > disable_service n-net >> > >> > enable_service q-svc >> > >> > enable_service q-svc1 >> > >> > enable_service q-dhcp >> > >> > enable_service q-a

Re: [openstack-dev] [tricircle] playing tricircle with two node configuration

2016-03-28 Thread Vega Cai
Hi Yipei, Check "network_api_class" and "use_neutron" options in your nova.conf. It seems that your nova API is not configured to use neutron. BR Zhiyuan On 28 March 2016 at 13:25, Yipei Niu wrote: > Hi, all, > > After I execute the command "nova boot --flavor 1 --image >

Re: [openstack-dev] [Tricircle] Using the reserved keywords reserved as field name

2016-03-26 Thread Vega Cai
Added a work item in phase 4 in our todo list: https://etherpad.openstack.org/p/TricircleToDo On 26 March 2016 at 17:31, joehuang wrote: > Hi, Shinobu, > > This BP is a good entrance for Tricircle source code, this BP listed the > all basic patches building Tricircle from

Re: [openstack-dev] [tricircle] Using in-memory database for unit tests

2016-03-22 Thread Vega Cai
On 22 March 2016 at 12:09, Shinobu Kinjo <shinobu...@gmail.com> wrote: > Thank you for your comment (inline for my message). > > On Tue, Mar 22, 2016 at 11:53 AM, Vega Cai <luckyveg...@gmail.com> wrote: > > Let me try to explain some. > > > > On 22 Marc

Re: [openstack-dev] [tricircle] Using in-memory database for unit tests

2016-03-21 Thread Vega Cai
Let me try to explain some. On 22 March 2016 at 10:09, Shinobu Kinjo wrote: > On Tue, Mar 22, 2016 at 10:22 AM, joehuang wrote: > > Hello, Shinobu, > > > > Yes, as what you described here, the "initialize" in "core.py" is used > for unit/function test

Re: [openstack-dev] [tricircle]weekly meeting of Mar. 2

2016-03-01 Thread Vega Cai
What I would like to discuss has been included :), the Reliable async, job. BR Zhiyuan On 1 March 2016 at 17:19, joehuang wrote: > Hi, > > > > If you have any topic to discuss, please reply in the M-L. > > > > IRC meeting:

Re: [openstack-dev] [tricircle] playing tricircle with devstack under two-region configuration

2016-03-01 Thread Vega Cai
Hi, Pengfei, I suppose you are using "internal network" in virtual box to connect your virtual machines, and I find a link that seems to related to your problem. https://forums.virtualbox.org/viewtopic.php?f=1=38037 BR Zhiyuan On 1 March 2016 at 11:14, Vega Cai <luckyveg...@gma

Re: [openstack-dev] [tricircle] playing tricircle with devstack under two-region configuration

2016-02-29 Thread Vega Cai
f. >> >> >> >> So it can be fixed by adding one more configurable global variable to >> separate KeyStone region name and other services(Nova,Cinder,Neutron) >> region name. >> >> >> >> Best Regards >> >> Chaoyi Huang ( Joe Huang ) &

Re: [openstack-dev] [tricircle] playing tricircle with devstack under two-region configuration

2016-02-29 Thread Vega Cai
al_js/2012_06_26_28741.htm BR Zhiyuan On 29 February 2016 at 16:12, Vega Cai <luckyveg...@gmail.com> wrote: > Hi Pengfei, > > It's expected that there's no port for 100.0.0.1 since what we attach to > router are 100.0.0.2 and 100.0.0.3. > > Try to ping 10.0.2.1 in vm1 and

Re: [openstack-dev] [tricircle] playing tricircle with devstack under two-region configuration

2016-02-29 Thread Vega Cai
Hi Pengfei, It's expected that there's no port for 100.0.0.1 since what we attach to router are 100.0.0.2 and 100.0.0.3. Try to ping 10.0.2.1 in vm1 and to ping 10.0.1.1 in vm2 to see if you can get reply. There may be security group rules that prevent vm to be accessed. The check if all the

Re: [openstack-dev] [tricircle] playing tricircle with devstack under two-region configuration

2016-02-21 Thread Vega Cai
Hi Yipei, One reason for that error is that the API service is down. You can run "rejoin-stack.sh" under your DevStack folder to enter the "screen" console of DevStack, to check if services are running well. If you are not familiar with "screen", which is a window manager for Linux, you can do a

[openstack-dev] [tricircle] Port Query Performance Test

2016-02-03 Thread Vega Cai
Hi all, I did a test about the performance of port query in Tricircle yesterday. The result is attached. Three observations in the test result: (1) Neutron client costs much more time than curl, the reason may be neutron client needs to apply for a new token in each run. (2) Eventlet doesn't

[openstack-dev] [tricircle] DHCP port problem

2016-02-03 Thread Vega Cai
Hi all, When implementing L3 north-south networking functionality, I meet the DHCP port problem again. First let me briefly explain the DHCP port problem. In Tricircle, we have a Neutron server using Tricircle plugin in top pod to take control all the Neutron servers in bottom pods. The strategy

Re: [openstack-dev] [tricircle]Question regarding pep8 test

2016-02-03 Thread Vega Cai
Hi Khayam, Could you check the version of your flake8? It's located in .tox/pep8/bin. D102 is one of the pep8 error, and I find it's not ignored in Tricircle tox.ini, so I guess that flake8 on Jenkins doesn't enable this error by default but in your flake8, this error is enabled. I check the

Re: [openstack-dev] [tricircle] Playing Tricircle with Devstack

2016-01-26 Thread Vega Cai
h > your configuration file in Node1 and Node2 ( local.conf in the devstack > folder ) > > > > Best Regards > > Chaoyi Huang ( Joe Huang ) > > > > *From:* Vega Cai [mailto:luckyveg...@gmail.com] > *Sent:* Tuesday, January 26, 2016 10:03 AM > *To:* OpenStack De

Re: [openstack-dev] [tricircle] Playing Tricircle with Devstack

2016-01-25 Thread Vega Cai
Strange... One suggestion to dig into this problem is that you add a "--debug" parameter to the command like: "openstack --debug project show admin -f value -c id" and run DevStack again. With "--debug" parameter, OpenStack client will print out raw HTTP request and response so may bring you

[openstack-dev] [tricircle] DAL progress

2015-08-26 Thread Vega Cai
Hi folks, As we discussed before, DAL needs to provide API to access resources in the top and bottom OpenStack, so I implemented a client wrapper which has API like this: list_servers(self, cxt, site, fileters) cxt is the context object storing authorization information, site tells DAL where to

Re: [openstack-dev] [tricircle] local pluggable cascaded service

2015-08-03 Thread Vega Cai
Agree that we use polling mode to synchronize resource status, but it's a bit weird to deploy a localized service for just polling. Maybe we can define a status synchronizatioin task to handle such work so it can be done by cascade service itself. If multiple cascade service is deployed, to avoid

[openstack-dev] [tricircle] DAL implementation

2015-07-30 Thread Vega Cai
Hi folks, In my current implementation, there are a core module and a models module. Core module handles all the database stuff, start a session, issue sql operation, then end a session. Models module invokes methods in core module to access database, as showed below: model.py def

Re: [openstack-dev] [tricircle] DAL implementation

2015-07-30 Thread Vega Cai
, but how to decide when to commit the data, end a session? Best Regards Chaoyi Huang ( Joe Huang ) *From:* Vega Cai [mailto:luckyveg...@gmail.com] *Sent:* Thursday, July 30, 2015 3:03 PM *To:* openstack-dev@lists.openstack.org *Subject:* [openstack-dev] [tricircle] DAL implementation