Verifying OpenStack Configuration

To verify the OpenStack configuration:

  1. Log on using command line from the Devstack directory:
    [root@junoos-control-compute1 ~]# cd /opt/stack/devstack/
  2. Enable OpenStack command line interface:
    [root@junoos-control-compute1 devstack]# . ./openrc admin admin
  3. Verify running services on each server (dependent on synced clocks):
    [root@junoos-control-compute1 devstack]# nova-manage service list
    Binary           Host                                 Zone             Status     State Updated_At
    nova-conductor   junoos-control-compute1              internal         enabled    :-)   2015-02-26 16:33:41
    nova-cert        junoos-control-compute1              internal         enabled    :-)   2015-02-26 16:33:34
    nova-scheduler   junoos-control-compute1              internal         enabled    :-)   2015-02-26 16:33:37
    nova-consoleauth junoos-control-compute1              internal         enabled    :-)   2015-02-26 16:33:36
    nova-compute     junoos-control-compute1              nova             enabled    :-)   2015-02-26 16:33:33
    nova-compute     junoos-compute2                      nova             enabled    :-)   2015-02-26 16:33:37
    [root@junoos-compute2 devstack]# nova-manage service list
    Binary           Host                                 Zone             Status     State Updated_At
    nova-conductor   junoos-control-compute1              internal         enabled    :-)   2015-02-26 16:35:11
    nova-cert        junoos-control-compute1              internal         enabled    :-)   2015-02-26 16:35:14
    nova-scheduler   junoos-control-compute1              internal         enabled    :-)   2015-02-26 16:35:17
    nova-consoleauth junoos-control-compute1              internal         enabled    :-)   2015-02-26 16:35:16
    nova-compute     junoos-control-compute1              nova             enabled    :-)   2015-02-26 16:35:13
    nova-compute     junoos-compute2                      nova             enabled    :-)   2015-02-26 16:35:17
    
  4. Verifying hypervisors:
    [root@junoos-control-compute1 devstack]# nova hypervisor-list
    +----+-------------------------+
    | ID | Hypervisor hostname     |
    +----+-------------------------+
    | 1  | junoos-control-compute1 |
    | 2  | junoos-compute2         |
    +----+-------------------------+
    [root@junoos-compute2 devstack]# nova hypervisor-list
    +----+-------------------------+
    | ID | Hypervisor hostname     |
    +----+-------------------------+
    | 1  | junoos-control-compute1 |
    | 2  | junoos-compute2         |
    +----+-------------------------+