11-04-2014 01:42 AM - edited 03-01-2019 11:54 AM
Hi,
I am trying to use PowerGUI with Cisco UCS Power Tools to create power shell scripts for UCS Automation.
PowerGUI Version: 3.8.0.129
CiscoUCS Power Tools Version:1.3(1).
OS: Windows 7
I have installed the PowerGUI and Cisco UCS Power Tools libraries and was able to connect to UCS server successfully.
However when I tried to run the command "ConvertTo-UcsCmdlet", I am getting the below error:
>ConvertTo-UcsCmdlet
WARNING: Please review the generated cmdlets before deployment.
ConvertTo-UcsCmdlet : Could not find the log files directory
At line:1 char:20
+ ConvertTo-UcsCmdlet <<<<
+ CategoryInfo : NotSpecified: (:) [ConvertTo-UcsCmdlet], Exception
+ FullyQualifiedErrorId : Cisco.Ucs.Cmdlets.ConvertToUcsCmdlet
Appreciate any help in fixing this!
Thanks and Regards,
Thammaya Gupta K.
11-04-2014 06:51 AM
Have a look at
https://supportforums.cisco.com/discussion/11812301/powertool-convertto-ucscmdlet-returns-error-message
Java issue: the solution was
Just to confirm my hypothesis, I decided to temporarily rollback to java 7 update 40 and this fixed the problem. The "ConvertTo-UcsCmdlet" cmdlet found the log in the .ucsm directory and properly generated a cmdlet after I made a change in the GUI.
When I then upgraded back to java 7 update 45 the "ConvertTo-UcsCmdlet" broke again.
So for sure this is a java 7 update 45 related problem.
11-05-2014 01:38 AM
Hi,
Thanks for your response!
I have changed the Java version on my laptop to Java 7 update 40 and still I am getting the same error.
Regards,
Thammaya Gupta K.
11-05-2014 03:07 AM
I checked it on my pc, against the emulator, which works ok !
Windows 7 SP1
UCS PE 2.2(3aPE1)
Cisco UCS PowerTool 1.2.1.0
Java 7 Update 21 (64 bit)
I don't use PowerGUI
12-28-2014 03:53 AM
Hi,
It was admin rights problem in my PC. It worked well after getting admin rights.
Regards,
Thammaya Gupta K.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide