2017-07-27 2 views
0

J'utilise le nova service-list dans le ha-node1, il y a quelques services ici, vous pouvez voir le ha-node3, tout est en panne:Il ya quelques services vers le bas dans la liste de service nova, mais le statut du service est actif

[[email protected] ~]# nova service-list 
+----+------------------+----------+----------+---------+-------+----------------------------+-----------------+ 
| Id | Binary   | Host  | Zone  | Status | State | Updated_at     | Disabled Reason | 
+----+------------------+----------+----------+---------+-------+----------------------------+-----------------+ 
| 2 | nova-consoleauth | ha-node3 | internal | enabled | down | 2017-07-27T07:17:34.000000 | -    | 
| 5 | nova-conductor | ha-node3 | internal | enabled | down | 2017-07-27T07:17:33.000000 | -    | 
| 7 | nova-cert  | ha-node3 | internal | enabled | down | 2017-07-27T07:17:34.000000 | -    | 
| 15 | nova-scheduler | ha-node3 | internal | enabled | down | 2017-07-27T07:17:33.000000 | -    | 
| 22 | nova-cert  | ha-node1 | internal | enabled | up | 2017-07-27T07:28:30.000000 | -    | 
| 29 | nova-conductor | ha-node1 | internal | enabled | up | 2017-07-27T07:28:31.000000 | -    | 
| 32 | nova-consoleauth | ha-node1 | internal | enabled | up | 2017-07-27T07:28:23.000000 | -    | 
| 33 | nova-consoleauth | ha-node2 | internal | enabled | up | 2017-07-27T07:28:33.000000 | -    | 
| 36 | nova-scheduler | ha-node1 | internal | enabled | up | 2017-07-27T07:28:30.000000 | -    | 
| 40 | nova-conductor | ha-node2 | internal | enabled | up | 2017-07-27T07:28:32.000000 | -    | 
| 44 | nova-cert  | ha-node2 | internal | enabled | up | 2017-07-27T07:28:39.000000 | -    | 
| 46 | nova-scheduler | ha-node2 | internal | enabled | up | 2017-07-27T07:28:33.000000 | -    | 
+----+------------------+----------+----------+---------+-------+----------------------------+-----------------+ 

Mais dans le ha-node3, les 4 services tous sont actifs (course):

openstack-nova-consoleauth.service - OpenStack Nova VNC console auth Server 
    Loaded: loaded (/usr/lib/systemd/system/openstack-nova-consoleauth.service; enabled; vendor preset: disabled) 
    Active: active (running) since Thu 2017-07-27 10:37:26 CST; 23s ago 
Main PID: 42710 (nova-consoleaut) 
    CGroup: /system.slice/openstack-nova-consoleauth.service 
      └─42710 /usr/bin/python2 /usr/bin/nova-consoleauth 

Jul 27 10:37:20 ha-node3 systemd[1]: Starting OpenStack Nova VNC console auth Server... 
Jul 27 10:37:26 ha-node3 nova-consoleauth[42710]: Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. 
Jul 27 10:37:26 ha-node3 nova-consoleauth[42710]: Option "rpc_backend" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. 
Jul 27 10:37:26 ha-node3 systemd[1]: Started OpenStack Nova VNC console auth Server. 

● openstack-nova-scheduler.service - OpenStack Nova Scheduler Server 
    Loaded: loaded (/usr/lib/systemd/system/openstack-nova-scheduler.service; enabled; vendor preset: disabled) 
    Active: active (running) since Thu 2017-07-27 10:37:28 CST; 21s ago 
Main PID: 42711 (nova-scheduler) 
    CGroup: /system.slice/openstack-nova-scheduler.service 
      └─42711 /usr/bin/python2 /usr/bin/nova-scheduler 

Jul 27 10:37:20 ha-node3 systemd[1]: Starting OpenStack Nova Scheduler Server... 
Jul 27 10:37:26 ha-node3 nova-scheduler[42711]: Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. 
Jul 27 10:37:26 ha-node3 nova-scheduler[42711]: Option "rpc_backend" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. 
Jul 27 10:37:28 ha-node3 systemd[1]: Started OpenStack Nova Scheduler Server. 

