pcs resource list don't working

Bug #1558627 reported by Sofiia Andriichenko
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Bogdan Dobrelya
8.0.x
Fix Released
Medium
Anton Chevychalov

Bug Description

Step To Reproduce:
[root@nailgun ~]# ssh node-<controller>
root@node-1:~# pcs resource list

Actual result:
Exec format error
Error: unable to locate command: /usr/lib/ocf/resource.d/fuel/set_rabbitmq_policy.sh

Expected result:
command is working

Changed in mos:
milestone: none → 9.0
assignee: nobody → MOS All (mos-all)
assignee: MOS All (mos-all) → MOS Bugs (mos-bugs)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Hi Sofia, could you please attach the information about the build number?

affects: mos → fuel
Changed in fuel:
milestone: 9.0 → none
assignee: MOS Bugs (mos-bugs) → Fuel Library Team (fuel-library)
tags: added: pacemaker
Changed in fuel:
milestone: none → 9.0
description: updated
Changed in fuel:
importance: High → Medium
Changed in fuel:
importance: Medium → Low
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Raised to medium as this may affect upstream OCF RA as well. The command's failing:
# /usr/lib/ocf/resource.d/fuel/set_rabbitmq_policy.sh meta-data
/usr/lib/ocf/resource.d/fuel/set_rabbitmq_policy.sh: line 21: ocf_log: command not found
/usr/lib/ocf/resource.d/fuel/set_rabbitmq_policy.sh: line 22: set_policy: command not found
/usr/lib/ocf/resource.d/fuel/set_rabbitmq_policy.sh: line 23: set_policy: command not found
/usr/lib/ocf/resource.d/fuel/set_rabbitmq_policy.sh: line 24: set_policy: command not found

Shall be fixed

Changed in fuel:
importance: Low → Medium
assignee: Fuel Library Team (fuel-library) → Bogdan Dobrelya (bogdando)
tags: added: rabbitmq
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :
Download full text (24.3 KiB)

+---------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Host | Reporter | Report |
+---------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| nailgun.test.domain.local | cat /etc/fuel_build_id | 70 |
| | | |
| nailgun.test.domain.local | cat /etc/fuel_build_number | 70 |
| | | |
| nailgun.test.domain.local | cat /etc/fuel_release | 9.0 |
| | | |
| nailgun.test.domain.local | cat /etc/fuel_openstack_version | liberty-9.0 |
| | | |
| nailgun.test.domain.local | rpm -qa | \ | |
| | egrep 'fuel|astute|network-checker|shotgun' | \ | fuel-release-9.0.0-1.mos6312.noarch ...

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/295269
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=8ebd9b12998358bd3a0d8dd2040d18875689fb54
Submitter: Jenkins
Branch: master

commit 8ebd9b12998358bd3a0d8dd2040d18875689fb54
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Mar 21 14:13:11 2016 +0100

    Put the RabbitMQ OCF RA policy to /usr/sbin

    * Fix failing pcs resource list command
      and move the policy file from the ocf to policy dir
    * Configure the custom policy file to be picked
      in the /usr/sbin/set_rabbitmq_policy as the
      fuel-libraryX package installs it.
    * As the upstream rabbitmq-server package does not
      install one, use the default policy OCF path param
      as the /usr/local/sbin/...
    * Add the policy_file param and unit tests to the
      cluster::rabbitmq_ocf

    Closes-bug: #1558627

    Change-Id: I4937bde611b06c3e39385a322053610c98584d79
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :

cat /etc/fuel_build_id:
 109
cat /etc/fuel_build_number:
 109
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 liberty-9.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-release-9.0.0-1.mos6317.noarch
 rubygem-astute-9.0.0-1.mos728.noarch
 fuel-library9.0-9.0.0-1.mos8195.noarch
 shotgun-9.0.0-1.mos85.noarch
 fuel-agent-9.0.0-1.mos266.noarch
 fuel-ui-9.0.0-1.mos2609.noarch
 fuel-nailgun-9.0.0-1.mos8572.noarch
 fuel-migrate-9.0.0-1.mos8195.noarch
 nailgun-mcagents-9.0.0-1.mos728.noarch
 fuel-misc-9.0.0-1.mos8195.noarch
 python-packetary-9.0.0-1.mos128.noarch
 fuel-bootstrap-cli-9.0.0-1.mos266.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8572.noarch
 network-checker-9.0.0-1.mos72.x86_64
 fuel-mirror-9.0.0-1.mos128.noarch
 fuel-openstack-metadata-9.0.0-1.mos8572.noarch
 fuel-notify-9.0.0-1.mos8195.noarch
 fuel-setup-9.0.0-1.mos6317.noarch
 python-fuelclient-9.0.0-1.mos292.noarch
 fuelmenu-9.0.0-1.mos263.noarch
 fuel-9.0.0-1.mos6317.noarch
 fuel-utils-9.0.0-1.mos8195.noarch
 fuel-ostf-9.0.0-1.mos919.noarch

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Serg Lystopad (slystopad) wrote :

It affects MOS8 as well

tags: added: ct1 customer-found
Revision history for this message
Serg Lystopad (slystopad) wrote :

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "570"
  build_id: "570"
  fuel-nailgun_sha: "558ca91a854cf29e395940c232911ffb851899c1"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "c2a335b5b725f1b994f78d4c78723d29fa44685a"
  fuel-ostf_sha: "3bc76a63a9e7d195ff34eadc29552f4235fa6c52"
  fuel-mirror_sha: "fb45b80d7bee5899d931f926e5c9512e2b442749"
  fuelmenu_sha: "78ffc73065a9674b707c081d128cb7eea611474f"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "d605bcbabf315382d56d0ce8143458be67c53434"

node-22 # dpkg -l | grep fuel
ii fuel-ha-utils 8.0.0-1~u14.04+mos7815 all Fuel Library HA utils
ii fuel-misc 8.0.0-1~u14.04+mos7815 all Misc Fuel library scripts
ii fuel-rabbit-fence 8.0.0-1~u14.04+mos7815 all Fuel RabbitMQ fencing utilitites
ii fuel-umm 8.0.0-1~u14.04+mos7815 all Unified maintenance mode

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

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/422086

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

Reviewed: https://review.openstack.org/422086
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=dadceb7df3242317524251d6db7031de77319670
Submitter: Jenkins
Branch: stable/8.0

commit dadceb7df3242317524251d6db7031de77319670
Author: Anton Chevychalov <email address hidden>
Date: Wed Jan 18 19:32:00 2017 +0300

    Fix unable to locate command

    It should be interpreter in first line of script.

    Change-Id: I813f4350dcf5a05ebc35f0ed012e6757564f2539
    Closes-Bug: #1558627

tags: added: on-verification
Revision history for this message
Ekaterina Shutova (eshutova) wrote :

Verified on MOS 8.0 MU4 updates.
Command 'pcs resource list' is working.

tags: removed: on-verification
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.