[openstack-dev] [openstack-operators][openstack-ansible]deploying mutli-node openstack on baremetal nodes

2016-11-15 Thread Akshay Kumar Sanghai
Hi,
I want to deploy openstack using openstack-ansilbe. I am having difficulty
in understanding where to define baremetal host deployment and how to
define multiple vlans that can be used to separate the networks(mgmt,
tunnel, external). I went through
http://docs.openstack.org/developer/openstack-ansible/install-guide/app-custom-layouts.html#deploy-existing-components-on-dedicated-hosts

Do i have to create service.yml for all services to specify them to
directly run on hosts?

Thanks
AKshay
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [kloudbuster] test LBAAS at scale

2016-08-24 Thread Akshay Kumar Sanghai
Hi Alec,
Thanks for your inputs. I would really like to develop this feature. I
don't know if i can handle it, but I would try my best. Can you suggest
some pointers on how to start and how can we discuss in detail about the
tasks?

Thanks
Akshay

On Wed, Aug 24, 2016 at 7:37 AM, Alec Hothan (ahothan) <ahot...@cisco.com>
wrote:

> Hi Akshay,
>
> I suppose you're talking about LBAAS v2?
>
> Adding support for lbaas in kloudbuster will require some amount of work
> which can be kept to a minimum if done properly, this addition would be a
> pretty good way to test lbaas at scale.
> The tricky part is to modify the staging code without breaking the other
> features (multicast and storage) since this staging is specific to HTTP
> scale test.
> The current staging for HTTP scale is based on the following template (I
> show the server side only):
>
> [Router-[HTTP server VM]*]*
>
> The natural extension for supporting LBAAS is to replace each HTTP server
> with a LB group + N HTTP servers:
>
> [Router--[LB---[HTTP server VM]*]*]*
>
> Implementing this would require the following modifications (just a rough
> description of the tasks):
>
>- add an additional config option to specify the number of server VMs
>per LB group (defaults to none/no LB) 
>- if LB is configured, the current config server count would become a
>LB group count
>- the staging code for the HTTP servers needs to be modified to handle
>the case of LB: 
>   - instead of creating as many HTTP servers as the server count
>   argument, create as many LB groups
>   - for each LB group, create the requested HTTP server VMs per group
>   and add them to the group
>- floating IP if requested need to apply to the LB port instead of the
>HTTP servers 
>- naturally the teardown code will have to also support cleaning up LB
>resources 
>
>
>- HTTP clients will need to connect to the LB VIP address (instead of
>the HTTP server IP address) 
>
> I can help you go through these individual tasks in detail in the code if
> you feel you can handle that, it's just python coding.
>
>
> The VMs running the HTTP traffic generators are currently always
> associated 1:1 to a server VM. With the above template extension you will
> end up with as many HTTP client VMs as LB groups:
>
> (removed the router for better clarity):
>
> [HTTP client VM---[LB---[HTTP server VM]*]*]*
>
> This is not ideal because each HTTP traffic generator can only support a
> relatively low number of connections (in the few thousands) while an HTTP
> server instance can easily support many times this load especially for
> light HTTP traffic (i.e. replies that are very short).
>
> So another improvement (which we had on our roadmap) would be to support
> N:1 mapping:
>
> [[HTTP client VM]*----LB---[HTTP server VM]*]*]*
>
> this could be a separate extension.
> Let me know if you'd like to do this and we can help navigate the code.
>
> Thanks
>
>Alec
>
>
>
> From: Akshay Kumar Sanghai <akshaykumarsang...@gmail.com>
> Date: Tuesday, August 23, 2016 at 2:07 PM
> To: Alec Hothan <ahot...@cisco.com>
> Cc: "Yichen Wang (yicwang)" <yicw...@cisco.com>, "OpenStack Development
> Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org
> >
> Subject: Re: [openstack-dev] [kloudbuster] authorization failed problem
>
> Hi Yichen, Alec,
>
> The kloudbuster project worked perfectly fine for me. Now I want to
> integrate lbaas for scale testing. Can you guys help in how do i achieve
> that? Please include me for any contribution.
>
> Thanks
> Akshay Sanghai
>
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [kloudbuster] authorization failed problem

2016-08-23 Thread Akshay Kumar Sanghai
Hi Yichen, Alec,

The kloudbuster project worked perfectly fine for me. Now I want to
integrate lbaas for scale testing. Can you guys help in how do i achieve
that? Please include me for any contribution.

Thanks
Akshay Sanghai

On Fri, Apr 8, 2016 at 8:15 AM, Alec Hothan (ahothan) <ahot...@cisco.com>
wrote:

