Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1360380

Summary: Instack-undercloud instalation fails
Product: Red Hat OpenStack Reporter: my.inzynier.fitnesspal
Component: instack-undercloudAssignee: James Slagle <jslagle>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Arik Chernetsky <achernet>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: aschultz, mburns, rhel-osp-director-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-06 19:19:58 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:

Description my.inzynier.fitnesspal 2016-07-26 14:42:35 UTC
Description of problem:

While installing undercloud something fails.

Version-Release number of selected component (if applicable):

RH OpenStack 8

How reproducible:

Steps to Reproduce:
1. REL OS Platform 8 Director Installation and Usage Documentation (steps 1 - 4.6.)

Actual results:
installation fails, following errors appear:

/usr/lib/python2.7/site-packages/keystoneclient/ UserWarning: Providing attr without filter_value to get_urls() is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release. Either both should be provided or neither should be provided.
  'Providing attr without filter_value to get_urls() is '
2016-07-26 17:27:10 - root - ERROR - Unexpected error during command execution
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/os_cloud_config/cmd/", line 77, in main
  File "/usr/lib/python2.7/site-packages/os_cloud_config/", line 48, in initialize_neutron
  File "/usr/lib/python2.7/site-packages/os_cloud_config/", line 137, in _create_subnet
    return neutron.create_subnet({'subnet': subnet})
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 102, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 610, in create_subnet
    return, body=body)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 298, in post
    headers=headers, params=params)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 211, in do_request
    self._handle_fault_response(status_code, replybody)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 185, in _handle_fault_response
    exception_handler_v20(status_code, des_error_body)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 70, in exception_handler_v20
BadRequest: Invalid input for operation: Gateway is not valid on subnet.
[2016-07-26 17:27:10,890] (os-refresh-config) [ERROR] during post-configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/post-configure.d']' returned non-zero exit status 1]

[2016-07-26 17:27:10,890] (os-refresh-config) [ERROR] Aborting...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/", line 815, in install
  File "/usr/lib/python2.7/site-packages/instack_undercloud/", line 699, in _run_orc
    _run_live_command(args, instack_env, 'os-refresh-config')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/", line 370, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: os-refresh-config failed. See log for details.
Command 'instack-install-undercloud' returned non-zero exit status 1

Expected results:
successful installation

Additional info:

Comment 2 Alex Schultz 2017-02-06 19:19:58 UTC
The error message provided points to an invalid gateway and network configuration where the gateway is not within the provided network. If this is still occurring, please reopen and provide the network configuration for the undercloud.