[opencontrail-dev] RSVP to OpenContrail User Group at OpenStack Summit Boston - May 10th

2017-04-06 Thread Chaitanya Kadiyala
Hi,

We are organizing an OpenContrail User Group (OCUG) meeting at Boston, during 
the OpenStack Summit. The event is scheduled for May 10th from 6:30pm to 9:30pm 
and hosted at the Fenway 
Park.

There are limited seats available, so please register asap and also forward 
this invite to your colleague or friend who is interested to attend the session.

There will be presentations from users & developers regarding their experience 
with OpenContrail deployments.

RSVP and more details at : https://ocug-boston-2017.eventbrite.com

Feel free to reach out to me if you have any questions.


--
Chaitanya Kadiyala
Product Marketing Manager,
Cloud and Enterprise Portfolio,
Juniper Networks, Inc.
Email: ckadiy...@juniper.net




___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org


Re: [opencontrail-dev] Building Contrail 3.2 dev env - queries

2017-04-06 Thread Deepak Tiwari
Contrail-installer simply automates the procedure described in contrail-vnc 
link. Both are doing same thing, i.e. setting up a sandbox/dev environment. If 
you explore scripts in contrail-installer (i.e. contrail.sh), you will see that 
it is following same instructions as given contrail-vnc.

Br, Deepak

From: Pavani Addanki [mailto:pavani.adda...@tcs.com]
Sent: 06 April 2017 15:51
To: Deepak Tiwari 
Cc: dev@lists.opencontrail.org
Subject: RE: [opencontrail-dev] Building Contrail 3.2 dev env - queries

Hi Deepak.

I have a query

What is the difference between below links?
https://github.com/Juniper/contrail-installer/blob/master/README.md

and

http://juniper.github.io/contrail-vnc/README.html

I am trying to build a dev environment.In the first url we are not building a 
sandbox. So can we use the first setup for dev setup?


Thanks and Regards,
Pavani Addanki





From:Deepak Tiwari 
>
To:Pavani Addanki 
>, 
"dev@lists.opencontrail.org" 
>
Date:04/06/2017 03:41 PM
Subject:RE: [opencontrail-dev] Building Contrail 3.2 dev env - queries




Hi Pavani,

I would suggest to follow instructions from below link—

https://github.com/Juniper/contrail-installer/blob/master/README.md


OpenContrail+Devstack
Trunk of contrail-installer currently works with stable/kilo
git clone 
g...@github.com:openstack-dev/devstack
A glue file is needed in the interim till it is upstreamed to devstack
cp ~/contrail-installer/devstack/lib/neutron_plugins/opencontrail 
lib/neutron_plugins/
Use sample localrc:
cp ~/contrail-installer/devstack/samples/localrc-all localrc
Run stack.sh
cd devstack
git checkout stable/kilo
(edit localrc as needed - physical interface, host ip ...)
./stack.sh


There are few tweaking needed to make it work finally. You can try and if you 
face any issues I can help you further

Br, Deepak

From: Dev [mailto:dev-boun...@lists.opencontrail.org] On Behalf Of Pavani 
Addanki
Sent: 06 April 2017 15:18
To: dev@lists.opencontrail.org
Subject: [opencontrail-dev] Building Contrail 3.2 dev env - queries

Hi All,

I am trying to create development environment setup following instructions in 
the below link.
http://juniper.github.io/contrail-vnc/README.html

How can I integrate this with devstack. neutron plugin. What are the steps to 
integrate.


Thanks and Regards,
Pavani Addanki


=-=-=
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 telephone and
immediately and permanently delete the message
and any attachments. Thank you

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."
___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org


Re: [opencontrail-dev] Need help in setting up vRouter in DPDK-enabled mode

2017-04-06 Thread Deepak Tiwari
Hi Raja,

Yes, I had setup huge-pages through following commands—

cat /proc/meminfo
sysctl -w vm.nr_hugepages=2048
mount -t hugetlbfs nodev /mnt/huge/

Initially I had tried using taskset command only but when I got into this error 
I tried without taskset just in case… ☺

I was wondering if trunk/master branch (I am using last stable commits of trunk 
as current trunk is broken) works with DPDK enabled? Or should I try with R3.2 
branch

Br, Deepak

From: Rajagopalan Sivaramakrishnan [mailto:r...@juniper.net]
Sent: 06 April 2017 11:00
To: Deepak Tiwari ; dev@lists.opencontrail.org
Subject: Re: [opencontrail-dev] Need help in setting up vRouter in DPDK-enabled 
mode

Hi Deepak,
Did you set up huge pages (in sysctl.conf or from the shell)? We usually 
spawn the vrouter-dpdk process using taskset to bind it to a specific
set of CPU cores, but the command line below should work, so I suspect it is 
not correctly provisioned. Can you please take a look at the logs in
/var/log/contrail/contrail-vrouter-dpdk-stdout.log for any clues?

Raja

From: Dev 
> 
on behalf of Deepak Tiwari 
>
Date: Tuesday, April 4, 2017 at 5:02 AM
To: "dev@lists.opencontrail.org" 
>
Subject: Re: [opencontrail-dev] Need help in setting up vRouter in DPDK-enabled 
mode

Hi,

With reference to the original query about how to setup and provision, DPDK 
based vRouter, I have the contrail-vrouter-dpdk binary compiled.
Next in contrail.sh, I replaced the command to bring-up kernel based vrouter 
with the command to bring-up vrouter-dpdk binary—

/usr/bin/contrail-vrouter-dpdk –no-daemon –socket-mem 1024,1024

I also loaded the igb_uio and rte_kni modules and bound the NICs to DPDK

However the binary fails to come-up. All other contrail components came-up 
successfully except vrouter-agent because vrouter binary crashed and hence 
vrouter-agent couldn’t connect to it and it exits.

contrail@contrail-23:~/dev/contrail-installer$ /usr/bin/contrail-vrouter-dpdk 
--no-daemon --socket-mem 1024,1024
2017-04-04 17:21:52,196 VROUTER: vRouter/DPDK version: {"build-info": 
[{"build-time": "2017-04-04 09:06:01.548355", "build-hostname": "contrail-23", 
"build-user": "root", "build-version": "4.0.0.0"}]}
Illegal instruction (core dumped)
contrail@contrail-23:~/dev/contrail-installer$ gdb 
/usr/bin/contrail-vrouter-dpdk core
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/contrail-vrouter-dpdk...done.

warning: core file may not match specified executable file.
[New LWP 26874]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/contrail-vrouter-dpdk --no-daemon --socket-mem 
1024,1024'.
Program terminated with signal SIGILL, Illegal instruction.
#0  dpdk_core_mask_get (system_cpus_count=4) at vrouter/dpdk/dpdk_vrouter.c:287
287core_mask_count = __builtin_popcountll((unsigned long 
long)cpu_core_mask);
(gdb) bt
#0  dpdk_core_mask_get (system_cpus_count=4) at vrouter/dpdk/dpdk_vrouter.c:287
#1  dpdk_argv_update () at vrouter/dpdk/dpdk_vrouter.c:491
#2  dpdk_init () at vrouter/dpdk/dpdk_vrouter.c:674
#3  main (argc=4, argv=0x7ffcc8e13668) at vrouter/dpdk/dpdk_vrouter.c:1162
(gdb)

Can anyone provide any clue on how do I proceed further?

Br, Deepak

From: Jakub Pavlik [mailto:jpav...@mirantis.com]
Sent: 20 March 2017 21:07
To: Deepak Tiwari >
Cc: dev@lists.opencontrail.org
Subject: Re: [opencontrail-dev] Need help in setting up vRouter in DPDK-enabled 
mode

Hi Deepak,

sorry put there oc311

root@ea05e1fe2291:/# apt-cache policy contrail-vrouter-dpdk-init
contrail-vrouter-dpdk-init:
  Installed: (none)
  Candidate: 3.1.1.x~20170317154826
  Version table:
 3.1.1.x~20170317154826 0
500 http://apt-mk.mirantis.com/trusty/ nightly/oc311 amd64 Packages


Jakub

On Mon, Mar 20, 2017 at 1:54 PM, Deepak Tiwari 
> wrote:
Hi Paul,


Re: [opencontrail-dev] Building Contrail 3.2 dev env - queries

2017-04-06 Thread Pavani Addanki
Hi Deepak.

I have a query 

What is the difference between below links?
https://github.com/Juniper/contrail-installer/blob/master/README.md

and

http://juniper.github.io/contrail-vnc/README.html 

I am trying to build a dev environment.In the first url we are not 
building a sandbox. So can we use the first setup for dev setup?


Thanks and Regards,
Pavani Addanki





From:   Deepak Tiwari 
To: Pavani Addanki , 
"dev@lists.opencontrail.org" 
Date:   04/06/2017 03:41 PM
Subject:RE: [opencontrail-dev] Building Contrail 3.2 dev env - 
queries



Hi Pavani,
 
I would suggest to follow instructions from below link—
 
https://github.com/Juniper/contrail-installer/blob/master/README.md
 
 
OpenContrail+Devstack
Trunk of contrail-installer currently works with stable/kilo
git clone g...@github.com:openstack-dev/devstack
A glue file is needed in the interim till it is upstreamed to devstack
cp ~/contrail-installer/devstack/lib/neutron_plugins/opencontrail 
lib/neutron_plugins/
Use sample localrc:
cp ~/contrail-installer/devstack/samples/localrc-all localrc
Run stack.sh
cd devstack
git checkout stable/kilo
(edit localrc as needed - physical interface, host ip ...)
./stack.sh
 
 
There are few tweaking needed to make it work finally. You can try and if 
you face any issues I can help you further 
 
