Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New-OVLogicalInterconnectGroup for FabricModuleType SEVC32FC return an error #554

Closed
nightzone opened this issue Feb 16, 2021 · 2 comments
Closed
Assignees
Labels
5.20 Impacts HPE OneView 5.20 library 5.30 Impacts HPE OneView 5.30 library 5.40 Impacts HPE OneView 5.40 library 5.50 Impacts HPE OneView 5.50 library Bug Impact - Medium Logical Interconnect Groups

Comments

@nightzone
Copy link

nightzone commented Feb 16, 2021

Expected Behavior

New-OVLogicalInterconnectGroup -Bays @{Frame1 = @{Bay1 = "SEVC32FC"; Bay4 = "SEVC32FC"}} -FabricModuleType SEVC32FC -FrameCount 1 -InterconnectBaySet 1 -Name test1 

Should pass without errors. Tried different Bay1 and Bay4 parameters.

Actual Behavior

Getting an error.

New-OVLogicalInterconnectGroup -Bays @{Frame1 = @{Bay1 = "SEVC32FC"; Bay4 = "SEVC32FC"}} -FabricModuleType SEVC32FC -FrameCount 1 -InterconnectBaySet 1 -Name test1

New-OVLogicalInterconnectGroup : The enclosure index range values are -1, or 1 - 5. Retry the operation with a valid enclosure index
range value. 
At line:1 char:1
+ New-OVLogicalInterconnectGroup -Bays @{Frame1 = @{Bay1 = "SEVC32FC";  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (logical-interconnect-groups:String) [New-OVLogicalInterconnectGroup], InvalidOpera 
   tionException
    + FullyQualifiedErrorId : CRM_ENCLOSURE_INDEX_VALUE_OUT_OF_RANGE,New-OVLogicalInterconnectGroup 

Steps to reproduce

# 1. Capture verbose output using the Get-HPOVCommandTrace for HPOneView.310 or newer, or append the -Verbose switch to your Cmdlet call.
# 2. Put your code and/or captured output here.
```powershell
New-OVLogicalInterconnectGroup -Bays @{Frame1 = @{Bay1 = "SEVC32FC"; Bay4 = "SEVC32FC"}} -FabricModuleType SEVC32FC -FrameCount 1 -InterconnectBaySet 1 -Name test1

Version Information

HPE OneView PowerShell Library Version (Get-HPOVVersion or $PSLibraryVersion):
HPEOneView.550; Version=5.50.2607.2724
HPE OneView Appliance Version (Get-HPOVVersion -ApplianceVer):

5.50.00-0426657
"modelNumber": "HPE OneView - Demo VM"

Output from $PSVersionTable on your Windows Host:

# Output from $PSVersionTable
PS C:\Users\OleshcSe> $PSVersionTable

Name                           Value                                                                                                
----                           -----                                                                                                
PSVersion                      5.1.18362.1171                                                                                       
PSEdition                      Desktop                                                                                              
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                              
BuildVersion                   10.0.18362.1171                                                                                      
CLRVersion                     4.0.30319.42000                                                                                      
WSManStackVersion              3.0                                                                                                  
PSRemotingProtocolVersion      2.3                                                                                                  
SerializationVersion           1.1.0.1    
@nightzone nightzone added the Bug label Feb 16, 2021
@ChrisLynchHPE ChrisLynchHPE self-assigned this Feb 16, 2021
@ChrisLynchHPE ChrisLynchHPE added 5.20 Impacts HPE OneView 5.20 library 5.30 Impacts HPE OneView 5.30 library 5.40 Impacts HPE OneView 5.40 library 5.50 Impacts HPE OneView 5.50 library Impact - Medium Logical Interconnect Groups labels Feb 16, 2021
@ChrisLynchHPE
Copy link
Member

This is caused by a typo in the module name used in the Cmdlet, that isn't being handled correctly in an internal function to build an API compliant resource for interconnect bay mappings. I will have this addressed in a library update.

@nightzone
Copy link
Author

nightzone commented Feb 23, 2021

I was using wrong parameters for VCFC32Gb module.
Found correct:
$lig_bays = @{
Frame1 = @{Bay1 = "SEVC32GbFC"}
}
New-OVLogicalInterconnectGroup -FabricModuleType "SEVCFC"

Sorry, it was my mistake.

ChrisLynchHPE added a commit that referenced this issue Mar 13, 2021
- Added support for custom sender address for email filters.
- Added support for setting server and interconnect time syncronization Cmdlets:  Get-OVServerNtpConfiguration, Set-OVServerNtpConfiguration, Get-OVInterconnectNtpConfiguration, Set-OVInterconnectNtpConfiguration.
- Updated New-OVUplinkSet to ensure ImageStreamer type always sets LacpLoadBalancingMode to None.
- Relaxed Show-OVFirmwareReport to allow supported Monitored server hardware resources in report collection.
- Fixed issue with Show-OVFirmwareReport not handling SDFlex compute partitions when attempting to display firmware.
- Enhanced Show-OVFirmwareReport to handle baselines that are associated with supported resources and are no longer present on the appliance.
- [#554] Fixed Synergy fabric module typo in New-OVLogicalInterconnectGroup for HPE Synergy 32Gb FC module.
- [#556] Updated Server.format.ps1xml to display connection address when is User Assigned from using Show-OVServerProfileConnection.
- [#557] Fixed New-OVLdapGroup and Set-OVLdapGroup requiring -Credential parameter when the authentication directory is assigned a service account.
- [$558] Fixed ConvertTo-OVPowerShellScript not handling multiple logical interconnect group mappings,and IPv6 Address pools.
- [#561] Fixed ConvertTo-OVPowerShellScript not providing server profile connection network name variable in generated script code.
- Fixed an issue within Set-OVUplinkSet where a provided Uplink Set resource (from Get-OVUplinkSet) reports an incorrect category type, causing validation logic to fail.
- Added -Name parameter to Get-OVAddressPoolRange to assist with filtering for specific pool ranges.
- Added -Append parameter to Set-OVLdapGroup and Set-OVUser Cmdlets to change the behavior of changing the roles or scope permissions.
ChrisLynchHPE added a commit that referenced this issue Mar 18, 2021
…cpLoadBalancingMode to None.

- Relaxed Show-OVFirmwareReport to allow supported Monitored server hardware resources in report collection.
- Fixed issue with Show-OVFirmwareReport not handling SDFlex compute partitions when attempting to display firmware.
- Enhanced Show-OVFirmwareReport to handle baselines that are associated with supported resources and are no longer present on the appliance.
- [#554] Fixed Synergy fabric module typo in New-OVLogicalInterconnectGroup for HPE Synergy 32Gb FC module.
- [#556] Updated Server.format.ps1xml to display connection address when is User Assigned from using Show-OVServerProfileConnection.
- [#557] Fixed New-OVLdapGroup and Set-OVLdapGroup requiring -Credential parameter when the authentication directory is assigned a service account.
- [#558] Fixed ConvertTo-OVPowerShellScript not handling multiple logical interconnect group mappings, and IPv6 Address pools.
- [#561] Fixed ConvertTo-OVPowerShellScript not providing server profile connection network name variable in generated script code.
- Fixed an issue within Set-OVUplinkSet where a provided Uplink Set resource (from Get-OVUplinkSet) reports an incorrect category type, causing validation logic to fail.
- Added -Name parameter to Get-OVAddressPoolRange to assist with filtering for specific pool ranges.
- Added -Append parameter to Set-OVLdapGroup and Set-OVUser Cmdlets to change the behavior of changing the roles or scope permissions.
- Deprecated Invoke-OVVcmMigration as the functionality was removed from HPE OneView 5.40.
ChrisLynchHPE added a commit that referenced this issue Mar 19, 2021
…cpLoadBalancingMode to None.

- Relaxed Show-OVFirmwareReport to allow supported Monitored server hardware resources in report collection.
- Fixed issue with Show-OVFirmwareReport not handling SDFlex compute partitions when attempting to display firmware.
- Enhanced Show-OVFirmwareReport to handle baselines that are associated with supported resources and are no longer present on the appliance.
- [#554] Fixed Synergy fabric module typo in New-OVLogicalInterconnectGroup for HPE Synergy 32Gb FC module.
- [#556] Updated Server.format.ps1xml to display connection address when is User Assigned from using Show-OVServerProfileConnection.
- [#557] Fixed New-OVLdapGroup and Set-OVLdapGroup requiring -Credential parameter when the authentication directory is assigned a service account.
- [#558] Fixed ConvertTo-OVPowerShellScript not handling multiple logical interconnect group mappings, and IPv6 Address pools.
- [#561] Fixed ConvertTo-OVPowerShellScript not providing server profile connection network name variable in generated script code.
- Fixed an issue within Set-OVUplinkSet where a provided Uplink Set resource (from Get-OVUplinkSet) reports an incorrect category type, causing validation logic to fail.
- Added -Name parameter to Get-OVAddressPoolRange to assist with filtering for specific pool ranges.
- Added -Append parameter to Set-OVLdapGroup and Set-OVUser Cmdlets to change the behavior of changing the roles or scope permissions.
ChrisLynchHPE added a commit that referenced this issue Mar 19, 2021
…cpLoadBalancingMode to None.

- Relaxed Show-OVFirmwareReport to allow supported Monitored server hardware resources in report collection.
- Fixed issue with Show-OVFirmwareReport not handling SDFlex compute partitions when attempting to display firmware.
- Enhanced Show-OVFirmwareReport to handle baselines that are associated with supported resources and are no longer present on the appliance.
- [#554] Fixed Synergy fabric module typo in New-OVLogicalInterconnectGroup for HPE Synergy 32Gb FC module.
- [#556] Updated Server.format.ps1xml to display connection address when is User Assigned from using Show-OVServerProfileConnection.
- [#557] Fixed New-OVLdapGroup and Set-OVLdapGroup requiring -Credential parameter when the authentication directory is assigned a service account.
- [#558] Fixed ConvertTo-OVPowerShellScript not handling multiple logical interconnect group mappings, and IPv6 Address pools.
- [#561] Fixed ConvertTo-OVPowerShellScript not providing server profile connection network name variable in generated script code.
- Fixed an issue within Set-OVUplinkSet where a provided Uplink Set resource (from Get-OVUplinkSet) reports an incorrect category type, causing validation logic to fail.
- Added -Name parameter to Get-OVAddressPoolRange to assist with filtering for specific pool ranges.
- Added -Append parameter to Set-OVLdapGroup and Set-OVUser Cmdlets to change the behavior of changing the roles or scope permissions.
ChrisLynchHPE added a commit that referenced this issue Mar 23, 2021
ChrisLynchHPE added a commit that referenced this issue Mar 25, 2021
…LacpLoadBalancingMode to None.

- Relaxed Show-HPOVFirmwareReport to allow supported Monitored server hardware resources in report collection.
- Fixed issue with Show-HPOVFirmwareReport not handling SDFlex compute partitions when attempting to display firmware.
- Enhanced Show-HPOVFirmwareReport to handle baselines that are associated with supported resources and are no longer present on the appliance.
- [#554] Fixed Synergy fabric module typo in New-HPOVLogicalInterconnectGroup for HPE Synergy 32Gb FC module.
- [#556] Updated Server.format.ps1xml to display connection address when is User Assigned from using Show-HPOVServerProfileConnection.
- [#557] Fixed New-HPOVLdapGroup and Set-HPOVLdapGroup requiring -Credential parameter when the authentication directory is assigned a service account.
- [#558] Fixed ConvertTo-HPOVPowerShellScript not handling multiple logical interconnect group mappings, and IPv6 Address pools.
- [#561] Fixed ConvertTo-HPOVPowerShellScript not providing server profile connection network name variable in generated script code.
- Fixed an issue within Set-HPOVUplinkSet where a provided Uplink Set resource (from Get-HPOVUplinkSet) reports an incorrect category type, causing validation logic to fail.
- Added -Name parameter to Get-HPOVAddressPoolRange to assist with filtering for specific pool ranges.
- Added -Append parameter to Set-HPOVLdapGroup and Set-HPOVUser Cmdlets to change the behavior of changing the roles or scope permissions.
- [#564] Fixed Set-OVSmtpConfig to send a properly formatted request to the appliance REST API to disable email alert filters.
- Added -UseMXRecordLookup to Set-OVSmtpConfig Cmdlet to allow for DNS MX record lookup to be used instead of specifying an SMTP server with the -Server parameter.
ChrisLynchHPE added a commit that referenced this issue Mar 29, 2021
…LacpLoadBalancingMode to None.

- Relaxed Show-HPOVFirmwareReport to allow supported Monitored server hardware resources in report collection.
- Fixed issue with Show-HPOVFirmwareReport not handling SDFlex compute partitions when attempting to display firmware.
- Enhanced Show-HPOVFirmwareReport to handle baselines that are associated with supported resources and are no longer present on the appliance.
- [#554] Fixed Synergy fabric module typo in New-HPOVLogicalInterconnectGroup for HPE Synergy 32Gb FC module.
- [#556] Updated Server.format.ps1xml to display connection address when is User Assigned from using Show-HPOVServerProfileConnection.
- [#557] Fixed New-HPOVLdapGroup and Set-HPOVLdapGroup requiring -Credential parameter when the authentication directory is assigned a service account.
- [#558] Fixed ConvertTo-HPOVPowerShellScript not handling multiple logical interconnect group mappings, and IPv6 Address pools.
- [#561] Fixed ConvertTo-HPOVPowerShellScript not providing server profile connection network name variable in generated script code.
- Fixed an issue within Set-HPOVUplinkSet where a provided Uplink Set resource (from Get-HPOVUplinkSet) reports an incorrect category type, causing validation logic to fail.
- Added -Name parameter to Get-HPOVAddressPoolRange to assist with filtering for specific pool ranges.
- Added -Append parameter to Set-HPOVLdapGroup and Set-HPOVUser Cmdlets to change the behavior of changing the roles or scope permissions.
- [#564] Fixed Set-OVSmtpConfig to send a properly formatted request to the appliance REST API to disable email alert filters.
- Added -UseMXRecordLookup to Set-OVSmtpConfig Cmdlet to allow for DNS MX record lookup to be used instead of specifying an SMTP server with the -Server parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.20 Impacts HPE OneView 5.20 library 5.30 Impacts HPE OneView 5.30 library 5.40 Impacts HPE OneView 5.40 library 5.50 Impacts HPE OneView 5.50 library Bug Impact - Medium Logical Interconnect Groups
Projects
None yet
Development

No branches or pull requests

2 participants