Bug 986154

Summary: packstack install fails with "LoadError: no such file to load -- puppet/util/command_line"
Product: [Fedora] Fedora Reporter: Gowrishankar Rajaiyan <grajaiya>
Component: openstack-packstackAssignee: Derek Higgins <derekh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: derekh, grajaiya, Jan.van.Eldik, mmagr, p, sandro
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-22 06:08:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
openstack-setup.log none

Description Gowrishankar Rajaiyan 2013-07-19 05:32:52 UTC
Description of problem:

Version-Release number of selected component (if applicable):
Packstack: last commit "0ca7d5ac37858e1d5e16c6988fd12296d4f0aba7"

How reproducible:

Steps to Reproduce:
1. Install Fedora 19
2. git clone --recursive git://github.com/stackforge/packstack.git
3. cd packstack
4. ./bin/packstack --gen-answer-file=ans.txt
5. update ans.txt:
6. ./bin/packstack --answer-file=ans.txt

Actual results:
ERROR : Error during puppet run : LoadError: no such file to load -- puppet/util/command_line
Please check log file /var/tmp/packstack/20130719-214349-IGB2ML/openstack-setup.log for more information

Expected results:

Additional info:
2013-07-19 21:45:50::ERROR::ospluginutils::143::root:: Error  during remote puppet apply of /var/tmp/packstack/20130719-214349-IGB2ML/manifests/
2013-07-19 21:45:50::ERROR::ospluginutils::144::root:: LoadError: no such file to load -- puppet/util/command_line
  require at org/jruby/RubyKernel.java:1027
  require at /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:45
   (root) at /usr/bin/puppet:3

2013-07-19 21:45:50::DEBUG::sequences::48::root:: Traceback (most recent call last):
  File "bin/../packstack/installer/core/sequences.py", line 46, in run
  File "/root/packstack/packstack/plugins/puppet_950.py", line 191, in applyPuppetManifest
  File "/root/packstack/packstack/plugins/puppet_950.py", line 178, in waitforpuppet
  File "bin/../packstack/modules/ospluginutils.py", line 145, in validate_puppet_logfile
    raise PackStackError(message)
PackStackError: Error during puppet run : LoadError: no such file to load -- puppet/util/command_line

2013-07-19 21:45:50::ERROR::run_setup::898::root:: Traceback (most recent call last):
  File "bin/../packstack/installer/run_setup.py", line 893, in main
  File "bin/../packstack/installer/run_setup.py", line 577, in _main
  File "bin/../packstack/installer/run_setup.py", line 554, in runSequences
  File "bin/../packstack/installer/setup_controller.py", line 90, in runAllSequences
  File "bin/../packstack/installer/core/sequences.py", line 105, in run
  File "bin/../packstack/installer/core/sequences.py", line 52, in run
    raise SequenceError(str(ex))
SequenceError: Error during puppet run : LoadError: no such file to load -- puppet/util/command_line

Comment 1 Gowrishankar Rajaiyan 2013-07-19 05:34:13 UTC
Created attachment 775638 [details]

Comment 2 Gowrishankar Rajaiyan 2013-07-19 06:03:01 UTC
Apparently I has to do "yum install ruby". Shouldn't this be part of "Installing Dependencies..." ?

Comment 3 Martin Magr 2013-07-22 06:08:55 UTC

*** This bug has been marked as a duplicate of bug 985208 ***