Bug 1328782

Summary: OSPD is trying to ping a file name
Product: Red Hat OpenStack Reporter: Jaroslav Henner <jhenner>
Component: rhosp-directorAssignee: Angus Thomas <athomas>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Arik Chernetsky <achernet>
Severity: high Docs Contact:
Priority: medium    
Version: 8.0 (Liberty)CC: aschultz, bnemec, dbecker, emacchi, maandre, m.andre, mburns, mcornea, morazi, rhel-osp-director-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-31 20:25:26 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:
Attachments:
Description Flags
openstack undercloud install log none

Description Jaroslav Henner 2016-04-20 09:38:49 UTC
Created attachment 1148955 [details]
openstack undercloud install log

Description of problem:
When doing the openstack undercloud install, the command fails with 

+ '[' 9 -eq 10 ']'
+ ping -c 1 /var/lib/heat-cfntools/cfn-init-data /var/lib/heat-cfntools/cfn-init-data
+ COUNT=10
+ '[' 10 -eq 10 ']'
+ echo FAILURE
FAILURE
+ echo '/var/lib/heat-cfntools/cfn-init-data /var/lib/heat-cfntools/cfn-init-data is not pingable.'
/var/lib/heat-cfntools/cfn-init-data /var/lib/heat-cfntools/cfn-init-data is not pingable.
+ exit 1
[2016-04-20 11:23:44,295] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1]

[2016-04-20 11:23:44,295] (os-refresh-config) [ERROR] Aborting...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 815, in install
    _run_orc(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 699, in _run_orc
    _run_live_command(args, instack_env, 'os-refresh-config')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 370, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: os-refresh-config failed. See log for details.
Command 'instack-install-undercloud' returned non-zero exit status 1


note that it seems it tries to "ping a file" instead of pinging some IP address.


Version-Release number of selected component (if applicable):
instack-undercloud-2.2.7-2.el7ost.noarch

How reproducible:
always

Steps to Reproduce:
1. Follow the steps on https://access.redhat.com/documentation/en/red-hat-openstack-platform/version-8/director-installation-and-usage/#sect-Configuring_Containerized_Compute_Nodes

In the undercloud.conf set the local_interface=em1 or set it to whatever iface  is having some IP.
2. The command `openstack undercloud install` then fails


Actual results:
undercloud install is trying to ping a file

Expected results:
undercloud deployed


Additional info:

Comment 4 Emilien Macchi 2017-10-31 20:25:26 UTC
We weren't able to reproduce, we would need additional logs. Feel free to re-open this bug with sosreports.

Thanks.