>
>
> From: Akshay Kumar Sanghai <akshaykumarsang...@gmail.com>
> Date: Thursday, April 7, 2016 at 1:46 AM
> To: "Yichen Wang (yicwang)" <yicw...@cisco.com>, Alec Hothan <
> ahot...@cisco.com>
> Cc: "OpenStack Development Mailing List (not for usage questions)" <
> openstack-dev@lists.openstack.org>
> Subject: Re: [openstack-dev] [kloudbuster] authorization failed problem
>
> Thanks Yichen and Alec.
> Yichen, It was what I was looking for. I started with Rally , but faced
> problem with defining the number of router per tenant and traffic
> generation. Then, I found that there is a new project Kloudbuster. I faced
> some issues , but with your help , I succeeded in running it.
> One suggestion: I think Rally developers  are also trying for the traffic
> generation. So just make sure, we don't have two things for the same work
> under the openstack umbrella.
>
>
> We're also using Rally to test our control plane. Data plane testing at
> scale is a whole different ballgame (than control plane) and we had very
> specific scale test requirements in mind for our own usage as far back as
> late 2014, which is why we developed kloudbuster in Feb 2015 with HTTP
> traffic at scale. At that time there was no solution available for doing
> automated data plane scale testing, even today as you can see the number of
> solutions is actually very limited.
> Anyway if the Rally developers are interested to discuss about it, I or
> Yichen would be happy to discuss.
>
>
> One Request:  I have not contributed to any project till now. I am
> interested in contributing to the Kloudbuster project. Please suggest how
> to start and help me in getting up to speed.
>
>
> There is currently no bug backlog in kloudbuster. Since we use it quite a
> lot, every issue we run into is fixed pretty quickly but it is likely there
> are uncovered issues when run in a different environment.
> There are also obviously many feature enhancements of any size but we only
> add when there is an ask as we want to keep the code small (do one thing
> but do it well).
> If you use it and find a bug or need some enhancement, you're welcome to
> contribute and we can help root cause and fix.
> Have you been looking for traffic generation for any particular purpose?
> We use it for testing our openstack data plane at scale (and storage now).
>
> Regards,
>
>   Alec
>
>
>
>
> Regards,
> Akshay
>
> On Wed, Apr 6, 2016 at 1:44 PM, Yichen Wang (yicwang) <yicw...@cisco.com>
> wrote:
>
>> Hi, Akshay,
>>
>>
>>
>> Just curious, how do you find KloudBuster so far? Does it do its job and
>> fit your needs? J
>>
>>
>>
>> Thanks very much!
>>
>>
>>
>> Regards,
>>
>> Yichen
>>
>>
>>
>> *From:* Alec Hothan (ahothan)
>> *Sent:* Tuesday, April 5, 2016 9:54 AM
>> *To:* Akshay Kumar Sanghai <akshaykumarsang...@gmail.com>; Yichen Wang
>> (yicwang) <yicw...@cisco.com>
>> *Cc:* OpenStack List <openstack-dev@lists.openstack.org>
>>
>> *Subject:* Re: [openstack-dev] [kloudbuster] authorization failed problem
>>
>>
>>
>>
>>
>> Akshay,
>>
>>
>>
>> Note that version 6 is now released so please use the official image from
>> the OpenStack App Catalog and update your code to latest.
>>
>> The doc has also been updated, you might want to have a look at the new
>> arch section and gallery - those should help you with the questions you had
>> below regarding the scale test staging and traffic flows.
>>
>> http://kloudbuster.readthedocs.org/en/latest/index.html
>>
>>
>>
>> Thanks
>>
>>
>>
>>Alec
>>
>>
>>
>>
>>
>> *From: *Akshay Kumar Sanghai <akshaykumarsang...@gmail.com>
>> *Date: *Wednesday, March 30, 2016 at 11:11 AM
>> *To: *"Yichen Wang (yicwang)" <yicw...@cisco.com>
>> *Cc: *Alec Hothan <ahot...@cisco.com>, OpenStack List <
>> openstack-dev@lists.openstack.org>
>> *Subject: *Re: [openstack-dev] [kloudbuster] authorization failed problem
>>
>>
>>
>> Hi Yichen,
>>
>> Thanks a lot . I will try with v6 and reach out to you for further help.
>>
>>
>>
>> Regards,
>

Re: [openstack-dev] [octavia]redirection and barbican config

2016-08-01 Thread Akshay Kumar Sanghai
Hi Michael,
Thanks. I have few more queries:
- Is it possible to create multiple VIPs on one amphora?

-I created a LB 2 days back. I created all the objects loadbalancer,
listener, pool and members. The curl was successful for the vip. Today I
added one more listener listening on port 443 (Terminated https) and added
pool for it and members for the pool. I have barbican installed and I have
tried ssl offloading with barbican with haproxy namespace driver.  The curl
for http and https were giving me code 503, but when I did a curl to the
member, it was working 200 ok. I tried to figure out where its going wrong,
but could not. I could not find any errors in octavia-api.log and
octavia-worker.log. So, I deleted everything and recreated again. Now it
was working. But for a similar future scenario, how should i figure out
where things went wrong or where the packet is dropped. Is it possible to
login to the amphora vm?

Thanks
Akshay

On Sat, Jul 30, 2016 at 11:45 PM, Michael Johnson <johnso...@gmail.com>
wrote:

> Hi Akshay,
>
> For 80 to 443 redirection, you can accomplish this using the new L7
> rules capability.  You would setup a listener on port 80 that has a
> redirect rule to the 443 URL.
>
> On the barbican question, if you are using the octavia driver, you
> will need to set the required settings in the octavia.conf file for
> proper barbican access.
> Those settings are called out here:
>
> http://docs.openstack.org/developer/octavia/config-reference/octavia-config-table.html
>
> Michael
>
>
> On Thu, Jul 28, 2016 at 1:02 PM, Akshay Kumar Sanghai
> <akshaykumarsang...@gmail.com> wrote:
> > Hi,
> > I have a couple on questions on octavia. Please answer or redirect me to
> > relevant documentation:
> > - Assume listener is listening on 443 and client hits the vip on port 80,
> > the connection will be refused.  Is it possible to configure http to
> https
> > direction?
> >
> > - For the barbican config, the only config item i can find is
> > cert_manager_type in neutron_lbaas.conf. How do we configure the barbican
> > access for lbaas. I assume since we do the access config for nova and
> > keystone in neutron.conf, there should be some config file where we
> define
> > the barbican access(username, password, auth_url).
> >
> > The community has been very helpful to me. Thanks a lot Guys. Appreciate
> > your efforts.
> >
> > Thanks
> > Akshay Sanghai
> >
> >
> __
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [octavia]redirection and barbican config

2016-07-28 Thread Akshay Kumar Sanghai
Hi,
I have a couple on questions on octavia. Please answer or redirect me to
relevant documentation:
- Assume listener is listening on 443 and client hits the vip on port 80,
the connection will be refused.  Is it possible to configure http to https
direction?

- For the barbican config, the only config item i can find is
cert_manager_type in neutron_lbaas.conf. How do we configure the barbican
access for lbaas. I assume since we do the access config for nova and
keystone in neutron.conf, there should be some config file where we define
the barbican access(username, password, auth_url).

The community has been very helpful to me. Thanks a lot Guys. Appreciate
your efforts.

Thanks
Akshay Sanghai
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [octavia] ssl re-encryption in octavia

2016-07-22 Thread Akshay Kumar Sanghai
Hi,
I saw in specs of kilo that ssl re-encryption will be introduced in later
phase. Is the ssl re-encryption feature available in the mitaka release? I
understand ssl offload is available, but I want to try the ssl
re-encryption on octavia lbaas.
This link refers to v1 probably
https://wiki.openstack.org/wiki/Neutron/LBaaS/SSL. Please redirect me to
any documentation if ssl re-encryption is there.

