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
  15. Mar 14, 2022
    • Max Gautier's avatar
      Helm-apps role for installing helm charts (#8347) · 307d122a
      Max Gautier authored
      * Sketch of helm-apps role interface
      
      * helm-apps: Early implementation and settings
      
      * helm-apps: Fix README.md example playbook
      
      * fixup! Sketch of helm-apps role interface
      
      * Make the argument specs more explicit
      
      * Remove exposed options from hardcoded default
      
      * Simplify example playbook in README.md
      
      - Define directly the roles parameters
      - Add an example of option override for one chart only
      
      * Use release instead of charts
      
      Make explicit that the role is mananing releases, not charts.
      Simplify parameters naming
      307d122a
Loading