Re: [opencontrail-dev] Devstack Installation Issues
Hi, Mitaka branch moved away from stable to mitaka-eol. Use stable/ocata or stable/newton branches. Thanks suresh. From: "164980 ktr.cse.13" <raghav_sachd...@srmuniv.edu.in> To: "Suresh Kumar S" <sureshkuma...@altencalsoftlabs.com>, "dev" <dev@lists.opencontrail.org>, "users" <us...@lists.opencontrail.org> Sent: Friday, July 14, 2017 10:35:46 AM Subject: Devstack Installation Issues Hi, I am installing devstack folllowing this guide, https://sureshkvl.gitbooks.io/devstack-for-beginners/content/chapter1.html . Can anyone help to rectify these errors? 2017-07-14 08:30:27.488 | Cloning into '/opt/stack/keystone'... 2017-07-14 08:31:22.184 | +functions-common:git_timed:613 time_stop git_timed 2017-07-14 08:31:22.190 | +functions-common:time_stop:2347 local name 2017-07-14 08:31:22.208 | +functions-common:time_stop:2348 local end_time 2017-07-14 08:31:22.232 | +functions-common:time_stop:2349 local elpased_time 2017-07-14 08:31:22.245 | +functions-common:time_stop:2350 local total 2017-07-14 08:31:22.254 | +functions-common:time_stop:2351 local start_time 2017-07-14 08:31:22.301 | +functions-common:time_stop:2353 name=git_timed 2017-07-14 08:31:22.326 | +functions-common:time_stop:2354 start_time=1500021027 2017-07-14 08:31:22.356 | +functions-common:time_stop:2356 [[ -z 1500021027 ]] 2017-07-14 08:31:22.385 | ++functions-common:time_stop:2359 date +%s 2017-07-14 08:31:22.400 | +functions-common:time_stop:2359 end_time=1500021082 2017-07-14 08:31:22.422 | +functions-common:time_stop:2360 elapsed_time=55 2017-07-14 08:31:22.435 | +functions-common:time_stop:2361 total=184 2017-07-14 08:31:22.456 | +functions-common:time_stop:2363 START_TIME[$name]= 2017-07-14 08:31:22.479 | +functions-common:time_stop:2364 TOTAL_TIME[$name]=239 2017-07-14 08:31:22.494 | +functions-common:git_clone:537 cd /opt/stack/keystone 2017-07-14 08:31:22.517 | +functions-common:git_clone:539 git checkout stable/mitaka 2017-07-14 08:31:22.524 | error: pathspec 'stable/mitaka' did not match any file(s) known to git. 2017-07-14 08:31:22.550 | +functions-common:git_clone:1 exit_trap 2017-07-14 08:31:22.583 | +./stack.sh:exit_trap:474 local r=1 2017-07-14 08:31:22.612 | ++./stack.sh:exit_trap:475 jobs -p 2017-07-14 08:31:22.637 | +./stack.sh:exit_trap:475 jobs= 2017-07-14 08:31:22.659 | +./stack.sh:exit_trap:478 [[ -n '' ]] 2017-07-14 08:31:22.676 | +./stack.sh:exit_trap:484 kill_spinner 2017-07-14 08:31:22.703 | +./stack.sh:kill_spinner:370 '[' '!' -z '' ']' 2017-07-14 08:31:22.731 | +./stack.sh:exit_trap:486 [[ 1 -ne 0 ]] 2017-07-14 08:31:22.753 | +./stack.sh:exit_trap:487 echo 'Error on exit' 2017-07-14 08:31:22.755 | Error on exit 2017-07-14 08:31:22.778 | +./stack.sh:exit_trap:488 generate-subunit 1500020555 527 fail 2017-07-14 08:31:23.804 | +./stack.sh:exit_trap:489 [[ -z /opt/stack/logs ]] 2017-07-14 08:31:23.812 | +./stack.sh:exit_trap:492 /home/openstack/devstack/tools/worlddump.py -d /opt/stack/logs 2017-07-14 08:31:24.718 | +./stack.sh:exit_trap:498 exit 1 Thanks & Regards, Raghav Sachdeva ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
Re: [opencontrail-dev] Error while compiling VRouter source code
Hi Vashika, Devstack with opencontrail is easy method for learning opencontrail. https://sureshkvl.gitbooks.io/devstack-for-beginners/content/devstack_with_opencontrail.html Thanks suresh. From: "Vashika Jain"To: "Rajagopalan Sivaramakrishnan" , "users" , dev@lists.opencontrail.org Cc: "Shivani Pathak" Sent: Monday, April 3, 2017 6:04:43 PM Subject: Re: [opencontrail-dev] Error while compiling VRouter source code Hi Raja, We are trying to do a three node setup following the steps mentioned in http://www.opencontrail.org/rdo-openstack-opencontrail-integration/ . We have till now achieved the below: 1. Created three VMs with RHEL 7.2. 2. Installed RDO Openstack Controller using Mitaka (single node setup) in one VM. 3. Trying to setup OpenContrail controller on second VM (Encountered with errors,trying to resolve the same) 4. Trying to setup vRouter on the third VM. For this I have setup a Repo (as mentioned in the link above) but still I am unable to install the packages mentioned in the link for ex. contrail-openstack-vrouter, contrail-vrouter etc. I am unable to understand the link/dependency of Opencontrail Vrouter Compute on Opencontrail Controller. Please guide me if I am following the right approach or suggest me the correct approach. Thanks and Regards Vashika Jain Systems Engineer Tata Consultancy Services -Rajagopalan Sivaramakrishnan < r...@juniper.net > wrote: - To: Vashika Jain < vashika.j...@tcs.com >, " us...@lists.opencontrail.org " < us...@lists.opencontrail.org >, " dev@lists.opencontrail.org " < dev@lists.opencontrail.org > From: Rajagopalan Sivaramakrishnan < r...@juniper.net > Date: 04/01/2017 02:27AM Subject: Re: [opencontrail-dev] Error while compiling VRouter source code You will need the control plane and other modules. You can probably start with https://github.com/Juniper/contrail-installer Raja From: Vashika Jain < vashika.j...@tcs.com > Date: Friday, March 31, 2017 at 3:27 AM To: Rajagopalan Sivaramakrishnan < r...@juniper.net >, " us...@lists.opencontrail.org " < us...@lists.opencontrail.org >, " dev@lists.opencontrail.org " < dev@lists.opencontrail.org > Subject: Re: [opencontrail-dev] Error while compiling VRouter source code Hi Thanks for the reply. I am able to resolve this issue. I have also completed all the steps mentioned in the document - " https://github.com/Juniper/contrail-vrouter/tree/master ". My final ouput shows scons: done building targets . Also attaching the images of the compiled code. Can vrouter be installed and run standalone on a system or does it runs only after integration with opencontrail and openstack? Any document or link for installing and running Opencontrail vrouter will be appreciated. Thanks and Regards Vashika Jain Systems Engineer Tata Consultancy Services -Rajagopalan Sivaramakrishnan < r...@juniper.net > wrote: - To: Vashika Jain < vashika.j...@tcs.com >, " us...@lists.opencontrail.org " < us...@lists.opencontrail.org >, " dev@lists.opencontrail.org " < dev@lists.opencontrail.org > From: Rajagopalan Sivaramakrishnan < r...@juniper.net > Date: 03/31/2017 12:39AM Subject: Re: [opencontrail-dev] Error while compiling VRouter source code Are you able to follow the symbolic link? If not, please try “scons --kernel-dir= vrouter” Raja From: Dev < dev-boun...@lists.opencontrail.org > on behalf of Vashika Jain < vashika.j...@tcs.com > Date: Thursday, March 30, 2017 at 1:42 AM To: " us...@lists.opencontrail.org " < us...@lists.opencontrail.org >, " dev@lists.opencontrail.org " < dev@lists.opencontrail.org > Subject: [opencontrail-dev] Error while compiling VRouter source code Hi I am trying to install vRouter on my CentOS 7 system using SourceCode. I am following the steps from the document " https://github.com/Juniper/contrail-vrouter/tree/R3.2 ". While executing scons vrouter command, I am getting the following error: make -C /lib/modules/3.10.0-514.el7.x86_64/build M=/root/Contrail/vrouter modules make: *** /lib/modules/3.10.0-514.el7.x86_64/build: No such file or directory. Stop. C /lib/modules/3.10.0-514.el7.x86_64/build ..Here build is a symlink. Request you to guide me on the solution of the same. Thanks and Regards Vashika Jain Systems Engineer Tata Consultancy Services =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or
Re: [opencontrail-dev] cassandra server switchover
Hi Robert van Leeuwen, Its not for production. I am using to for development test setup. Yes, cassandra 2 node cluster works with contrail. Thanks suresh. From: "Robert Van Leeuwen" <rovanleeu...@ebay.com> To: "Suresh Kumar S" <sureshkuma...@altencalsoftlabs.com>, "Megh Bhatt" <me...@juniper.net> Cc: "Dev@lists.opencontrail.org" <dev@lists.opencontrail.org> Sent: Wednesday, November 30, 2016 8:12:05 AM Subject: Re: [opencontrail-dev] cassandra server switchover > cassandra_server_list = 10.10.10.5:9160 10.10.10.4:9160 As with all clustered software: you would want to run with at least 3 (Cassandra) nodes for quorum reasons. There are probably some Cassandra settings you can tweak to make it functioning when doing a 2 node cluster but I would not recommend using that in production. Cheers, Robert van Leeuwen ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
Re: [opencontrail-dev] cassandra server switchover
Hi Raj, I am using cloudwatt specific version. One more observation, In the DISCOVERY (http://localhost:5998/services), Collector service shows down for 30 - 60 seconds during the switchover. Is that expected behavior? Thanks Suresh. From: "Raj Reddy" <rajre...@juniper.net> To: "Suresh Kumar S" <sureshkuma...@altencalsoftlabs.com>, "Megh Bhatt" <me...@juniper.net> Cc: Dev@lists.opencontrail.org Sent: Tuesday, November 29, 2016 5:58:57 PM Subject: Re: [opencontrail-dev] cassandra server switchover Is there any reason why you are using 2.21, better to be with newer releases. we have multiple stable releases after that. Regards Raj From: Dev <dev-boun...@lists.opencontrail.org> on behalf of Suresh Kumar S <sureshkuma...@altencalsoftlabs.com> Date: Tuesday, November 29, 2016 at 1:33 AM To: Megh Bhatt <me...@juniper.net> Cc: "Dev@lists.opencontrail.org" <Dev@lists.opencontrail.org> Subject: Re: [opencontrail-dev] cassandra server switchover Hi Megh, Thanks for the response. Yes, netstat -anp shows thats collector connects to the another server. Reg TimedOutException , Let me recheck my cassandra cluster configuration/setup. Thanks suresh. From: "Megh Bhatt" <me...@juniper.net> To: "Suresh Kumar S" <sureshkuma...@altencalsoftlabs.com> Cc: Dev@lists.opencontrail.org Sent: Tuesday, November 29, 2016 9:52:02 AM Subject: Re: [opencontrail-dev] cassandra server switchover In 2.21 the architecture is different, collector will establish one connection to one cassandra server per generator. If that fails, it will retry the next server. This is evident from the collector logs. It seems that you are getting TimedOutException which suggests your single remaining cassandra node might be getting overloaded. If you check using netstat -anp for contrail-collector pid you should be seeing connections to the 10.10.10.5 cassandra node. Thanks Megh On Nov 29, 2016, at 12:04 AM, Suresh Kumar S < sureshkuma...@altencalsoftlabs.com > wrote: Hi Megh, My scenario is very simple, My setup : Devstack - Mitaka Contrail : 2.21.x I have configured the cassandra cluster with two nodes, and specified those in the contrail-collector.conf file cloud@contrail:/etc/cassandra$ cat /etc/contrail/contrail-collector.conf [DEFAULT] log_local = 1 log_level = SYS_DEBUG cassandra_server_list = 10.10.10.5:9160 10.10.10.4:9160 hostname = contrail hostip = 10.10.10.6 [DISCOVERY] port = 5998 server = 10.10.10.6 cloud@contrail:/etc/cassandra$ Collector establishes the communication with 10.10.10.4, and works well. I purposefully down the 10.10.10.4 cassandra server. I expect contrail-control continue to work with 10.10.10.5 cassandra server. But contrail-control keeps trying to connect with 10.10.10.4 and fails to connect. Note: 1. Collector establishes the communication with only one server(10.10.10.4) out of two mentioned. collector logs are attached for debugging. Thanks suresh From: "Megh Bhatt" < me...@juniper.net > To: "Suresh Kumar S" < sureshkuma...@altencalsoftlabs.com > Cc: Dev@lists.opencontrail.org Sent: Tuesday, November 29, 2016 8:48:20 AM Subject: Re: [opencontrail-dev] cassandra server switchover Hi Suresh, cassandra supports active/active or cluster consisting of multiple active nodes and hence we can provide list of IP addresses to contrail-collector. contrail-collector simultaneously connects to all the cassandra servers and will handle cassandra server failures. Thanks Megh BQ_BEGIN On Nov 28, 2016, at 11:43 PM, Suresh Kumar S < sureshkuma...@altencalsoftlabs.com > wrote: Hi, In the contrail-collector config file, we can specify multiple cassandra servers. What is the purpose of it ? contrail-collecter.conf snippet # IP address and port to be used to connect to cassandra. # Multiple IP:port strings separated by space can be provided # cassandra_server_list=127.0.0.1:9042 Does contrail support server switchover, I mean when the current server is not reachable, will it switch to the new server(mentioned in the config) ? Thanks suresh ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org BQ_END ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
Re: [opencontrail-dev] cassandra server switchover
Hi Megh, Thanks for the response. Yes, netstat -anp shows thats collector connects to the another server. Reg TimedOutException , Let me recheck my cassandra cluster configuration/setup. Thanks suresh. From: "Megh Bhatt" <me...@juniper.net> To: "Suresh Kumar S" <sureshkuma...@altencalsoftlabs.com> Cc: Dev@lists.opencontrail.org Sent: Tuesday, November 29, 2016 9:52:02 AM Subject: Re: [opencontrail-dev] cassandra server switchover In 2.21 the architecture is different, collector will establish one connection to one cassandra server per generator. If that fails, it will retry the next server. This is evident from the collector logs. It seems that you are getting TimedOutException which suggests your single remaining cassandra node might be getting overloaded. If you check using netstat -anp for contrail-collector pid you should be seeing connections to the 10.10.10.5 cassandra node. Thanks Megh On Nov 29, 2016, at 12:04 AM, Suresh Kumar S < sureshkuma...@altencalsoftlabs.com > wrote: Hi Megh, My scenario is very simple, My setup : Devstack - Mitaka Contrail : 2.21.x I have configured the cassandra cluster with two nodes, and specified those in the contrail-collector.conf file cloud@contrail:/etc/cassandra$ cat /etc/contrail/contrail-collector.conf [DEFAULT] log_local = 1 log_level = SYS_DEBUG cassandra_server_list = 10.10.10.5:9160 10.10.10.4:9160 hostname = contrail hostip = 10.10.10.6 [DISCOVERY] port = 5998 server = 10.10.10.6 cloud@contrail:/etc/cassandra$ Collector establishes the communication with 10.10.10.4, and works well. I purposefully down the 10.10.10.4 cassandra server. I expect contrail-control continue to work with 10.10.10.5 cassandra server. But contrail-control keeps trying to connect with 10.10.10.4 and fails to connect. Note: 1. Collector establishes the communication with only one server(10.10.10.4) out of two mentioned. collector logs are attached for debugging. Thanks suresh From: "Megh Bhatt" < me...@juniper.net > To: "Suresh Kumar S" < sureshkuma...@altencalsoftlabs.com > Cc: Dev@lists.opencontrail.org Sent: Tuesday, November 29, 2016 8:48:20 AM Subject: Re: [opencontrail-dev] cassandra server switchover Hi Suresh, cassandra supports active/active or cluster consisting of multiple active nodes and hence we can provide list of IP addresses to contrail-collector. contrail-collector simultaneously connects to all the cassandra servers and will handle cassandra server failures. Thanks Megh BQ_BEGIN On Nov 28, 2016, at 11:43 PM, Suresh Kumar S < sureshkuma...@altencalsoftlabs.com > wrote: Hi, In the contrail-collector config file, we can specify multiple cassandra servers. What is the purpose of it ? contrail-collecter.conf snippet # IP address and port to be used to connect to cassandra. # Multiple IP:port strings separated by space can be provided # cassandra_server_list=127.0.0.1:9042 Does contrail support server switchover, I mean when the current server is not reachable, will it switch to the new server(mentioned in the config) ? Thanks suresh ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org BQ_END ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
[opencontrail-dev] cassandra server switchover
Hi, In the contrail-collector config file, we can specify multiple cassandra servers. What is the purpose of it ? contrail-collecter.conf snippet # IP address and port to be used to connect to cassandra. # Multiple IP:port strings separated by space can be provided # cassandra_server_list=127.0.0.1:9042 Does contrail support server switchover, I mean when the current server is not reachable, will it switch to the new server(mentioned in the config) ? Thanks suresh ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org