Bug 1299854 - launch-fusor-undercloud-installer aborts with "neutron subnet-update: error: too few arguments"
Summary: launch-fusor-undercloud-installer aborts with "neutron subnet-update: error: ...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: fusor-installer
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: TP2
: 1.0
Assignee: Dylan Murray
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-19 12:17 UTC by Thom Carlin
Modified: 2019-02-25 17:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-25 17:27:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1246525 0 high CLOSED rhel-osp-director: Repeating "ironic-api" errors in /var/log/messages on the undercloud node. 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1287309 0 unspecified CLOSED Undercloud ironic-api fails to restart when updating from 7.1 to 7.2 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1299622 0 unspecified CLOSED After Detect undercloud, spinning "Loading..." message 2021-02-22 00:41:40 UTC

Internal Links: 1246525 1287309 1299622

Description Thom Carlin 2016-01-19 12:17:39 UTC
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):

RHCIOOO-7-RHEL-7-20160118.t.2

How reproducible:

Unsure

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

Actual results:

neutron subnet-update: error: too few arguments

Expected results:

Either appropriate error or successful install

Additional info:

Comment 1 Thom Carlin 2016-01-19 13:02:43 UTC
Also seeing Connection reset by peer/Broken pipe as in 1299622.

Comment 2 Dylan Murray 2016-01-19 20:26:25 UTC
PR: https://github.com/fusor/fusor-undercloud-installer/pull/11

We now check that the gateway address is on the same subnet as the specified network.

Comment 3 John Matthews 2016-01-22 20:20:13 UTC
Compose of 1/22/16

Comment 4 Tasos Papaioannou 2016-03-24 14:43:13 UTC
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:

Comment 5 Dylan Murray 2016-03-24 19:42:00 UTC
https://github.com/fusor/fusor-undercloud-installer/pull/36

When we cleaned up the code for python standard we split the line in half and forgot to add a space.

Comment 6 Dylan Murray 2016-08-26 15:28:36 UTC
This was fixed as of QCI-1.0-RHEL-7-20160825.t.0

Comment 7 Tasos Papaioannou 2016-08-26 19:20:42 UTC
Verified on QCIOOO-8.0-RHEL-7-20160823.t.0.

Comment 8 Sudhir Mallamprabhakara 2019-02-25 17:27:23 UTC
QCI has sunset. Closing the BZ's.


Note You need to log in before you can comment on or make changes to this bug.