Bug 1249482

Summary: Packstack (AIO) failure on F22 due to patch "Run neutron db sync also for each neutron module"‏
Product: [Community] RDO Reporter: Boris Derzhavets <bderzhavets>
Component: openstack-packstackAssignee: Gaël Chamoulaud <gchamoul>
Status: CLOSED EOL QA Contact: Shai Revivo <srevivo>
Severity: high Docs Contact:
Priority: unspecified    
Version: KiloCC: aortega, derekh, gchamoul, lbezdick, srevivo
Target Milestone: ---   
Target Release: Kilo   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-19 15:41:08 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:

Description Boris Derzhavets 2015-08-03 07:13:08 UTC
Description of problem:

Applying 192.168.1.78_neutron.pp
192.168.1.78_neutron.pp:                          [ ERROR ]       
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.1.78_neutron.pp
Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /etc/neutron/plugin.ini
You will find full trace in log /var/tmp/packstack/20150802-152714-YfHYnQ/manifests/192.168.1.78_neutron.pp.log
Please check log file /var/tmp/packstack/20150802-152714-YfHYnQ/openstack-setup.log for more information


Version-Release number of selected component (if applicable):

openstack-puppet-modules-2015.1.9-3.fc23

How reproducible:


Steps to Reproduce:
1.Follow https://www.rdoproject.org/Quickstart
2.packstack  --gen-answer-file answer-file-aio.txt
and set
CONFIG_KEYSTONE_SERVICE_NAME=httpd
3.packstack --answer-file=./answer-file-aio.txt

Actual results:

Applying 192.168.1.78_neutron.pp
192.168.1.78_neutron.pp:                          [ ERROR ]       
Applying Puppet manifests                         [ ERROR ]

Expected results:

Applying 192.168.1.78_neutron.pp
192.168.1.78_neutron.pp:                          [ DONE ]       
Applying Puppet manifests                         [ DONE ]

Additional info:

Comment 1 Boris Derzhavets 2015-08-03 08:08:21 UTC
openstack-puppet-modules-2015.1.9-4.fc23 has the same bug.

Comment 2 Boris Derzhavets 2015-08-03 21:16:58 UTC
Workaround 
At the point of failure :-
File /etc/neutron/plugings/ml2/ml2_conf.ini has owner root and group neutron

Run:-
# chown neutron:neutron /etc/neutron/plugings/ml2/ml2_conf.ini

Restart 
# packstack --answer-file=./answer-file-aio.txt

This time :-
Applying 192.168.1.78_neutron.pp
192.168.1.78_neutron.pp:                          [ DONE ]       
Applying Puppet manifests                         [ DONE ]

Comment 3 Gaël Chamoulaud 2015-08-04 17:40:51 UTC
Should be fixed with https://review.openstack.org/#/c/209032/

Comment 4 Boris Derzhavets 2015-08-05 09:00:39 UTC
Thank you so much. It works for me as pre-packstack patch for neutron_api.pp

Comment 5 Mike McCune 2016-03-28 22:38:41 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 7 Chandan Kumar 2016-05-19 15:41:08 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.