Re: [openstack-dev] [keystone] event notifications issue

2014-04-08 Thread Nader Lahouti
Resending the question:

Can someone please point me to a document/code in order to get keystone
notification with the latest keystone code.

Appreciate your help.


On Sun, Apr 6, 2014 at 4:13 PM, Nader Lahouti nader.laho...@gmail.comwrote:

 Hi All,

 I was able to get keystone notification when creating/deleting a tenant by
 setting these parameters in keystone.conf:

 (NOTE: the brach that I was using:
 git branch -v
 * (no branch) 0d83e7e Bump stable/havana next version to 2013.2.2)
 )
 notification_topics = Key_Notify
 rpc_backend = keystone.openstack.common.rpc.impl_kombu
 control_exchange = Key_openstack
 notification_driver = keystone.openstack.common.notifier.rpc_notifier

 Now I changed the branch to:
 git branch -v
 * master e45ff9e Merge Updated from global requirements

 And cannot get any notification. It seems the notifications.py changed.

 What I need to do, in order to get event notification with the current
 code and make it work?

 Thanks,
 Nader.



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


Re: [openstack-dev] [keystone] event notifications issue

2014-04-08 Thread Solly Ross
Hi Nader,
I ran into some issues the other day with Keystone notifications.
Make sure that you have (in both Keystone and the receiving project) the 
following
configuration options set:

- rpc_backend (should be rabbit, qpid, etc)
- appropriate rpc backend config options (e.g. for rabbit, rabbit_hosts and 
rabbit_password)
- notification_driver = messaging

Hopefully this is helpful, as some of these options are not set by default in 
devstack.

Best Regards,
Solly Ross

- Original Message -
From: Nader Lahouti nader.laho...@gmail.com
To: OpenStack Development Mailing List openstack-dev@lists.openstack.org
Sent: Tuesday, April 8, 2014 12:50:50 PM
Subject: Re: [openstack-dev] [keystone] event notifications issue

Resending the question: 

Can someone please point me to a document/code in order to get keystone 
notification with the latest keystone code. 

Appreciate your help. 


On Sun, Apr 6, 2014 at 4:13 PM, Nader Lahouti  nader.laho...@gmail.com  
wrote: 



Hi All, 

I was able to get keystone notification when creating/deleting a tenant by 
setting these parameters in keystone.conf: 

(NOTE: the brach that I was using: 
git branch -v 
* (no branch) 0d83e7e Bump stable/havana next version to 2013.2.2) 
) 
notification_topics = Key_Notify 
rpc_backend = keystone.openstack.common.rpc.impl_kombu 
control_exchange = Key_openstack 
notification_driver = keystone.openstack.common.notifier.rpc_notifier 

Now I changed the branch to: 
git branch -v 
* master e45ff9e Merge Updated from global requirements 

And cannot get any notification. It seems the notifications.py changed. 

What I need to do, in order to get event notification with the current code and 
make it work? 

Thanks, 
Nader. 




___
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] [keystone] event notifications issue

2014-04-08 Thread Nader Lahouti
Thanks a lot Solly for your quick response and help. After setting the
roc_backend and notification_driver I can see the events.

Regards,
Nader.



On Tue, Apr 8, 2014 at 10:49 AM, Solly Ross sr...@redhat.com wrote:

 Hi Nader,
 I ran into some issues the other day with Keystone notifications.
 Make sure that you have (in both Keystone and the receiving project) the
 following
 configuration options set:

 - rpc_backend (should be rabbit, qpid, etc)
 - appropriate rpc backend config options (e.g. for rabbit, rabbit_hosts
 and rabbit_password)
 - notification_driver = messaging

 Hopefully this is helpful, as some of these options are not set by default
 in devstack.

 Best Regards,
 Solly Ross

 - Original Message -
 From: Nader Lahouti nader.laho...@gmail.com
 To: OpenStack Development Mailing List 
 openstack-dev@lists.openstack.org
 Sent: Tuesday, April 8, 2014 12:50:50 PM
 Subject: Re: [openstack-dev] [keystone] event notifications issue

 Resending the question:

 Can someone please point me to a document/code in order to get keystone
 notification with the latest keystone code.

 Appreciate your help.


 On Sun, Apr 6, 2014 at 4:13 PM, Nader Lahouti  nader.laho...@gmail.com 
 wrote:



 Hi All,

 I was able to get keystone notification when creating/deleting a tenant by
 setting these parameters in keystone.conf:

 (NOTE: the brach that I was using:
 git branch -v
 * (no branch) 0d83e7e Bump stable/havana next version to 2013.2.2)
 )
 notification_topics = Key_Notify
 rpc_backend = keystone.openstack.common.rpc.impl_kombu
 control_exchange = Key_openstack
 notification_driver = keystone.openstack.common.notifier.rpc_notifier

 Now I changed the branch to:
 git branch -v
 * master e45ff9e Merge Updated from global requirements

 And cannot get any notification. It seems the notifications.py changed.

 What I need to do, in order to get event notification with the current
 code and make it work?

 Thanks,
 Nader.




 ___
 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] [keystone] event notifications issue

2014-04-06 Thread Nader Lahouti
Hi All,

I was able to get keystone notification when creating/deleting a tenant by
setting these parameters in keystone.conf:

(NOTE: the brach that I was using:
git branch -v
* (no branch) 0d83e7e Bump stable/havana next version to 2013.2.2)
)
notification_topics = Key_Notify
rpc_backend = keystone.openstack.common.rpc.impl_kombu
control_exchange = Key_openstack
notification_driver = keystone.openstack.common.notifier.rpc_notifier

Now I changed the branch to:
git branch -v
* master e45ff9e Merge Updated from global requirements

And cannot get any notification. It seems the notifications.py changed.

What I need to do, in order to get event notification with the current code
and make it work?

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