Ask Your Question
0

Why my mysqld is inactive ?? so on, no dashboard any more, right ?? plz help

asked 2016-03-28 14:17:18 -0500

lehieu1202 gravatar image

i build Juno openstack version with CentOS 7.Here is my openstack-status. i already restart mariadb.service but mysqld still inactive. Cant connect db and when i typed IP address of controller: 404 Not Found show up. plz help me. thanks all

[root@controller ~]# openstack-status

== Nova services ==

openstack-nova-api: active

openstack-nova-cert: active

openstack-nova-compute: inactive (disabled on boot)

openstack-nova-network: inactive (disabled on boot)

openstack-nova-scheduler: active

openstack-nova-conductor: active

== Glance services ==

openstack-glance-api: active

openstack-glance-registry: active

== Keystone service ==

openstack-keystone: active

== Horizon service ==

openstack-dashboard: 404

== neutron services ==

neutron-server: active

neutron-dhcp-agent: inactive (disabled on boot)

neutron-l3-agent: inactive (disabled on boot)

neutron-metadata-agent: inactive (disabled on boot)

neutron-lbaas-agent: inactive (disabled on boot)

== Support services ==

mysqld: inactive (disabled on boot)

dbus: active

rabbitmq-server: active

memcached: active

== Keystone users ==

+----------------------------------+---------+---------+----------------------+

| id | name | enabled | email |

+----------------------------------+---------+---------+----------------------+

| bfd16fd23fa1492f8b3ec69c22604b81 | admin | True | lehieu1202@gmail.com |

| 9e94f477c8984f41834cf633797d0410 | demo | True | hieule1222@gmail.com |

| 0154801c023f4b10b93e62c616d7c4f2 | glance | True | |

| 158589ae15f54680979ef03293952339 | neutron | True | |

| 63206fb434bf4e48a4996b7e7295310a | nova | True | |

+----------------------------------+---------+---------+----------------------+

== Glance images ==

+--------------------------------------+---------------------+-------------+------------------+----------+--------+

| ID | Name | Disk Format | Container Format | Size | Status |

+--------------------------------------+---------------------+-------------+------------------+----------+--------+

| d36e3b36-152b-4d0e-8b04-94c137e0dd51 | cirros-0.3.3-x86_64 | qcow2 | bare | 13200896 | active |

+--------------------------------------+---------------------+-------------+------------------+----------+--------+

== Nova managed services ==

+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+

| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |

+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+

| 1 | nova-scheduler | controller | internal | enabled | up | 2016-03-28T18:52:58.000000 | - |

| 2 | nova-consoleauth | controller | internal | enabled | up | 2016-03-28T18:53:07.000000 | - |

| 3 | nova-cert | controller | internal | enabled | up | 2016-03-28T18:52:58.000000 | - |

| 4 | nova-conductor | controller | internal | enabled | up | 2016-03-28T18:53:06.000000 | - |

| 5 | nova-compute | compute | nova | enabled | up | 2016-03-28T18:53:06.000000 | - |

+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+

== Nova networks ==

+--------------------------------------+----------+------+

| ID | Label | Cidr |

+--------------------------------------+----------+------+

| 484cbf20-1c59-40c3-9584-34949f82289e | demo-net | - |

| f7359132-5f2e-4567-a35b-4fe4135e1bde | ext-net | - |

+--------------------------------------+----------+------+

== Nova instance flavors ==

+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+

| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |

+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+

| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |

| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |

| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |

| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |

| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |

+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+

== Nova instances ==

+----+------+--------+------------+-------------+----------+

| ID | Name | Status | Task State | Power State | Networks |

+----+------+--------+------------+-------------+----------+

+----+------+--------+------------+-------------+----------+

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-29 08:12:46 -0500

Gnan gravatar image

Hey, In newer version of openstack mariadb is used. The database would be running in the backend.

Check the status of the service - service mysqld status

If the status is active, you can ignore the output of openstack-status command. Probably it is a bug.

edit flag offensive delete link more

Comments

i think mariadb is ok. but horizon still 404 error. openstack.conf file have a bug that syntax at the line 1. cant restart httpd service,cache.

lehieu1202 gravatar imagelehieu1202 ( 2016-03-29 09:15:41 -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: 2016-03-28 14:05:55 -0500

Seen: 416 times

Last updated: Mar 29 '16