Tuesday, March 7, 2017

openstack-status

openstack-status

1> openstack-status

is part of rpm openstack-utils

openstack-status
openstack-service
openstack-config


2>

# cat keystonerc_admin
unset OS_SERVICE_TOKEN
    export OS_USERNAME=admin
    export OS_PASSWORD=8cd100be71a64df8
    export OS_AUTH_URL=http://10.128.0.2:5000/v2.0
    export PS1='[\u@\h \W(keystone_admin)]\$ '
   
export OS_TENANT_NAME=admin
export OS_REGION_NAME=RegionOne

# source /root/keystonerc_admin


3>

# yum install openstack-utils


4>

[root@cloud ~(keystone_admin)]# openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-compute:                 active
openstack-nova-network:                 inactive  (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-cert:                    active
openstack-nova-conductor:               active
openstack-nova-console:                 inactive  (disabled on boot)
openstack-nova-consoleauth:             active
openstack-nova-xvpvncproxy:             inactive  (disabled on boot)
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     inactive  (disabled on boot)
== Horizon service ==
openstack-dashboard:                    active
== neutron services ==
neutron-server:                         active
neutron-dhcp-agent:                     active
neutron-l3-agent:                       active
neutron-metadata-agent:                 active
neutron-openvswitch-agent:              active
neutron-metering-agent:                 active
== Cinder services ==
openstack-cinder-api:                   active
openstack-cinder-scheduler:             active
openstack-cinder-volume:                active
openstack-cinder-backup:                active
== Ceilometer services ==
openstack-ceilometer-api:               inactive  (disabled on boot)
openstack-ceilometer-central:           active
openstack-ceilometer-compute:           active
openstack-ceilometer-collector:         active
openstack-ceilometer-notification:      active
== Support services ==
mariadb:                                active
openvswitch:                            active
dbus:                                   active
target:                                 active
rabbitmq-server:                        active
memcached:                              active
== Keystone users ==
/bin/openstack-status: line 267: keystone: command not found
== Glance images ==
+--------------------------------------+--------+
| ID                                   | Name   |
+--------------------------------------+--------+
| ca216848-7cbd-49be-ace1-a6105a817fa0 | cirros |
+--------------------------------------+--------+
== Nova managed services ==
+----+------------------+------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host             | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+------------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-cert        | cloud.centos.lan | internal | enabled | up    | 2017-03-07T09:04:25.000000 | -               |
| 2  | nova-consoleauth | cloud.centos.lan | internal | enabled | up    | 2017-03-07T09:04:24.000000 | -               |
| 5  | nova-scheduler   | cloud.centos.lan | internal | enabled | up    | 2017-03-07T09:04:26.000000 | -               |
| 6  | nova-conductor   | cloud.centos.lan | internal | enabled | up    | 2017-03-07T09:04:24.000000 | -               |
| 7  | nova-compute     | cloud.centos.lan | nova     | enabled | up    | 2017-03-07T09:04:26.000000 | -               |
+----+------------------+------------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
WARNING: Command network-list is deprecated and will be removed after Nova 15.0.0 is released. Use python-neutronclient or python-openstackclient instead.
+--------------------------------------+---------+------+
| ID                                   | Label   | Cidr |
+--------------------------------------+---------+------+
| 6b24c6f2-b518-43b2-9bf7-e63c1762b2f7 | public  | -    |
| 6e6dbfce-c24b-434f-9a43-32ffcc14b6ec | private | -    |
+--------------------------------------+---------+------+
== 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 | Tenant ID | Status | Task State | Power State | Networks |
+----+------+-----------+--------+------------+-------------+----------+
+----+------+-----------+--------+------------+-------------+----------+
[root@cloud ~(keystone_admin)]#

No comments:

Post a Comment