Priorityze IPv4 of IPv6

Bug #1614146 reported by Andrii Petrenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Vladimir Kozhukalov
7.0.x
Invalid
High
Alexey Stupnikov
8.0.x
Invalid
High
Alexey Stupnikov
Mitaka
Fix Released
High
Maksim Malchuk

Bug Description

As result of investigation of https://bugs.launchpad.net/fuel/+bug/1613321

Please change default behavior for host IP resolution (gai.conf) for prioritize IPv4 response on IPv6 or Disable IPv6 on fuel master by default.

Cause of problem: Fuel master does not support IPv6 in full size. As result we have a problem in case of trying build bootstrap image and host resolved to IPv6.

From diagnostic snapshots:
http://mirror.fuel-infra.org/mos-repos/centos/mos8.0-centos7-fuel/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:1840:2:602::3: Network is unreachable"
Trying other mirror.
{"failed_urls": ["http://mirror.fuel-infra.org/mos-repos/centos/mos8.0-centos7-fuel/updates/x86_64/"]}
2016-06-17 19:17:32 ERROR (app) {"failed_urls": ["http://mirror.fuel-infra.org/mos-repos/centos/mos8.0-centos7-fuel/updates/x86_64/"]}
{"failed_urls": ["http://mirror.fuel-infra.org/mos-repos/centos/mos8.0-centos7-fuel/updates/x86_64/"]}

How to disable IPv6 on centos: https://wiki.centos.org/FAQ/CentOS7#head-8984faf811faccca74c7bcdd74de7467f2fcd8ee

Prefer IPv4 over IPv6: https://community.rackspace.com/products/f/25/t/5110

Revision history for this message
Andrii Petrenko (aplsms) wrote :

it would be nice to have the same approach for other nodes: some times we have the same problem (host resolved to IPv6 instead of IPv4) with other services (ntp, rabbitmq).

Changed in fuel:
importance: Undecided → Critical
assignee: nobody → MOS Linux (mos-linux)
tags: added: customer-found support
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Lowering Importance to High as there is a workaround.

Changed in fuel:
milestone: none → 10.0
status: New → Confirmed
importance: Critical → High
tags: added: area-linux
Revision history for this message
Ivan Suzdal (isuzdal) wrote :

Why is it assigned to mos-linux team?
I guess it's somewhere around fuel-library.

Revision history for this message
Andrii Petrenko (aplsms) wrote :

reassigning to Fuel-team

Changed in fuel:
assignee: MOS Linux (mos-linux) → Fuel for Openstack (fuel)
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/359717

Changed in fuel:
assignee: Fuel for Openstack (fuel) → Vladimir Kozhukalov (kozhukalov)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/359717
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=14daf4287ce4749961be4df9696971f7ce74177a
Submitter: Jenkins
Branch: master

commit 14daf4287ce4749961be4df9696971f7ce74177a
Author: Vladimir Kozhukalov <email address hidden>
Date: Wed Aug 24 12:04:32 2016 +0300

    Disable IPv6 on the master node

    Change-Id: I7224c82c1addee027bb87ece958bcb7042b11dda
    Closes-Bug: #1614146

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/360260

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/mitaka)

Reviewed: https://review.openstack.org/360260
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=53db5b4175e079b7f78d820387e6ab425d45c17c
Submitter: Jenkins
Branch: stable/mitaka

commit 53db5b4175e079b7f78d820387e6ab425d45c17c
Author: Vladimir Kozhukalov <email address hidden>
Date: Wed Aug 24 12:04:32 2016 +0300

    Disable IPv6 on the master node

    Change-Id: I7224c82c1addee027bb87ece958bcb7042b11dda
    Closes-Bug: #1614146
    (cherry picked from commit 14daf4287ce4749961be4df9696971f7ce74177a)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/361916

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/7.0)

Fix proposed to branch: stable/7.0
Review: https://review.openstack.org/361923

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

It is impossible to deliver those fixes to MOS7 and MOS8 master nodes, since affected puppet manifests are delivered inside fuel-library package on ISO and we will not release new ISO.

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Closing this bug as invalid for MOS7 and MOS8 since master nodes are always selecting IPv4 connection over unconfigured IPv6. If I am wrong here, please feel free to correct.

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

Change abandoned by Alexey Stupnikov (<email address hidden>) on branch: stable/7.0
Review: https://review.openstack.org/361923
Reason: No way to deliver to customer.

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

Change abandoned by Alexey Stupnikov (<email address hidden>) on branch: stable/8.0
Review: https://review.openstack.org/361916
Reason: No way to deliver.

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

Alexey, the workaround exists for the issue: https://wiki.centos.org/FAQ/CentOS7#head-8984faf811faccca74c7bcdd74de7467f2fcd8ee
Please provide this information for the customer.

Revision history for this message
Maksym Strukov (unbelll) wrote :

Verified as fixed in 9.1 #315

Revision history for this message
Maksym Strukov (unbelll) wrote :

Verified as fixed in Fuel 10-791

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0rc1

This issue was fixed in the openstack/fuel-library 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0

This issue was fixed in the openstack/fuel-library 10.0.0 release.

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.