Skip to content
Snippets Groups Projects
  1. Apr 08, 2022
    • Thomas Eberle's avatar
      Removed quotation of nerdctl_extra_flags. (#8695) · 00a4d2d3
      Thomas Eberle authored
      The quotations in the variable nerdctl_extra_flags are not required for the `nerdctl_image_pull_command` and throw the following error when executing the cluster-playbook with `container_insecure_registries` set:
              unknown flag: --insecure-registry\\\"
      This happens as the complete nerdctl_image_pull_command string variable gets split into an array string for the cmd task. The escaped quotation doesn't get escaped properly and is added to the cmd-string array as part of the command. This leads to a wrong written insecure-registry flag, which throws this error.
      Unverified
      00a4d2d3
    • Samuel Liu's avatar
      [calico] add calico apiserver (#8690) · 424ef3b3
      Samuel Liu authored
      * [calico] add calico apiserver
      
      * fix yamllint
      
      * remove addext argument
      
      * Configure API server with the CA bundle
      
      * add check kdd
      Unverified
      424ef3b3
  2. Apr 07, 2022
  3. Apr 06, 2022
  4. Apr 05, 2022
  5. Apr 04, 2022
  6. 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!
      Unverified
      018611f8
  7. Apr 01, 2022
  8. Mar 31, 2022
  9. Mar 30, 2022
  10. 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.
      Unverified
      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.
      Unverified
      90883e76
  11. Mar 28, 2022
  12. Mar 26, 2022
  13. Mar 22, 2022
  14. 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.
      Unverified
      7b1dc600
  15. Mar 18, 2022
  16. Mar 17, 2022
Loading