Skip to content

Conversation

@dharaneeshvrd
Copy link
Member

No description provided.

if len(active_vios_servers) == 0:
logger.error("failed to find active VIOS server")
raise VIOSError("failed to find active VIOS server")
raise VIOSError(f"no active VIOS server attached to the system '{util.get_host_address(config)}'")
Copy link
Collaborator

@manju956 manju956 Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

host address will be pointing to HMC IP. probably we can mention the system id or get corresponding system name and log.

f"failed to attach '{physical_volume_name}' physical storage in VIOS '{vios_storage_uuid}'")
if index == len(vios_storage_list) - 1:
raise e
raise StorageError(f"failed to attach '{physical_volume_name}' physical storage in VIOS '{vios_storage_uuid}', error: {e}")
Copy link
Collaborator

@manju956 manju956 Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

guess we can rephrase to failed to attach physical storage: {'{physical_volume_name}' to VIOS '{vios_storage_uuid}'

Copy link
Collaborator

@manju956 manju956 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor ones, overall looks ok

@adarshagrawal38
Copy link
Member

looks good to me as well

Add request handling exceptions

Signed-off-by: Dharaneeshwaran Ravichandran <[email protected]>
@dharaneeshvrd dharaneeshvrd force-pushed the bug-fix-and-log-improvement branch from 77de230 to ebfec1b Compare October 23, 2025 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants