Bug 1418670

Summary: Installation fails when using hostnames
Product: [Community] RDO Reporter: l.verhoeven
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Shai Revivo <srevivo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: chris.brown, derekh, l.verhoeven, srevivo
Target Milestone: ---   
Target Release: trunk   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-17 12:31:01 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 l.verhoeven 2017-02-02 13:31:33 UTC
Description of problem:
The installation of the network node and compute nodes fail when using hostnames in the answer file. 

Error:

member(): Wrong number of arguments given (1 for 2) at /var/tmp/packstack/c5dc1c322c5140ebb9bdd5c1404a8942/modules/packstack/manifests/neutron/ovs_agent.pp:29

Installer tries to determine which ip address to use but can't find ip address in list of hostnames

Version-Release number of selected component (if applicable):
Tested in openstack neutron

How reproducible:
Install when using hostnames instead of ip addresses in the answer file.

Steps to Reproduce:
1. set CONFIG_COMPUTE_HOSTS to hostnames
2. set CONFIG_NETWORK_HOSTS to hostnames
3.

Actual results:

Error when running puppet on the network or compute hosts

Expected results:

Completing the installation on the network or compute hosts

Additional info:

When replacing the hostnames with ip adresses after the failure and rerunning the installation it completes.
When starting a new installation with ip addresses for the network and compute hosts but with a hostname for the controller hosts the installation failswith error:

ERROR : Inconsistent host format. Please use either IPv4 addresses, IPv6 adresses or hostnames for all host variables

Comment 1 Christopher Brown 2017-06-22 16:20:35 UTC
Hello,

Sorry you didn't get a response to this.

Can you say if this is still a problem?

If so, can you attach your packstack answer file with as much information as possible and I'll take a look.

Thanks

Comment 2 l.verhoeven 2017-07-03 12:39:02 UTC
Hello Christopher,

I don't know if this is still a problem. I was testing Openstack for myself to see if I could use it at home but have abandoned this project for some time.

I also no longer have the answer file available so I'm afraid that I can't help you with this. All the information that I have still available is in the original bug description.

Best regards,
Luc