[openstack-dev] [operstack-dev][Congress] congress-server fails

2014-08-11 Thread Rajdeep Dua
Following command gives an error

./*bin*/*congress*-*server* --config-file etc/congress.conf.sample

Error i am getting is ImportError: No module named
keystonemiddleware.auth_token

Tried installing keystonemiddleware manually, got the following error

$ sudo pip install keystonemiddleware
Downloading/unpacking keystonemiddleware
  Running setup.py egg_info for package keystonemiddleware
[pbr] Reusing existing SOURCES.txt
Requirement already satisfied (use --upgrade to upgrade): Babel>=1.3 in
/usr/local/lib/python2.7/dist-packages (from keystonemiddleware)
Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.9 in
/usr/local/lib/python2.7/dist-packages (from keystonemiddleware)
Requirement already satisfied (use --upgrade to upgrade): netaddr>=0.7.6 in
/usr/local/lib/python2.7/dist-packages (from keystonemiddleware)
Downloading/unpacking oslo.config>=1.4.0.0a3 (from keystonemiddleware)
  Could not find a version that satisfies the requirement
oslo.config>=1.4.0.0a3 (from keystonemiddleware) (from versions: )
No distributions matching the version for oslo.config>=1.4.0.0a3 (from
keystonemiddleware)
Storing complete log in /home/hadoop/.pip/pip.log

Thanks
Rajdeep
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Congress] congress-server fails to start

2014-08-11 Thread Rajdeep Dua
Hi All,
command to start the congress-server fails

$ ./bin/congress-server --config-file etc/congress.conf.sample

Error :
ImportError: No module named keystonemiddleware.auth_token

Installing keystonemiddleware manually also fails

$ sudo pip install keystonemiddleware

Could not find a version that satisfies the requirement
oslo.config>=1.4.0.0a3 (from keystonemiddleware) (from versions: )
No distributions matching the version for oslo.config>=1.4.0.0a3 (from
keystonemiddleware)

Thanks
Rajdeep
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Congress] congress-server fails to start

2014-08-11 Thread Rajdeep Dua
Thanks, i was running older version of pip.

All the requirements were installed successfully.

Now getting the following error

sudo ./bin/congress-server --config-file etc/congress.conf.sample
2014-08-12 08:26:23.417 31129 CRITICAL congress.service [-] 'ascii' codec
can't decode byte 0xf3 in position 1: ordinal not in range(128)



On Tue, Aug 12, 2014 at 2:05 AM, Peter Balland  wrote:

>  Hi Rajdeep,
>
>  What version of pip are you running?  Please try installing the latest
> version (https://pip.pypa.io/en/latest/installing.html) and run ‘sudo pip
> install –r requirements.txt’.
>
>  - Peter
>
>   From: Rajdeep Dua 
> Reply-To: "OpenStack Development Mailing List (not for usage questions)" <
> openstack-dev@lists.openstack.org>
> Date: Monday, August 11, 2014 at 11:27 AM
> To: "OpenStack Development Mailing List (not for usage questions)" <
> openstack-dev@lists.openstack.org>
> Subject: [openstack-dev] [Congress] congress-server fails to start
>
>  Hi All,
>  command to start the congress-server fails
>
> $ ./bin/congress-server --config-file etc/congress.conf.sample
>
>  Error :
> ImportError: No module named keystonemiddleware.auth_token
>
>  Installing keystonemiddleware manually also fails
>
>  $ sudo pip install keystonemiddleware
>
> Could not find a version that satisfies the requirement
> oslo.config>=1.4.0.0a3 (from keystonemiddleware) (from versions: )
> No distributions matching the version for oslo.config>=1.4.0.0a3 (from
> keystonemiddleware)
>
>  Thanks
> Rajdeep
>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [congress] Jenkins failure

2014-08-18 Thread Rajdeep Dua
One of my CL - updation of  README.rst seems to be failing jenkins

https://review.openstack.org/#/c/114896/1

Any idea how to get this passed?

Thanks
Rajdeep
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [congress] Jenkins failure

2014-08-18 Thread Rajdeep Dua
my branch already has the latest changes.
it is not able to merge two rst files hence it failed


On Tue, Aug 19, 2014 at 10:02 AM, Akash Gangil  wrote:

> "This change was unable to be automatically merged with the current state
> of the repository. Please rebase your change and upload a new patchset."
>
> Rebase and commit?
>
>
> On Tue, Aug 19, 2014 at 12:10 AM, Rajdeep Dua 
> wrote:
>
>> One of my CL - updation of  README.rst seems to be failing jenkins
>>
>> https://review.openstack.org/#/c/114896/1
>>
>> Any idea how to get this passed?
>>
>> Thanks
>> Rajdeep
>>
>> ___
>> OpenStack-dev mailing list
>> OpenStack-dev@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
> --
> Akash
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Horizon]Dev environment default login

2014-09-11 Thread Rajdeep Dua
Hi,
I have setup a local dev environment with a custom dashboard using
instructions below

http://docs.openstack.org/developer/horizon/topics/tutorial.html

Horizon started using ./run_tests.sh --runserver 0.0.0.0:8877
What is the default password for admin login?

Note : it is not pointing to any openstack installation yet

Thanks
Rajdeep
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Congress] Nominating Aaron Rosen for congress-core

2014-09-18 Thread Rajdeep Dua
+1

On Fri, Sep 12, 2014 at 12:14 PM, Tim Hinrichs  wrote:

> +1
>
> Tim
>
> On Sep 12, 2014, at 11:47 AM, Sean Roberts 
> wrote:
>
> > +1
> >
> > ~sean
> >
> >> On Sep 12, 2014, at 11:28 AM, Peter Balland 
> wrote:
> >>
> >> Hello,
> >>
> >> I would like to nominate Aaron Rosen for the congress-core team.
> >>
> >> Aaron has been involved in congress for the last few months providing
> >> valuable reviews as well as leading the keystone integration and
> >> congressclient work.
> >>
> >> References:
> >>
> >>
> https://review.openstack.org/#/q/owner:arosen+project:+stackforge/congress
> ,
> >> n,z
> >>
> >>
> https://review.openstack.org/#/q/owner:arosen+project:+stackforge/python-co
> >> ngressclient,n,z
> >>
> >>
> https://review.openstack.org/#/q/reviewer:arosen+project:+stackforge/congre
> >> ss,n,z
> >>
> >> Please respond with +1's or any concerns.
> >>
> >> Thanks,
> >>
> >> Peter
> >>
> >>
> >> ___
> >> OpenStack-dev mailing list
> >> OpenStack-dev@lists.openstack.org
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
> > ___
> > OpenStack-dev mailing list
> > OpenStack-dev@lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Solum] Proposed changes to solum-core

