[JIRA] (JENKINS-57631) No credentials found for id

31 views
Skip to first unread message

jiaozi362330@gmail.com (JIRA)

unread,
May 23, 2019, 5:32:01 AM5/23/19
to jenkinsc...@googlegroups.com
zern king created an issue
 
Jenkins / Bug JENKINS-57631
No credentials found for id
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: image-2019-05-23-17-17-27-088.png, image-2019-05-23-17-19-38-432.png
Components: credentials-plugin
Created: 2019-05-23 09:31
Environment: docker on linux
jenkins: 2.164.3
Credentials Plugin:2.1.19
Labels: plugins credentials
Priority: Critical Critical
Reporter: zern king

use Role-Based Strategy.

 

  • Create a Folder "test"
  • create credentials in folder "test"
  • Create a job within the folder use the credentials
  • Run job

but: 
ERROR: No credentials found for id "557f78f0-a2e0-4fae-a3ee-00cac16514f8"
create credentials in system domain  it's worked.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jiaozi362330@gmail.com (JIRA)

unread,
May 23, 2019, 5:34:01 AM5/23/19
to jenkinsc...@googlegroups.com
zern king updated an issue
Change By: zern king
Attachment: image-2019-05-23-17-33-43-511.png

jiaozi362330@gmail.com (JIRA)

unread,
May 23, 2019, 5:34:01 AM5/23/19
to jenkinsc...@googlegroups.com
zern king updated an issue
use Role-Based Strategy.

 
* Create a Folder "test"
* create credentials in folder "test"
* Create a job within the folder use the credentials
* Run job


but: 
ERROR: No credentials found for id "557f78f0-a2e0-4fae-a3ee-00cac16514f8"
create credentials in system domain  it's worked.

!image-2019-05-23-17-19-38-432.png!

!image-2019-05-23-17-
21 33 - 23 43 - 218 511 .png!

!image-2019-05-23-17-17-27-088.png!

jiaozi362330@gmail.com (JIRA)

unread,
May 23, 2019, 11:13:03 AM5/23/19
to jenkinsc...@googlegroups.com
zern king assigned an issue to zern king
Change By: zern king
Assignee: zern king

jiaozi362330@gmail.com (JIRA)

unread,
May 24, 2019, 8:09:02 AM5/24/19
to jenkinsc...@googlegroups.com
zern king assigned an issue to Unassigned

jiaozi362330@gmail.com (JIRA)

unread,
Jun 27, 2019, 5:22:02 AM6/27/19
to jenkinsc...@googlegroups.com
zern king updated an issue
Change By: zern king
Component/s: kubernetes-ci-plugin
Component/s: kubernetes-credentials-plugin
Component/s: kubernetes-plugin
use Role-Based Strategy.

 
* Create a Folder "test"
* create credentials in folder "test"
* Create a job within the folder ,Setup Kubernetes CLI (kubectl) use the credentials

* Run job

but: 
ERROR: No credentials found for id "557f78f0-a2e0-4fae-a3ee-00cac16514f8"
create credentials in system domain  it's worked.

!image-2019-05-23-17-19-38-432.png!

!image-2019-05-23-17-33-43-511.png!

!image-2019-05-23-17-17-27-088.png!

jiaozi362330@gmail.com (JIRA)

unread,
Jun 27, 2019, 5:22:03 AM6/27/19
to jenkinsc...@googlegroups.com
zern king updated an issue
Change By: zern king
Labels: credentials kubernetes kubernetes-plugin plugins

jglick@cloudbees.com (JIRA)

unread,
Jul 8, 2019, 2:27:02 PM7/8/19
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Incomplete
 

Setup Kubernetes CLI (kubectl) use the credentials

Too vague to reproduce. Perhaps a user error.

Change By: Jesse Glick
Status: Open Resolved
Resolution: Incomplete

benjamin.brummer@pinteam.eu (JIRA)

unread,
Jul 10, 2019, 3:54:02 PM7/10/19
to jenkinsc...@googlegroups.com
Benjamin Brummer updated an issue
Change By: Benjamin Brummer
Attachment: image-2019-07-10-21-53-04-753.png

benjamin.brummer@pinteam.eu (JIRA)

unread,
Jul 10, 2019, 3:54:03 PM7/10/19
to jenkinsc...@googlegroups.com
Benjamin Brummer commented on Bug JENKINS-57631
 
Re: No credentials found for id

After a migration from a centos to a ubuntu system we get the error "Cannot find any credentials with id..." for all projects. The jobs run fine, but it is not possible to switch credentials. I can add new one in the job configuration, but they are not select able afterwards.

benjamin.brummer@pinteam.eu (JIRA)

unread,
Jul 10, 2019, 4:31:02 PM7/10/19
to jenkinsc...@googlegroups.com
Benjamin Brummer edited a comment on Bug JENKINS-57631
Update: Transfered jenkins again now everything is fine.

 

After a migration from a centos to a ubuntu system we get the error "Cannot find any credentials with id..." for all projects. The jobs run fine, but it is not possible to switch credentials. I can add new one in the job configuration, but they are not select able afterwards.

!image-2019-07-10-21-53-04-753.png!

benjamin.brummer@pinteam.eu (JIRA)

unread,
Jul 10, 2019, 6:26:02 PM7/10/19
to jenkinsc...@googlegroups.com

I can reproduce it now:

If i configure "Access Control for Builds" under "Global Security", the credentials vanish in the job configuration. If i remove everything under "Access Control for Builds" they reappear.

jglick@cloudbees.com (JIRA)

unread,
Jul 10, 2019, 7:26:02 PM7/10/19
to jenkinsc...@googlegroups.com

I think this is referring to KubectlBuildWrapper on freestyle projects, with the authorize-project plugin enabled. You would need to ensure that the user associated with the project has permission to use those credentials. I do not think this area is tested at all. Sounds similar to JENKINS-48437. Is there a particular way to reproduce from scratch, in a fresh Jenkins installation (say using the mock-security-realm plugin)?

jiaozi362330@gmail.com (JIRA)

unread,
Jul 12, 2019, 2:27:02 AM7/12/19
to jenkinsc...@googlegroups.com
zern king updated an issue
 
Change By: zern king
Attachment: image-2019-07-12-14-27-02-182.png

jiaozi362330@gmail.com (JIRA)

unread,
Jul 12, 2019, 2:28:01 AM7/12/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages