VSTS构建代理不进行身份验证 [英] VSTS Build Agents Not Authenticating

查看:129
本文介绍了VSTS构建代理不进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的TFS代理队列中的6台服务器中的一台在星期四,2017年1月6日星期四和星期五,6/2 /之间的某个时间无法正常停止向TFS进行身份验证2017 代理登录_diag文件夹表示它不允许
代理在TFS Online中对代理队列进行身份验证。


 


我们的标准用户是TFS中队列和池的管理员,我们所有VSTS构建服务器上使用的凭据相同。 我们只开始遇到其中一个问题。


 


-           
我们已经检查了我们的许可,以确保我们有足够的插槽用于我们正在构建的服务器。


-           
我们为同时也是代理管理员的不同用户尝试了不同的个人身份验证令牌和用户名/密码组合队列和我们尝试过不同的代理队列。


-          
最后,我们认为这是Ubuntu服务器本身的一个问题所以我们终止服务器并重建它然后尝试从下载的tarball重新安装VSTS代理。


-          
当这也失败时,我们尝试使用TFS的最新安装程序以及我们的安装程序d以前用于我们所有正在运作的其他代理商。


 


结果是我们无法获得新的Ubuntu 16.04构建服务器来正确验证TFS中的代理队列。


 


环境详情:


vsts @ ip:〜/ vsts_agent $ cat / etc / lsb-release 


DISTRIB_ID = Ubuntu


DISTRIB_RELEASE = 16.04


DISTRIB_CODENAME = xenial


DISTRIB_DESCRIPTION =" Ubuntu 16.04.2 LTS"


 


内核信息:


vsts @ ip:〜/ vsts_agent $ uname -a


Linux ip.4.4.0-64-generic#85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU / Linux


 


正在执行的安装命令:


vsts @ ip:〜/ vsts_agent $ ./config.sh --unattended --acceptteeeula --url  < VSTS  URL> --auth PAT --token  PERSONAL_AUTH_TOKEN - 池QUEUE_NAME --agent`hostname` --work _work


 


>>最终用户许可协议:


 


< span style ="font-size:11pt">从TFVC存储库构建源需要接受Team Explorer Everywhere最终用户许可协议。从Git存储库构建源代码不需要此步骤。


 


可以在以下位置找到Team Explorer Everywhere许可协议的副本:


&NBSP; /home/vsts/vsts_agent/externals/tee/license.html


 


 


> ;>连接:


 


连接服务器...


不允许请求的操作。

解决方案

嗨Sherrill E Darby,



此论坛正在讨论Team Foundation Server。您的问题与Visual Studio Team Service有关。我将把这个帖子移到相应的论坛。



最好的问候

Limitxiao Gao


One of 6 servers in our TFS Agent Queues stopped authenticating to TFS online without reason sometime between Thursday, 6/1/2017 and Friday, 6/2/2017.  The Agent logs in the _diag folder indicated that it was not allowing the agent to authenticate to the agent queue in TFS Online.

 

Our standard user is an administrator of the queue and pools in TFS and has the same credentials used on all our VSTS build servers.  We only started experiencing this issue with one of them.

 

-          We have checked our licensing to insure we have enough slots for the servers we are building.

-          We have tried different Personal Auth Tokens and Username/Password combinations for different users who are also Administrators of the Agent Queues and we have tried different Agent Queues.

-          Finally, we considered it being a problem with the Ubuntu server itself so we terminated the server and rebuilt it then attempted to reinstall the VSTS Agent from the downloaded tarball.

-          When this failed as well, we tried using both the latest installer from TFS as well as the installer we’d used previously on all our other agents that are working.

 

The result is we cannot get a new Ubuntu 16.04 build server to properly authenticate to the Agent Queues in TFS.

 

Environment details:

vsts@ip:~/vsts_agent$ cat /etc/lsb-release 

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=16.04

DISTRIB_CODENAME=xenial

DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"

 

Kernel info:

vsts@ip:~/vsts_agent$ uname -a

Linux ip.4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

 

Installation command being executed:

vsts@ip:~/vsts_agent$ ./config.sh --unattended --acceptteeeula --url  <VSTS URL> --auth PAT --token  PERSONAL_AUTH_TOKEN --pool QUEUE_NAME --agent `hostname` --work _work

 

>> End User License Agreements:

 

Building sources from a TFVC repository requires accepting the Team Explorer Everywhere End User License Agreement. This step is not required for building sources from Git repositories.

 

A copy of the Team Explorer Everywhere license agreement can be found at:

  /home/vsts/vsts_agent/externals/tee/license.html

 

 

>> Connect:

 

Connecting to server ...

The requested operation is not allowed.

解决方案

Hi Sherrill E Darby,

This forum is discussing Team Foundation Server. Your issue is related to Visual Studio Team Service. I will move this thread to corresponding forum.

Best Regards
Limitxiao Gao


这篇关于VSTS构建代理不进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