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

Fix Azure NetworkManager refresh disconnecting managed_images #564

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/models/manageiq/providers/azure/network_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ class ManageIQ::Providers::Azure::NetworkManager < ManageIQ::Providers::NetworkM
:to => :parent_manager,
:allow_nil => true

class << self
delegate :refresh_ems, :to => ManageIQ::Providers::Azure::CloudManager
end

def self.ems_type
@ems_type ||= "azure_network".freeze
end
Expand Down
3 changes: 3 additions & 0 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
# Strategy for saving, another allowed is batch, doing batch SQL queries [Graph refresh only]
:saver_strategy: default
:azure_network:
# Disable scheduled full refresh for the network manager as this will be
# refreshed automatically by the parent cloud manager.
:refresh_interval: 0
:inventory_collections:
:saver_strategy: default
:http_proxy:
Expand Down