Showing posts with label 1 for 2. Show all posts
Showing posts with label 1 for 2. Show all posts

Saturday, March 25, 2017

OpenStack Newton Pakcstack bug on Neutron Manifest run Wrong number of arguments given (1 for 2) in openstacksetup.log

The error appearing in the openstack-setup.log

PuppetError: Error appeared during Puppet run: controller1.example.com_network.pp
Error: member(): Wrong number of arguments given (1 for 2) at /var/tmp/packstack/6b760137219c43bc8e7f4365e9778689/modules/packstack/manifests/neutron/ovs_agent.pp:29 on node controller1.example.com
You will find full trace in log /var/tmp/packstack/20170325-051853-oQnZA6/manifests/controller1.example.com_network.pp.log

2017-03-25 05:21:52::INFO::shell::94::root:: [compute1.example.com] Executing script:
rm -rf /var/tmp/packstack/7ee6b5f014df46f982a179d372186bc8
2017-03-25 05:21:52::INFO::shell::94::root:: [controller1.example.com] Executing script:
rm -rf /var/tmp/packstack/6b760137219c43bc8e7f4365e9778689


The workaround is to replace all the HOST parameters in the packstack answers file with the IP addresses instead of the hostnames

as below

[root@controller1 ~]# cat answers1.txt | grep 192.168.17
CONFIG_CONTROLLER_HOST=192.168.17.52
CONFIG_COMPUTE_HOSTS=192.168.17.61
CONFIG_NETWORK_HOSTS=192.168.17.52
CONFIG_SSL_CERT_SUBJECT_CN=192.168.17.52
CONFIG_SSL_CERT_SUBJECT_MAIL=admin@192.168.17.52
CONFIG_AMQP_HOST=192.168.17.52
CONFIG_MARIADB_HOST=192.168.17.52
CONFIG_MONGODB_HOST=192.168.17.52
CONFIG_REDIS_HOST=192.168.17.52
[root@controller1 ~]#



Relevant Redhat Bugzilla


https://bugs.launchpad.net/packstack/+bug/1635133