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

Remove persistent firewall rules on deprovision #2191

Merged
merged 3 commits into from
Mar 3, 2021

Conversation

larohra
Copy link
Contributor

@larohra larohra commented Mar 2, 2021

Description

Issue #


PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • If applicable, the PR references the bug/issue that it fixes in the description.
  • New Unit tests were added for the changes made

Quality of Code and Contribution Guidelines

@@ -94,6 +100,10 @@ def _is_firewall_service_running():
return False

def setup(self):
if not CGroupsApi.is_systemd():
logger.warn("Did not detect Systemd, unable to set {0}".format(self._network_setup_service_name))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

logging as a warning instead of an error and moved one step up because checking firewall.service also requires systemd to be there

@larohra larohra changed the title Fixed bad imports Remove firewall rules on deprovision Mar 3, 2021
@larohra larohra changed the title Remove firewall rules on deprovision Remove persistent firewall rules on deprovision Mar 3, 2021
@larohra larohra merged commit d77634d into Azure:release-2.2.54 Mar 3, 2021
@larohra larohra deleted the delete-on-deprovision branch March 3, 2021 00:54
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