Error from PowerCLI during deployement of Community Edition

Teradata Database on VMWare
Enthusiast

Error from PowerCLI during deployement of Community Edition

working to deploy Community using the new format with the .ova download and the .json property files.  We had previosuly deployed the previous distribution.

 

During the execution of the PowerCli scripting, we are receiving the attached error message.  Error when running the tdc.deploy.ps1 script at line 768deploy.error.JPG.Here is a portion of the script around that line.  Error line is in red

 

if ($newMPPvm)
{
# A quirk in PowerCli results in not getting the task-id for Import-Vapp
if ( [String]::IsNullOrEmpty($newMPPvm.Name) )
{
$tasks = @(Get-Task | Where-Object {$_.Name -like "Deploy OVF template"})

for ($i=0; $i -lt $tasks.Length; $i++) {

if ($tasks[$i].State -eq "Running" -and ($tasks[$i].id -notin $usedOVATasks))
{
$vm.TaskID = $tasks[$i].id
$usedOVATasks += $tasks[$i].id
break
}
}
}
else
{
$vm.TaskID = $newMPPvm.id
}
#SetVMStatus $states["clone"].VMStatus $vm.vmName $newMPPvm.Status
SetVMStatus $states["clone"].VMStatus $vm.vmName $newMPPvm.State
$date = Get-Date
Write-Host $date " - Deployment of "$vm.vmName" started...`n" -f green
$NumDeployed++
}

 

12 REPLIES
Enthusiast

Re: Error from PowerCLI during deployement of Community Edition

Got further after the person doing the deployment moved all the files to his laptop instead.  The script executed up to a point.  It was in the pre-validate CPU & memory steps.

 

This is the error.  Found this in the tdc.prevalidation.ps1 script.

 

"Failed to pre-validate CPU number, desired CPU number ( 2 ) exceeds the maximum available CPU number ( -48). "

 

 

Teradata Employee

Re: Error from PowerCLI during deployement of Community Edition

Try upgrading Powershell to version 4.0 if it is not already that version.

 

if ($tasks[$i].State -eq "Running" -and ($tasks[$i].id -notin $usedOVATasks))

 

This line usually fails if your Powershell version is less than 4.0 due to the operator -notin being a recent edition to powershell. If that is not the case please tell us the Powershell version, the PowerCLI version  and also  attach the log file. The log file should be in the same directory you ran the script from and I believe it ends with .log in the name

 

Enthusiast

Re: Error from PowerCLI during deployement of Community Edition

Deployment completed further.  Now hitting an error during configure Teradata.

 

11/3/2016 5:58:46 PM - TDput Configure Teradata Operation on ( DENSBB3UTTVM01 ) and will take approximately 20 minutes...
( DENSBB3UTTVM01 ) SystemName( TIAAC3) TotalAmps(2) AmpsPerNode(2)
Stopping PUT services...
Killing Processes with SIG: -TERM:
4133 /opt/teradata/TDput/bin/putservices
4137 /opt/teradata/TDput/bin/portmgmt
4138 /opt/teradata/TDput/bin/portmgmt
4139 /opt/teradata/TDput/bin/portmgmt
Done killing services, moving on to anything that is left
No processes to kill.
rm: cannot remove `/var/opt/teradata/TDput/fileservice/logs/sequencer_pdeconfig.log': No such file or directory
rm: cannot remove `/var/opt/teradata/TDput/temp/pdeconfig.dat': No such file or directory
Starting PUT services...
/opt/teradata/bin/autoput -l *********** -w *********** -q SUPPORT0001 -o Configure Teradata
Parallel Upgrade Tool (PUT)
Autoput terminated with ERROR(s).
Operation: Configure Teradata
Error message: The current step has terminated abnormally.
Plugin name: Clique/Amp Modeling
Log file name: /var/opt/teradata/TDput/fileservice/logs/sequencer_pdeconfig.log
Action: Please bring up PUT via the browser, click 'continue the operation' and correct the problem.

Enthusiast

Re: Error from PowerCLI during deployement of Community Edition

From the sequencer_pdeconfig.log

 

