Run packstack newton in OpenPOWER host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Packstack |
New
|
Undecided
|
Unassigned |
Bug Description
I run packstack script in a OpenPOWER host for RDO all in one test.But I have some error,I don't know why it was wrong.
cd /var/tmp/
tar --dereference -cpzf - ../hieradata | ssh -o StrictHostKeyCh
cd /usr/lib/
cd /var/tmp/
tar --dereference -cpzf - ../manifests | ssh -o StrictHostKeyCh
cd /usr/share/
tar --dereference -cpzf - aodh apache ceilometer certmonger cinder concat firewall glance gnocchi heat horizon inifile ironic keystone manila memcached mongodb mysql neutron nova nssdb openstack openstacklib oslo packstack rabbitmq redis remote rsync sahara ssh stdlib swift sysctl tempest trove vcsrepo vswitch xinetd | ssh -o StrictHostKeyCh
2016-10-19 10:39:07:
File "/usr/lib/
_main(options, confFile, logFile)
File "/usr/lib/
runSequences()
File "/usr/lib/
controller.
File "/usr/lib/
sequence.
File "/usr/lib/
step.
File "/usr/lib/
self.
File "/usr/lib/
wait_
File "/usr/lib/
validate_
File "/usr/lib/
raise PuppetError(
PuppetError: Error appeared during Puppet run: 172.30.
Error: member(): Wrong number of arguments given (1 for 2) at /var/tmp/
You will find full trace in log /var/tmp/
2016-10-19 10:39:07:
rm -rf /var/tmp/
maybe is my OpenPOWER host's network interface name too long?
[root@localhost latest]# ip addr
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enP4p1s0f0: <NO-CARRIER,
link/ether 00:0e:1e:52:f7:a0 brd ff:ff:ff:ff:ff:ff
3: enP3p3s0f0: <NO-CARRIER,
link/ether 00:0a:f7:86:b3:70 brd ff:ff:ff:ff:ff:ff
4: enP4p1s0f1: <NO-CARRIER,
link/ether 00:0e:1e:52:f7:a2 brd ff:ff:ff:ff:ff:ff
5: enP3p3s0f1: <BROADCAST,
link/ether 00:0a:f7:86:b3:71 brd ff:ff:ff:ff:ff:ff
inet 172.30.121.201/24 brd 172.30.121.255 scope global enP3p3s0f1
valid_lft forever preferred_lft forever
inet6 fe80::20a:
valid_lft forever preferred_lft forever
6: enP3p3s0f2: <NO-CARRIER,
link/ether 00:0a:f7:86:b3:72 brd ff:ff:ff:ff:ff:ff
7: enP3p3s0f3: <NO-CARRIER,
link/ether 00:0a:f7:86:b3:73 brd ff:ff:ff:ff:ff:ff
The line where it failed is:
if member( $network_ hosts, choose_ my_ip(hiera( 'HOST_LIST' ))) {
So the best bet is that choose_my_ip provided an empty output.
From the function code (https:/ /github. com/openstack/ packstack/ blob/master/ packstack/ puppet/ modules/ packstack/ lib/puppet/ parser/ functions/ choose_ my_ip.rb) I see it checks for the facter output of "interfaces", and tries to match the IP address for each interface with the provided list. So could you try the following:
# facter interfaces (and paste the output) enP3p3s0f1 (same)
# facter ipaddress_
...and check their output against your answer file? If you do not find anything, please do the following:
# packstack --answer-file <path to answer file> --debug
After it fails, collect the hiera file from /var/tmp/ packstack/ latest/ hieradata and share it in the bug.
That should give us enough information to find out what is going wrong.