Ask Your Question
1

How can I get user's action in OpenStack?

asked 2014-08-17 03:38:32 -0500

ninjia gravatar image

updated 2014-08-18 09:19:45 -0500

SamYaple gravatar image

Hello.

Now, i want to get the log of user's action in OpenStack, such as

admin create instance 2014-08-17 16:23

admin floating ip allocate 2014-08-17 16:23 .....

Does Ceilometer can gather such infomation? If it does, how should i change my ceilometer.conf and nova.conf ?

there is my nova.conf now :

notification_driver = nova.openstack.common.notifier.rpc__notifier

notify_on_any_change = True

notification_driver  = ceilometer.compute.nova_notifier

notify_on_state_change = vm_and_task_state

rabbit_password = openstack

rabbit_hosts = 172.16.3.15

rpc_backend = nova.openstack.common.rpc.impl_kombu


ceilometer.conf:

[DEFAULT]

os_tenant_name = service

os_password = openstack

os_username = ceilometer

policy_file = /etc/ceilometer/policy.json

debug = True

verbose = True

notification_topics = notifications

rabbit_password = openstack

rabbit_hosts = 172.16.3.15

rpc_backend = ceilometer.openstack.common.rpc.impl_kombu

[service_credentials]

os_tenant_name = service

os_password = openstack

os_username = ceilometer

[keystone_authtoken]

auth_protocol = http

auth_port = 35357

auth_host = 172.16.3.15

signing_dir = /var/cache/ceilometer

admin_tenant_name = service

admin_password = openstack

admin_user = ceilometer

identity_uri = http://172.16.3.15:35357

[database]

connection = mysql://root:openstack@127.0.0.1/ceilometer?charset=utf8

when i use ceilometer event-list, i just get a empty table.

thanks for your help.

edit retag flag offensive close merge delete

Comments

In which openstack version?

SGPJ gravatar imageSGPJ ( 2014-08-17 10:47:12 -0500 )edit

It's Icehouse

ninjia gravatar imageninjia ( 2014-08-18 01:32:37 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-08-17 20:36:24 -0500

In Havana you can usually see the users actions in the log of the service. The user is listed as their UUID number.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-17 03:38:32 -0500

Seen: 343 times

Last updated: Aug 18 '14