2014-01-27 Thread Rajdeep Dua
Congrats new reviewers



On Tuesday, January 28, 2014 8:54 AM, Noorul Islam Kamal Malmiyoda 
 wrote:
 
On Tue, Jan 28, 2014 at 2:30 AM, Adrian Otto  wrote:
> Solum Core Reviewers,
>
> Thanks everyone for your feedback. I have made the adjustments. Welcome to 
> the core group Angus and Noorul. Thanks again Monty.
>


Thank you all for the votes.

Regards,
Noorul



> On Jan 27, 2014, at 12:54 PM, Kurt Griffiths 
>  wrote:
>
>> +1
>>
>> On 1/27/14, 11:54 AM, "Monty Taylor"  wrote:
>>
>>> On 01/24/2014 05:32 PM, Adrian Otto wrote:
 Solum Core Reviewers,

 I propose the following changes to solum-core:

 +asalkeld
 +noorul
 -mordred

 Thanks very much to mordred for helping me to bootstrap the reviewer
 team. Please reply with your votes.
>>>
>>> +1
>>>
>>> My pleasure - you guys seem like you're off to the races -a nd asalkeld
>>> and noorul are both doing great.
>>>
>>>
>>> ___
>>> OpenStack-dev mailing list
>>> OpenStack-dev@lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

>>
>>
>> ___
>> OpenStack-dev mailing list
>> OpenStack-dev@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [oslo] VMware tools in oslo-incubator or straight to oslo.vmware

2014-01-28 Thread Rajdeep Dua
It might be more useful to make it a generic library which is used by relevant 
Openstack libraries



On Wednesday, January 29, 2014 3:36 AM, Donald Stufft  wrote:
 

On Jan 28, 2014, at 5:01 PM, Julien Danjou  wrote:

> On Tue, Jan 28 2014, Doug Hellmann wrote:
> 
>> There are several reviews related to adding VMware interface code to the
>> oslo-incubator so it can be shared among projects (start at
>> https://review.openstack.org/#/c/65075/7 if you want to look at the code).
>> 
>> I expect this code to be fairly stand-alone, so I wonder if we would be
>> better off creating an oslo.vmware library from the beginning, instead of
>> bringing it through the incubator.
>> 
>> Thoughts?
> 
> This sounds like a good idea, but it doesn't look OpenStack specific, so
> maybe building a non-oslo library would be better.
> 
> Let's not zope it! :)

+1 on not making it an oslo library.


> 
> -- 
> Julien Danjou
> # Free Software hacker # independent consultant
> # http://julien.danjou.info
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


-
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA



___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [solum] Issues in running tests

2014-02-02 Thread Rajdeep Dua
Hi,
I am facing some errors running tests in a fresh installation of solum

$tox -e py27
>
>
>
>
>
>gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
>-Wstrict-prototypes -fPIC 
>-I/home/hadoop/work/openstack/solum-2/solum/.tox/py27/build/lxml/src/lxml/includes
> -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o 
>build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
>
>
>In file included from src/lxml/lxml.etree.c:340:0:
>
>
>/home/hadoop/work/openstack/solum-2/solum/.tox/py27/build/lxml/src/lxml/includes/etree_defs.h:9:31:
> fatal error: libxml/xmlversion.h: No such file or directory
>
>
>compilation terminated.
>
>
>error: command 'gcc' failed with exit status 1
>
>
>

Thanks
Rajdeep___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [solum] Issues in running tests

2014-02-02 Thread Rajdeep Dua
Thanks that worked



On Sunday, February 2, 2014 7:17 PM, Julien Vey  wrote:
 
Hi Rajdeep,

We just updated the documentation recently with some necessary packages to 
install :  libxml2-dev and libxslt-dev.

You just need to install those 2 packages. 
If you are on Ubuntu, see 
http://stackoverflow.com/questions/6504810/how-to-install-lxml-on-ubuntu/6504860#6504860

Julien



2014-02-02 Rajdeep Dua :

Hi,
>I am facing some errors running tests in a fresh installation of solum
>
>
>$tox -e py27
>>
>>
>>
>>
>>
>>gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
>>-Wstrict-prototypes -fPIC 
>>-I/home/hadoop/work/openstack/solum-2/solum/.tox/py27/build/lxml/src/lxml/includes
>> -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o 
>>build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
>>
>>
>>In file included from src/lxml/lxml.etree.c:340:0:
>>
>>
>>/home/hadoop/work/openstack/solum-2/solum/.tox/py27/build/lxml/src/lxml/includes/etree_defs.h:9:31:
>> fatal error: libxml/xmlversion.h: No such file or directory
>>
>>
>>compilation terminated.
>>
>>
>>error: command 'gcc' failed with exit status 1
>>
>>
>>
>
>
>Thanks
>Rajdeep
>___
>OpenStack-dev mailing list
>OpenStack-dev@lists.openstack.org
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Neutron] Using Python-Neutronclient from Python - docstrings needed?

2014-02-08 Thread Rajdeep Dua
Sean,
We have written a few docs for writing these samples

http://python-api-guide.cfapps.io/content/neutron.html


You can find get the source here https://github.com/rajdeepd/openstack-samples

Thanks
Rajdeep



On Sunday, February 9, 2014 12:57 AM, "Collins, Sean" 
 wrote:
 
Hi,

I was writing a small script yesterday to parse a list of IP blocks and
create security groups and rules, by using python-neutronclient.

To be honest, it was very difficult - even though I have actually
written extensions to Python-Neutronclient for the QoS API. 

For those that are trying to use the client from inside their code,
they end up getting zero help as to how to actually call any of the
functions, and what parameters they take. 


    >>> neutron = client.Client('2.0', auth_url=os.environ['OS_AUTH_URL'],
    ...                             tenant_id=os.environ['OS_TENANT_ID'],
    ...                             username=os.environ['OS_USERNAME'],
    ...                             password=os.environ['OS_PASSWORD'])
    >>> help(neutron)

   |  create_credential = 
   |  
   |  create_firewall = 
   |  
   |  create_firewall_policy = 
   |  
   |  create_firewall_rule = 
   |  
   |  create_floatingip = 
   |  
   |  create_health_monitor = 
   |  
   |  create_ikepolicy = 
   |  
   |  create_ipsec_site_connection = 
   |  
   |  create_ipsecpolicy = 
   |  
   |  create_member = 
   |  
   |  create_metering_label = 


Since there was nothing there, I decided to go check the source of
python-neutronclient and see if there are any examples.

https://github.com/openstack/python-neutronclient/blob/master/doc/source/index.rst

If you read closely enough, you'll find out that the function takes a
dictionary, that looks very similar to the request/response examples
listed in the API documentation. So, I went over and checked it out.

http://docs.openstack.org/api/openstack-network/2.0/content/POST_security-groups-v2.0_createSecGroup_v2.0_security-groups_security-groups-ext.html

So from there, I was able to remember enough that each of these
functions takes a single argument, that is a dictionary, that mimics
the same structure that you see in the API documentation, so from there
it was just some experimentation to get the structure right.

Honestly it wasn't easy to remember all this stuff, since
it had been a couple months since I had worked with
python-neutronclient, and it had been from inside the library itself.

This was my first experience using it "on the outside" and it was pretty
tough - so I'm going to try and look into how we can improve the
docstrings for the client object, to make it a bit easier to figure out.

Thoughts?

-- 
Sean M. Collins
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Neutron] Using Python-Neutronclient from Python - docstrings needed?

2014-02-09 Thread Rajdeep Dua
Yes, We would be interested in doing that.
Please let me know which is the right group/ team for this?





On Monday, February 10, 2014 10:34 AM, "Collins, Sean" 
 wrote:
 
Do you have plans to submit these back upstream? It would be a great first 
start, perhaps we could add these as examples underneath the JSON 
request/reponse in http://api.openstack.org/api-ref-networking.html



Sean M. Collins


____
 
From: Rajdeep Dua [dua_rajd...@yahoo.com]
Sent: Saturday, February 08, 2014 11:10 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Neutron] Using Python-Neutronclient from Python - 
docstrings needed?


Sean,
We have written a few docs for writing these samples

http://python-api-guide.cfapps.io/content/neutron.html


You can find get the source here https://github.com/rajdeepd/openstack-samples

Thanks
Rajdeep



On Sunday, February 9, 2014 12:57 AM, "Collins, Sean" 
 wrote:

Hi,

I was writing a small script yesterday to parse a list of IP blocks and
create security groups and rules, by using python-neutronclient.

To be honest, it was very difficult - even though I have actually
written extensions to Python-Neutronclient for the QoS API. 

For those that are trying to use the client from inside their code,
they end up getting zero help as to how to actually call any of the
functions, and what parameters they take. 


    >>> neutron = client.Client('2.0', auth_url=os.environ['OS_AUTH_URL'],
    ...                            tenant_id=os.environ['OS_TENANT_ID'],
    ...                            username=os.environ['OS_USERNAME'],
    ...                            password=os.environ['OS_PASSWORD'])
    >>> help(neutron)

  |  create_credential = 
  |  
  |  create_firewall = 
  |  
  |  create_firewall_policy = 
  |  
  |  create_firewall_rule = 
  |  
  |  create_floatingip = 
  |  
  |  create_health_monitor = 
  |  
  |  create_ikepolicy = 
  |  
  |  create_ipsec_site_connection = 
  |  
  |  create_ipsecpolicy = 
  |  
  |  create_member = 
  |  
  |  create_metering_label = 


Since there was nothing there, I decided to go check the source of
python-neutronclient and see if there are any examples.

https://github.com/openstack/python-neutronclient/blob/master/doc/source/index.rst

If you read closely enough, you'll find out that the function takes a
dictionary, that looks very similar to the request/response examples
listed in the API documentation. So, I went over and checked it out.

http://docs.openstack.org/api/openstack-network/2.0/content/POST_security-groups-v2.0_createSecGroup_v2.0_security-groups_security-groups-ext.html

So from there, I was able to remember enough that each of these
functions takes a single argument, that is a dictionary, that mimics
the same structure that you see in the API documentation, so from there
it was just some experimentation to get the structure right.

Honestly it wasn't easy to remember all this stuff, since
it had been a couple months since I had worked with
python-neutronclient, and it had been from inside the library itself.

This was my first experience using it "on the outside" and it was pretty
tough - so I'm going to try and look into how we can improve the
docstrings for the client object, to make it a bit easier to figure out.

Thoughts?

-- 
Sean M. Collins
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Congress] Design doc for Data sources

2014-02-27 Thread Rajdeep Dua
Updated the Neutron tables based on the example.
It will be great if we have similar file for keystone and nova as well

https://docs.google.com/document/d/1K9RkQuBSPN7Z2TmKfok7mw3E24otEGo8Pnsemxd5544/edit

Thanks
Rajdeep
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] Problem installing devstack

2015-01-05 Thread Rajdeep Dua
Getting this error while running stack.sh in devstack

Could not find a version that satisfies the requirement
SQLAlchemy<=0.8.99,<=0.9.99,>=0.8.4,>=0.9.7 (from keystone==2014.2.dev114)
(from versions: 0.4.2p3, 0.4.7p1, 0.5.4p1, 0.5.4p2, 0.1.0, 0.1.1, 0.1.2,
0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4,
0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5,
0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.4.0b1, 0.4.0b2, 0.4.0b3,
0.4.0b4, 0.4.0b5, 0.4.0b6, 0.4.0, 0.4.1, 0.4.2a0, 0.4.2b0, 0.4.2, 0.4.3,
0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.5.0b1, 0.5.0b2, 0.5.0b3, 0.5.0rc1,
0.5.0rc2, 0.5.0rc3, 0.5.0rc4, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5,
0.5.6, 0.5.7, 0.5.8, 0.6b1, 0.6b2, 0.6b3, 0.6.0, 0.6.1, 0.6.2, 0.6.3,
0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.6.9, 0.7.0, 0.7.1, 0.7.2, 0.7.3,
0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.7.10, 0.8.0b2, 0.8.0, 0.8.1,
0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.9.0, 0.9.1, 0.9.2, 0.9.3,
0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8)
  No distributions matching the version for
