[Openstack] Is there any way to get the user's activities?

2014-05-16 Thread LIU Yulong
Hi all,


Is there any way to get the user's activities?


Ceilometer is a metering service, 
Can it get the user's activities?


Such as the table below,


Action|   Status
 |  Time
Create instance   |   Successful   |
  2014-5-16 9:00am 
Create instance   |   error   | 
 2014-5-16 9:10am  
delete  instance   |   Successful   |   
   2014-5-16 9:20am
upload  image |   Successful   |
  2014-5-16 9:30am
delete   image |   Successful   |   
   2014-5-16 9:30am


...




Best Regards,
LIU Yulong___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Is there any way to get the user's activities?

2014-05-17 Thread Radek Smigielski

On Saturday, 17 May 2014, 4:57:58, LIU Yulong  wrote:
>
>Is there any way to get the user's activities?


There is something what is called Keystone Event Notifications.
A notification is sent when a resource is  created/updated/deleted.
Checkout this file keystone/doc/source/event_notifications.rst from 
keystone source code. 
Maybe this is what you looking for?


- Radoslaw Smigielski

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Is there any way to get the user's activities?

2014-05-18 Thread LIU Yulong
Hi,




Ceilometer event is not enabled.




I've got some error:


2014-05-19 10:16:58.037 1011 ERROR wsme.api [-] Server-side error: "Events not 
implemented.". Detail:
Traceback (most recent call last):


  File "/usr/lib/python2.7/dist-packages/wsmeext/pecan.py", line 77, in 
callfunction
result = f(self, *args, **kwargs)


  File "/usr/lib/python2.7/dist-packages/ceilometer/api/controllers/v2.py", 
line 2305, in get_all
pecan.request.storage_conn.get_events(event_filter)]


  File "/usr/lib/python2.7/dist-packages/ceilometer/storage/base.py", line 333, 
in get_events
raise NotImplementedError('Events not implemented.')


NotImplementedError: Events not implemented.









Best Regards,
LIU Yulong





-- Original --
From:  "Haiming Yang";;
Date:  Sat, May 17, 2014 12:17 PM
To:  "LIU Yulong"; 

Subject:  答复: [Openstack] Is there any way to get the user's activities?



  You are asking eventing sounds like

  
 发件人: LIU Yulong
发送时间: ‎2014/‎5/‎17 0:01
收件人: openstack@lists.openstack.org
主题: [Openstack] Is there any way to get the user's activities?


 Hi all,
 

 Is there any way to get the user's activities?
 

 Ceilometer is a metering service, 
 Can it get the user's activities?
 

 Such as the table below,
 

 Action|   Status   
  |  Time
 Create instance   |   Successful   |   
   2014-5-16 9:00am 
 Create instance   |   error   
|  2014-5-16 9:10am  
 delete  instance   |   Successful   |  
2014-5-16 9:20am
 upload  image |   Successful   |   
   2014-5-16 9:30am
 delete   image |   Successful   |  
2014-5-16 9:30am
 

 ...
 

 

 Best Regards,
 LIU Yulong___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Is there any way to get the user's activities?

2014-05-20 Thread LIU Yulong
Hi all,


How to enable ceilometer list?


I got ceilometer not implemented error.


NotImplementedError: Events not implemented.


I've got some error:


2014-05-19 10:16:58.037 1011 ERROR wsme.api [-] Server-side error: "Events not 
implemented.". Detail:
Traceback (most recent call last):


  File "/usr/lib/python2.7/dist-packages/wsmeext/pecan.py", line 77, in 
callfunction
result = f(self, *args, **kwargs)


  File "/usr/lib/python2.7/dist-packages/ceilometer/api/controllers/v2.py", 
line 2305, in get_all
pecan.request.storage_conn.get_events(event_filter)]


  File "/usr/lib/python2.7/dist-packages/ceilometer/storage/base.py", line 333, 
in get_events
raise NotImplementedError('Events not implemented.')


NotImplementedError: Events not implemented.










-- Original --
From:  "LIU Yulong";;
Date:  Sat, May 17, 2014 11:50 AM
To:  "openstack@lists.openstack.org"; 

Subject:  [Openstack] Is there any way to get the user's activities?



Hi all,


Is there any way to get the user's activities?


Ceilometer is a metering service, 
Can it get the user's activities?


Such as the table below,


Action|   Status
 |  Time
Create instance   |   Successful   |
  2014-5-16 9:00am 
Create instance   |   error   | 
 2014-5-16 9:10am  
delete  instance   |   Successful   |   
   2014-5-16 9:20am
upload  image |   Successful   |
  2014-5-16 9:30am
delete   image |   Successful   |   
   2014-5-16 9:30am


...




Best Regards,
LIU Yulong___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack