Bug 1802506 - Can't create "ocp4_admin.kubeconfig" with `oc config --kubeconfig`
Summary: Can't create "ocp4_admin.kubeconfig" with `oc config --kubeconfig`
Keywords:
Status: CLOSED DUPLICATE of bug 1789869
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.2.z
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Maciej Szulik
QA Contact: zhou ying
URL:
Whiteboard:
Depends On: 1789857 1802505
Blocks: 1802509
TreeView+ depends on / blocked
 
Reported: 2020-02-13 10:28 UTC by zhou ying
Modified: 2020-02-13 13:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1802505
: 1802509 (view as bug list)
Environment:
Last Closed: 2020-02-13 13:52:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description zhou ying 2020-02-13 10:28:07 UTC
+++ This bug was initially created as a clone of Bug #1802505 +++

Description of problem:
Can't create "ocp4_admin.kubeconfig" with `oc config --kubeconfig`

Version-Release number of selected component (if applicable):
oc client: v4.3.2


How reproducible:
always

Steps to Reproduce:
When run automation cases: 
`oc config set-credentials admin --client-certificate=/root/workdir/dhcp-140-138-root/bbbb --client-key=/root/workdir/dhcp-140-138-root/aaaa --embed-certs=true --server=https://xxx --kubeconfig=/root/workdir/dhcp-140-138-root/ocp4_admin.kubeconfig --insecure-skip-tls-verify=true`

Actual results:
Can't create the config file 'ocp4_admin.kubeconfig'

Expected results:
3. Should create. 

Additional info:
`oc config --kubeconfig=/root/workdir/dhcp-140-138-root/ocp4_admin.kubeconfig` works well.

Comment 1 Maciej Szulik 2020-02-13 13:52:55 UTC

*** This bug has been marked as a duplicate of bug 1789869 ***


Note You need to log in before you can comment on or make changes to this bug.