Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy_env not defined when running remove-node.yml #6430

Closed
nniehoff opened this issue Jul 18, 2020 · 0 comments · Fixed by #6431
Closed

proxy_env not defined when running remove-node.yml #6430

nniehoff opened this issue Jul 18, 2020 · 0 comments · Fixed by #6431
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@nniehoff
Copy link
Contributor

proxy_env is not defined when running remove-node. I was able to successfully remove a node by pulling the proxy_env definition from cluster.yml

Environment:

  • Cloud provider or hardware configuration:
    Private Openstack cloud instances

  • OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):

Linux 4.15.0-111-generic x86_64
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
  • Version of Ansible (ansible --version):
ansible 2.9.6
  config file = /kubespray/ansible.cfg
  configured module search path = ['/kubespray/library']
  ansible python module location = /usr/local/lib/python3.6/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.6.9 (default, Apr 18 2020, 01:56:04) [GCC 8.4.0]
  • Version of Python (python --version):
Python 3.6.9

Kubespray version (commit) (git rev-parse --short HEAD):

01dbc909

Network plugin used:
Calico

Full inventory with variables (ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"):

https://paste.ubuntu.com/p/VhxHhRDBKt/

Command used to invoke ansible:
ansible-playbook -i /kubespray/inventory/testing/hosts.yml -f 20 -u ubuntu -b -e node-3.testing.com remove-node.yml

Output of ansible run:

https://paste.ubuntu.com/p/brd9yMFjGZ/

Anything else do we need to know:

@nniehoff nniehoff added the kind/bug Categorizes issue or PR as related to a bug. label Jul 18, 2020
nniehoff pushed a commit to nniehoff/kubespray that referenced this issue Jul 18, 2020
erulabs added a commit to kubesail/kubespray that referenced this issue Jul 29, 2020
* 'master' of https://github.com/kubernetes-sigs/kubespray:
  Documentation for Ingress (kubernetes-sigs#6378)
  Fix ansible-lint E301 for commands fetching data (kubernetes-sigs#6465)
  Fix shellcheck url (kubernetes-sigs#6462)
  Fix ansible-lint E305 (kubernetes-sigs#6459)
  Fix ansible-lint E404 (kubernetes-sigs#6417)
  Update README.md and openstack.md (kubernetes-sigs#6455)
  Add noqa and disable .ansible-lint global exclusions (kubernetes-sigs#6410)
  Move healthz check to secure ports (kubernetes-sigs#6446)
  Update multus version & crio conf (kubernetes-sigs#6444)
  Fix remove etcd broken with etcdctl_api 3 (kubernetes-sigs#6448)
  update cinder csi manifests (kubernetes-sigs#6434)
  Update docker package to 19.03.12 (kubernetes-sigs#6439)
  * add proxy_env definition to remove_node.yml resolving kubernetes-sigs#6430 (kubernetes-sigs#6431)
k8s-ci-robot pushed a commit that referenced this issue Sep 17, 2020
* Add proxy_env calculation to reset.yml (#6558)

* * add proxy_env definition to remove_node.yml resolving #6430 (#6431)

Co-authored-by: Florian Ruynat <florian234@hotmail.com>
Co-authored-by: nniehoff <github@nickniehoff.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant