Bug 1802505 - 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 1789857
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.3.z
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Maciej Szulik
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks: 1802506 1802509
TreeView+ depends on / blocked
 
Reported: 2020-02-13 10:26 UTC by zhou ying
Modified: 2020-02-14 03:02 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description zhou ying 2020-02-13 10:26:24 UTC
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:10 UTC

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


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