Git Product home page Git Product logo

asbuiltreport.cisco.ucsmanager's Introduction

Cisco UCS Manager As Built Report

asbuiltreport.cisco.ucsmanager's People

Contributors

tpcarman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

asbuiltreport.cisco.ucsmanager's Issues

Error running UCS Asbuilt

I am getting an error when running UCS As Built. No issues with VMware As Built. Error below:

New-AsBuiltReport : Cannot bind argument to parameter 'Name' because it is an empty string.
At line:1 char:1

  • New-AsBuiltReport -Report Cisco.UCSManager -Target 172.16.16.70
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport
    

Error: New-AsBuiltReport : Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.

Describe the bug
UCSM 4.1
Windows PowerShell 5.1
AsBuiltReport.Cisco.UcsManager 2.1

While the report is being generated I receive the following error and the report is not written to disk:
New-AsBuiltReport : Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.
At line:1 char:1

  • New-AsBuiltReport -Report Cisco.UcsManager -Target 'x.x.x.x' -Fo ...
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport
    
    

To Reproduce
New-AsBuiltReport -Report Cisco.UcsManager -Target 'x.x.x.x' -Format Html -OutputFolderPath 'C:\Users\someUser\myApps\AsBuilt\UCS' -Timestamp -Verbose

Expected behavior
I am able to successfully run this against 6248 FIs but not against 6332 FIs. I tested in two separate environments for both FI models.

Screenshots
VERBOSE: [ 18:59:26:260 ] [ Document ] - Processing section 'Server Pool Assignments' started.
VERBOSE: [ 18:59:26:266 ] [ Document ] - Processing section 'Server Pool Assignments' completed.
VERBOSE: [ 18:59:26:270 ] [ Document ] - Processing section 'Pools' completed.
VERBOSE: [ 18:59:26:279 ] [ Document ] - Processing section 'Servers' completed.
VERBOSE: [ 18:59:26:283 ] [ Document ] - Processing section 'LAN' started.
VERBOSE: [ 18:59:26:288 ] [ Document ] - Processing section 'LAN Cloud' started.
VERBOSE: [ 18:59:26:463 ] [ Document ] - Processing table 'LAN Cloud'.
VERBOSE: [ 18:59:26:641 ] [ Document ] - Processing section 'Port Channels and Uplinks' started.
VERBOSE: [ 18:59:26:655 ] [ Document ] - Processing table 'Port Channels and Uplinks'.
VERBOSE: [ 18:59:26:678 ] [ Document ] - Processing blank line.
New-AsBuiltReport : Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.
At line:1 char:1

  • New-AsBuiltReport -Report Cisco.UcsManager -Target '10.252.0.175' -Fo ...
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport
    
    
    

Cisco UCS Manager Report Issue

Describe the bug
The Cisco UCS report fails while collecting information about Service Profile Templates.

To Reproduce
Steps to reproduce the behavior:
Run report against Cisco UCS Manager.

Screenshots
image

Sample execution, with names removed.
image

Additional context
Tested against Cisco UCS Manger v4.0(2b) and 3.1.
Installed latest Cisco UCS Powershell powertool suite.

This entire project / script is an absolutely brilliant effort. Thank you for saving us users hours of work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.