question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

monitor_address_block not allowed

See original GitHub issue

ceph-ansible started rejecting my use of monitor_address_block var. Specifically you have to set either monitor_interface or monitor_address. This is unfortunate because monitor_address_block is by far the easiest way to configure monitors. The task that failed was here:

- name: make sure monitor_interface or monitor_address is defined
  fail:
    msg: "you must set monitor_interface or monitor_address"
  when:
    - monitor_interface == 'interface'
    - monitor_address == "0.0.0.0"
    - mon_group_name in group_names

It should have an additional when clause like monitor_address_block | length == 0. However, in a different check here, monitor_address_block is allowed. Do we need both checks?

My other question is: Shouldn’t the value of public_network var be the default for monitor_address_block var? That’s what I typically set it to. Then the user doesn’t have to specify monitor addresses or interfaces at all in most cases, right?

Same for radosgw_address_block var.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
bengland2commented, Apr 6, 2018

how about now? People don’t always know what their network interface will be, it depends on the hardware they are using, but they can know in advance what their public network will be, so this simplifies installation. Every time we gain an intelligent default we prevent a whole set of failed installations and avoid wasting people’s time - they will love you for that!

0reactions
bengland2commented, Oct 2, 2018

I’ll file a bz.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Monitor Blocked IP Addresses - Palo Alto Networks
Delete an entry if you determine the IP address shouldn't be blocked. Then revise the policy rule that caused the firewall to block...
Read more >
Preventing SMB traffic from lateral connections and entering ...
For Windows clients and servers that do not host SMB shares, you can block all inbound SMB traffic by using the Windows Defender...
Read more >
Allow or block access to websites - Google Support
As a Chrome Enterprise admin you can block and allow URLs so that users can only visit certain websites. Restricting users' internet access...
Read more >
How to block a URL in Chrome's developer tools network ...
Save this answer. Show activity on this post. From Chrome 59 you can block specific requests from Network tab of developer tools itself....
Read more >
Block connections to your Mac with a firewall - Apple Support
Turn on firewall protection · Allow only specified apps and services to connect: Click the Add button , then select the app or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found