kubernetes install failes when host with ipv6 disabled #31

Closed
opened 2024-06-27 07:03:23 +00:00 by jon_nfc · 6 comments
jon_nfc commented 2024-06-27 07:03:23 +00:00 (Migrated from gitlab.com)

if ipv6 is disabled play for install fails.

AWX log

{
  "msg": "setting net.ipv6.conf.all.disable_ipv6 failed: sysctl: cannot stat /proc/sys/net/ipv6/conf/all/disable_ipv6: No such file or directory\n",
  "invocation": {
    "module_args": {
      "name": "net.ipv6.conf.all.disable_ipv6",
      "value": "1",
      "sysctl_set": true,
      "state": "present",
      "reload": true,
      "ignoreerrors": false,
      "sysctl_file": "/etc/sysctl.conf"
    }
  },
  "_ansible_no_log": null,
  "changed": false,
  "item": {
    "name": "net.ipv6.conf.all.disable_ipv6",
    "value": "1"
  },
  "ansible_loop_var": "item",
  "_ansible_item_label": {
    "name": "net.ipv6.conf.all.disable_ipv6",
    "value": "1"
  }
}

/cc @jasonpage.tas

if ipv6 is disabled play for install fails. AWX log ``` json { "msg": "setting net.ipv6.conf.all.disable_ipv6 failed: sysctl: cannot stat /proc/sys/net/ipv6/conf/all/disable_ipv6: No such file or directory\n", "invocation": { "module_args": { "name": "net.ipv6.conf.all.disable_ipv6", "value": "1", "sysctl_set": true, "state": "present", "reload": true, "ignoreerrors": false, "sysctl_file": "/etc/sysctl.conf" } }, "_ansible_no_log": null, "changed": false, "item": { "name": "net.ipv6.conf.all.disable_ipv6", "value": "1" }, "ansible_loop_var": "item", "_ansible_item_label": { "name": "net.ipv6.conf.all.disable_ipv6", "value": "1" } } ``` /cc @jasonpage.tas
jon_nfc commented 2024-06-27 07:08:19 +00:00 (Migrated from gitlab.com)

assigned to @jon_nfc

assigned to @jon_nfc
jon_nfc commented 2024-06-27 07:09:34 +00:00 (Migrated from gitlab.com)

mentioned in merge request !69

mentioned in merge request !69
jon_nfc commented 2024-06-27 07:13:38 +00:00 (Migrated from gitlab.com)

mentioned in commit b0d9279535

mentioned in commit b0d92795354091a4744ba7e98df278c6784bad95
jon_nfc commented 2024-06-27 07:26:29 +00:00 (Migrated from gitlab.com)

mentioned in commit 25496d1f55

mentioned in commit 25496d1f552448f7d234a03b7cb68105407d90db
jon_nfc (Migrated from gitlab.com) closed this issue 2024-06-27 07:26:29 +00:00
jon_nfc commented 2024-06-27 14:33:17 +00:00 (Migrated from gitlab.com)

marked this issue as related to firewall#12

marked this issue as related to firewall#12
jon_nfc commented 2024-06-27 14:47:36 +00:00 (Migrated from gitlab.com)

mentioned in commit firewall@12eb80007990f746ac1a972f413d97c90b7aab01

mentioned in commit firewall@12eb80007990f746ac1a972f413d97c90b7aab01
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ansible-collections/kubernetes#31
No description provided.