From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id 0EA28386F81C for ; Sun, 14 Jun 2020 06:12:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0EA28386F81C Received: by mail-ot1-x32b.google.com with SMTP id g5so10632729otg.6 for ; Sat, 13 Jun 2020 23:12:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uIzwhmvhmGQ/+rIWzlSWvetN7xeJnJKM7570upJxy0Q=; b=Ofugsa7KbRbhcZI4ddZn/0PfxAdkFK4RweR8Cov7ei5IXI6iO+EwL6BqEJ7Bkb17OK 8w9FugD0F2rSTTkUpyq7+IhfZvA1QLhx5rRtZ6qx0V7mBKckmuonLQysFp1yP+45ER5I 31U6jQLCUQHoNykiX33puVyyaMpWmdNjLUMlzN8FKzgqSAFhfPTs+vNHWTmF392HLoYB F5q1tvLsdyuhVP0x2JdxzFdk+yz9KLA8mkAJ+IVUzaRibyjuPqZuDHDT8NzDzMMdM7oX JxX7thzaRq2iFBri2sRDPGBxlqLDjGwgaVaHu9PEZOwHNjtCqTXCUQLQl8AeEzCu72uV GsZQ== X-Gm-Message-State: AOAM5317MFH0rpWzUG37Fi/WO2oaVg9CmFGsqEA0auS85AjVGxTOZnyi cxu0oFMLKWh9Xvc1yYWIEeGMu2MpwP/zy9pRttA= X-Google-Smtp-Source: ABdhPJwNixcVgvYz+OMUMD5ZiflMrZ3toigcop+Y4LBhlnD3RGzEpGhBffQNvKv7531RhcK9ihTXHVZVkhOXdD871nI= X-Received: by 2002:a9d:6013:: with SMTP id h19mr17727398otj.50.1592115137367; Sat, 13 Jun 2020 23:12:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Karr Date: Sat, 13 Jun 2020 23:12:06 -0700 Message-ID: Subject: Re: "kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell To: Marco Atzeri Cc: The Cygwin Mailing List X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2020 06:12:19 -0000 On Sat, Jun 13, 2020 at 10:31 PM Marco Atzeri via Cygwin wrote: > On 13.06.2020 20:53, David Karr via Cygwin wrote: > > I've been using kubectl in Cygwin on Windows 10 for quite a while, to > > communicate to our in-house k8s clusters. I often use "kubectl exec" to > > open a shell in a container or directly execute a shell command. This > has > > worked perfectly fine for a long time. > > > > A couple of days ago, I discovered that all of these attempts were > failing > > with "Upgrade request required". I hadn't upgraded kubectl or Cygwin in > > quite a while. I doubt our clusters had a k8s upgrade, but it's entirely > > possible. > > > > A colleague of mine has a very similar desktop configuration (Windows 10, > > Cygwin), and he's not seeing this symptom. > > > > I noticed that when I ran "kubectl exec" with max verbosity, it shows the > > resulting "curl" command that it runs. I tried that resulting command, > and > > it results in the same response. I then tried updating my Cygwin tools > and > > retesting, no change. > > > > I then took the entire resulting "kubectl exec" command line and ran it > in > > a "cmd" shell. No problem at all. No error. > > > > I know I haven't provided much useful information yet. I wanted to get an > > initial response before I started providing those diagnostics. Is there a > > clear issue here that I'm not aware of? > > -- > > from where is kubectl coming from ? > > In cygwin I found only a kubectl.py in the ansible package > It's from here: https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-on-windows .