Bug 1050140

Summary: SequenceError: execute() got an unexpected keyword argument 'maskList'
Product: [Community] RDO Reporter: Pavel Sedlák <psedlak>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: aortega, derekh, mmagr, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-08 18:39:55 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
openstack-setup.log none

Description Pavel Sedlák 2014-01-08 17:40:28 UTC
Created attachment 847283 [details]
openstack-setup.log

While using packstack for RDO Icehouse testday,
 when I've specified CONFIG_SATELLITE_URL and AKEY
 packstack dies on SequenceError: execute() got an unexpected keyword argument 'maskList'.

yum install http://rdo.fedorapeople.org/openstack-icehouse/rdo-release-icehouse.rpm
yum install openstack-packstack

cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 6.5 (Santiago)
rpm -qa openstack-packstack
> openstack-packstack-2013.2.1-0.27.dev936.el6.noarch

packstack --gen-answer-file=testanswers

sed 's/\(CONFIG_SATELLITE_URL=\)/\1my-satellite-url/' -i testanswers
sed 's/\(CONFIG_SATELLITE_AKEY=\)/\1my-satellite-key/' -i testanswers

grep SATELL testanswers 
> CONFIG_SATELLITE_URL=my-satellite-url
> CONFIG_SATELLITE_USER=
> CONFIG_SATELLITE_PW=
> CONFIG_SATELLITE_AKEY=my-satellite-key
> CONFIG_SATELLITE_CACERT=
> CONFIG_SATELLITE_PROFILE=
> CONFIG_SATELLITE_FLAGS=
> CONFIG_SATELLITE_PROXY=
> CONFIG_SATELLITE_PROXY_USER=
> CONFIG_SATELLITE_PROXY_PW=

packstack --debug --answer-file=testanswers
> Welcome to Installer setup utility
> 
> Installing:
> Clean Up...                                            [ DONE ]
> Setting up ssh keys...                                 [ DONE ]
> Discovering hosts' details...                          [ DONE ]
> Adding pre install manifest entries...                 [ DONE ]
> Adding MySQL manifest entries...                       [ DONE ]
> Adding QPID manifest entries...                        [ DONE ]
> Adding Keystone manifest entries...                    [ DONE ]
> Adding Glance Keystone manifest entries...             [ DONE ]
> Adding Glance manifest entries...                      [ DONE ]
> Installing dependencies for Cinder...                  [ DONE ]
> Adding Cinder Keystone manifest entries...             [ DONE ]
> Adding Cinder manifest entries...                      [ DONE ]
> Checking if the Cinder server has a cinder-volumes vg...[ DONE ]
> Adding Nova API manifest entries...                    [ DONE ]
> Adding Nova Keystone manifest entries...               [ DONE ]
> Adding Nova Cert manifest entries...                   [ DONE ]
> Adding Nova Conductor manifest entries...              [ DONE ]
> Adding Nova Compute manifest entries...                [ DONE ]
> Adding Nova Scheduler manifest entries...              [ DONE ]
> Adding Nova VNC Proxy manifest entries...              [ DONE ]
> Adding Nova Common manifest entries...                 [ DONE ]
> Adding Openstack Network-related Nova manifest entries...[ DONE ]
> Adding Neutron API manifest entries...                 [ DONE ]
> Adding Neutron Keystone manifest entries...            [ DONE ]
> Adding Neutron L3 manifest entries...                  [ DONE ]
> Adding Neutron L2 Agent manifest entries...            [ DONE ]
> Adding Neutron DHCP Agent manifest entries...          [ DONE ]
> Adding Neutron LBaaS Agent manifest entries...         [ DONE ]
> Adding Neutron Metadata Agent manifest entries...      [ DONE ]
> Adding OpenStack Client manifest entries...            [ DONE ]
> Adding Horizon manifest entries...                     [ DONE ]
> Adding Ceilometer manifest entries...                  [ DONE ]
> Adding Ceilometer Keystone manifest entries...         [ DONE ]
> Adding post install manifest entries...                [ DONE ]
> Preparing servers...                                [ ERROR ]
> 
> ERROR : execute() got an unexpected keyword argument 'maskList'
> Please check log file /var/tmp/packstack/20140108-192718-Rgpm8D/openstack-setup.log for more information
> 
> Additional information:
>  * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
>  * Did not create a cinder volume group, one already existed
>  * File /root/keystonerc_admin has been created on OpenStack client host 10.35.160.123. To use the command line tools you need to source the file.
>  * To access the OpenStack Dashboard browse to http://10.35.160.123/dashboard.
> Please, find your login credentials stored in the keystonerc_admin in your home directory.

grep -B1 -A14 Traceback /var/tmp/packstack/20140108-192718-Rgpm8D/openstack-setup.log
> 2014-01-08 19:27:22::DEBUG::serverprep_949::286::root:: Setting RHN Satellite server: {'username': '', 'activation_key': 'my-satellite-key', 'proxy_user': '', 'proxy_host': '', 'proxy_pass': '', 'server_url': 'my-satellite-url', 'host': '10.35.160.123', 'profile_name': '', 'flags': [], 'cacert': '', 'password': ''}.
> 2014-01-08 19:27:22::DEBUG::sequences::48::root:: Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 46, in run
>     self.function(config)
>   File "/usr/lib/python2.6/site-packages/packstack/plugins/serverprep_949.py", line 508, in serverprep
>     run_rhn_reg(hostname, sat_url, **sat_args)
>   File "/usr/lib/python2.6/site-packages/packstack/plugins/serverprep_949.py", line 339, in run_rhn_reg
>     server.execute(maskList=mask)
> TypeError: execute() got an unexpected keyword argument 'maskList'
> 
> 2014-01-08 19:27:22::ERROR::run_setup::912::root:: Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 907, in main
>     _main(confFile)
>   File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 573, in _main
>     runSequences()
>   File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 552, in runSequences
>     controller.runAllSequences()
>   File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 84, in runAllSequences
>     sequence.run(self.CONF)
>   File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 105, in run
>     step.run(config=config)
>   File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 52, in run
>     raise SequenceError(str(ex))
> SequenceError: execute() got an unexpected keyword argument 'maskList'