FusionAccess创建虚拟机重命名失败

发布时间:  2015-06-30 浏览次数:  164 下载次数:  0
问题描述
一线反馈虚拟机发放失败,提示虚拟机重命名失败,如图:


处理过程

查看ITA服务器上的vDesktop.log发现虚拟机重命名失败是由于命名规则用完导致,见下面日志打印:

[2015-06-26 14:55:37,197]--[INFO]--[Provision-ThreadPool-27]--[RenameVmStep.java renameVmAttachingPhase() 440] - [VDESKTOP][ITA-TID-26143615454-save]machineNames=, with dg=KMDS, userOrGroup=test010 

[2015-06-26 14:55:37,198]--[INFO]--[Provision-ThreadPool-27]--[ComputerNameGenarator.java buildName() 142] - [VDESKTOP][ITA-TID-26143615454-save]namePolicy:Default_1_1, domainUser:test010, userDomain:vdesktop.huawei.com, instanceNum:0 

[2015-06-26 14:55:37,200]--[INFO]--[Provision-ThreadPool-27]--[ComputerNameGenarator.java buildName() 191] - [VDESKTOP][ITA-TID-26143615454-save]singleDomainUserInc=1, namePrefix=test010, digitNum=1 

[2015-06-26 14:55:37,201]--[INFO]--[Provision-ThreadPool-27]--[ComputerNameGenarator.java generateSingleUserAccount() 246] - [VDESKTOP][ITA-TID-26143615454-save]cmd /c powershell $adRoot='vdesktop.huawei.com';$maxNumberForName='9';$UserID='test010';$strCount='1' 

[2015-06-26 14:55:37,201]--[ERROR]--[Provision-ThreadPool-27]--[AdServiceImpl.java getVmNameFromAD() 1577] - [VDESKTOP][ITA-TID-26143615454-save]No available name to use 

[2015-06-26 14:55:37,201]--[ERROR]--[Provision-ThreadPool-27]--[ComputerNameGenarator.java getNameUnderPreAssigned() 614] - [VDESKTOP][ITA-TID-26143615454-save]No machine name is retrieved. 

[2015-06-26 14:55:37,201]--[ERROR]--[Provision-ThreadPool-27]--[RenameVmStep.java renameVmAttachingPhase() 460] - [VDESKTOP][ITA-TID-26143615454-save]Failed to build computer name by namePolicy[Default_1_1] 

[2015-06-26 14:55:37,201]--[ERROR]--[Provision-ThreadPool-27]--[RenameVmStep.java doWork() 352] - [VDESKTOP][ITA-TID-26143615454-save]Failed to rename vm, site:56A509FC,instance:i-00000024,and retry. 

[2015-06-26 14:55:47,217]--[ERROR]--[Provision-ThreadPool-20]--[RenameVmStep.java doWork() 297] - [VDESKTOP][ITA-TID-26143615454-save]Rename vm[site=56A509FC, vmId=i-00000024, sid=S-1-5-21-3084023765-3841113268-772010761-1606] is timeout. retryTimes:71, maxTimes:70. 

[2015-06-26 14:55:47,217]--[ERROR]--[Provision-ThreadPool-20]--[AbstractRepeatProvisionSubTaskStep.java run() 166] - [VDESKTOP][ITA-TID-26143615454-save]Failed to execute step[RenameVmStep], resultCode=11030, resultDesc=閲嶅懡鍚嶈櫄鎷熸満:鍒涘缓铏氭嫙鏈?鍒涘缓鍑虹殑铏氭嫙鏈洪噸鍛藉悕澶辫触锛岃鎮ㄦ鏌ョ綉缁滅幆澧冩槸鍚︽甯革紝骞堕噸鏂板垱寤鸿櫄鎷熸満 


解决方案

重新创建一个可以生成超过100个虚拟机名称的命名规则,再发放虚拟机问题解决。

END