SQLAlchemy<=0.8.99,<=0.9.99,>=0.8.4,>=0.9.7 (from keystone==2014.2.dev114)

I saw a couple of bugs filed and patches going in.

Please clarify if this is fixed and how to get the latest changes in.

Thanks
Rajdeep
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Problem installing devstack

2015-01-05 Thread Rajdeep Dua
Thanks for the response, in my case i am still getting the same error..

On Tue, Jan 6, 2015 at 9:28 AM, Ken'ichi Ohmichi 
wrote:

> 2015-01-06 12:40 GMT+09:00 Rajdeep Dua :
> > Getting this error while running stack.sh in devstack
> >
> > Could not find a version that satisfies the requirement
> > SQLAlchemy<=0.8.99,<=0.9.99,>=0.8.4,>=0.9.7 (from
> keystone==2014.2.dev114)
> > (from versions: 0.4.2p3, 0.4.7p1, 0.5.4p1, 0.5.4p2, 0.1.0, 0.1.1, 0.1.2,
> > 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4,
> 0.2.5,
> > 0.2.6, 0.2.7, 0.2.8, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6,
> 0.3.7,
> > 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.4.0b1, 0.4.0b2, 0.4.0b3, 0.4.0b4,
> 0.4.0b5,
> > 0.4.0b6, 0.4.0, 0.4.1, 0.4.2a0, 0.4.2b0, 0.4.2, 0.4.3, 0.4.4, 0.4.5,
> 0.4.6,
> > 0.4.7, 0.4.8, 0.5.0b1, 0.5.0b2, 0.5.0b3, 0.5.0rc1, 0.5.0rc2, 0.5.0rc3,
> > 0.5.0rc4, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.5.7, 0.5.8,
> > 0.6b1, 0.6b2, 0.6b3, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6,
> 0.6.7,
> > 0.6.8, 0.6.9, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7,
> 0.7.8,
> > 0.7.9, 0.7.10, 0.8.0b2, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6,
> > 0.8.7, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8)
> >   No distributions matching the version for
> > SQLAlchemy<=0.8.99,<=0.9.99,>=0.8.4,>=0.9.7 (from
> keystone==2014.2.dev114)
> >
> > I saw a couple of bugs filed and patches going in.
> >
> > Please clarify if this is fixed and how to get the latest changes in.
>
>
> I faced the similar problem, and I could avoid it by removing
> /usr/local/lib/python2.7/dist-packages directory and ./stack.sh again.
>
> Hope that helps,
> Ken Ohmichi
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Problem installing devstack

2015-01-06 Thread Rajdeep Dua
Thanks for the responses RECLONE=yes worked for me.

On Tue, Jan 6, 2015 at 11:14 AM, Dr. Jens Rosenboom 
wrote:

> Am 06/01/15 um 04:40 schrieb Rajdeep Dua:
>
>  Getting this error while running stack.sh in devstack
>>
>> Could not find a version that satisfies the requirement
>> SQLAlchemy<=0.8.99,<=0.9.99,>=0.8.4,>=0.9.7 (from
>> keystone==2014.2.dev114)
>> (from versions: 0.4.2p3, 0.4.7p1, 0.5.4p1, 0.5.4p2, 0.1.0, 0.1.1, 0.1.2,
>> 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4,
>> 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5,
>> 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.4.0b1, 0.4.0b2, 0.4.0b3,
>> 0.4.0b4, 0.4.0b5, 0.4.0b6, 0.4.0, 0.4.1, 0.4.2a0, 0.4.2b0, 0.4.2, 0.4.3,
>> 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.5.0b1, 0.5.0b2, 0.5.0b3, 0.5.0rc1,
>> 0.5.0rc2, 0.5.0rc3, 0.5.0rc4, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5,
>> 0.5.6, 0.5.7, 0.5.8, 0.6b1, 0.6b2, 0.6b3, 0.6.0, 0.6.1, 0.6.2, 0.6.3,
>> 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.6.9, 0.7.0, 0.7.1, 0.7.2, 0.7.3,
>> 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.7.10, 0.8.0b2, 0.8.0, 0.8.1,
>> 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.9.0, 0.9.1, 0.9.2, 0.9.3,
>> 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8)
>>No distributions matching the version for
>> SQLAlchemy<=0.8.99,<=0.9.99,>=0.8.4,>=0.9.7 (from
>> keystone==2014.2.dev114)
>>
>> I saw a couple of bugs filed and patches going in.
>>
>> Please clarify if this is fixed and how to get the latest changes in.
>>
>
> I would assume that you are trying to reuse an older devstack
> installation, as this bug should have been fixed a couple of weeks ago.
>
> However, running stack.sh by default does not update the source repos once
> they exist, so you can either add "RECLONE=yes" to your config or go
> manually through the repos in /opt/stack and update them.
>
>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [devstack] Installation problem

2015-01-26 Thread Rajdeep Dua
Getting following exception on latest devstack installation.
Please let me know how to resolve this.

Thanks
Rajdeep

+ /usr/local/bin/glance-manage db_sync
Traceback (most recent call last):
  File "/usr/local/bin/glance-manage", line 9, in 
load_entry_point('glance==2015.1.dev24', 'console_scripts',
'glance-manage')()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 519, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 2630, in load_entry_point
return ep.load()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 2310, in load
return self.resolve()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 2316, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/opt/stack/glance/glance/cmd/manage.py", line 45, in 
from glance.common import config
  File "/opt/stack/glance/glance/common/config.py", line 29, in 
from oslo_concurrency import lockutils
  File
"/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py",
line 30, in 
from oslo.config import cfgfilter
ImportError: cannot import name cfgfilter
__
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] [devstack] Installation problem

2015-01-26 Thread Rajdeep Dua
Tried updating an existing installation..
Did a clean.sh and tried again with stack.sh
Now getting the following error..

ImportError: Could not import settings 'openstack_dashboard.settings' (Is
it on sys.path? Is there an import error in the settings file?): cannot
import name types


On Mon, Jan 26, 2015 at 7:33 PM, Abhishek Shrivastava <
abhis...@cloudbyte.com> wrote:

