[Ubuntu only] pcs resource list command doesn't work

Bug #1460604 reported by Timur Nurlygayanov
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Alexei Sheplyakov

Bug Description

Steps To Reproduce:
1. Take MOS 6.1 ISO (reproduced on MOS 6.1 #455)
2. Install OpenStack cloud with Ubuntu 14.04
3. Login to OpenStack controller node and execute the following command:
pcs resource list

Expected Result:
User will see the list of pacemaker resources and statuses of all resources, like in CentOS, or warning message that user should use other command to get the same output.

Observed Result:
Command failed with the error:
root@node-2:~# pcs resource list
No such file or directory
Error: unable to locate command: systemctl

Changed in mos:
importance: Undecided → High
status: New → Confirmed
milestone: none → 6.1
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

This issue has no impact on the deployment or operations of the deployed cloud, lowering priority

Changed in mos:
importance: High → Low
milestone: 6.1 → 7.0
summary: - [Ubuntu only] pcs resource list command doesn't work: unable to locate
- command: systemctl
+ [Ubuntu only] pcs resource list command doesn't work as it requires
+ systemd installed
Changed in mos:
assignee: nobody → MOS Linux (mos-linux)
Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :

Nope, pcs does NOT need systemd to operate properly. Changing the bug title accordingly.

summary: - [Ubuntu only] pcs resource list command doesn't work as it requires
- systemd installed
+ [Ubuntu only] pcs resource list command doesn't work
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to packages/trusty/python-pcs (6.1)

Fix proposed to branch: 6.1
Change author: Alexei Sheplyakov <email address hidden>
Review: https://review.fuel-infra.org/7232

Changed in mos:
assignee: MOS Linux (mos-linux) → Alexei Sheplyakov (asheplyakov)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to packages/trusty/python-pcs (6.1)

Reviewed: https://review.fuel-infra.org/7232
Submitter: Aleksandr Mogylchenko <email address hidden>
Branch: 6.1

Commit: 01645bd2a0a95728d053533c044e4b3960046f22
Author: Alexei Sheplyakov <email address hidden>
Date: Mon Jun 1 18:09:09 2015

pcs resource list: fix the check for systemd availability

Just because the machine doesn't run RHEL 6.0 doesn't mean systemd is
available. Picked from upstream commit

Change-Id: Icc72266049e8f33c90641ca0be0cd7b968b475dd
Closes-Bug: #1460604

Changed in mos:
milestone: 7.0 → 6.1
status: Confirmed → Fix Committed
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :
Download full text (9.8 KiB)

root@node-1:~# pcs resource list
ocf:fuel:ceilometer-agent-central - Manages the OpenStack Ceilometer Central Agent Service (ceilometer-agent-central)
ocf:fuel:ceilometer-alarm-evaluator - Manages the OpenStack Ceilometer Alarm Evaluator Service (ceilometer-alarm-
ocf:fuel:haproxy - Manages an haproxy daemon
ocf:fuel:heat-engine - Manages OpenStack Heat
ocf:fuel:mysql-wss - Resource script for MySQL
ocf:fuel:ns_IPaddr2 - This Linux-specific resource manages IP address inside network namespace.
ocf:fuel:ns_conntrackd - This resource agent manages conntrackd
ocf:fuel:ns_dns - Manages an dnsmasq daemon inside a namespace
ocf:fuel:ns_haproxy - Manages an haproxy daemon inside an namespace
ocf:fuel:ns_ntp - Manages an ntp daemon inside a namespace
ocf:fuel:ns_vrouter - Manages an vrouter daemon inside an namespace
ocf:fuel:ocf-neutron-dhcp-agent - Manages the OpenStack DHCP Service (neutron-dhcp-agent)
ocf:fuel:ocf-neutron-l3-agent - Manages the OpenStack L3 Service (neutron-l3-agent)
ocf:fuel:ocf-neutron-metadata-agent - Manages the OpenStack OVS Service (neutron-metadata-agent)
ocf:fuel:ocf-neutron-ovs-agent - Manages the OpenStack OVS Service (neutron-openvswitch-agent)
ocf:fuel:rabbitmq-server - Resource agent for /usr/sbin/rabbitmq-server
ocf:heartbeat:AoEtarget - Manages ATA-over-Ethernet (AoE) target exports
ocf:heartbeat:AudibleAlarm - Emits audible beeps at a configurable interval
ocf:heartbeat:CTDB - CTDB Resource Agent
ocf:heartbeat:ClusterMon - Runs crm_mon in the background, recording the cluster status to an HTML file
ocf:heartbeat:Delay - Waits for a defined timespan
ocf:heartbeat:Dummy - Example stateless resource agent
ocf:heartbeat:EvmsSCC - Manages EVMS Shared Cluster Containers (SCCs) (deprecated)
ocf:heartbeat:Evmsd - Controls clustered EVMS volume management (deprecated)
ocf:heartbeat:Filesystem - Manages filesystem mounts
ocf:heartbeat:ICP - Manages an ICP Vortex clustered host drive
ocf:heartbeat:IPaddr - Manages virtual IPv4 addresses (portable version)
ocf:heartbeat:IPaddr2 - Manages virtual IPv4 addresses (Linux specific version)
ocf:heartbeat:IPsrcaddr - Manages the preferred source address for outgoing IP packets
ocf:heartbeat:IPv6addr - Manages IPv6 aliases
ocf:heartbeat:LVM - Controls the availability of an LVM Volume Group
ocf:heartbeat:LinuxSCSI - Enables and disables SCSI devices through the kernel SCSI hot-plug subsystem (deprecated)
ocf:heartbeat:MailTo - Notifies recipients by email in the event of resource takeover
ocf:heartbeat:ManageRAID - Manages RAID devices
ocf:heartbeat:ManageVE - Manages an OpenVZ Virtual Environment (VE)
ocf:heartbeat:Pure-FTPd - Manages a Pure-FTPd FTP server instance
ocf:heartbeat:Raid1 - Manages Linux software RAID (MD) devices on shared storage
ocf:heartbeat:Route - Manages network routes
ocf:heartbeat:SAPDatabase - Manages a SAP database instance as an HA resource.
ocf:heartbeat:SAPInstance - Manages a SAP instance as an HA resource.
ocf:heartbeat:SendArp - Broadcasts unsolicited ARP announcements
ocf:heartbeat:ServeRAID - Enables and disables shared ServeRAID merge groups
ocf:heartbeat:SphinxSearchDaemon - Manages the Sphinx search...

Changed in mos:
status: Fix Committed → Fix Released
no longer affects: mos/6.1.x
no longer affects: mos/7.0.x
no longer affects: mos/8.0.x
no longer affects: mos/9.0.x
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.