These entries look to be different from tor-agent
Can you run the same script with host_name tor2.et176.zone1.ord6  without any 
router_type argument ?

Vedu

From: Dan Houtz <[email protected]<mailto:[email protected]>>
Date: Monday, August 24, 2015 at 9:37 AM
To: Vedamurthy Ananth Joshi <[email protected]<mailto:[email protected]>>
Cc: OpenContrail Users List - 2 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Users] Cleaning up old TOR agents

Hi Vedu,

This doesn't seem to fully work. After running the command they still appear in 
the UI however the IP Address is now blank the the Type column has changed from 
TOR Agent to Hypervisor. I have attached a screenshot showing this.

-Dan

On Sun, Aug 23, 2015 at 2:50 PM, Vedamurthy Ananth Joshi 
<[email protected]<mailto:[email protected]>> wrote:
Dan,
You could do this Ex:

python /opt/contrail/utils/provision_vrouter.py --host_name nodek3-1 --host_ip 
10.204.216.223 --api_server_ip 10.204.216.184 --oper del --admin_user admin 
--admin_password contrail123 --admin_tenant_name admin --openstack_ip 
10.204.216.184 --router_type tor-agent


To delete a TSN from the config, replace "tor-agent” with "tor-service-node”


Vedu

From: Dan Houtz <[email protected]<mailto:[email protected]>>
Date: Sunday, August 23, 2015 at 10:55 PM
To: OpenContrail Users List - 2 
<[email protected]<mailto:[email protected]>>
Subject: [Users] Cleaning up old TOR agents

Hi,

I had to re-create a few TOR agents with different names (see below) and now in 
the Contrail UI I still have the old TOR agents listed under the 
Monitor/Infrastructure/Virtual Routers dashboard. Is there a proper way to 
completely remove these from the system?



Reason for needing to delete/re-add TOR agents:

I just completed the build of a new cluster and, after configuring TOR agents 
for a couple QFX, I was seeing a problem where the VXLAN would get configured 
on the QFX but the interfaces configuration weren't getting added via OVSDB. 
After a bit of digging, I think this was caused by my TOR agent names having 
dots in them or being too complex in some way.

To fix this I ran 'fab delete_tor_agent" which removed the configured tor 
agents from my compute node and then re-added them with simpler names (ie 
tor-1, tor2). With this change my QFX are now getting configured properly.

Thanks!
Dan





_______________________________________________
Users mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to