> Hi Rajdeep,
>
> Can you please send the details of how are you trying to install the
> latest devstack and complete log so that it will be easy to now where are
> you failing.
>
> On Mon, Jan 26, 2015 at 4:56 PM, Rajdeep Dua 
> wrote:
>
>> Getting following exception on latest devstack installation.
>> Please let me know how to resolve this.
>>
>> Thanks
>> Rajdeep
>>
>> + /usr/local/bin/glance-manage db_sync
>> Traceback (most recent call last):
>>   File "/usr/local/bin/glance-manage", line 9, in 
>> load_entry_point('glance==2015.1.dev24', 'console_scripts',
>> 'glance-manage')()
>>   File
>> "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
>> 519, in load_entry_point
>> return get_distribution(dist).load_entry_point(group, name)
>>   File
>> "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
>> 2630, in load_entry_point
>> return ep.load()
>>   File
>> "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
>> 2310, in load
>> return self.resolve()
>>   File
>> "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line
>> 2316, in resolve
>> module = __import__(self.module_name, fromlist=['__name__'], level=0)
>>   File "/opt/stack/glance/glance/cmd/manage.py", line 45, in 
>> from glance.common import config
>>   File "/opt/stack/glance/glance/common/config.py", line 29, in 
>> from oslo_concurrency import lockutils
>>   File
>> "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py",
>> line 30, in 
>> from oslo.config import cfgfilter
>> ImportError: cannot import name cfgfilter
>>
>>
>> __
>> 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
>>
>>
>
>
> --
>
>
> *Thanks & Regards,*
> *Abhishek*
> *Cloudbyte Inc. <http://www.cloudbyte.com>*
>
> __
> 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] [Congress][Data Integration]

2014-03-12 Thread Rajdeep Dua
Need some guidance on how to convert nested types into flat tuples.
Also should we reorder the tuple values in a particular sequence?

Thanks
Rajdeep

As an example i have shown networks and ports tuples with some nested types

networks - tuple format
---

keys (for reference)

{'status','subnets',
'name','test-network','provider:physical_network','admin_state_up',
'tenant_id','provider:network_type','router:external',
'shared',id,'provider:segmentation_id'}

values
---
('ACTIVE', ['4cef03d0-1d02-40bb-8c99-2f442aac6ab0'], 'test-network', None,
True,
'570fe78a1dc54cffa053bd802984ede2', 'gre', False, False,
'240ff9df-df35-43ae-9df5-27fae87f2492', 4)


ports - tuple format

keys (for reference)

{'status','binding:host_id', 'name', 'allowed_address_pairs',
'admin_state_up', 'network_id',
'tenant_id', 'extra_dhcp_opts': [],
'binding:vif_type', 'device_owner',
'binding:capabilities', 'mac_address',
'fixed_ips' , 'id', 'security_groups',
'device_id'}

Values

('ACTIVE', 'havana', '', [], True, '240ff9df-df35-43ae-9df5-27fae87f2492',
'570fe78a1dc54cffa053bd802984ede2', [], 'ovs', 'network:router_interface',
{'port_filter': True}, 'fa:16:3e:ab:90:df', [{'subnet_id':
'4cef03d0-1d02-40bb-8c99-2f442aac6ab0', 'ip_address': '90.0.0.1'}],
'0a2ce569-85a8-45ec-abb3-0d4b34ff69ba', [],
'864e4acf-bf8e-4664-8cf7-ad5daa95681e')
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Congress][Data Integration]

2014-03-13 Thread Rajdeep Dua
Thanks for the feedback.
Will create a design on these lines and send across for review


On Wed, Mar 12, 2014 at 3:53 PM, Tim Hinrichs  wrote:

> Hi Rajdeep,
>
> This is an great problem to work on because it confronts one of the
> assumptions we're making in Congress: that cloud services can be
> represented as a collection of tables in a reasonable way.  You're asking
> good questions here.
>
> More responses inline.
>
> Tim
>
>
> ------
>
> *From: *"Rajdeep Dua" 
> *To: *openstack-dev@lists.openstack.org
> *Sent: *Wednesday, March 12, 2014 11:54:28 AM
> *Subject: *[openstack-dev] [Congress][Data Integration]
>
>
> Need some guidance on how to convert nested types into flat tuples.
> Also should we reorder the tuple values in a particular sequence?
>
> Order of tuples doesn't matter. Order of columns (values) within a tuple
> doesn't really matter either, except that all tuples must use the same
> order and the policies we write must know which column is which.
>
>
> Thanks
> Rajdeep
>
> As an example i have shown networks and ports tuples with some nested types
>
> networks - tuple format
> ---
>
> keys (for reference)
>
> {'status','subnets',
> 'name','test-network','provider:physical_network','admin_state_up',
> 'tenant_id','provider:network_type','router:external',
> 'shared',id,'provider:segmentation_id'}
>
> values
> ---
> ('ACTIVE', ['4cef03d0-1d02-40bb-8c99-2f442aac6ab0'], 'test-network', None,
> True,
> '570fe78a1dc54cffa053bd802984ede2', 'gre', False, False,
> '240ff9df-df35-43ae-9df5-27fae87f2492', 4)
>
> Here we'd want to pull the List out and replace it with an ID. Then create
> another table that shows which subnets belong to the list with that ID.
> (You can think of the ID as a pointer to the list---in the C/C++ sense.)
>  So something like...
>
> network( 'ACTIVE', 'ID1', 'test-network', None, True,
>
> '570fe78a1dc54cffa053bd802984ede2', 'gre', False, False,
> '240ff9df-df35-43ae-9df5-27fae87f2492', 4)
>
> element('ID1', '4cef03d0-1d02-40bb-8c99-2f442aac6ab0')
> element('ID1', )
>
> The other thing to think about is whether we want 1 table with 10 columns
> or we want 10 tables with 2 columns each. In this example, we would have...
>
>
> network('net1')
> network.status('net1', 'ACTIVE' )
> network.subnets('net1', 'ID1')
> network.name('net1', 'test-network')
> ...
>
> The period is just another character in the tablename. Nothing fancy
> happening here.
>
> The ports example below would need a similar flattening.  To handle
> dictionaries, I would use the dot-notation shown above.
>
> A single Neutron API call might populate several Congress tables.
>
> Tim
>
>
> ports - tuple format
> 
> keys (for reference)
>
> {'status','binding:host_id', 'name', 'allowed_address_pairs',
> 'admin_state_up', 'network_id',
> 'tenant_id', 'extra_dhcp_opts': [],
> 'binding:vif_type', 'device_owner',
> 'binding:capabilities', 'mac_address',
> 'fixed_ips' , 'id', 'security_groups',
> 'device_id'}
>
> Values
>
> ('ACTIVE', 'havana', '', [], True, '240ff9df-df35-43ae-9df5-27fae87f2492',
> '570fe78a1dc54cffa053bd802984ede2', [], 'ovs', 'network:router_interface',
> {'port_filter': True}, 'fa:16:3e:ab:90:df', [{'subnet_id':
> '4cef03d0-1d02-40bb-8c99-2f442aac6ab0', 'ip_address': '90.0.0.1'}],
> '0a2ce569-85a8-45ec-abb3-0d4b34ff69ba', [],
> '864e4acf-bf8e-4664-8cf7-ad5daa95681e')
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
>
> https://urldefense.proofpoint.com/v1/url?u=http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=%2FZ35AkRhp2kCW4Q3MPeE%2BxY2bqaf%2FKm29ZfiqAKXxeo%3D%0A&m=A86YVKfBX5U3g6F7eNScJYjr6Qwjv4dyDyVxE9Im8g8%3D%0A&s=0345ab3711a58ec1ebcee08649f047826cec593f57e9843df0fec2f8cfb03b42
>
>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Neutron] Using Python-Neutronclient from Python - docstrings needed?