● openstack-nova-conductor.service - OpenStack Nova Conductor Server 
    Loaded: loaded (/usr/lib/systemd/system/openstack-nova-conductor.service; enabled; vendor preset: disabled) 
    Active: active (running) since Thu 2017-07-27 10:37:27 CST; 23s ago 
Main PID: 42712 (nova-conductor) 
    CGroup: /system.slice/openstack-nova-conductor.service 
      ├─42712 /usr/bin/python2 /usr/bin/nova-conductor 
      ├─42762 /usr/bin/python2 /usr/bin/nova-conductor 
      ├─42763 /usr/bin/python2 /usr/bin/nova-conductor 
      ├─42765 /usr/bin/python2 /usr/bin/nova-conductor 
      └─42776 /usr/bin/python2 /usr/bin/nova-conductor 

Jul 27 10:37:20 ha-node3 systemd[1]: Starting OpenStack Nova Conductor Server... 
Jul 27 10:37:26 ha-node3 nova-conductor[42712]: Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. 
Jul 27 10:37:26 ha-node3 nova-conductor[42712]: Option "rpc_backend" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. 
Jul 27 10:37:27 ha-node3 systemd[1]: Started OpenStack Nova Conductor Server. 

● openstack-nova-novncproxy.service - OpenStack Nova NoVNC Proxy Server 
    Loaded: loaded (/usr/lib/systemd/system/openstack-nova-novncproxy.service; enabled; vendor preset: disabled) 
    Active: active (running) since Thu 2017-07-27 10:37:20 CST; 29s ago 
Main PID: 42713 (nova-novncproxy) 
    CGroup: /system.slice/openstack-nova-novncproxy.service 
      └─42713 /usr/bin/python2 /usr/bin/nova-novncproxy --web /usr/share/novnc/ 

Pourquoi sont-ils dans la nova service-list?

Répondre

0

Enfin, je trouve la date de ha-node3 est à 10 minutes plus tard, le ha-node1 et ha-node2:

Dans le ha-node3:

[[email protected] images]# date 
Thu Jul 27 15:22:57 CST 2017 
[[email protected] images]# date 
Thu Jul 27 15:23:16 CST 2017 

Dans le ha-node2 ou ha-node1:

[[email protected] ~]# date 
Thu Jul 27 15:34:03 CST 2017 

J'utiliser ntpdate cn.pool.ntp.org dans le ha-node3, il fonctionne normalement:

[[email protected] ~]# nova service-list 
+----+------------------+----------+----------+---------+-------+----------------------------+-----------------+ 
| Id | Binary   | Host  | Zone  | Status | State | Updated_at     | Disabled Reason | 
+----+------------------+----------+----------+---------+-------+----------------------------+-----------------+ 
| 2 | nova-consoleauth | ha-node3 | internal | enabled | up | 2017-07-27T07:36:31.000000 | -    | 
| 5 | nova-conductor | ha-node3 | internal | enabled | up | 2017-07-27T07:36:30.000000 | -    | 
| 7 | nova-cert  | ha-node3 | internal | enabled | up | 2017-07-27T07:36:31.000000 | -    | 
| 15 | nova-scheduler | ha-node3 | internal | enabled | up | 2017-07-27T07:36:30.000000 | -    | 
| 22 | nova-cert  | ha-node1 | internal | enabled | up | 2017-07-27T07:36:20.000000 | -    | 
| 29 | nova-conductor | ha-node1 | internal | enabled | up | 2017-07-27T07:36:21.000000 | -    | 
| 32 | nova-consoleauth | ha-node1 | internal | enabled | up | 2017-07-27T07:36:23.000000 | -    | 
| 33 | nova-consoleauth | ha-node2 | internal | enabled | up | 2017-07-27T07:36:24.000000 | -    | 
| 36 | nova-scheduler | ha-node1 | internal | enabled | up | 2017-07-27T07:36:20.000000 | -    | 
| 40 | nova-conductor | ha-node2 | internal | enabled | up | 2017-07-27T07:36:22.000000 | -    | 
| 44 | nova-cert  | ha-node2 | internal | enabled | up | 2017-07-27T07:36:30.000000 | -    | 
| 46 | nova-scheduler | ha-node2 | internal | enabled | up | 2017-07-27T07:36:24.000000 | -    | 
+----+------------------+----------+----------+---------+-------+----------------------------+-----------------+