www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/13/14:54:45

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAC05389852F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1592074442;
bh=U8Fq1hsKeymBKGML/w9WeH1P+IxPF6lMox7TJMH/m0M=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=UkLSgKW1EkG307QYROtMFj1XluJwLog5ijksHkLDdOIYN8Qg3vBlevxo9NwBLaeYg
RaqvUIEnDxDsm4xPWB6esfBFiiInpzJk6HTYPtK74nu0OL4LqhAJ7Hg4XP7LmiQ/jP
4utbM0ij5UYUeyDeQmkbTGEYge2NAORxZvB5Sr0k=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 492A53851C06
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
Date: Sat, 13 Jun 2020 11:53:48 -0700
Message-ID: <CAA5t8VqpU2KiQ_Kk5czjLzeCDzf21Gb2iBLu25xB43ZhpfmaPQ@mail.gmail.com>
Subject: "kubectl exec" in Cygwin gets "Upgrade request required", but not in
cmd shell
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
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
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: David Karr via Cygwin <cygwin AT cygwin DOT com>
Reply-To: David Karr <davidmichaelkarr AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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?
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019