Skip to content

Conversation

@skanthed
Copy link
Collaborator

Allows Neutron's error messages to surface properly during invalid network references.

  • Use ignore_missing=False in find_network to raise OpenStack SDK errors
  • Removes silent fallback to None

@skanthed skanthed force-pushed the fix-trunk-create-error branch from 35f3899 to d5800ab Compare May 13, 2025 21:14
… messages

- Use `ignore_missing=False` in find_network to raise OpenStack SDK errors
- Removes silent fallback to None
@larsks
Copy link
Member

larsks commented May 14, 2025

The associated issue for this PR is CCI-MOC/esi#664, which provides two examples in which we are hiding relevant error messages from the user. It looks like this PR only addresses the second of those two situations (the failure of esi trunk create due to a missing network).

Were you able to reproduce the first error?

@skanthed
Copy link
Collaborator Author

Yes I was and will be addressed in the new PR.

@joachimweyl
Copy link

@skanthed can you please link the other PR?

@skanthed
Copy link
Collaborator Author

Yes I will link it by tomorrow. Just finishing something.

@skanthed
Copy link
Collaborator Author

skanthed commented Jun 2, 2025

node network attach fix - CCI-MOC/esisdk#25

@skanthed skanthed requested a review from tzumainn June 9, 2025 14:58
@skanthed skanthed self-assigned this Jun 9, 2025
Copy link
Contributor

@tzumainn tzumainn left a comment

Choose a reason for hiding this comment

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

Looks good - thanks!

@tzumainn tzumainn merged commit e2f928f into CCI-MOC:master Jun 9, 2025
6 checks passed
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.

4 participants