2014-03-21 Thread Rajdeep Dua
Sean,
If you can point me to the project file in github which needs to be modified , 
i will include these docs

Thanks
Rajdeep



On Sunday, February 9, 2014 9:04 PM, "Collins, Sean" 
 wrote:
 
Do you have plans to submit these back upstream? It would be a great first 
start, perhaps we could add these as examples underneath the JSON 
request/reponse in http://api.openstack.org/api-ref-networking.html



Sean M. Collins


____
 
From: Rajdeep Dua [dua_rajd...@yahoo.com]
Sent: Saturday, February 08, 2014 11:10 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Neutron] Using Python-Neutronclient from Python - 
docstrings needed?


Sean,
We have written a few docs for writing these samples

http://python-api-guide.cfapps.io/content/neutron.html


You can find get the source here https://github.com/rajdeepd/openstack-samples

Thanks
Rajdeep



On Sunday, February 9, 2014 12:57 AM, "Collins, Sean" 
 wrote:

Hi,

I was writing a small script yesterday to parse a list of IP blocks and
create security groups and rules, by using python-neutronclient.

To be honest, it was very difficult - even though I have actually
written extensions to Python-Neutronclient for the QoS API. 

For those that are trying to use the client from inside their code,
they end up getting zero help as to how to actually call any of the
functions, and what parameters they take. 


    >>> neutron = client.Client('2.0', auth_url=os.environ['OS_AUTH_URL'],
    ...                            tenant_id=os.environ['OS_TENANT_ID'],
    ...                            username=os.environ['OS_USERNAME'],
    ...                            password=os.environ['OS_PASSWORD'])
    >>> help(neutron)

  |  create_credential = 
  |  
  |  create_firewall = 
  |  
  |  create_firewall_policy = 
  |  
  |  create_firewall_rule = 
  |  
  |  create_floatingip = 
  |  
  |  create_health_monitor = 
  |  
  |  create_ikepolicy = 
  |  
  |  create_ipsec_site_connection = 
  |  
  |  create_ipsecpolicy = 
  |  
  |  create_member = 
  |  
  |  create_metering_label = 


Since there was nothing there, I decided to go check the source of
python-neutronclient and see if there are any examples.

https://github.com/openstack/python-neutronclient/blob/master/doc/source/index.rst

If you read closely enough, you'll find out that the function takes a
dictionary, that looks very similar to the request/response examples
listed in the API documentation. So, I went over and checked it out.

http://docs.openstack.org/api/openstack-network/2.0/content/POST_security-groups-v2.0_createSecGroup_v2.0_security-groups_security-groups-ext.html

So from there, I was able to remember enough that each of these
functions takes a single argument, that is a dictionary, that mimics
the same structure that you see in the API documentation, so from there
it was just some experimentation to get the structure right.

Honestly it wasn't easy to remember all this stuff, since
it had been a couple months since I had worked with
python-neutronclient, and it had been from inside the library itself.

This was my first experience using it "on the outside" and it was pretty
tough - so I'm going to try and look into how we can improve the
docstrings for the client object, to make it a bit easier to figure out.

Thoughts?

-- 
Sean M. Collins
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Neutron] Using Python-Neutronclient from Python - docstrings needed?

2014-03-26 Thread Rajdeep Dua
Thanks, will take a look



On Tuesday, March 25, 2014 11:33 PM, "Collins, Sean" 
 wrote:
 
On Fri, Mar 21, 2014 at 08:35:05PM EDT, Rajdeep Dua wrote:
> Sean,
> If you can point me to the project file in github which needs to be modified 
> , i will include these docs
> 
> Thanks
> Rajdeep

I imagine inside the openstack-manuals git repo

https://github.com/openstack/openstack-manuals

Possibly inside the doc/user-guide tree.

Although others may have better suggestions.


-- 
Sean M. Collins___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [OpenStack][neutron][docs] netconn-api doc - adding a new chapter

2014-04-03 Thread Rajdeep Dua
I was trying to modify netconn-api docs with a new chapter.
Added a file in v2.0/ch_neutron_python_client.xml

modified:   v2.0/neutron-api-guide.xml by adding the following line

 

It gives a compilation error on executing "mvn generate-sources"

Details about the error

http://pastebin.com/LqTKb0Ct

Thanks
Rajdeep
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [OpenStack][neutron][docs] netconn-api doc - adding a new chapter

2014-04-05 Thread Rajdeep Dua
I just submitted a CL for the Neutron Python API samples

https://review.openstack.org/#/c/85451/



On Fri, Apr 4, 2014 at 9:43 AM, Tom Fifield  wrote:

> Feel free to submit doc patches that don't build for review - docs
> reviewers are known to fix markup for you :)
>
>
> On 04/04/14 11:11, Rajdeep Dua wrote:
>
>> I was trying to modify netconn-api docs with a new chapter.
>> Added a file in v2.0/ch_neutron_python_client.xml
>>
>> modified:   v2.0/neutron-api-guide.xml by adding the following line
>>
>>   
>>
>> It gives a compilation error on executing "mvn generate-sources"
>>
>> Details about the error
>>
>> http://pastebin.com/LqTKb0Ct
>>
>> Thanks
>> Rajdeep
>>
>>
>> ___
>> OpenStack-dev mailing list
>> OpenStack-dev@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [openstack][docs][user-guide]

