Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/

Bug 1064468

Summary: packstackinstall fails with __init__() got an unexpected keyword argument 'ca_certs'
Product: [Community] RDO Reporter: Gabriele Cerami <gcerami>
Component: openstack-packstackAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, gcerami, ichavero, morazi, whayutin, 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: 2014-02-18 14:22:42 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
provision.pp.log
none
packstack config
none
rpm diff of installs from 2/11/14 and 2/12/14 none

Description Gabriele Cerami 2014-02-12 16:30:45 UTC
Created attachment 862427 [details]
provision.pp.log

Description of problem:

Packstack run stops on provision.pp manifest with this error on Rhel 7 beta all-in-one install

Error: Could not prefetch neutron_network provider 'neutron': Execution of '/usr/bin/neutron net-list --format=csv --column=id --quote=none' returned 1: __init__() got an unexpected keyword argument 'ca_certs'


Version-Release number of selected component (if applicable):
Version     : 2013.2.1
Release     : 0.35.dev956.LIO.el7

How reproducible:
100%

Steps to Reproduce:
1. setup a rhel7 beta host
2. install and launch packstack

Additional info:

Attached are the related provision.pp.log and packstack config

Comment 1 Gabriele Cerami 2014-02-12 16:32:18 UTC
Created attachment 862431 [details]
packstack config

Comment 2 wes hayutin 2014-02-12 16:33:40 UTC
looks like the /etc/qpidd.conf file is empty.
I think I remember a similar issue in havana

Comment 3 wes hayutin 2014-02-12 16:55:05 UTC
[root@rhel7-updatedrdopkg ~]# source keystonerc_admin 
[root@rhel7-updatedrdopkg ~(keystone_admin)]# /usr/bin/neutron net-list --format=csv --column=id --quote=none
__init__() got an unexpected keyword argument 'ca_certs'

Comment 4 wes hayutin 2014-02-12 17:15:06 UTC
Created attachment 862457 [details]
rpm diff of installs from 2/11/14 and 2/12/14

neutron net-list is working on the install from 2/11 and not on the install from 2/12

Comment 5 Ivan Chavero 2014-02-13 01:52:53 UTC
I't looks like this answer file wasn't generated by an --allinone switch, could you post the command line you used to generate it?

In the rpm diff i can see that the system that is failing has other stuff installed and possibly configured for other things. Due the complex configurations that packstack performs, it's recommended to be run in a vanilla machine

Comment 6 Gabriele Cerami 2014-02-13 11:46:53 UTC
We generate the answer file with a simple  packstack --gen-answer-file=packstack_config.txt to retain control over the configuration in case some workaround has to be applied before the installation begins. Unfortunately the --gen-answer-file flag is mutually exclusive to all other command line options, so we set the options afterwards to mimic the behaviour of an all in one install, but adapting the config for our setup.

The starting image for the install was generated with a minimal installation from the public beta repositories (starting size is 320MB), then we add epel-7 from testing, subscription repos and launch yum update. No other configuration is done before launching packstack.

Comment 7 wes hayutin 2014-02-18 14:22:42 UTC
what ever the issue was.. seems to be resolved and transient .. 
rhel7 icehouse is installing w/o that error.
closing for now.. will reopen if the error reoccurs.