Failed command "crm configure property maintenance-mode"

Bug #1567864 reported by Mikhail Samoylov
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Mikhail Samoylov
Mitaka
Fix Released
High
Mikhail Samoylov
Newton
Fix Committed
High
Mikhail Samoylov

Bug Description

https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.ha_neutron_destructive/72/consoleFull

Scenario:
            1. SSH to first controller and put corosync cluster to
               maintenance mode:
               crm configure property maintenance-mode=true
            2. Stop corosync service on first controller with commands:
 'crm configure property maintenance-mode=true'
'service corosync stop'
            3. Check on master node that rabbit-fence.log contains
               Ignoring alive node rabbit@node-1
            4. On second controller check that rabbitmq cluster_status
               contains all 3 nodes
            5. On first controller start corosync service and restart pacemaker
            6. Check that pcs status contains all 3 nodes

Expected result:
Both commands execution finished without errors and test passed

Actual result:
Error:
root@node-1:~# crm configure property maintenance-mode=true
ERROR: CIB not supported: validator 'pacemaker-2.4', release '3.0.10'
ERROR: You may try the upgrade command
ERROR: configure: Missing requirements

https://drive.google.com/open?id=0B2SenDuhfXPlalZpd2I4TFBRbkU - snapshot

Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

version

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
description: updated
Maciej Relewicz (rlu)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Maciej Relewicz (rlu)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Ksenia Svechnikova (kdemina) wrote :
Revision history for this message
Bartosz Kupidura (zynzel) wrote :

Rising importance to high, this issue will block ex. crm configure edit

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to packages/trusty/crmsh (master)

Reviewed: https://review.fuel-infra.org/19739
Submitter: Pkgs Jenkins <email address hidden>
Branch: master

Commit: 6e68a7c7bdf0f52cfef29e79108d06b9f037e7e3
Author: Ivan Suzdal <email address hidden>
Date: Mon Apr 18 13:55:40 2016

Bump crmsh package to 2.1.5

Rebuilt from upstream tag 2.1.5

Related-Bug: #1524672
Related-Bug: #1567864

Change-Id: Iabe3e5479fa9196bc10346ed762899d8ca82d8f0

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to packages/trusty/crmsh (9.0)

Fix proposed to branch: 9.0
Change author: Ivan Suzdal <email address hidden>
Review: https://review.fuel-infra.org/19783

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to packages/trusty/crmsh (9.0)

Reviewed: https://review.fuel-infra.org/19783
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0

Commit: 7b51b3cba8d3f204c412242b09d1f20bd9998721
Author: Ivan Suzdal <email address hidden>
Date: Mon Apr 18 18:14:57 2016

Bump crmsh package to 2.1.5

Rebuilt from upstream tag 2.1.5

Related-Bug: #1524672
Closes-Bug: #1567864

Change-Id: Iabe3e5479fa9196bc10346ed762899d8ca82d8f0
(cherry picked from commit 6e68a7c7bdf0f52cfef29e79108d06b9f037e7e3)

Revision history for this message
Alexey Lebedeff (alebedev-a) wrote :

This combination of crmsh/pacemaker is working. Tested using following sequence of actions:

docker run --rm -i -t ubuntu:trusty

sed -i 's/archive.ubuntu.com/mirror.yandex.ru/g' /etc/apt/sources.list
sed -i '/^deb-src/ s/\(.*\)$/\#\1/g' /etc/apt/sources.list
apt-get update
apt-get install -y curl
curl http://mirror.fuel-infra.org/mos-repos/ubuntu/master/archive-mos-master.key | apt-key add -
echo 'deb http://mirror.fuel-infra.org/mos-repos/ubuntu/master/ mos-master main' > /etc/apt/sources.list.d/mos.list
apt-get update
apt-get install -y crmsh pacemaker
perl -pi -e 's/START=no/START=yes/' /etc/default/corosync
service corosync start
service pacemaker start
crm configure property no-quorum-policy=ignore
crm configure property stonith-enabled=false
crm configure primitive p0 Dummy
echo ========================================================================== WAIT START
while ! crm_mon -1 | grep 'partition with quorum'; do sleep 1 ; done
echo ========================================================================== SET MAINT=TRUE
crm configure property maintenance-mode=true
while ! crm_mon -1 | grep 'unmanaged'; do sleep 1 ; done
echo ========================================================================== WE ARE UNMANAGED
crm status
echo ========================================================================== SET MAINT=FALSE
crm configure property maintenance-mode=false
while crm_mon -1 | grep 'unmanaged'; do sleep 1 ; done
echo ========================================================================== BACK TO MANAGED
crm status

Egor Kotko (ykotko)
tags: added: on-verification
Egor Kotko (ykotko)
tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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