2014-04-08 Thread Rajdeep Dua
Added some more samples to the Python SDK waiting for review from core
reviewer

https://review.openstack.org/#/c/85993/

Thanks
Rajdeep
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [horizon] link element in column of a table

2014-10-02 Thread Rajdeep Dua
Hi,
I am trying to extend the DataTable column.
Trying to figure out how exactly it resolves the appropriate html page.

My code below

  from horizon import tables

  class MyTable(tables.DataTable):
  id = tables.Column("id", verbose_name=_("ID"),
link="horizon:admin:panel:subpanel:detail")

It is not able to find the detail.html in the corresponding template path

Thanks
Rajdeep
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [horizon] Passing multiple values in table.Column in Horizon DataTable

2014-10-19 Thread Rajdeep Dua
Hi,
I need to pass two values in the link generated from the table.Column as
shown below.


class DatasourcesTablesTable(tables.DataTable):
data_source = tables.Column("column1", verbose_name=_("Column1"))
id = tables.Column("id", verbose_name=_("ID"),
   link="horizon:admin:path1:path2:rows_table" )

 The existing link gets value of "id" in kwargs
Also need to pass value of "column1".

Any pointers on how this can be done would be helpful

Thanks
Rajdeep
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [devstack] Mysql issue

2014-10-20 Thread Rajdeep Dua
Facing this issue on trying to start a devstack installation
Tried with an existing as well as  new installation.

42201 CRITICAL keystone [-] DBConnectionError: (OperationalError) (2013,
'Lost connection to MySQL server during query') 'ALTER TABLE domain ADD
CONSTRAINT ixu_domain_name UNIQUE (name)' ()

This happens when keystone is starting

42201 TRACE keystone raise
exception.DBConnectionError(operational_error)
42201 TRACE keystone DBConnectionError: (OperationalError) (2013, 'Lost
connection to MySQL server during query') 'ALTER TABLE domain ADD
CONSTRAINT ixu_domain_name UNIQUE (name)' ()


Thanks
Rajdeep
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [devstack] Mysql issue

2014-10-20 Thread Rajdeep Dua
Swapnil,
Thanks for your response, i tried after running ./clean.sh and it worked on
a new installation.
I wonder if it was a local issue i was facing

Thanks
Rajdeep

On Mon, Oct 20, 2014 at 2:25 PM, Swapnil Kulkarni 
wrote:

> Rajdeep, I did couple of different devstack runs today and did not run
> into any issue as you mentioned.
> Can you give more information about your installation? localrc contents
> would help
>
> Best Regards,
> Swapnil Kulkarni
> irc : coolsvap
>
> On Mon, Oct 20, 2014 at 1:03 PM, Rajdeep Dua 
> wrote:
>
>> Facing this issue on trying to start a devstack installation
>> Tried with an existing as well as  new installation.
>>
>> 42201 CRITICAL keystone [-] DBConnectionError: (OperationalError) (2013,
>> 'Lost connection to MySQL server during query') 'ALTER TABLE domain ADD
>> CONSTRAINT ixu_domain_name UNIQUE (name)' ()
>>
>> This happens when keystone is starting
>>
>> 42201 TRACE keystone raise
>> exception.DBConnectionError(operational_error)
>> 42201 TRACE keystone DBConnectionError: (OperationalError) (2013, 'Lost
>> connection to MySQL server during query') 'ALTER TABLE domain ADD
>> CONSTRAINT ixu_domain_name UNIQUE (name)' ()
>>
>>
>> Thanks
>> Rajdeep
>>
>> ___
>> OpenStack-dev mailing list
>> OpenStack-dev@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Congress] data-source renovation

2014-08-01 Thread Rajdeep Dua
Option 2 looks like a better idea keeping in mind the data model
consistency with Neutron/Nova.
Could we write something similar to a view which becomes a layer on top if
this data model?


On Wed, Jul 30, 2014 at 3:33 AM, Tim Hinrichs  wrote:

> Hi all,
>
> As I mentioned in a previous IRC, when writing our first few policies I
> had trouble using the tables we currently use to represent external data
> sources like Nova/Neutron.
>
> The main problem is that wide tables (those with many columns) are hard to
> use.  (a) it is hard to remember what all the columns are, (b) it is easy
> to mistakenly use the same variable in two different tables in the body of
> the rule, i.e. to create an accidental join, (c) changes to the datasource
> drivers can require tedious/error-prone modifications to policy.
>
> I see several options.  Once we choose something, I’ll write up a spec and
> include the other options as alternatives.
>
>
> 1) Add a preprocessor to the policy engine that makes it easier to deal
> with large tables via named-argument references.
>
> Instead of writing a rule like
>
> p(port_id, name) :-
> neutron:ports(port_id, addr_pairs, security_groups, extra_dhcp_opts,
> binding_cap, status, name, admin_state_up, network_id, tenant_id,
> binding_vif, device_owner, mac_address, fixed_ips, router_id, binding_host)
>
> we would write
>
> p(id, nme) :-
> neutron:ports(port_id=id, name=nme)
>
> The preprocessor would fill in all the missing variables and hand the
> original rule off to the Datalog engine.
>
> Pros: (i) leveraging vanilla database technology under the hood
>   (ii) policy is robust to changes in the fields of the original data
> b/c the Congress data model is different than the Nova/Neutron data models
> Cons: (i) we will need to invert the preprocessor when showing
> rules/traces/etc. to the user
>   (ii) a layer of translation makes debugging difficult
>
> 2) Be disciplined about writing narrow tables and write
> tutorials/recommendations demonstrating how.
>
> Instead of a table like...
> neutron:ports(port_id, addr_pairs, security_groups, extra_dhcp_opts,
> binding_cap, status, name, admin_state_up, network_id, tenant_id,
> binding_vif, device_owner, mac_address, fixed_ips, router_id, binding_host)
>
> we would have many tables...
> neutron:ports(port_id)
> neutron:ports.addr_pairs(port_id, addr_pairs)
> neutron:ports.security_groups(port_id, security_groups)
> neutron:ports.extra_dhcp_opts(port_id, extra_dhcp_opts)
> neutron:ports.name(port_id, name)
> ...
>
> People writing policy would write rules such as ...
>
> p(x) :- neutron:ports.name(port, name), ...
>
> [Here, the period e.g. in ports.name is not an operator--just a
> convenient way to spell the tablename.]
>
> To do this, Congress would need to know which columns in a table are
> sufficient to uniquely identify a row, which in most cases is just the ID.
>
> Pros: (i) this requires only changes in the datasource drivers; everything
> else remains the same
>   (ii) still leveraging database technology under the hood
>   (iii) policy is robust to changes in fields of original data
> Cons: (i) datasource driver can force policy writer to use wide tables
>   (ii) this data model is much different than the original data models
>   (iii) we need primary-key information about tables
>
> 3) Enhance the Congress policy language to handle objects natively.
>
> Instead of writing a rule like the following ...
>
> p(port_id, name, group) :-
> neutron:ports(port_id, addr_pairs, security_groups, extra_dhcp_opts,
> binding_cap, status, name, admin_state_up, network_id, tenant_id,
> binding_vif, device_owner, mac_address, fixed_ips, router_id, binding_host),
> neutron:ports.security_groups(security_group, group)
>
> we would write a rule such as
> p(port_id, name) :-
> neutron:ports(port),
> port.name(name),
> port.id(port_id),
> port.security_groups(group)
>
> The big difference here is that the period (.) is an operator in the
> language, just as in C++/Java.
>
> Pros:
> (i) The data model we use in Congress is almost exactly the same as the
> data model we use in Neutron/Nova.
>
> (ii) Policy is robust to changes in the Neutron/Nova data model as long as
> those changes only ADD fields.
>
> (iii) Programmers may be slightly more comfortable with this language.
>
> Cons:
>
> (i) The obvious implementation (changing the engine to implement the (.)
> operator directly is quite a change from traditional database technology.
>  At this point, that seems risky.
>
> (ii) It is unclear how to implement this via a preprocessor (thereby
> leveraging database technology).  The key problem I see is that we would
> need to translate port.name(...) into something like option (2) above.
>  The difficulty is that TABLE could sometimes be a port, sometimes be a
> network, sometimes be a subnet, etc.
>
> (iii) Requires some extra syntactic restrictions to ensure we don't lose
> decidability.
>
> (iv) 

Re: [openstack-dev] [Solum]: Welcome to the community site for Solum !!

2013-11-11 Thread Rajdeep Dua
Congrats!



On Monday, November 11, 2013 11:51 PM, Russell Bryant  
wrote:
 
On 11/11/2013 01:05 PM, Roshan Agrawal wrote:
>> One nit, instead of linking to github, it would be better to link to 
>> OpenStack's
>> git interface since that's what we're trying to provide as the canonical repo
>> now.
>> http://git.openstack.org/cgit/stackforge/solum
>> Russell Bryant
> 
> Russell, done. Checkout latest @ solum.io

Thanks.

Now that it isn't a github link, I don't think you can use the octocat
anymore.

https://github.com/logos


-- 
Russell Bryant

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Solum] SFO Design Workshop

