MCO is not linked to $PATH in Centos7

Bug #1519910 reported by Alexandr Kostrikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Dmitry Teselkin

Bug Description

As a developer I want to use 'mco command' in astute container/or at any system which installs "yum install rubygem-mcollective-client" if we are going to to remove docker. Possible, some scripts are using it.

Expected result
mco is working
Actual result
mco is not found

Fix is
[root@nailgun /]# ln -s /usr/share/gems/bin/mco /usr/bin/

Tags: area-mos
Changed in fuel:
milestone: none → 8.0
status: New → Confirmed
Roman Vyalov (r0mikiam)
tags: added: area-mos
removed: area-build
Changed in fuel:
importance: High → Medium
Changed in fuel:
assignee: Dmitry Teselkin (teselkin-d) → Artem Silenkov (asilenkov)
Revision history for this message
Artem Silenkov (asilenkov) wrote :
Changed in fuel:
assignee: Artem Silenkov (asilenkov) → Dmitry Teselkin (teselkin-d)
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

We need mco client worked in two places:

- astute container
- master node, which really use astute container to run mco.

Also it should be call like mco instead of '/usr/share/gems/bin/mco'. As i remember, Matthew Mosesohn can say more details about mco command on master node from astute container.

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/257912

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

Reviewed: https://review.openstack.org/257912
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=71ca6b1f0481e54bfaa82b9f178c7470182f0bba
Submitter: Jenkins
Branch: master

commit 71ca6b1f0481e54bfaa82b9f178c7470182f0bba
Author: Dmitry Teselkin <email address hidden>
Date: Tue Dec 15 16:58:53 2015 +0300

    Add mco command to master node

    Change-Id: I4fc4f164866c874059f07fe104f9e80c7cdc0541
    Closes-Bug: #1519910

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

# On master node
[root@nailgun /]# exit
[root@nailgun ~]# which mco
alias mco='dockerctl shell astute mco'
 /usr/bin/dockerctl

# In container
[root@nailgun /]# which mco
/usr/sbin/mco

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.