RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1172876 - packstack fails on centos6 with missing systemctl
Summary: packstack fails on centos6 with missing systemctl
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: Icehouse
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: Juno
Assignee: Ivan Chavero
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-11 01:53 UTC by Mohammed Arafa
Modified: 2023-02-22 23:02 UTC (History)
8 users (show)

Fixed In Version: openstack-puppet-modules-2014.2.12-2.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-30 23:07:03 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 147281 0 None None None Never

Description Mohammed Arafa 2014-12-11 01:53:39 UTC
Description of problem:
the logs output

2014-12-10 14:32:44::INFO::shell::81::root:: [192.168.0.32] Executing script:
yum install -y puppet openssh-clients tar nc rubygem-json
yum update -y puppet openssh-clients tar nc rubygem-json
rpm -q --whatprovides puppet
rpm -q --whatprovides openssh-clients
rpm -q --whatprovides tar
rpm -q --whatprovides nc
rpm -q --whatprovides rubygem-json
2014-12-10 14:33:06::INFO::shell::81::root:: [localhost] Executing script:
cd /usr/lib/python2.6/site-packages/packstack/puppet
cd /var/tmp/packstack/20141210-143137-eZB1Yk/manifests
tar --dereference -cpzf - ../manifests | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root.0.32 tar -C /var/tmp/packstack/5b4a862c4c344d2ba642f559a976cd5a -xpzf -
cd /usr/share/openstack-puppet/modules
tar --dereference -cpzf - apache ceilometer certmonger cinder concat firewall glance heat horizon inifile keystone memcached mongodb mysql neutron nova nssdb openstack packstack qpid rabbitmq remote rsync ssh stdlib swift sysctl tempest vcsrepo vlan vswitch xinetd | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root.0.32 tar -C /var/tmp/packstack/5b4a862c4c344d2ba642f559a976cd5a/modules -xpzf -
2014-12-10 19:55:55::ERROR::run_setup::921::root:: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 916, in main
    _main(confFile)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 605, in _main
    runSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 584, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 68, in runAllSequences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 98, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 44, in run
    raise SequenceError(str(ex))
SequenceError: Error appeared during Puppet run: 192.168.0.32_horizon.pp
Error: Could not find command 'systemctl'ESC[0m
You will find full trace in log /var/tmp/packstack/20141210-143137-eZB1Yk/manifests/192.168.0.32_horizon.pp.log


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Alan Pevec (Fedora) 2015-01-12 10:23:57 UTC
Ivan, what's the plan here, report that EL6 is not supported in RDO Juno?
If so, please note there's an effort to provide (at least subset) of Juno packages on EL6:
https://trello.com/c/L0X5bU5s/25-el6-juno-packages

Comment 2 Ivan Chavero 2015-01-14 20:17:45 UTC
Well, this is a oneline bug fix that fixes the support for EL6 and it does not break anything for EL7.
Sent the patch for review in case this functionality is desired, either way, the fix would be available to the reporter.

https://review.openstack.org/#/c/147281/

Comment 3 Ivan Chavero 2015-01-28 16:23:44 UTC
The review has been merged to the icehouse repo, waiting for approval to add it to the package


Note You need to log in before you can comment on or make changes to this bug.