overcloud service deploy -- Check IPv6 support -- fails when IPv6 is removed

Bug #2064934 reported by Martin Ananda Boeker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kayobe
New
Undecided
Unassigned

Bug Description

Kayobe 14.1
Ubuntu 22.04

I am running overcloud service deploy on systems that have been hardened, and one of the things the hardening does is remove IPv6.

Unfortunately, when kolla is doing its thing, it fails hard:

TASK [loadbalancer : Check IPv6 support] *******************************************************************************************************
Monday 06 May 2024 14:56:31 +0000 (0:00:00.298) 0:00:17.375 ************
fatal: [AIOTEST03]: FAILED! => changed=false
  cmd:
  - /usr/sbin/sysctl
  - -n
  - net.ipv6.conf.all.disable_ipv6
  delta: '0:00:00.003197'
  end: '2024-05-06 14:56:48.167334'
  msg: non-zero return code
  rc: 255
  start: '2024-05-06 14:56:48.164137'
  stderr: 'sysctl: cannot stat /proc/sys/net/ipv6/conf/all/disable_ipv6: No such file or directory'
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>

The task that fails is here:

- name: Check IPv6 support
  command: /usr/sbin/sysctl -n net.ipv6.conf.all.disable_ipv6
  register: ipv6_disabled
  changed_when: false

Unfortunately there are no conditional statements that can be set to skip it.. And it's not like I can `touch /proc/sys/...`

Revision history for this message
Martin Ananda Boeker (mboeker) wrote : Re: [Bug 2064934] Re: overcloud service deploy -- Check IPv6 support -- fails when IPv6 is removed

Hi Maksim,

Ah, I only checked for previous bugs in Kayobe, not Kolla. Thanks, I'll
keep an eye out.

Sincerely | Mit freundlichen Grüßen

Martin Ananda Boeker
EDV-Consult IT GmbH

On Mon, May 6, 2024 at 5:35 PM Maksim Malchuk <email address hidden>
wrote:

> *** This bug is a duplicate of bug 1906306 ***
> https://bugs.launchpad.net/bugs/1906306
>
> ** This bug has been marked a duplicate of bug 1906306
> Kolla fails to deploy neutron when ipv6 is disabled
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2064934
>
> Title:
> overcloud service deploy -- Check IPv6 support -- fails when IPv6 is
> removed
>
> Status in kayobe:
> New
>
> Bug description:
> Kayobe 14.1
> Ubuntu 22.04
>
> I am running overcloud service deploy on systems that have been
> hardened, and one of the things the hardening does is remove IPv6.
>
> Unfortunately, when kolla is doing its thing, it fails hard:
>
>
> TASK [loadbalancer : Check IPv6 support]
> *******************************************************************************************************
> Monday 06 May 2024 14:56:31 +0000 (0:00:00.298) 0:00:17.375
> ************
> fatal: [AIOTEST03]: FAILED! => changed=false
> cmd:
> - /usr/sbin/sysctl
> - -n
> - net.ipv6.conf.all.disable_ipv6
> delta: '0:00:00.003197'
> end: '2024-05-06 14:56:48.167334'
> msg: non-zero return code
> rc: 255
> start: '2024-05-06 14:56:48.164137'
> stderr: 'sysctl: cannot stat /proc/sys/net/ipv6/conf/all/disable_ipv6:
> No such file or directory'
> stderr_lines: <omitted>
> stdout: ''
> stdout_lines: <omitted>
>
>
> The task that fails is here:
>
> - name: Check IPv6 support
> command: /usr/sbin/sysctl -n net.ipv6.conf.all.disable_ipv6
> register: ipv6_disabled
> changed_when: false
>
>
> Unfortunately there are no conditional statements that can be set to
> skip it.. And it's not like I can `touch /proc/sys/...`
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kayobe/+bug/2064934/+subscriptions
>
>

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.