28504 INFO: There are 1 sizes of new disks for this clique (CliqueAmpMod.cpp+4754)
28504 INFO: unused_storage_info[0] capacity 943718400 lun_capacity -1 (CliqueAmpMod.cpp+4828)
28504 INFO: total_potential_pdisk_space is 1887436800 (CliqueAmpMod.cpp+4839)
28504 INFO: unused_storage[0] contains 2 disks with capacity of 943718400 (CliqueAmpMod.cpp+4843)
28504 INFO: There are 2 total luns for this size (CliqueAmpMod.cpp+4884)
28504 INFO: Clique has 0 disk arrays (CliqueAmpMod.cpp+4931)
28504 INFO: Clique is cloud/TVME (CliqueAmpMod.cpp+5005)
28504 INFO: Adding Non-amp tpa nodes (if any) to node_family_table (CliqueAmpMod.cpp+5114)
28504 INFO: Adding Hot Standby nodes (if any) to node_family_table (CliqueAmpMod.cpp+5149)
28504 INFO: End of BuildCliqueInfoArray() (CliqueAmpMod.cpp+5183)
28504 INFO: base_clique_index is 0, base_clique is clique 0 with perf factor of 912 (CliqueAmpMod.cpp+27667)
28504 INFO: Setting systemfamily variable to 5500C from node localhost (CliqueAmpMod.cpp+27689)
28504 INFO: Automode: Calling assert-event USER_DEFINED_EVENT_2 (CliqueAmpMod.cpp+27716)
28504 INFO: End of CliqueEvalState() (CliqueAmpMod.cpp+27731)
28504 INFO: Begin Auto_DetermineOptimalAmpsState w/event 2 (CliqueAmpMod.cpp+27822)
28504 INFO: Begin BuildNewSystemRecommendations() (CliqueAmpMod.cpp+18496)
28504 INFO: All luns/slices are same size (943718400 blocks) (CliqueAmpMod.cpp+18513)
28504 INFO: Begin calc_default_amps_for_new_system() for clique 0 (CliqueAmpMod.cpp+17292)
28504 INFO: Proposed pdisk size is 943718400 (CliqueAmpMod.cpp+17300)
28504 INFO: num_pdisks now 2 (CliqueAmpMod.cpp+17404)
28504 INFO: num_pdisks is 2 (CliqueAmpMod.cpp+17499)
28504 INFO: This is base_perf_clique (CliqueAmpMod.cpp+17763)
28504 INFO: Begin calc_new_amps_for_foggy() for clique 0 (CliqueAmpMod.cpp+16777)
28504 INFO: proposed_new_amps set to 36 (CliqueAmpMod.cpp+16788)
28504 ERROR: Not enough pdisks to configure clique per TVME specifications! (CliqueAmpMod.cpp+16801)
28504 ERROR: This clique requires a minimum of 3 pdisks (TVME pdisks per subpool (1) * TVME number of subpools per node (3)) (CliqueAmpMod.cpp+16802)
28504 ERROR: Clique only has 2 pdisks present (CliqueAmpMod.cpp+16804)
28504 ERROR: calc_default_amps failed! (CliqueAmpMod.cpp+18682)
28504 ERROR: Automode: BuildSystemRecommendations failed! (CliqueAmpMod.cpp+27838)
28504 INFO: Begin cleanup() (CliqueAmpMod.cpp+1302)
28504 INFO: End cleanup() (CliqueAmpMod.cpp+1380)
28504 ERROR: Plug-in aborted with message The current step has terminated abnormally. (runner.cpp+1106)
28504 ERROR: Analysis of error follows: (runner.cpp+1109)
28504 ERROR: (runner.cpp+1111)
28504 ERROR: ********** Error Log Analysis ********** (runner.cpp+1111)
28504 ERROR: This error was detected in step "Clique/Amp Modeling" state "Auto_DetermineOptimalAmpsState". (runner.cpp+1111)

Teradata Employee

Re: Error from PowerCLI during deployement of Community Edition

1) Which version of the “Teradata_Database…ova” file are your running?

2) Can you  run ‘rpm –q TDput’ and send the version of PUT

This looks like it might be the issue that was fixed way back in PUT 3.08.00.08:

DR183133   Allow TVME vconfig to be created with fewer than 3 pdisks

3) Please provide us with the output of /root/tvme/tvmeinfo

 

Enthusiast

Re: Error from PowerCLI during deployement of Community Edition

DENSBB3UTTVM01:~ # rpm -qa|grep TDput
TDput-03.08.00.06-20161821107

 

Teradata_Database_15.00.05_SLES11_SP1_on_VMware_20160819110000.ova

Enthusiast

Re: Error from PowerCLI during deployement of Community Edition

DENSBB3UTTVM01:~ # cat /root/tvme/tvmeinfo
Template = Teradata_Database_15.00.05_SLES11_SP1_on_VMware_20160819110000

Enthusiast

Re: Error from PowerCLI during deployement of Community Edition

Upgraded PUT to 3.08.00.10 and was able to manually complete the Configure Teradata step.  Database is now online.

 

Looks like the deployment needs to be rebuilt with a good version of PUT.

Teradata Employee

Re: Error from PowerCLI during deployement of Community Edition

Our engineering team is working on correcting the version of PUT on the applicable images.