Bug 1277204 - vdsm: setupNetworks fails when IPv6 is disabled at the kernel level
Summary: vdsm: setupNetworks fails when IPv6 is disabled at the kernel level
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: SuperVDSM
Version: 4.17.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-3.6.2
: 4.17.14
Assignee: Ondřej Svoboda
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-02 16:52 UTC by Ollie Armstrong
Modified: 2016-02-18 11:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-18 11:02:19 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-3.6.z+
ylavi: planning_ack+
danken: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
supervdsm log (32.17 KB, text/plain)
2015-11-02 16:52 UTC, Ollie Armstrong
no flags Details
ovirt setup log (291.26 KB, text/plain)
2015-11-02 16:52 UTC, Ollie Armstrong
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 47978 0 master MERGED config: Resolve crash when IPv6 disabled in kernel Never
oVirt gerrit 50457 0 ovirt-3.6 MERGED config: Resolve crash when IPv6 disabled in kernel 2015-12-17 08:48:33 UTC

Description Ollie Armstrong 2015-11-02 16:52:07 UTC
Created attachment 1088641 [details]
supervdsm log

Description of problem:
When running `hosted-engine --deploy` it crashes with `Failed to setup networks {'ovirtmgmt': {'nic': 'enp3s0f0', 'bootproto': 'dhcp', 'blockingdhcp': True, 'defaultRoute': True}}. Error code: "16" message: "Unexpected exception"`.  Looking in supervdsm.log reveals `No such file or directory: '/proc/sys/net/ipv6/conf/ovirtmgmt/disable_ipv6'`.


Version-Release number of selected component (if applicable): oVirt 3.6 RC3, VDSM 4.17.10.


How reproducible: Always


Steps to Reproduce:
1. Boot with `ipv6.disable=1` in the command line.
2. Install oVirt 3.6 RC3 and run `hosted-engine --deploy`

Actual results: Setup completes


Expected results: Setup crashes

Comment 1 Ollie Armstrong 2015-11-02 16:52:55 UTC
Created attachment 1088642 [details]
ovirt setup log

Comment 2 Ollie Armstrong 2015-11-02 16:53:41 UTC
I have a patch already that I am just submitting to Gerrit now.

Comment 3 Dan Kenigsberg 2015-11-03 07:09:25 UTC
Thanks for your report Ollie. Would you specify how did you disable ipv6, and why? I'd like to asses how common is this condition.

Comment 4 Red Hat Bugzilla Rules Engine 2015-11-03 10:02:12 UTC
This bug is not marked for z-stream, yet the milestone is for a z-stream version, therefore the milestone has been reset.
Please set the correct milestone or add the z-stream flag.

Comment 5 Ollie Armstrong 2015-11-03 10:44:08 UTC
I booted with "ipv6.disable=1" as a kernel boot parameter to disable ipv6.  It's something that I do fairly frequently as my servers are in a ipv4 only DC, it tends to make things simpler.

Comment 6 Sandro Bonazzola 2015-12-23 13:41:05 UTC
oVirt 3.6.2 RC1 has been released for testing, moving to ON_QA

Comment 7 Michael Burman 2016-01-24 08:23:23 UTC
Verified on - vdsm-4.17.18-0.el7ev.noarch


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