[Docs] wrong output in How To Troubleshoot Corosync/Pacemaker

Bug #1467824 reported by Denis Klepikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Undecided
Olena Logvinova
6.1.x
Fix Released
High
Olena Logvinova

Bug Description

wrong output on page
https://docs.mirantis.com/openstack/fuel/fuel-master/operations.html#how-to-troubleshoot-corosync-pacemaker

This command shows you the main information about the Pacemaker cluster and the state of the resources being managed. For example:

crm(live)# status

......

Should be
CRM STATUS - FORMAT IT LIKE COMMAND

This command shows you the main information about the Pacemaker cluster and the state of the resources being managed. For example:

on conrtoller node enter crm
root@node-1:~# crm
then you can run command to see status
crm(live)#
crm(live)# status
Last updated: Tue Jun 23 08:47:23 2015
Last change: Mon Jun 22 17:24:32 2015
Stack: corosync
Current DC: node-1.domain.tld (1) - partition with quorum
Version: 1.1.12-561c4cf
3 Nodes configured
43 Resources configured

Online: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]

 Clone Set: clone_p_vrouter [p_vrouter]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 vip__management (ocf::fuel:ns_IPaddr2): Started node-1.domain.tld
 vip__public_vrouter (ocf::fuel:ns_IPaddr2): Started node-1.domain.tld
 vip__management_vrouter (ocf::fuel:ns_IPaddr2): Started node-1.domain.tld
 vip__public (ocf::fuel:ns_IPaddr2): Started node-2.domain.tld
 Master/Slave Set: master_p_conntrackd [p_conntrackd]
     Masters: [ node-1.domain.tld ]
     Slaves: [ node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_haproxy [p_haproxy]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_dns [p_dns]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_mysql [p_mysql]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Master/Slave Set: master_p_rabbitmq-server [p_rabbitmq-server]
     Masters: [ node-1.domain.tld ]
     Slaves: [ node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_heat-engine [p_heat-engine]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-plugin-openvswitch-agent [p_neutron-plugin-openvswitch-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-dhcp-agent [p_neutron-dhcp-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-metadata-agent [p_neutron-metadata-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-l3-agent [p_neutron-l3-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_ntp [p_ntp]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_ping_vip__public [ping_vip__public]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]

OR

root@node-1:~# crm status
Last updated: Tue Jun 23 08:47:52 2015
Last change: Mon Jun 22 17:24:32 2015
Stack: corosync
Current DC: node-1.domain.tld (1) - partition with quorum
Version: 1.1.12-561c4cf
3 Nodes configured
43 Resources configured

Online: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]

 Clone Set: clone_p_vrouter [p_vrouter]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 vip__management (ocf::fuel:ns_IPaddr2): Started node-1.domain.tld
 vip__public_vrouter (ocf::fuel:ns_IPaddr2): Started node-1.domain.tld
 vip__management_vrouter (ocf::fuel:ns_IPaddr2): Started node-1.domain.tld
 vip__public (ocf::fuel:ns_IPaddr2): Started node-2.domain.tld
 Master/Slave Set: master_p_conntrackd [p_conntrackd]
     Masters: [ node-1.domain.tld ]
     Slaves: [ node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_haproxy [p_haproxy]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_dns [p_dns]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_mysql [p_mysql]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Master/Slave Set: master_p_rabbitmq-server [p_rabbitmq-server]
     Masters: [ node-1.domain.tld ]
     Slaves: [ node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_heat-engine [p_heat-engine]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-plugin-openvswitch-agent [p_neutron-plugin-openvswitch-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-dhcp-agent [p_neutron-dhcp-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-metadata-agent [p_neutron-metadata-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-l3-agent [p_neutron-l3-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_ntp [p_ntp]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_ping_vip__public [ping_vip__public]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]

root@node-1:~# crm
crm(live)# resource
crm(live)resource# status
 Clone Set: clone_p_vrouter [p_vrouter]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 vip__management (ocf::fuel:ns_IPaddr2): Started
 vip__public_vrouter (ocf::fuel:ns_IPaddr2): Started
 vip__management_vrouter (ocf::fuel:ns_IPaddr2): Started
 vip__public (ocf::fuel:ns_IPaddr2): Started
 Master/Slave Set: master_p_conntrackd [p_conntrackd]
     Masters: [ node-1.domain.tld ]
     Slaves: [ node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_haproxy [p_haproxy]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_dns [p_dns]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_mysql [p_mysql]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Master/Slave Set: master_p_rabbitmq-server [p_rabbitmq-server]
     Masters: [ node-1.domain.tld ]
     Slaves: [ node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_heat-engine [p_heat-engine]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-plugin-openvswitch-agent [p_neutron-plugin-openvswitch-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-dhcp-agent [p_neutron-dhcp-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-metadata-agent [p_neutron-metadata-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_neutron-l3-agent [p_neutron-l3-agent]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_p_ntp [p_ntp]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]
 Clone Set: clone_ping_vip__public [ping_vip__public]
     Started: [ node-1.domain.tld node-2.domain.tld node-3.domain.tld ]

Tags: docs
Changed in fuel:
assignee: nobody → Fuel Documentation Team (fuel-docs)
tags: added: docs
description: updated
description: updated
Changed in fuel:
assignee: Fuel Documentation Team (fuel-docs) → ologvinova (ologvinova)
status: New → In Progress
Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
milestone: none → 7.0
Revision history for this message
Olena Logvinova (ologvinova) wrote :

Fix released for Fuel 7.0:

https://review.openstack.org/#/c/194712/

Changes the output format in crm commands

This patch separates the examples of output from the commands.
Change-Id: I2e9df76b8aa8a9d98f8ade1e4a334bb0319c3f20

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-docs (stable/6.1)

Fix proposed to branch: stable/6.1
Review: https://review.openstack.org/228510

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-docs (stable/6.1)

Reviewed: https://review.openstack.org/228510
Committed: https://git.openstack.org/cgit/stackforge/fuel-docs/commit/?id=99111b336c2f69fa34be94685a5b3e2aa99d762b
Submitter: Jenkins
Branch: stable/6.1

commit 99111b336c2f69fa34be94685a5b3e2aa99d762b
Author: Olena Logvinova <email address hidden>
Date: Tue Jun 23 18:31:19 2015 +0300

    Changes the output format in crm commands

    This patch separates the examples of output from the commands.

    Change-Id: I2e9df76b8aa8a9d98f8ade1e4a334bb0319c3f20
    Closes-Bug: #1467824
    (cherry picked from commit 8bda442554878111c4504f049bd9673dab7ca5d7)

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.