Description of problem: Packstack installation failing with error: Could not prefetch neutron_subnet provider 'neutron': undefined method `[]' for nil:NilClass Version-Release number of selected component (if applicable): Fedora release 20 on a VM rdo-release-icehouse-2.noarch How reproducible: Consistent Steps to Reproduce: 1. Download RDO icehouse and run packstack --allinone. Actual results: # packstack --answer-file packstack-answers-20140410-120719.txt 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 AMQP 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 Provisioning manifest entries [ DONE ] Adding MongoDB manifest entries [ DONE ] Adding Ceilometer manifest entries [ DONE ] Adding Ceilometer Keystone manifest entries [ DONE ] Adding Nagios server manifest entries [ DONE ] Adding Nagios host manifest entries [ DONE ] Adding post install manifest entries [ DONE ] Preparing servers [ DONE ] Installing Dependencies [ DONE ] Copying Puppet modules and manifests [ DONE ] Applying 10.70.37.70_prescript.pp 10.70.37.70_prescript.pp: [ DONE ] Applying 10.70.37.70_mysql.pp Applying 10.70.37.70_amqp.pp 10.70.37.70_mysql.pp: [ DONE ] 10.70.37.70_amqp.pp: [ DONE ] Applying 10.70.37.70_keystone.pp Applying 10.70.37.70_glance.pp Applying 10.70.37.70_cinder.pp 10.70.37.70_keystone.pp: [ DONE ] 10.70.37.70_glance.pp: [ DONE ] 10.70.37.70_cinder.pp: [ DONE ] Applying 10.70.37.70_api_nova.pp 10.70.37.70_api_nova.pp: [ DONE ] Applying 10.70.37.70_nova.pp 10.70.37.70_nova.pp: [ DONE ] Applying 10.70.37.70_neutron.pp 10.70.37.70_neutron.pp: [ DONE ] Applying 10.70.37.70_osclient.pp Applying 10.70.37.70_horizon.pp Applying 10.70.37.70_provision.pp 10.70.37.70_osclient.pp: [ DONE ] 10.70.37.70_provision.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 10.70.37.70_provision.pp Error: Could not prefetch neutron_subnet provider 'neutron': undefined method `[]' for nil:NilClass SELinux is set to permissive. Logs attached: 1. provision.pp.log in /var/tmp/packstack/20140410-132601-0Z8sjf/manifests/10.70.37.70_provision.pp.log 2. Openstack set up log in /var/tmp/packstack/20140410-132601-0Z8sjf/openstack-setup.log 3. Answer file used to run packstack.
Created attachment 884905 [details] provision.pp.log
Created attachment 884906 [details] Openstack setup log
Created attachment 884907 [details] packstack answer file
This happens when the neutron values are already on the database, the neutron puppet module should know how to handle this.
The patch for this bug is under review: https://review.openstack.org/#/c/88305/
The patch has been merged, the fix it will be in the next package build
Name : openstack-puppet-modules Arch : noarch Version : 2014.1 Release : 11.1.fc21 Size : 4.2 M Repo : installed From repo : rawhide Summary : Puppet modules used to deploy OpenStack URL : https://github.com/redhat-openstack License : ASL 2.0 and GPLv2 and GPLv3 Description : A collection of Puppet modules used to install and configure : OpenStack. # packstack --answer-file packstack-answers-20140525-220224.txt 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 AMQP 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 ] Creating ssh keys for Nova migration [ DONE ] Gathering ssh host keys for Nova migration [ 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 Nova Network manifest entries [ DONE ] Adding OpenStack Client manifest entries [ DONE ] Adding Horizon manifest entries [ DONE ] Adding Swift Keystone manifest entries [ DONE ] Adding Swift builder manifest entries [ DONE ] Adding Swift proxy manifest entries [ DONE ] Adding Swift storage manifest entries [ DONE ] Adding Swift common manifest entries [ DONE ] Adding Provisioning manifest entries [ DONE ] Adding MongoDB manifest entries [ DONE ] Adding Ceilometer manifest entries [ DONE ] Adding Ceilometer Keystone manifest entries [ DONE ] Adding Nagios server manifest entries [ DONE ] Adding Nagios host manifest entries [ DONE ] Adding post install manifest entries [ DONE ] Preparing servers [ DONE ] Installing Dependencies [ DONE ] Copying Puppet modules and manifests [ DONE ] Applying 192.168.10.103_prescript.pp 192.168.10.103_prescript.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 192.168.10.103_prescript.pp Error: comparison of String with 15 failed at /var/tmp/packstack thank you
Vladimit this is different issue. Please create separate bug for that and attach file packstack-answers-20140525-220224.txt to the bug.
(In reply to Martin Magr from comment #8) > Vladimit this is different issue. Please create separate bug for that and > attach file packstack-answers-20140525-220224.txt to the bug. I hurried, sorry thank you
(In reply to Ivan Chavero from comment #6) > The patch has been merged, the fix it will be in the next package build >Status: POST → MODIFIED > Fixed In Version: openstack-puppet-modules-2014.1-9.fc21 Ivan, You mention 2014.1-9.fc21, is there any chance it could be pushed to testing soon ? All I see in F21 updates-testing is openstack-puppet-modules-2014.1.1-3.fc21.noarch.rpm Thsnks !
This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.