Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I get user's action in OpenStack?

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.

click to hide/show revision 2
No.2 Revision

How can I get user's action in OpenStack?

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

nova.openstack.common.notifier.rpc__notifier notify_on_any_change = True

True notification_driver = ceilometer.compute.nova_notifier

ceilometer.compute.nova_notifier notify_on_state_change = vm_and_task_state

vm_and_task_state rabbit_password = openstack

openstack rabbit_hosts = 172.16.3.15

172.16.3.15 rpc_backend = nova.openstack.common.rpc.impl_kombu

ceilometer.conf:

[DEFAULT]

nova.openstack.common.rpc.impl_kombu ceilometer.conf: [DEFAULT] os_tenant_name = service

service os_password = openstack

openstack os_username = ceilometer

ceilometer policy_file = /etc/ceilometer/policy.json

/etc/ceilometer/policy.json debug = True

True verbose = True

True notification_topics = notifications

notifications rabbit_password = openstack

openstack rabbit_hosts = 172.16.3.15

172.16.3.15 rpc_backend = ceilometer.openstack.common.rpc.impl_kombu

[service_credentials]

ceilometer.openstack.common.rpc.impl_kombu [service_credentials] os_tenant_name = service

service os_password = openstack

openstack os_username = ceilometer

[keystone_authtoken]

ceilometer [keystone_authtoken] auth_protocol = http

http auth_port = 35357

35357 auth_host = 172.16.3.15

172.16.3.15 signing_dir = /var/cache/ceilometer

/var/cache/ceilometer admin_tenant_name = service

service admin_password = openstack

openstack admin_user = ceilometer

ceilometer identity_uri = http://172.16.3.15:35357

[database]

http://172.16.3.15:35357 [database] connection = mysql://root:openstack@127.0.0.1/ceilometer?charset=utf8

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.