Br, Deepak
 
From: Dev [mailto:dev-boun...@lists.opencontrail.org] On Behalf Of Pavani 
Addanki
Sent: 06 April 2017 15:18
To: dev@lists.opencontrail.org
Subject: [opencontrail-dev] Building Contrail 3.2 dev env - queries
 
Hi All, 

I am trying to create development environment setup following instructions 
in the below link. 
http://juniper.github.io/contrail-vnc/README.html 

How can I integrate this with devstack. neutron plugin. What are the steps 
to integrate. 


Thanks and Regards, 
Pavani Addanki

=-=-=
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 telephone and 
immediately and permanently delete the message 
and any attachments. Thank you
"DISCLAIMER: This message is proprietary to Aricent and is intended solely 
for the use of the individual to whom it is addressed. It may contain 
privileged or confidential information and should not be circulated or 
used for any purpose other than for what it is intended. If you have 
received this message in error, please notify the originator immediately. 
If you are not the intended recipient, you are notified that you are 
strictly prohibited from using, copying, altering, or disclosing the 
contents of this message. Aricent accepts no responsibility for loss or 
damage arising from the use of the information transmitted by this email 
including damage from virus." 

___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org


Re: [opencontrail-dev] [Users] OpenContrail Build - Install

2017-04-06 Thread Qasim Bin Mehmood
Hello,

I can also confirm that the following does work after reverting back to an 
older version of scons.

However I am unable to install the generated packages because they have 
dependencies that can’t be installed via rpm. These dependencies are however 
available via pip. Is there a workaround to this? Can I generate rpms from the 
pip packages? Or can I generate a package with all the third party dependencies 
built in?

Any guidance on this will be appreciated.

Regards,
Qasim Mehmood
> On 04-Apr-2017, at 5:06 PM, Razi Ahmed  wrote:
> 
> Hi All,
> 
> I followed the link below by Michael and am able to build successfully with 
> some warnings.
> 
>  
> https://github.com/michaelhenkel/opencontrail-centos-build
>  
> 
> 
> I am attaching the final output of the script. Can anyone tell me , what's 
> the next step to get started with Opencontrail as I am stuck at this step.
> 
>  Do I need to explicitly install all the rpms or is there any other script to 
> get started with contrail once it builds so that I can get started with it's 
> UI ?
> 
> Any help whether document or link will be appreciated.
> 
> Regarding the previous scon cyclic dependency error, I changed the scon 
> version to 2.1.0 from the latest one and it was able to build successfully 
> after that.
> 
> Thanks
> Razi
> 
> 
> =-=-=
> 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 telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
>  16-02-12.png>___
> Users mailing list
> us...@lists.opencontrail.org 
> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org 
> 

___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org


Re: [opencontrail-dev] Building Contrail 3.2 dev env - queries

2017-04-06 Thread Deepak Tiwari
Hi Pavani,

I would suggest to follow instructions from below link-

https://github.com/Juniper/contrail-installer/blob/master/README.md


OpenContrail+Devstack
Trunk of contrail-installer currently works with stable/kilo
git clone g...@github.com:openstack-dev/devstack
A glue file is needed in the interim till it is upstreamed to devstack
cp ~/contrail-installer/devstack/lib/neutron_plugins/opencontrail 
lib/neutron_plugins/
Use sample localrc:
cp ~/contrail-installer/devstack/samples/localrc-all localrc
Run stack.sh
cd devstack
git checkout stable/kilo
(edit localrc as needed - physical interface, host ip ...)
./stack.sh


There are few tweaking needed to make it work finally. You can try and if you 
face any issues I can help you further

Br, Deepak

From: Dev [mailto:dev-boun...@lists.opencontrail.org] On Behalf Of Pavani 
Addanki
Sent: 06 April 2017 15:18
To: dev@lists.opencontrail.org
Subject: [opencontrail-dev] Building Contrail 3.2 dev env - queries

Hi All,

I am trying to create development environment setup following instructions in 
the below link.
http://juniper.github.io/contrail-vnc/README.html

How can I integrate this with devstack. neutron plugin. What are the steps to 
integrate.


Thanks and Regards,
Pavani Addanki


=-=-=
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 telephone and
immediately and permanently delete the message
and any attachments. Thank you

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."
___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org


[opencontrail-dev] Building Contrail 3.2 dev env - queries

2017-04-06 Thread Pavani Addanki
Hi All,

I am trying to create development environment setup following instructions 
in the below link.
http://juniper.github.io/contrail-vnc/README.html

How can I integrate this with devstack. neutron plugin. What are the steps 
to integrate. 


Thanks and Regards,
Pavani Addanki

=-=-=
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 telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org