Bug 1271246

Summary: packstack failed to start nova.api
Product: [Community] RDO Reporter: Noam Angel <noama>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED CURRENTRELEASE QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: amichayp, aortega, derekh, jpena, moshele, srevivo
Target Milestone: ---   
Target Release: Kilo   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-8.0.0-0.7.0rc2.el7.noarch Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-18 13:29:25 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
nova_api.log none

Description Noam Angel 2015-10-13 13:22:07 UTC
Created attachment 1082426 [details]
nova_api.log

Description of problem:

openstack-packstack-2015.2-0.1.dev1654.gcbbf46e.el7.noarch
python-oslo-rootwrap-2.4.1-dev1.el7.centos.noarch
openstack-nova-api-13.0.0-dev157.el7.centos.noarch

10.209.24.126_api_nova.pp:                        [ ERROR ]           
Applying Puppet manifests                         [ ERROR ]           

ERROR : Error appeared during Puppet run: 10.209.24.126_api_nova.pp
Error: Could not start Service[nova-api]: Execution of '/usr/bin/systemctl start openstack-nova-api' returned 1: Job for openstack-nova-api.service failed. See 'systemctl status openstack-nova-api.service' and 'journalctl -xn' for details.                                                                                                                                                                                                                                           
You will find full trace in log /var/tmp/packstack/20151013-142042-TjRLjF/manifests/10.209.24.126_api_nova.pp.log   


[root@r-smg30 packstack]# sudo -u nova sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c
[sudo] password for root:

[root@r-smg30 packstack]# systemctl start openstack-nova-api
Job for openstack-nova-api.service failed. See 'systemctl status openstack-nova-api.service' and 'journalctl -xn' for details.
[root@r-smg30 packstack]# 


How reproducible:
every time

Steps to Reproduce:
1. run packstack installer
2.
3.

Actual results:


Expected results:


Additional info:

when commented the following line from sudoers file problem solved.
# Temporary allow-all-to-anyone line - will be deleted in future
ALL     ALL=(ALL) NOPASSWD: ALL, (root) PASSWD: FORBIDDEN, NOPASSWD: ALL, !FORBIDDEN

Comment 2 Javier Peña 2016-05-18 13:29:25 UTC
This is known to work in RDO Mitaka. Please feel free to reopen the bug if the bug can be reproduced there.