Thanks
Akshay Sanghai
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [lbaas]HA for lbaas v2 agent

2016-06-23 Thread Akshay Kumar Sanghai
Thanks Assaf.
I have few questions for lbaas:
-  if i run agents on multiple nodes, will the request be ditrsibuted by
neutron-server?
- Does neutron lbaas agent forward the request to octavia-api or the
neutron-server?

Thanks
Akshay

On Thu, Jun 23, 2016 at 1:00 AM, Assaf Muller <as...@redhat.com> wrote:

> On Wed, Jun 22, 2016 at 3:17 PM, Akshay Kumar Sanghai
> <akshaykumarsang...@gmail.com> wrote:
> > Hi,
> > I have a multinode openstack installation (3 controller, 3 network nodes,
> > and some compute nodes).
> > Like l3 agent, is high availability feature available for the lbaas v2
> > agent?
>
> It is not. Nir Magnezi is working on a couple of patches to implement
> a simplistic HA solution for LBaaS v2 with haproxy:
> https://review.openstack.org/#/c/28/
> https://review.openstack.org/#/c/327966/
>
> >
> > Thanks
> > Akshay
> >
> >
> __
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [lbaas]HA for lbaas v2 agent

2016-06-22 Thread Akshay Kumar Sanghai
Hi,
I have a multinode openstack installation (3 controller, 3 network nodes,
and some compute nodes).
Like l3 agent, is high availability feature available for the lbaas v2
agent?

Thanks
Akshay
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [kuryr][magnum]Installing kuryr for mutlinode openstack setup

2016-05-26 Thread Akshay Kumar Sanghai
Hi Vikas,
Thanks for the command. I don't understand why the command clones the
neutron repo. Can i directly download kuryr.conf from somewhere else? or
tox does more than creating kuryr_sample.conf?

Thanks
Akshay

On Thu, May 26, 2016 at 9:08 AM, Vikas Choudhary <choudharyvika...@gmail.com
> wrote:

