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

Exception namespace fixed for list networks #88

Merged
merged 1 commit into from Jun 4, 2021

Conversation

lzap
Copy link
Contributor

@lzap lzap commented May 19, 2021

The problem:

2021-05-19T12:03:28 [I|app|60036495]   Rendered compute_resources_vms/import.html.erb within layouts/application (Duration: 228.1ms | Allocations: 54224)
2021-05-19T12:03:28 [W|app|60036495] uninitialized constant Fog::Libvirt::Error
 60036495 | Did you mean?  Fog::Errors
 60036495 |                IOError
 60036495 |                Errno
2021-05-19T12:03:28 [I|app|60036495] Backtrace for 'uninitialized constant Fog::Libvirt::Error
 60036495 | Did you mean?  Fog::Errors
 60036495 |                IOError
 60036495 |                Errno' error (ActionView::Template::Error): uninitialized constant Fog::Libvirt::Error
 60036495 | Did you mean?  Fog::Errors
 60036495 |                IOError
 60036495 |                Errno
 60036495 | /opt/theforeman/tfm/root/usr/share/gems/gems/fog-libvirt-0.8.0/lib/fog/libvirt/requests/compute/list_networks.rb:34:in `rescue in network_to_attributes'
 60036495 | /opt/theforeman/tfm/root/usr/share/gems/gems/fog-libvirt-0.8.0/lib/fog/libvirt/requests/compute/list_networks.rb:32:in `network_to_attributes'
 60036495 | /opt/theforeman/tfm/root/usr/share/gems/gems/fog-libvirt-0.8.0/lib/fog/libvirt/requests/compute/list_networks.rb:9:in `block in list_networks'
 60036495 | /opt/theforeman/tfm/root/usr/share/gems/gems/fog-libvirt-0.8.0/lib/fog/libvirt/requests/compute/list_networks.rb:8:in `each'
 60036495 | /opt/theforeman/tfm/root/usr/share/gems/gems/fog-libvirt-0.8.0/lib/fog/libvirt/requests/compute/list_networks.rb:8:in `list_networks'
 60036495 | /opt/theforeman/tfm/root/usr/share/gems/gems/fog-libvirt-0.8.0/lib/fog/libvirt/models/compute/networks.rb:11:in `all'

Copy link
Contributor

@ares ares left a comment

Choose a reason for hiding this comment

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

Makes sense to me and fixes the annoying issue on specific devices

@ekohl ekohl merged commit 8d38e15 into fog:master Jun 4, 2021
@lzap lzap deleted the rescue-namespace branch June 16, 2021 11:22
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.

None yet

3 participants