Bug 1016712

Summary: Packstack tempest install fails on F19
Product: [Community] RDO Reporter: Steven Hardy <shardy>
Component: openstack-packstackAssignee: Rushil Chugh <rchugh>
Status: CLOSED WORKSFORME QA Contact: Nir Magnezi <nmagnezi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, morazi, rchugh, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-11 15:30:24 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:
Attachments:
Description Flags
Output log after updating answer file
none
Updated answer file none

Description Steven Hardy 2013-10-08 14:52:28 UTC
Description of problem:
Attempting to install Tempest via packstack fails on F19 due to not finding mysql-devel (mariadb-devel is installed)

Version-Release number of selected component (if applicable):
openstack-packstack-2013.2.1-0.10.dev763.fc20.noarch

How reproducible:
Always

Steps to Reproduce:
1. Configure your answerfile with the following:
cat packstack_localhost_allinone.txt | grep TEMPEST
CONFIG_PROVISION_TEMPEST=y
CONFIG_PROVISION_TEMPEST_REPO_URI=https://github.com/openstack/tempest.git
CONFIG_PROVISION_TEMPEST_REPO_REVISION=master

2. packstack --answer-file packstack_localhost_allinone.txt 


Actual results:
Fails:

ERROR : Error during puppet run : Error: Could not find package mysql-devel

Expected results:
Install works.

Additional info:

^[[1;31mError: Could not find package mysql-devel^[[0m
^[[1;31mError: /Stage[main]/Tempest/Package[mysql-devel]/ensure: change from absent to present failed: Could not find package mysql-devel^[[0m
^[[mNotice: /Stage[main]/Tempest/Tempest_glance_id_setter[image_ref]/ensure: created^[[0m
^[[mNotice: /Stage[main]/Tempest/Tempest_glance_id_setter[image_ref_alt]/ensure: created^[[0m
^[[mNotice: Finished catalog run in 37.68 seconds^[[0m

2013-10-08 15:42:36::ERROR::run_setup::913::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 908, in main
    _main(confFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 577, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 554, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 90, in runAllSequences
    sequence.run(self.CONF)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 105, in run
    step.run(config=config)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 52, in run
    raise SequenceError(str(ex))
SequenceError: Error during puppet run : Error: Could not find package mysql-devel^[[0m

Comment 1 Rushil Chugh 2013-11-08 20:51:10 UTC
Hi Steven
Was there an existing answer file when you ran the following command: 
packstack --answer-file packstack_localhost_allinone.txt ?


(In reply to Steven Hardy from comment #0)
> Description of problem:
> Attempting to install Tempest via packstack fails on F19 due to not finding
> mysql-devel (mariadb-devel is installed)
> 
> Version-Release number of selected component (if applicable):
> openstack-packstack-2013.2.1-0.10.dev763.fc20.noarch
> 
> How reproducible:
> Always
> 
> Steps to Reproduce:
> 1. Configure your answerfile with the following:
> cat packstack_localhost_allinone.txt | grep TEMPEST
> CONFIG_PROVISION_TEMPEST=y
> CONFIG_PROVISION_TEMPEST_REPO_URI=https://github.com/openstack/tempest.git
> CONFIG_PROVISION_TEMPEST_REPO_REVISION=master
> 
> 2. packstack --answer-file packstack_localhost_allinone.txt 
> 
> 
> Actual results:
> Fails:
> 
> ERROR : Error during puppet run : Error: Could not find package mysql-devel
> 
> Expected results:
> Install works.
> 
> Additional info:
> 
> ^[[1;31mError: Could not find package mysql-devel^[[0m
> ^[[1;31mError: /Stage[main]/Tempest/Package[mysql-devel]/ensure: change from
> absent to present failed: Could not find package mysql-devel^[[0m
> ^[[mNotice: /Stage[main]/Tempest/Tempest_glance_id_setter[image_ref]/ensure:
> created^[[0m
> ^[[mNotice:
> /Stage[main]/Tempest/Tempest_glance_id_setter[image_ref_alt]/ensure:
> created^[[0m
> ^[[mNotice: Finished catalog run in 37.68 seconds^[[0m
> 
> 2013-10-08 15:42:36::ERROR::run_setup::913::root:: Traceback (most recent
> call last):
>   File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py",
> line 908, in main
>     _main(confFile)
>   File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py",
> line 577, in _main
>     runSequences()
>   File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py",
> line 554, in runSequences
>     controller.runAllSequences()
>   File
> "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py",
> line 90, in runAllSequences
>     sequence.run(self.CONF)
>   File
> "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py",
> line 105, in run
>     step.run(config=config)
>   File
> "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py",
> line 52, in run
>     raise SequenceError(str(ex))
> SequenceError: Error during puppet run : Error: Could not find package
> mysql-devel^[[0m

Comment 2 Steven Hardy 2013-11-11 14:46:56 UTC
(In reply to Rushil Chugh from comment #1)
> Hi Steven
> Was there an existing answer file when you ran the following command: 
> packstack --answer-file packstack_localhost_allinone.txt ?

Yes, I was running packstack repeatedly with the same answerfile

Comment 3 Rushil Chugh 2013-11-11 15:23:07 UTC
Steven
I made the requisite changes to the answer file and it ran successfully for me. I am attaching my console output as well as the updated answer file for reference. I am marking the bug as closed.
Regards
Rushil

Comment 4 Rushil Chugh 2013-11-11 15:24:00 UTC
Created attachment 822466 [details]
Output log after updating answer file

Comment 5 Rushil Chugh 2013-11-11 15:28:40 UTC
Created attachment 822473 [details]
Updated answer file