Deployment fails if ipv6 configured

Bug #1687705 reported by Danil Akhmetov
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
In Progress
High
Michael Polenchuk
Mitaka
Fix Released
High
Alexey Stupnikov

Bug Description

Deployment task fails when global ipv6 addresses and v6 default route are unexpectedly assigned on interfaces of MOS nodes. As ipv6 is preferred over ipv4 in Ubuntu by default, APT tries to access ubuntu reops via ipv6 address and timeouts if ipv6 is not correctly configured.

Manual configuring of /etc/gai.conf to prefer ipv4 over ipv6 across the nodes helps as workaround.

Impact: unexpected failure of deployment tasks which uses apt, etc.

Danil Akhmetov (dinobot)
description: updated
Danil Akhmetov (dinobot)
description: updated
description: updated
description: updated
Revision history for this message
Michael Polenchuk (mpolenchuk) wrote :

Which version of Fuel? Need more info about environment configuration.

Changed in fuel:
status: New → Incomplete
Danil Akhmetov (dinobot)
description: updated
description: updated
Changed in fuel:
milestone: none → 9.x-updates
Revision history for this message
Danil Akhmetov (dinobot) wrote :

Fuel 9.0.

netconfig/connectivity_tests.pp failed on fetching 'http://archive.ubuntu.com/ubuntu/' on controllers while adding new nodes, because network interfaces was configured to accept advertisable ipv6 settings, but ipv6 was not correctly routed:

n addition we now see this error when deploying again:
2017-05-02 10:55:46 +0000 Scope(Class[Osnailyfacter::Netconfig::Connectivity_tests]) (notice): MODULAR: netconfig/connectivity_tests.pp
2017-05-02 10:56:46 +0000 Puppet (err): ERROR: Unable to fetch url 'http://archive.ubuntu.com/ubuntu/', error 'execution expired'. Please verify node connectivity to this URL, or remove it from the settings page if it is invalid. on node bfs-dl360g7-72.bfs.openwave.com
/etc/puppet/modules/osnailyfacter/lib/puppet/parser/functions/url_available.rb:95:in `rescue in fetch'
/etc/puppet/modules/osnailyfacter/lib/puppet/parser/functions/url_available.rb:83:in `fetch'
/etc/puppet/modules/osnailyfacter/lib/puppet/parser/functions/url_available.rb:106:in `block (4 levels) in <top (required)>'
2017-05-02 10:56:46 +0000 Puppet (err): ERROR: Unable to fetch url 'http://archive.ubuntu.com/ubuntu/', error 'execution expired'. Please verify node connectivity to this URL, or remove it from the settings page if it is invalid.

Changed in fuel:
status: Incomplete → Confirmed
importance: Undecided → High
assignee: nobody → Michael Polenchuk (mpolenchuk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/462502

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
milestone: 9.x-updates → 12.0
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/fuel-library (9.0/mitaka)

Fix proposed to branch: 9.0/mitaka
Change author: Michael Polenchuk <email address hidden>
Review: https://review.fuel-infra.org/36840

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/fuel-library (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/36840
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: a5ae9a942684cd5d201204c40df4839a84c1192f
Author: Michael Polenchuk <email address hidden>
Date: Wed Oct 11 14:38:48 2017

[netconfig] Prefer ipv4 connections over ipv6

Ubuntu prefers ipv6 connections therefore in some networks, this
breaks software updates (it does a AAAA DNS lookup before A record
lookups). Let's prefer old style ipv4 connections over the new ipv6 in
order to save some processing and resource utilization.

Change-Id: I315f56dabbaedd4298f99579a10444ff0c5d7778
Closes-Bug: #1687705

Revision history for this message
Dmitry (dtsapikov) wrote :

Verified on 9.2+mu3

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: master
Review: https://review.opendev.org/462502
Reason: This repo is retired now, no further work will get merged.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.