[Rdo-list] Error: Could not find command 'systemctl'

Swapnil Jain swapnil at linux.com
Fri Jan 9 09:19:53 UTC 2015


Theres already an open bug assigned but no fix yet. I fooled it by creating a bash script as /usr/bin/systemctl. A bad way of doing it but it worked ;)

#!/bin/bash
SER=`echo $2 |gawk -F. '{print $1}'`
service $SER $1




—
Swapnil Jain | Swapnil at Linux.com
RHC{A,DS,E,SA,SA-RHOS,VA}, CC{DA,NA}, MCSE, CNE


> On 08-Jan-2015, at 10:25 pm, Ihar Hrachyshka <ihrachys at redhat.com> wrote:
> 
> Please report a bug for this behaviour. But first check that you run against correct repo (el6, not el7).
> 
> On 01/08/2015 10:11 AM, Swapnil Jain wrote:
>> Hi,
>> 
>> I am getting the below error while install icehouse on RHEL6. its looking for systemctl which is not available.
>> 
>> 172.16.254.2_osclient.pp:                            [ DONE ]
>> 172.16.254.2_horizon.pp:                          [ ERROR ]
>> Applying Puppet manifests                         [ ERROR ]
>> 
>> ERROR : Error appeared during Puppet run: 172.16.254.2_horizon.pp
>> Error: Could not find command 'systemctl'
>> You will find full trace in log /var/tmp/packstack/20150108-222031-ha6FwJ/manifests/172.16.254.2_horizon.pp.log
>> Please check log file /var/tmp/packstack/20150108-222031-ha6FwJ/openstack-setup.log for more information
>> 
>> 
>>>> Swapnil Jain | Swapnil at Linux.com <mailto:Swapnil at Linux.com>
>> 
>> 
>> 
>> _______________________________________________
>> Rdo-list mailing list
>> Rdo-list at redhat.com <mailto:Rdo-list at redhat.com>
>> https://www.redhat.com/mailman/listinfo/rdo-list <https://www.redhat.com/mailman/listinfo/rdo-list>
> 
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20150109/ce379d3b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20150109/ce379d3b/attachment.sig>


More information about the dev mailing list