Ask Your Question
0

Ceilometer database is not showing in sql?

asked 2015-06-08 07:35:38 -0500

neelabhsingh gravatar image

updated 2015-06-08 07:50:22 -0500

I am using devstack, virtual environment, and using mysql, Please check when I run sql query show databases It is not showing ceilometerdatabase, but in this question https://ask.openstack.org/en/question/11964/where-does-ceilometer-stores-all-the-data-related-to-instances/ (https://ask.openstack.org/en/question...) they are showing.

Why In devstack ceilometer databases is not showing in following case. Please tell me?

[vagrant@localhost devstack]$ mysql -uroot -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 29
Server version: 5.5.41-MariaDB-log MariaDB Server

Copyright (c) 2000, 2014, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| cinder             |
| glance             |
| keystone           |
| mysql              |
| nova               |
| performance_schema |
| test               |
+--------------------+
8 rows in set (0.09 sec)

MariaDB [(none)]> connect
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-09 01:03:24 -0500

Ranjit gravatar image

In the link posted by you , it's said that mongodb is the default DB for ceilometer. So use mongodb cli.

$mongo
MongoDB shell version: 2.4.9
connecting to: test
> use ceilometer
switched to db ceilometer
> show tables;
meter
resource
system.indexes
system.users
edit flag offensive delete link more

Comments

@Ranjit thanks for replay, I want to discuss on more question regarding to alarm, I have created alarm for cpu-util meter but Its is not working plz see this question https://ask.openstack.org/en/question/68207/in-ceilometer-alarm-for-cpu-util-meter-is-not-working/ (https://ask.openstack.org/en/question...)

neelabhsingh gravatar imageneelabhsingh ( 2015-06-09 02:38:35 -0500 )edit

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: 2015-06-08 07:35:38 -0500

Seen: 405 times

Last updated: Jun 09 '15