Red Hat Bugzilla – Bug 1299854
launch-fusor-undercloud-installer aborts with "neutron subnet-update: error: too few arguments"
Last modified: 2016-08-26 15:20:42 EDT
Description of problem:
Entering public interface IP address for network IP address results in "neutron subnet-update: error: too few arguments"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install RHCS-I Triple O ISO
2. Log in to start launch-fusor-undercloud-installer
3. Enter non-192.0.2.x address for network IP address
neutron subnet-update: error: too few arguments
Either appropriate error or successful install
Also seeing Connection reset by peer/Broken pipe as in 1299622.
We now check that the gateway address is on the same subnet as the specified network.
Compose of 1/22/16
If I enter a gateway IP address that is outside the network, the error message has a typo:
Please specify the IP Address of the network gateway. This is preferably the router that leads out to the larger network but will default to this machine if not changed, making this machine a critical piece of your OpenStack infrastructure. [192.168.150.254] 192.168.151.1
Entered IP address not in thespecified network range, please try again.
"thespecified" should be "the specified".
In bin/fusor-undercloud-configurator, the fix would be:
print "The specified network gateway is not a valid IP address, please try again"
valid = False
elif not ipaddress.IPv4Address(unicode(gateway)) in network:
- print "Entered IP address not in the" \
+ print "Entered IP address not in the " \
"specified network range, please try again."
valid = False
elif gateway == undercloud_ip:
When we cleaned up the code for python standard we split the line in half and forgot to add a space.
This was fixed as of QCI-1.0-RHEL-7-20160825.t.0
Verified on QCIOOO-8.0-RHEL-7-20160823.t.0.