From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by sourceware.org (Postfix) with ESMTPS id 492A53851C06 for ; Sat, 13 Jun 2020 18:54:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 492A53851C06 Received: by mail-oi1-x233.google.com with SMTP id b8so12065620oic.1 for ; Sat, 13 Jun 2020 11:54:00 -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:from:date:message-id:subject:to; bh=loHsiNdpA9J93/Obmh9Bu3iqJe0wTnf+HzsXEVayWrE=; b=JCTyxPxWVjh2mAa0ZVmb7ncK5Bh4VvyRtYcRkLZJADVDmG2znQOkaiTYhg0/PgRsjW 11sstt/Vg1cYHOkvHnINkpEzn6t6mrrSeXIW8350DmwaG9IURtdn3888uqTRWW5zC0CP 0/v52rapkI5atKVe93PzB/bU0iBepYrQeS31g+XKjXSYGcq4jFJ5bS9uJ6qDOvVfq1+W wvrlbKGHSkvXFXFw+b1xN1uksQi/I0A/M1aHS4QMZ3GYCME+wIaA1fLnnF+AcjDN7nhl hunt7Vc2rQ/zuW9kM4IgRVhS6YrdFfQypyh4SV1GFuRr9mbhGYCZlA+ZIr5c/G1F5IhH 9S4Q== X-Gm-Message-State: AOAM531FHHKcvQB0zwDiiXg1Eyt+bkXk+TFgGGvBZgwv88GiJiztgUzY tBdpy12xkB56Yb7L/1gbIafrjHvtr79nXCmoDY8Wf4In X-Google-Smtp-Source: ABdhPJw/1tYsPBOpQyNFc/M6MRBZc/JLGmo6k8gQX+JYnyymzkv3262XBnEj9duFJHFJHA9dmNfDMVkifrzesbP1U1o= X-Received: by 2002:a05:6808:4c1:: with SMTP id a1mr3603623oie.100.1592074439254; Sat, 13 Jun 2020 11:53:59 -0700 (PDT) MIME-Version: 1.0 From: David Karr Date: Sat, 13 Jun 2020 11:53:48 -0700 Message-ID: Subject: "kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell To: The Cygwin Mailing List X-Spam-Status: No, score=-1.9 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: Sat, 13 Jun 2020 18:54:01 -0000 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?