Skip to content
  1. Apr 05, 2022
  2. Apr 04, 2022
  3. Apr 02, 2022
    • Kenichi Omichi's avatar
      Fix quotation of nerdctl_extra_flags (#8668) · 018611f8
      Kenichi Omichi authored
      Due to missing quotation of nerdctl_extra_flags, ansible-playbook was failed:
      
        Using module file /usr/local/lib/python3.6/dist-packages/ansible/modules/command.py
        Pipelining is enabled.
          [..]
          File "/usr/lib/python3.8/shlex.py", line 191, in read_token
            raise ValueError("No closing quotation")
      
      This fixes the issue.
      
      T-Eberle investigated the issue and found the solution.
      Thank you T-Eberle!
      018611f8
  4. Apr 01, 2022
  5. Mar 31, 2022
  6. Mar 30, 2022
  7. Mar 29, 2022
    • Kenichi Omichi's avatar
      Run 0100-dhclient-hooks if dhcpclient is enabled (#8658) · 503ab0f7
      Kenichi Omichi authored
      If running Kubespray on static IP environments, a task was failed like:
      
        TASK [kubernetes/preinstall : Configure dhclient hooks for resolv.conf (RH-only)]
        fatal: [ak8s2]: FAILED! => {
          "changed": false, "checksum": "..",
          "msg": "Destination directory /etc/dhcp/dhclient.d does not exist"}
      
      This adds a check for dhclientconffile for running 0100-dhclient-hooks to
      run the task only if dhcpclient is enabled.
      503ab0f7
    • Christian Rohmann's avatar
      terrform/openstack: Fix templating of ansible_ssh_common_args in... · 90883e76
      Christian Rohmann authored
      terrform/openstack: Fix templating of ansible_ssh_common_args in no_floating.yml if used as TF module (#8646)
      
      * terraform/openstack: Use path.module for ansible_bastion_template.txt
      
      This extends on #7643 by not using path.root, but switching to path.module
      to allow use of the terraform code as a module itself. This change then keeps
      all calls to the template file stable even for that use-case.
      
      * terraform/openstack: Make sed calls fail on errors
      
      By using a single call with two replacements to use of sed will create proper exit codes
      and allowing for errors to be recognized by terraform.
      90883e76
  8. Mar 28, 2022
  9. Mar 26, 2022
  10. Mar 22, 2022
  11. Mar 21, 2022
    • Fredrik Liv's avatar
    • Kenichi Omichi's avatar
      Fix the condition of drain on pre-remove task (#8634) · 7b1dc600
      Kenichi Omichi authored
      When running cluster.yml for new machines what containerd is already
      install but Kubernetes cluster were not installed before, the task
      "remove-node | List nodes" is failed like
      
        "changed": false,
        "cmd": [
          "/usr/local/bin/kubectl", "--kubeconfig",
          "/etc/kubernetes/admin.conf", "get", "nodes", "-o",
          "go-template={{ range .items }}{{ .metadata.name }}
          {{ "\n" }}{{ end }}"
         ],
         ..
         "stderr": "error: stat /etc/kubernetes/admin.conf: no such file or directory",
      
      That was due to lack to check the existing Kubernetes cluster exists
      or not before running "kubectl drain" command.
      This adds the check to avoid the issue.
      7b1dc600
  12. Mar 18, 2022
  13. Mar 17, 2022
  14. Mar 15, 2022
Loading