Bug 1172876

Summary: packstack fails on centos6 with missing systemctl
Product: [Community] RDO Reporter: Mohammed Arafa <bugzilla>
Component: openstack-packstackAssignee: Ivan Chavero <ichavero>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: IcehouseCC: aortega, apevec, derekh, ichavero, madko, nyechiel, srevivo, yeylon
Target Milestone: ---   
Target Release: Juno   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-puppet-modules-2014.2.12-2.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-30 23:07:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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