> Hi Akshay,
>
> Sorry about that. You need to run "tox -e genconfig" . After this inside
> kuryr/etc "kuryr.conf_sample" file will get generated. Copy this file to
> /etc/kuryr/ after renaming to kuryr.conf.
>
> Documentation will be updated soon.
>
> -Vikas
> .
>
> On Wed, May 25, 2016 at 8:44 PM, Akshay Kumar Sanghai <
> akshaykumarsang...@gmail.com> wrote:
>
>> Hi,
>> Thanks Jaume and Antoni.
>> I tried the installation by git cloning the kuryr repo. I did pip install
>> -r requirements.txt. After that I did pip install . . But it doesn't end
>> successfully. There are no config files in /etc/kuryr directory.
>> root@compute1:~/kuryr# pip install .
>> Unpacking /root/kuryr
>>   Running setup.py (path:/tmp/pip-4kbPa8-build/setup.py) egg_info for
>> package from file:///root/kuryr
>> [pbr] Processing SOURCES.txt
>> warning: LocalManifestMaker: standard file '-c' not found
>>
>> [pbr] In git context, generating filelist from git
>> warning: no previously-included files matching '*.pyc' found anywhere
>> in distribution
>>   Requirement already satisfied (use --upgrade to upgrade):
>> kuryr==0.1.0.dev422 from file:///root/kuryr in
>> /usr/local/lib/python2.7/dist-packages
>> Requirement already satisfied (use --upgrade to upgrade): pbr>=1.6 in
>> /usr/lib/python2.7/dist-packages (from kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade): Babel>=2.3.4 in
>> /usr/local/lib/python2.7/dist-packages (from kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> Flask<1.0,>=0.10 in /usr/local/lib/python2.7/dist-packages (from
>> kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> jsonschema!=2.5.0,<3.0.0,>=2.0.0 in /usr/lib/python2.7/dist-packages (from
>> kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> netaddr!=0.7.16,>=0.7.12 in /usr/lib/python2.7/dist-packages (from
>> kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> oslo.concurrency>=3.5.0 in /usr/local/lib/python2.7/dist-packages (from
>> kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> oslo.log>=1.14.0 in /usr/local/lib/python2.7/dist-packages (from
>> kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> oslo.serialization>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from
>> kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> oslo.utils>=3.5.0 in /usr/local/lib/python2.7/dist-packages (from
>> kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> python-neutronclient>=4.2.0 in /usr/local/lib/python2.7/dist-packages (from
>> kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> pyroute2>=0.3.10 in /usr/local/lib/python2.7/dist-packages (from
>> kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> os-client-config>=1.13.1 in /usr/local/lib/python2.7/dist-packages (from
>> kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> neutron-lib>=0.1.0 in /usr/local/lib/python2.7/dist-packages (from
>> kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.7
>> in /usr/local/lib/python2.7/dist-packages (from
>> Flask<1.0,>=0.10->kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.4 in
>> /usr/lib/python2.7/dist-packages (from
>> Flask<1.0,>=0.10->kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade):
>> itsdangerous>=0.21 in /usr/local/lib/python2.7/dist-packages (from
>> Flask<1.0,>=0.10->kuryr==0.1.0.dev422)
>> Requirement already satisfied (use --upgrade to upgrade): markupsafe in
>> /usr/lib/python2.7/dist-packages (from
>> Jinja2>=2.4->Flask<1.0,>=0.10->kuryr==0.1.0.dev422)
>> Cleaning up...
>> root@compute1:~/kuryr#
>>
>>
>> Thanks
>> Akshay
>>
>>
>>
>>
>> On Wed, May 25, 2016 at 4:24 PM, Antoni Segura Puimedon <
>> toni+o

Re: [openstack-dev] [kuryr][magnum]Installing kuryr for mutlinode openstack setup

2016-05-25 Thread Akshay Kumar Sanghai
Hi,
Thanks Jaume and Antoni.
I tried the installation by git cloning the kuryr repo. I did pip install
-r requirements.txt. After that I did pip install . . But it doesn't end
successfully. There are no config files in /etc/kuryr directory.
root@compute1:~/kuryr# pip install .
Unpacking /root/kuryr
  Running setup.py (path:/tmp/pip-4kbPa8-build/setup.py) egg_info for
package from file:///root/kuryr
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found

[pbr] In git context, generating filelist from git
warning: no previously-included files matching '*.pyc' found anywhere
in distribution
  Requirement already satisfied (use --upgrade to upgrade):
kuryr==0.1.0.dev422 from file:///root/kuryr in
/usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): pbr>=1.6 in
/usr/lib/python2.7/dist-packages (from kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade): Babel>=2.3.4 in
/usr/local/lib/python2.7/dist-packages (from kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade): Flask<1.0,>=0.10
in /usr/local/lib/python2.7/dist-packages (from kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade):
jsonschema!=2.5.0,<3.0.0,>=2.0.0 in /usr/lib/python2.7/dist-packages (from
kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade):
netaddr!=0.7.16,>=0.7.12 in /usr/lib/python2.7/dist-packages (from
kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade):
oslo.concurrency>=3.5.0 in /usr/local/lib/python2.7/dist-packages (from
kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade): oslo.log>=1.14.0
in /usr/local/lib/python2.7/dist-packages (from kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade):
oslo.serialization>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from
kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade): oslo.utils>=3.5.0
in /usr/local/lib/python2.7/dist-packages (from kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade):
python-neutronclient>=4.2.0 in /usr/local/lib/python2.7/dist-packages (from
kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade): pyroute2>=0.3.10
in /usr/local/lib/python2.7/dist-packages (from kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade):
os-client-config>=1.13.1 in /usr/local/lib/python2.7/dist-packages (from
kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade):
neutron-lib>=0.1.0 in /usr/local/lib/python2.7/dist-packages (from
kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.7 in
/usr/local/lib/python2.7/dist-packages (from
Flask<1.0,>=0.10->kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.4 in
/usr/lib/python2.7/dist-packages (from
Flask<1.0,>=0.10->kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade):
itsdangerous>=0.21 in /usr/local/lib/python2.7/dist-packages (from
Flask<1.0,>=0.10->kuryr==0.1.0.dev422)
Requirement already satisfied (use --upgrade to upgrade): markupsafe in
/usr/lib/python2.7/dist-packages (from
Jinja2>=2.4->Flask<1.0,>=0.10->kuryr==0.1.0.dev422)
Cleaning up...
root@compute1:~/kuryr#


Thanks
Akshay




On Wed, May 25, 2016 at 4:24 PM, Antoni Segura Puimedon <
toni+openstac...@midokura.com> wrote:

>
>
> On Wed, May 25, 2016 at 11:20 AM, Jaume Devesa <devv...@gmail.com> wrote:
>
>> Hello Akshay,
>>
>> responses inline:
>>
>> On Wed, 25 May 2016 10:48, Akshay Kumar Sanghai wrote:
>> > Hi,
>> > I have a 4 node openstack setup (1 controller, 1 network, 2 compute
>> nodes).
>> > I want to install kuryr in liberty version. I cannot find a package in
>> > ubuntu repo.
>>
>> There is not yet official version of Kuryr. You'll need to install using
>> the
>> current master branch of the repo[1] (by cloning it, install dependencies
>> and
>> `python setup.py install`
>>
>
>  Or you could run it dockerized. Read the "repo info" in [2]
>
> We are working on having the packaging ready, but we are splitting the
> repos first,
> so it will take a while for plain distro packages.
>
>
>> > -How do i install kuryr?
>> If the README.rst file of the repository is not enough for you in terms of
>> installation and configuration, please let us know what's not clear.
>>
>> > - what are the components that need to be installed on the respective
>> > nodes?
>>
>> You need to run the kuryr libnetwork's service in all the nodes that you
>> use as
>> docker 'workers'
>>

[openstack-dev] [kuryr][magnum]Installing kuryr for mutlinode openstack setup

2016-05-24 Thread Akshay Kumar Sanghai
Hi,
I have a 4 node openstack setup (1 controller, 1 network, 2 compute nodes).
I want to install kuryr in liberty version. I cannot find a package in
ubuntu repo.
-How do i install kuryr?
- what are the components that need to be installed on the respective
nodes?
- Do i need to install magnum for docker swarm?
- Can i use docker swarm, kubernetes, mesos in openstack without using
kuryr? What will be the disadvantages?

Thanks
Akshay
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [barbican]barbican-worker and barbican-keystone-listener not starting up

2016-05-12 Thread Akshay Kumar Sanghai
Hi,
I have a 4 node setup of openstack liberty. 1 controller , 2 compute node
and 1 network node. I did a apt-get barbican-api barbican-worker
barbican-keystone-listener and installed the components. The deployment is
pointing to the ubuntu liberty repository. The database used by all the
services is mariadb.

After modifying the barbican.conf, I did barbican-db-manage upgrade and
restarted the services.

These are the status of the services
root@controller1:~# service barbican-keystone-listener status
barbican-keystone-listener stop/waiting
root@controller1:~# service barbican-worker status
barbican-worker stop/waiting
root@controller1:~# service barbican-api status
barbican-api start/running, process 36754

This is a section of the barbican-api.log file

ImportError: No module named barbican.api.app
OOPS ! failed loading app in worker 1 (pid 6677) :( trying again...
worker respawning too fast !!! i have to sleep a bit (2 seconds)...
Respawned uWSGI worker 1 (new pid: 6748)

can you please help?

Thanks
Akshay
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [barbican]barbican github installation failing

2016-05-10 Thread Akshay Kumar Sanghai
Hi,
I have a 4 node working setup of openstack (1 controller, 1 network node, 2
compute node).
I am trying to use ssl offload feature of lbaas v2. For that I need tls
containers, hence barbican.
I did a git clone of barbican repo from
https://github.com/openstack/barbican
Then ./bin/barbican.sh install
I am getting this error

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in
patched
return func(*args, **keywargs)
  File "barbican/tests/queue/test_keystone_listener.py", line 327, in
test_should_wait
msg_server = keystone_listener.MessageServer(self.conf)
  File "barbican/queue/keystone_listener.py", line 156, in __init__
endpoints=[self])
  File "barbican/queue/__init__.py", line 112, in get_notification_server
allow_requeue)
TypeError: __init__() takes exactly 3 arguments (5 given)
Ran 1246 tests in 172.776s (-10.533s)
FAILED (id=1, failures=4, skips=4)
error: testr failed (1)
Starting barbican...
./bin/barbican.sh: line 57: uwsgi: command not found

Please help me.

Thanks
Akshay
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [lbaas][octavia] Queries on octavia features

2016-04-15 Thread Akshay Kumar Sanghai
Hi,
I am trying to use lbaas v2 for loadbalancing in openstack. I have few
queries. I don't know whether I should directly ask you guys or not. If you
can answer, then that would be great.

- Is the v1 of octavia released? The documentation details the v0.5 design
and under v1 project specs, there is active standby setup of amphora.

- Do we have ssl offloading, L7 based loadbalancing in the current release?

- Currently HAproxy provides the loadbalancing services in amphora. Do you
guys plan to change the provider?

Thanks,
Akshay Sanghai
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [kloudbuster] authorization failed problem

2016-04-07 Thread Akshay Kumar Sanghai
Thanks Yichen and Alec.
Yichen, It was what I was looking for. I started with Rally , but faced
problem with defining the number of router per tenant and traffic
generation. Then, I found that there is a new project Kloudbuster. I faced
some issues , but with your help , I succeeded in running it.
One suggestion: I think Rally developers  are also trying for the traffic
generation. So just make sure, we don't have two things for the same work
under the openstack umbrella.
One Request:  I have not contributed to any project till now. I am
interested in contributing to the Kloudbuster project. Please suggest how
to start and help me in getting up to speed.

Regards,
Akshay

On Wed, Apr 6, 2016 at 1:44 PM, Yichen Wang (yicwang) <yicw...@cisco.com>
wrote:

> Hi, Akshay,
>
>
>
> Just curious, how do you find KloudBuster so far? Does it do its job and
> fit your needs? J
>
>
>
> Thanks very much!
>
>
>
> Regards,
>
> Yichen
>
>
>
> *From:* Alec Hothan (ahothan)
> *Sent:* Tuesday, April 5, 2016 9:54 AM
> *To:* Akshay Kumar Sanghai <akshaykumarsang...@gmail.com>; Yichen Wang
> (yicwang) <yicw...@cisco.com>
> *Cc:* OpenStack List <openstack-dev@lists.openstack.org>
>
> *Subject:* Re: [openstack-dev] [kloudbuster] authorization failed problem
>
>
>
>
>
> Akshay,
>
>
>
> Note that version 6 is now released so please use the official image from
> the OpenStack App Catalog and update your code to latest.
>
> The doc has also been updated, you might want to have a look at the new
> arch section and gallery - those should help you with the questions you had
> below regarding the scale test staging and traffic flows.
>
> http://kloudbuster.readthedocs.org/en/latest/index.html
>
>
>
> Thanks
>
>
>
>Alec
>
>
>
>
>
> *From: *Akshay Kumar Sanghai <akshaykumarsang...@gmail.com>
> *Date: *Wednesday, March 30, 2016 at 11:11 AM
> *To: *"Yichen Wang (yicwang)" <yicw...@cisco.com>
> *Cc: *Alec Hothan <ahot...@cisco.com>, OpenStack List <
> openstack-dev@lists.openstack.org>
> *Subject: *Re: [openstack-dev] [kloudbuster] authorization failed problem
>
>
>
> Hi Yichen,
>
> Thanks a lot . I will try with v6 and reach out to you for further help.
>
>
>
> Regards,
>
> Akshay
>
>
>
> On Wed, Mar 30, 2016 at 11:35 PM, Yichen Wang (yicwang) <yicw...@cisco.com>
> wrote:
>
> Hi, Akshay,
>
>
>
> From the log you attached, the good news is you got KloudBuster installed
> and running fine! The problem is the image you are using (v5) is outdated
> for the latest KloudBuster main code. J
>
>
>
> Normally for every version of KloudBuster, it needs certain version of
> image to support the full functionality. In the case when new feature is
> brought in, we tag the main code with a new version, and bump up the image
> version. Like from v5 to v6, we added the capability to support storage
> testing on cinder volume and ephemeral disks as well. We are right in our
> time for publishing the v6 image to the OpenStack App Catalog, which may
> take another day or two. This is why you are seeing the connection to the
> redis agent in KB-Proxy is failing…
>
>
>
> In order to unblock you, here is the RC image of v6 we are using right
> now, replace it in your cloud and KloudBuster should be good to go:
>
> https://cisco.box.com/s/xelzx15swjra5qr0ieafyxnbyucnnsa0
>
>
>
> Now back to your question.
>
> -Does the server side means the cloud generating the traffic and client
> side means the the cloud on which connections are established? Can you
> please elaborate on client, server and proxy?
>
> [Yichen] It is the other way around. Server is running nginx, and client
> is running the traffic generator (wrk2). It is like the way we normally
> understand. Since there might be lots of servers and clients in the same
> cloud, so KB-Proxy is an additional VM that runs in the clients side to
> orchestrate all client VMs to generate traffic, collect the results from
> each VM, and send them back to the main KloudBuster for processing.
> KB-Proxy is the where the redis server is sitting, and acts as the proxy
> node to connect all internal VMs to the external network. This is why a
> floating IP is needed for the proxy node.
>
>
>
> -while running the kloudbuster, I saw "setting up redis connection". Can
> you please expain to which connection is established and why? Is it
> KB_PROXY?
>
> [Yichen] As I explained above, KB-Proxy is the bridge between internal VM
> and external world (like the host you are running KloudBuster from).
> “Setting up redis connection” means the KloudBuster is t

Re: [openstack-dev] [kloudbuster] authorization failed problem

2016-03-30 Thread Akshay Kumar Sanghai
Hi Yichen,
Thanks a lot . I will try with v6 and reach out to you for further help.

Regards,
Akshay

On Wed, Mar 30, 2016 at 11:35 PM, Yichen Wang (yicwang) <yicw...@cisco.com>
wrote:

> Hi, Akshay,
>
>
>
> From the log you attached, the good news is you got KloudBuster installed
> and running fine! The problem is the image you are using (v5) is outdated
> for the latest KloudBuster main code. J
>
>
>
> Normally for every version of KloudBuster, it needs certain version of
> image to support the full functionality. In the case when new feature is
> brought in, we tag the main code with a new version, and bump up the image
> version. Like from v5 to v6, we added the capability to support storage
> testing on cinder volume and ephemeral disks as well. We are right in our
> time for publishing the v6 image to the OpenStack App Catalog, which may
> take another day or two. This is why you are seeing the connection to the
> redis agent in KB-Proxy is failing…
>
>
>
> In order to unblock you, here is the RC image of v6 we are using right
> now, replace it in your cloud and KloudBuster should be good to go:
>
> https://cisco.box.com/s/xelzx15swjra5qr0ieafyxnbyucnnsa0
>
>
>
> Now back to your question.
>
> -Does the server side means the cloud generating the traffic and client
> side means the the cloud on which connections are established? Can you
> please elaborate on client, server and proxy?
>
> [Yichen] It is the other way around. Server is running nginx, and client
> is running the traffic generator (wrk2). It is like the way we normally
> understand. Since there might be lots of servers and clients in the same
> cloud, so KB-Proxy is an additional VM that runs in the clients side to
> orchestrate all client VMs to generate traffic, collect the results from
> each VM, and send them back to the main KloudBuster for processing.
> KB-Proxy is the where the redis server is sitting, and acts as the proxy
> node to connect all internal VMs to the external network. This is why a
> floating IP is needed for the proxy node.
>
>
>
> -while running the kloudbuster, I saw "setting up redis connection". Can
> you please expain to which connection is established and why? Is it
> KB_PROXY?
>
> [Yichen] As I explained above, KB-Proxy is the bridge between internal VM
> and external world (like the host you are running KloudBuster from).
> “Setting up redis connection” means the KloudBuster is trying to connect to
> the redis server on the KB-Proxy node. You may see some retries because it
> does take some time for the VM to be up running.
>
>
>
> Thanks very much!
>
>
>
> Regards,
>
> Yichen
>
>
>
> *From:* Akshay Kumar Sanghai [mailto:akshaykumarsang...@gmail.com]
> *Sent:* Wednesday, March 30, 2016 7:31 AM
> *To:* Alec Hothan (ahothan) <ahot...@cisco.com>
> *Cc:* OpenStack List <openstack-dev@lists.openstack.org>; Yichen Wang
> (yicwang) <yicw...@cisco.com>
>
> *Subject:* Re: [openstack-dev] [kloudbuster] authorization failed problem
>
>
>
> Hi Alec,
>
> Thanks for clarifying. I didnot have the cinder service previously. It was
> not a complete setup. Now, I did the setup of cinder service.
>
> Output of keystone service list.
>
> [image: Inline image 1]
>
> I installed the setup of openstack using the installation guide for ubuntu
> and for kloudbuster, its a pypi based installation. So, I am running
> kloudbuster using the CLI option.
>
> kloudbuster --tested-rc keystone-openrc.sh --tested-passwd * --config
> kb.cfg
>
>
>
> contents of kb.cfg:
>
> image_name: 'kloudbuster'
>
>
>
> I added the kloudbuster v5 version as glance image with name as
> kloudbuster.
>
>
>
> I don't understand some basic things. If you can help, then that would be
> great.
>
> -Does the server side means the cloud generating the traffic and client
> side means the the cloud on which connections are established? Can you
> please elaborate on client, server and proxy?
>
> -while running the kloudbuster, I saw "setting up redis connection". Can
> you please expain to which connection is established and why? Is it
> KB_PROXY?
>
>
>
> Please find attached the run of kloudbuster as a file. I have still not
> succeeded in running the kloudbuster, some errors.
>
> I appreciate your help Alec.
>
>
>
> Thanks,
>
> Akshay
>
>
>
> On Mon, Mar 28, 2016 at 8:59 PM, Alec Hothan (ahothan) <ahot...@cisco.com>
> wrote:
>
>
>
> Can you describe what you mean by "do not have a cinder service"?
>
> Can you provide the output of "keystone service-list"?
>
>
>
&g

Re: [openstack-dev] [Rally] single router per tenant in network context

2016-03-30 Thread Akshay Kumar Sanghai
Hi Aleksandr,
Thanks Aleksandr. According to your references,I made the necessary changes
to the code for single router , but now facing problems in the resource
cleanup. While I correct the code, Can you suggest how to generate traffic
between the VMs ? Is there any tool that is generally used for traffic
generation?

Thanks,
Akshay

On Wed, Mar 16, 2016 at 1:41 PM, Aleksandr Maretskiy <
amarets...@mirantis.com> wrote:

> Hi,
>
> network context creates router for each network automatically, so you can
> not reduce the number of routers with this context
>
> https://github.com/openstack/rally/blob/master/rally/plugins/openstack/context/network/networks.py#L79
>
> However you can create and use own network context plugin, inherited from
> https://github.com/openstack/rally/blob/master/rally/plugins/openstack/context/network/networks.py#L31
> and override its setup() method - create single router per tenant and then
> attach it to each created network, like here
> https://github.com/openstack/rally/blob/master/rally/plugins/openstack/wrappers/network.py#L342-L343
>
> Ask me if you need more help
>
>
> On Tue, Mar 15, 2016 at 7:58 PM, Akshay Kumar Sanghai <
> akshaykumarsang...@gmail.com> wrote:
>
>> Hi,
>> I have a openstack setup with 1 controller node, 1 network node and 2
>> compute nodes. I want to perform scale testing of the setup in the
>> following manner:
>>
>> - Create 10 tenants
>> - Create 1 router per tenant
>> - Create 100 neutron networks across 10 tenants attached to the router
>> - Create 500 VMs spread across 10 tenants attached to the networks
>>
>> I used the boot_server scenario and defined the number of networks and
>> tenants in the network and users context respectively. But I want only one
>> router to be created per tenant. In the current case, one router is created
>> per network.
>>
>> Do i have an option to accomplish this using the existing rally code? Or
>> should i go ahead and make some change in the network context for my use
>> case?
>>
>> Thanks,
>> Akshay
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [kloudbuster] authorization failed problem

2016-03-30 Thread Akshay Kumar Sanghai
Hi Alec,
Thanks for clarifying. I didnot have the cinder service previously. It was
not a complete setup. Now, I did the setup of cinder service.
Output of keystone service list.
[image: Inline image 1]
I installed the setup of openstack using the installation guide for ubuntu
and for kloudbuster, its a pypi based installation. So, I am running
kloudbuster using the CLI option.
kloudbuster --tested-rc keystone-openrc.sh --tested-passwd * --config
kb.cfg

contents of kb.cfg:
image_name: 'kloudbuster'

I added the kloudbuster v5 version as glance image with name as
kloudbuster.

I don't understand some basic things. If you can help, then that would be
great.
-Does the server side means the cloud generating the traffic and client
side means the the cloud on which connections are established? Can you
please elaborate on client, server and proxy?
-while running the kloudbuster, I saw "setting up redis connection". Can
you please expain to which connection is established and why? Is it
KB_PROXY?

Please find attached the run of kloudbuster as a file. I have still not
succeeded in running the kloudbuster, some errors.
I appreciate your help Alec.

Thanks,
Akshay

On Mon, Mar 28, 2016 at 8:59 PM, Alec Hothan (ahothan) <ahot...@cisco.com>
wrote:

>
> Can you describe what you mean by "do not have a cinder service"?
> Can you provide the output of "keystone service-list"?
>
> We'd have to know a bit more about what you have been doing:
> how did you install your openstack, how did you install kloudbuster, which
> kloudbuster qcow2 image version did you use, who did you run kloudbuster
> (cli or REST or web UI), what config file have you been using, complete log
> of the run (including backtrace)...
>
> But the key is - you should really have a fully working openstack
> deployment before using kloudbuster. Nobody has never tried so far to use
> kloudbuster without such basic service as cinder working.
>
> Thanks
>
>   Alec
>
>
>
> From: Akshay Kumar Sanghai <akshaykumarsang...@gmail.com>
> Date: Monday, March 28, 2016 at 6:51 AM
> To: OpenStack List <openstack-dev@lists.openstack.org>, Alec Hothan <
> ahot...@cisco.com>
> Cc: "Yichen Wang (yicwang)" <yicw...@cisco.com>
> Subject: Re: [openstack-dev] [kloudbuster] authorization failed problem
>
> Hi Alec,
> Thanks for the help. I ran into another problem. At present I do not have
> a cinder service. So ,when i am trying to run kloudbuster, I am getting
> this error:
> "EndpointNotFound: publicURL endpoint for volumev2 service not found"
> Is it possible to run the scale test (creation of VMs, router, network)
> without having a cinder service? Any option that can be used so that
> kloudbuster can run without cinder.
>
> Thanks,
> Akshay
>
> On Wed, Mar 23, 2016 at 9:05 PM, Alec Hothan (ahothan) <ahot...@cisco.com>
> wrote:
>
>> Hi Akshay
>>
>> The URL you are using is a private address (
>> http://192.168.138.51:5000/v2.0) and is likely the reason it does not
>> work.
>> If you run the kloudbuster App in the cloud, this app needs to have
>> access to the cloud under test.
>> So even if you can access 192.168.138.51 from your local browser (which
>> runs on your workstation or laptop) it may not be accessible from a VM that
>> runs in your cloud.
>> For that to work you need to get an URL that is reachable from the VM.
>>
>> In some cases where the cloud under test is local, it is easier to just
>> run kloudbuster locally as well (from the same place where you can ping
>> 192.168.138.51).
>> You can either use a local VM to run the kloudbuster image (vagrant,
>> virtual box...) or just simpler, install kloudbuster locally using git
>> clone or pip install (see the installation instructions in the doc
>> http://kloudbuster.readthedocs.org/en/latest/).
>>
>> Regards,
>>
>>Alec
>>
>>
>>
(vkb) root@controller:~# kloudbuster --tested-rc keystone-openrc.sh 
--tested-passwd sanghai --config kb.cfg
2016-03-30 19:37:35 WARNING No public key is found or specified to instantiate 
VMs. You will not be able to access the VMs spawned by KloudBuster.
2016-03-30 19:37:36 INFO Creating kloud: KBs
2016-03-30 19:37:36 INFO Creating kloud: KBc
2016-03-30 19:37:36 INFO Creating tenant: KBs-T0
2016-03-30 19:37:36 INFO Creating user: KBs-T0-U
2016-03-30 19:37:36 INFO Creating routers and networks for tenant KBs-T0
2016-03-30 19:37:38 INFO Scheduled to create VMs for network KBs-T0-U-R0-N0...
2016-03-30 19:37:38 INFO Creating tenant: KBc-T0
2016-03-30 19:37:38 INFO Creating user: KBc-T0-U
2016-03-30 19:37:39 INFO Creating routers and networks for tenant KBc-T0
2016-03-30 19:37:40 INFO Scheduled to create VMs for network K

Re: [openstack-dev] [kloudbuster] authorization failed problem

2016-03-28 Thread Akshay Kumar Sanghai
Hi Alec,
Thanks for the help. I ran into another problem. At present I do not have a
cinder service. So ,when i am trying to run kloudbuster, I am getting this
error:
"EndpointNotFound: publicURL endpoint for volumev2 service not found"
Is it possible to run the scale test (creation of VMs, router, network)
without having a cinder service? Any option that can be used so that
kloudbuster can run without cinder.

Thanks,
Akshay

On Wed, Mar 23, 2016 at 9:05 PM, Alec Hothan (ahothan) <ahot...@cisco.com>
wrote:

> Hi Akshay
>
> The URL you are using is a private address (
> http://192.168.138.51:5000/v2.0) and is likely the reason it does not
> work.
> If you run the kloudbuster App in the cloud, this app needs to have access
> to the cloud under test.
> So even if you can access 192.168.138.51 from your local browser (which
> runs on your workstation or laptop) it may not be accessible from a VM that
> runs in your cloud.
> For that to work you need to get an URL that is reachable from the VM.
>
> In some cases where the cloud under test is local, it is easier to just
> run kloudbuster locally as well (from the same place where you can ping
> 192.168.138.51).
> You can either use a local VM to run the kloudbuster image (vagrant,
> virtual box...) or just simpler, install kloudbuster locally using git
> clone or pip install (see the installation instructions in the doc
> http://kloudbuster.readthedocs.org/en/latest/).
>
> Regards,
>
>Alec
>
>
>
>
> From: Akshay Kumar Sanghai <akshaykumarsang...@gmail.com>
> Reply-To: "openstack-dev@lists.openstack.org" <
> openstack-dev@lists.openstack.org>
> Date: Wednesday, March 23, 2016 at 6:59 AM
> To: "Yichen Wang (yicwang)" <yicw...@cisco.com>, "
> openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org>
> Subject: [openstack-dev] [kloudbuster] authorization failed problem
>
> Hi,
>
> I am trying to use cloudbuster for the scale testing of openstack setup.
>
> I have a openstack setup with 1 controller, 1 network and 2 compute node.
> I am trying to use to use kloudbuster for scale testing of the setup. I
> created one VM with kloudbuster image. I accessed the web UI and clicked on
> "stage". This is the log:
> :23,206 WARNING No public key is found or specified to instantiate VMs.
> You will not be able to access the VMs spawned by KloudBuster.
> 2016-03-22 14:01:30,464 WARNING Traceback (most recent call last):
>   File \"/kb_test/kloudbuster/kb_server/kb_server/controllers/api_kb.py\",
> line 58, in kb_stage_thread_handler
> if kb_session.kloudbuster.check_and_upload_images():
>   File
> \"/kb_test/kloudbuster/kb_server/kb_server/controllers/../../../kloudbuster/kloudbuster.py\",
> line 283, in check_and_upload_images
> keystone_list = [create_keystone_client(self.server_cred)[0],
>   File
> \"/kb_test/kloudbuster/kb_server/kb_server/controllers/../../../kloudbuster/kloudbuster.py\",
> line 54, in create_keystone_client
> return (keystoneclient.Client(endpoint_type='publicURL', **creds),
> creds['auth_url'])
>   File
> \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py\",
> line 166, in __init__
> self.authenticate()
>   File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/utils.py\",
> line 337, in inner
> return func(*args, **kwargs)
>   File
> \"/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py\",
> line 589, in authenticate
> resp = self.get_raw_token_from_identity_service(**kwargs)
>   File
> \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py\",
> line 210, in get_raw_token_from_identity_service
> _(\"Authorization Failed: %s\") % e)
> AuthorizationFailure: Authorization Failed: Unable to establish connection
> to http://192.168.138.51:5000/v2.0/tokens
>
> I used a rest client to find whether v2.0/tokens is working or not, it was
> working. I got the token . This is the openrc file I used:
> export OS_PROJECT_DOMAIN_ID=default
> export OS_USER_DOMAIN_ID=default
> #export OS_IMAGE_API_VERSION=2
> export OS_AUTH_URL=http://192.168.138.51:5000/v2.0
> export OS_TENANT_NAME=admin
> #export OS_PROJECT_NAME=admin
> export OS_USERNAME=admin
> export OS_PASSWORD=sanghai
> export OS_REGION_NAME=RegionOne
>
> Please suggest a solution and let me know if I missed some details.
>
> Thanks,
> Akshay
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [kloudbuster] authorization failed problem

2016-03-23 Thread Akshay Kumar Sanghai
Hi,

I am trying to use cloudbuster for the scale testing of openstack setup.

I have a openstack setup with 1 controller, 1 network and 2 compute node. I
am trying to use to use kloudbuster for scale testing of the setup. I
created one VM with kloudbuster image. I accessed the web UI and clicked on
"stage". This is the log:
:23,206 WARNING No public key is found or specified to instantiate VMs. You
will not be able to access the VMs spawned by KloudBuster.
2016-03-22 14:01:30,464 WARNING Traceback (most recent call last):
  File \"/kb_test/kloudbuster/kb_server/kb_server/controllers/api_kb.py\",
line 58, in kb_stage_thread_handler
if kb_session.kloudbuster.check_and_upload_images():
  File
\"/kb_test/kloudbuster/kb_server/kb_server/controllers/../../../kloudbuster/kloudbuster.py\",
line 283, in check_and_upload_images
keystone_list = [create_keystone_client(self.server_cred)[0],
  File
\"/kb_test/kloudbuster/kb_server/kb_server/controllers/../../../kloudbuster/kloudbuster.py\",
line 54, in create_keystone_client
return (keystoneclient.Client(endpoint_type='publicURL', **creds),
creds['auth_url'])
  File
\"/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py\",
line 166, in __init__
self.authenticate()
  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/utils.py\",
line 337, in inner
return func(*args, **kwargs)
  File
\"/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py\",
line 589, in authenticate
resp = self.get_raw_token_from_identity_service(**kwargs)
  File
\"/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py\",
line 210, in get_raw_token_from_identity_service
_(\"Authorization Failed: %s\") % e)
AuthorizationFailure: Authorization Failed: Unable to establish connection
to http://192.168.138.51:5000/v2.0/tokens

I used a rest client to find whether v2.0/tokens is working or not, it was
working. I got the token . This is the openrc file I used:
export OS_PROJECT_DOMAIN_ID=default
export OS_USER_DOMAIN_ID=default
#export OS_IMAGE_API_VERSION=2
export OS_AUTH_URL=http://192.168.138.51:5000/v2.0
export OS_TENANT_NAME=admin
#export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=sanghai
export OS_REGION_NAME=RegionOne

Please suggest a solution and let me know if I missed some details.

Thanks,
Akshay
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Rally] single router per tenant in network context

2016-03-15 Thread Akshay Kumar Sanghai
Hi,
I have a openstack setup with 1 controller node, 1 network node and 2
compute nodes. I want to perform scale testing of the setup in the
following manner:

- Create 10 tenants
- Create 1 router per tenant
- Create 100 neutron networks across 10 tenants attached to the router
- Create 500 VMs spread across 10 tenants attached to the networks

I used the boot_server scenario and defined the number of networks and
tenants in the network and users context respectively. But I want only one
router to be created per tenant. In the current case, one router is created
per network.

Do i have an option to accomplish this using the existing rally code? Or
should i go ahead and make some change in the network context for my use
case?

Thanks,
Akshay
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev