OSTF test 'check pacemaker resources' wrongly check status for resource 'sysinfo_nodeXX...'

Bug #1506945 reported by Dennis Dmitriev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dennis Dmitriev

Bug Description

Scenario:
  1. Deploy HA cluster with 3 controllers;
  2. Shut down any controller and wait 5 min
  3. Run OSTF test 'Check pacemaker status'

Result:
"Check pacemaker status (failure)": "Resource sysinfo_node-2.test.domain.local allowed to start on the nodes [], but it is not started on any node.. Please refer to OpenStack logs for more details."

This is a false-negative result. Actually, resource 'sysinfo_node-2.test.domain.local' is not active, because the node-2 is down, and should be skipped from checking.

The test should correctly process flag "active=" for the resource from the resource status.

ISO version: {
 "build_id": "149",
 "openstack_version": "2015.1.0-8.0",
 "release_versions": {
  "2015.1.0-8.0": {
   "VERSION": {
    "build_id": "149",
    "openstack_version": "2015.1.0-8.0",
    "fuel-library_sha": "c298e62bb44131a8bc99ec4c87fbef3cd19a8f87",
    "fuel-createmirror_sha": "fe81731b76071dc0a4ffdf039080732243f5a871",
    "feature_groups": [
     "mirantis"
    ],
    "fuel-nailgun-agent_sha": "08e0a11cf1f29b705e4b910d9b9db5e9b708b6e3",
    "python-fuelclient_sha": "769df968e19d95a4ab4f12b1d2c76d385cf3168c",
    "fuel-nailgun_sha": "6dd82ee8be28e3411b2a1d65ffd701a329804e71",
    "fuel-agent_sha": "d7f052ecc83bd6f0f0b8f939142906d8fcfc1068",
    "api": "1.0",
    "fuelmain_sha": "7d59a3f89e607564f3809be86816f7b7366a7695",
    "astute_sha": "a090546d43c770ac27ca81c6f8c78ff0ba4a93e0",
    "fuel-ostf_sha": "ef8e6729a986105e3aa708635547aa25ce923716",
    "release": "8.0",
    "build_number": "149",
    "production": "docker"
   }
  }
 },
 "auth_required": true,
 "fuel-library_sha": "c298e62bb44131a8bc99ec4c87fbef3cd19a8f87",
 "fuel-createmirror_sha": "fe81731b76071dc0a4ffdf039080732243f5a871",
 "feature_groups": [
  "mirantis"
 ],
 "fuel-nailgun-agent_sha": "08e0a11cf1f29b705e4b910d9b9db5e9b708b6e3",
 "python-fuelclient_sha": "769df968e19d95a4ab4f12b1d2c76d385cf3168c",
 "fuel-nailgun_sha": "6dd82ee8be28e3411b2a1d65ffd701a329804e71",
 "fuel-agent_sha": "d7f052ecc83bd6f0f0b8f939142906d8fcfc1068",
 "api": "1.0",
 "fuelmain_sha": "7d59a3f89e607564f3809be86816f7b7366a7695",
 "astute_sha": "a090546d43c770ac27ca81c6f8c78ff0ba4a93e0",
 "fuel-ostf_sha": "ef8e6729a986105e3aa708635547aa25ce923716",
 "release": "8.0",
 "build_number": "149",
 "production": "docker"
}

Tags: area-ostf
Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

Fix proposed to branch: master
Review: https://review.openstack.org/236028

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/236028
Committed: https://git.openstack.org/cgit/openstack/fuel-ostf/commit/?id=b6a999f0e40ee0dfc8d29761b7c72ab8a256f417
Submitter: Jenkins
Branch: master

commit b6a999f0e40ee0dfc8d29761b7c72ab8a256f417
Author: Dennis Dmitriev <email address hidden>
Date: Fri Oct 16 20:25:25 2015 +0300

    Skip checking pcs resources if they nodes are offline

    If some nodes are offline and some resource is located on
    any of the offline nodes then skip checking the resource,
    assuming that the resource is node-related, such as 'sysinfo'.

    Change-Id: I8009611a8cff7bd082fa8e47e92c79dd76c2f036
    Closes-Bug:#1506945

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #167

"fuel-createmirror_sha": "843736e50534d184f4b07744d68d0f2d27284cae", "api": "1.0", "fuelmain_sha": "eb669555ca18b0fb372c53857f1c7b2f10e669dd", "astute_sha": "7cea69bd021d6132cde473cdd25e5142fdddad95", "fuel-ostf_sha": "618eb749d78cce075c2b14664b59a06d92f142c2", "openstack_version": "2015.1.0-8.0", "build_id": "167", "build_number": "167", "auth_required": true, "fuel-library_sha": "790fa9354d06504698d8c722316bb428a35ef9b0", "fuel-nailgun-agent_sha": "08e0a11cf1f29b705e4b910d9b9db5e9b708b6e3", "fuel-nailgun_sha": "2e948eaa0152c886f280c5f42e88500a73c75011", "fuel-agent_sha": "49e2e8a08a3cf39d1b38ee155015332aa84e47fd", "production": "docker", "python-fuelclient_sha": "3975398ea980c4ab3786c043843dfaaf97b4404a", "feature_groups": ["mirantis"], "release": "8.0", "release_versions": {"2015.1.0-8.0": {"VERSION": {"fuel-createmirror_sha": "843736e50534d184f4b07744d68d0f2d27284cae", "api": "1.0", "fuelmain_sha": "eb669555ca18b0fb372c53857f1c7b2f10e669dd", "astute_sha": "7cea69bd021d6132cde473cdd25e5142fdddad95", "fuel-ostf_sha": "618eb749d78cce075c2b14664b59a06d92f142c2", "openstack_version": "2015.1.0-8.0", "build_id": "167", "build_number": "167", "fuel-library_sha": "790fa9354d06504698d8c722316bb428a35ef9b0", "fuel-nailgun-agent_sha": "08e0a11cf1f29b705e4b910d9b9db5e9b708b6e3", "fuel-nailgun_sha": "2e948eaa0152c886f280c5f42e88500a73c75011", "fuel-agent_sha": "49e2e8a08a3cf39d1b38ee155015332aa84e47fd", "production": "docker", "python-fuelclient_sha": "3975398ea980c4ab3786c043843dfaaf97b4404a", "feature_groups": ["mirantis"], "release": "8.0"}}}

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
Dmitry Pyzhov (dpyzhov)
tags: added: area-qa
tags: added: area-ostf
removed: area-qa ostf
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.