2013-11-18 Thread Rajdeep Dua
Do we need to register on event brite if joining over IRC / Google Hangout?




On Saturday, November 16, 2013 3:43 AM, Roshan Agrawal 
 wrote:
 
We are all set for the Solum design workshops at SFO on Nov 19,20. The etherpad 
page below has schedule and agenda details
https://etherpad.openstack.org/p/SolumSFOCommunityWorkshop

Please sign up as topic leads/scribe for the sessions listed in the agenda.

We also have etherpad pages setup for each track of discussion, and we can fill 
in content right away to prep for the lively discussions next week. We also 
have a happy hour planned on the evening of Tuesday, and have lunch 
arrangements on the house.

Looking forward to a fun and productive two days at SFO! 

Thanks & Regards,
Roshan Agrawal
Direct:    512.874.1278
Mobile:  512.354.5253
roshan.agra...@rackspace.com

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] Tempest test failing for neutron

2013-08-19 Thread Rajdeep Dua
On submitted a Patch for neutron test case
https://review.openstack.org/#/c/42598/


 unrelated tests from tempest seem to be failing.
http://logs.openstack.org/98/42598/2/check/gate-tempest-devstack-vm-neutron-full/4388bc6/console.html

One of the test failure is listed below.

Any idea why this is happening and how to fix this?

==
2013-08-19 11:11:47.424 | FAIL: 
tempest.api.compute.admin.test_fixed_ips.FixedIPsTestJson.test_set_reserve[gate]
2013-08-19 11:11:47.425 | 
tempest.api.compute.admin.test_fixed_ips.FixedIPsTestJson.test_set_reserve[gate]
2013-08-19 11:11:47.425 | 
--
2013-08-19 11:11:47.425 | _StringException: Empty attachments:
2013-08-19 11:11:47.425 |   stderr
2013-08-19 11:11:47.426 |   stdout
2013-08-19 11:11:47.426 | 
2013-08-19 11:11:47.426 | Traceback (most recent call last):
2013-08-19 11:11:47.427 |   File "tempest/api/compute/admin/test_fixed_ips.py", 
line 74, in test_set_reserve
2013-08-19 11:11:47.427 | resp, body = 
self.client.reserve_fixed_ip(self.ip, body)
2013-08-19 11:11:47.427 |   File 
"tempest/services/compute/json/fixed_ips_client.py", line 39, in 
reserve_fixed_ip
2013-08-19 11:11:47.428 | resp, body = self.post(url, json.dumps(body), 
self.headers)
2013-08-19 11:11:47.428 |   File "tempest/common/rest_client.py", line 259, in 
post
2013-08-19 11:11:47.428 | return self.request('POST', url, headers, body)
2013-08-19 11:11:47.428 |   File "tempest/common/rest_client.py", line 387, in 
request
2013-08-19 11:11:47.429 | resp, resp_body)
2013-08-19 11:11:47.429 |   File "tempest/common/rest_client.py", line 432, in 
_error_checker
2013-08-19 11:11:47.429 | raise exceptions.NotFound(resp_body)
2013-08-19 11:11:47.430 | NotFound: Object not found
2013-08-19 11:11:47.430 | Details: {"itemNotFound": {"message": "Fixed IP 
10.1.0.4 not found", "code": 404}}
2013-08-19 11:11:47.430 | 
2013-08-19 11:11:47.431 | ___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev