[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ceph-users
Subject:    [ceph-users] Re: Specify monitor IP when CIDR detection fails
From:       "Stephen Smith6" <esmith () ibm ! com>
Date:       2021-04-30 13:46:25
Message-ID: OFCF2DA0BA.0D5B12E9-ON002586C7.004AFF93-002586C7.004BA92D () notes ! na ! collabserv ! com
[Download RAW message or body]

[Attachment #2 (text/html)]

<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, \
sans-serif;font-size:10pt" ><div dir="ltr" >At the moment I'm using "ceph orch mon \
apply mon1,mon2,mon3" and hostnames "mon1,mon2,mon3" on all nodes resolve to the IP \
address I would like the monitor to bind to.</div> <div dir="ltr" >&nbsp;</div>
<div dir="ltr" >mon1 is the initial bootstrap monitor which is being created with \
"--mon-ip" (It in turn binds to the appropriate IP).</div> <div dir="ltr" \
>&nbsp;</div> <div dir="ltr" >Is there a way to specify "--public-addr" when using \
> the orchestrator plugin and adding a monitor?</div>
<div dir="ltr" >&nbsp;</div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid \
#aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" \
>----- Original message -----<br>From: Michael Moyles \
> &lt;michael.moyles@mavensecurities.com&gt;<br>To: Stephen Smith6 \
> &lt;esmith@ibm.com&gt;<br>Cc:<br>Subject: [EXTERNAL] Re: [ceph-users] Specify \
> monitor IP when CIDR detection fails<br>Date: Fri, Apr 30, 2021 9:33 \
> AM<br>&nbsp;<br><!-- BaNnErBlUrFlE-HeAdEr-start --> <!-- BaNnErBlUrFlE-HeAdEr-end \
> --> <!-- BaNnErBlUrFlE-BoDy-start --> <!-- Preheader Text : BEGIN --> <span \
> style="display:none \
> !important;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;" \
> > What do the monitor logs say? I would think that 0.0.0.0/0 tells the monitor that \
> > it can bind to any address it finds on its host. If you know the specific \
> > interface or address you want it to bind to you can pass that with --public-addr. \
> > ‍ </span> <!-- Preheader Text : END --> <!-- Email Banner : BEGIN --> <span \
> > style="display:none \
> > !important;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;" \
> > >ZjQcmQRYFpfptBannerStart</span> <!--[if ((ie)|(mso))]>
  <table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 3px \
0px 16px 0px;" ><tr><td>  <table class="pfptBannerTableMSO" border="0" \
cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: \
100%;border-radius:4px;border-top:4px solid #90a4ae;background-color:#d0d8dc;" \
                ><tr><td valign="top" >
      <table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: \
4px 8px 4px 8px" >  <tr><td><span class="pfptTitleMSO" style="color:#000000 \
!important;font-family: 'Arial', sans-serif;font-weight:bold \
!important;font-size:14px !important;" >  This Message Is From an External Sender
	</span></td></tr>
	<tr><td><span class="pfptSubtitleMSO" style="color:#000000 \
!important;font-weight:normal !important;font-family: 'Arial', sans-serif; \
font-size:12px !important;" >  This message came from outside your organization.
	</span></td></tr>

      </table>

    </td></tr></table>
  </td></tr></table>
<![endif]--> <!--[if !((ie)|(mso))]-->

<div style="margin:16px 0px 16px 0px; padding:8px 16px 8px 16px; border-radius: 4px; \
min-width: 200px;background-color: #d0d8dc; border-top: 4px solid #90a4ae;" ><div \
style="display: inline-block; margin: 0px 0px 1px 0px; max-width: 600px;" ><div \
style="color:#000000 !important;font-family: 'Arial', sans-serif \
!important;font-weight:bold !important;font-size:14px \
!important;line-height:18px;display:block;" >This Message Is From an External \
Sender</div> <div style="color:#000000 !important;font-weight:normal \
!important;font-family: 'Arial', sans-serif !important;font-size:12px \
!important;line-height:18px;margin-top:2px;display:block" >This message came from \
outside your organization.</div></div></div><!--[endif]--> <span style="display:none \
!important;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;" \
>ZjQcmQRYFpfptBannerEnd</span><br><!-- Email Banner : END --> <!-- \
> BaNnErBlUrFlE-BoDy-end -->
<div dir="ltr" >What do the monitor logs say? I would think that <a \
href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> tells the monitor&nbsp;that it \
can bind to any address it finds on its host. If you know the specific interface or \
address you want it to bind to you can pass that with --public-addr.

<div>&nbsp;</div></div>&nbsp;

<div><div dir="ltr" >On Fri, 30 Apr 2021 at 13:50, Stephen Smith6 &lt;<a \
href="mailto:esmith@ibm.com" target="_blank">esmith@ibm.com</a>&gt; wrote:</div> \
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" ><div dir="ltr" \
style="font-family:Arial,Helvetica,sans-serif;font-size:10pt" ><div dir="ltr" >I'm \
running some specialized routing in my environment such that CIDR detection is \
failing when trying to add monitors. Is there a way to specify the monitor IP address \
to bind to when adding a monitor if "public_network = <a href="http://0.0.0.0/0" \
target="_blank">0.0.0.0/0</a>"? Setting "public_network = <a href="http://0.0.0.0/0" \
target="_blank">0.0.0.0/0</a>" is the only way I could find to bypass CIDR detection \
but then new monitors are added with the wrong IP address in the monitor map :( I'm \
running the latest version of \
Octopus.</div></div><br>_______________________________________________<br>ceph-users \
mailing list -- <a href="mailto:ceph-users@ceph.io" \
target="_blank">ceph-users@ceph.io</a><br>To unsubscribe send an email to <a \
href="mailto:ceph-users-leave@ceph.io" \
target="_blank">ceph-users-leave@ceph.io</a></blockquote></div>&nbsp;

<div>&nbsp;</div>--

<div dir="ltr" ><div dir="ltr" ><span \
style="color:rgb(0,0,0);font-size:14px;margin:0px;padding:0px;line-height:14px;display:block;font-family:Arial,&quot;Helvetica \
Neue&quot;,Helvetica,sans-serif" ><a href="https://htmlsig.com/t/000001FNR3GK" \
style="background-color:transparent;color:rgb(36,169,57)" tabindex="-1" \
target="_blank"><img alt="Maven Securities Ltd" \
s_org_src="https://htmlsigs.s3.amazonaws.com/logos/files/001/190/881/landscape/Maven-Logo_Web_-1.png" \
style="border: 0px; vertical-align: middle;" width="160" height="43" border="0" \
></a></span> <p style="margin:0px;color:rgb(0,0,0);font-family:Lato,Arial,San-serif;font-size:14px;padding:0px;line-height:10px;width:508px" \
> ><img s_org_src="https://s3.amazonaws.com/htmlsig-assets/spacer.gif" style="border: \
> > 0px; vertical-align: middle; display: block; width: 508px; height: 5px;" \
> > width="508" height="10" ></p><span \
> > style="margin:0px;padding:0px;font-family:Arial,&quot;Helvetica \
> > Neue&quot;,Helvetica,sans-serif;font-size:10px;line-height:12px;color:rgb(33,33,33);display:block" \
> > ><span style="font-weight:bold;color:rgb(22,35,42)" >Michael \
> > > Moyles</span>&nbsp;<span style="color:rgb(22,35,42)" >|&nbsp;</span><span \
> > > style="color:rgb(22,35,42)" >Linux Engineer</span><br><a \
> > > href="mailto:michael.moyles@mavensecurities.com" \
> > > style="background-color:transparent;color:rgb(182,171,141);display:inline" \
> > > target="_blank">michael.moyles@mavensecurities.com</a></span>
<p style="margin:0px;color:rgb(0,0,0);font-family:Lato,Arial,San-serif;font-size:14px;padding:0px;line-height:10px;width:508px" \
><img s_org_src="https://s3.amazonaws.com/htmlsig-assets/spacer.gif" style="border: \
> 0px; vertical-align: middle; display: block; width: 508px; height: 5px;" \
> width="508" height="10" ></p><span \
> style="color:rgb(0,0,0);margin:0px;padding:0px;font-family:Arial,&quot;Helvetica \
> Neue&quot;,Helvetica,sans-serif;font-size:10px;line-height:12px;display:block" \
> ><span style="font-weight:bold;color:rgb(22,35,42)" >Maven Securities \
> > Ltd</span><br><span style="color:rgb(22,35,42)" >140 Leadenhall Street, London, \
> > EC3V 4QT</span><br><span style="display:block;color:rgb(22,35,42)" ><a \
> > href="http://mavensecurities.com/" \
> > style="background-color:transparent;color:rgb(182,171,141);display:inline" \
> > target="_blank">mavensecurities.com</a></span></span>
<p style="margin:0px;padding:0px;line-height:10px;width:508px" ><span \
style="color:rgb(0,0,0);margin:0px;padding:0px;font-family:Arial,&quot;Helvetica \
Neue&quot;,Helvetica,sans-serif;font-size:10px;line-height:12px;display:block" ><img \
s_org_src="https://s3.amazonaws.com/htmlsig-assets/spacer.gif" style="border: 0px; \
vertical-align: middle; display: block; width: 508px; height: 5px;" width="508" \
height="10" ></span></p> <p \
style="margin:0px;color:rgb(0,0,0);font-family:Lato,Arial,San-serif;font-size:14px;padding:0px;line-height:10px;width:508px" \
><img s_org_src="https://s3.amazonaws.com/htmlsig-assets/spacer.gif" style="border: \
> 0px; vertical-align: middle; display: block; width: 508px; height: 5px;" \
> width="508" height="10" ></p>
<p style="margin:0px;color:rgb(0,0,0);font-family:Lato,Arial,San-serif;font-size:14px;padding:0px;line-height:10px;width:508px" \
><img s_org_src="https://s3.amazonaws.com/htmlsig-assets/spacer.gif" style="border: \
> 0px; vertical-align: middle; display: block; width: 508px; height: 5px;" \
> width="508" height="10" ></p><span \
> style="margin:0px;padding:0px;font-family:Arial,&quot;Helvetica \
> Neue&quot;,Helvetica,sans-serif;color:rgb(22,35,42);font-size:9px;line-height:12px;display:block" \
> >This e-mail message may contain confidential or legally privileged information and \
> > is intended only for the use of the intended recipient(s). Any unauthorized \
> > disclosure, dissemination, distribution, copying or the taking of any action in \
> > reliance on the information herein is prohibited. E-mails are not secure and \
> > cannot be guaranteed to be error free as they can be intercepted, amended, or \
> > contain viruses. Anyone who communicates with us by e-mail is deemed to have \
> > accepted these risks. Maven Securities Ltd is not responsible for errors or \
> > omissions in this message and denies any responsibility for any damage arising \
> > from the use of e-mail. Any opinion and other statement contained in this message \
> > and any attachment are solely those of the author and do not necessarily \
> > represent those of the company.</span></div></div>&nbsp;

<p style="margin:10px 0px \
0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)" \
>This e-mail together with any attachments (the "Message") is confidential and may \
> contain privileged information. If you are not the intended recipient or if you \
> have received this e-mail in error, please notify the sender immediately and \
> permanently delete this Message from your system. Do not copy, disclose or \
> distribute the information contained in this Message.</p>
<p style="margin:10px 0px \
0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)" \
><i style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small" \
> ><span style="font-size:10.5pt;font-family:Arial,sans-serif;color:rgb(51,51,51)" \
> > >Maven Investment Partners Ltd (No. 07511928),&nbsp;Maven Investment Partners US \
> > > Ltd (No.&nbsp;11494299), Maven Europe Ltd (No. 08966), Maven Derivatives Asia \
> > > Limited (No.10361312) &amp; Maven Securities Holding Ltd (No. 07505438) are \
> > > registered as companies in England and Wales and their registered address is \
> > > Level 3, 6 Bevis Marks, London EC3A 7BA, United Kingdom. The companies' VAT No. \
> > > is 135539016. Maven Asia (Hong Kong) Ltd (No. 2444041) is registered in Hong \
> > > Kong and its registered address is 20/F, Tai Tung Building, 8 Fleming Road, Wan \
> > > Chai, Hong Kong. Maven Derivatives Amsterdam B.V. (71291377) is registered in \
> > > the Netherlands and its registered address is&nbsp;12.02, Spaces, Barbara \
> > > Strozzilaan 101, Amsterdam, 1083 HN, Netherlands.&nbsp;Maven Europe Ltd is \
> > > authorised and regulated by the Financial Conduct Authority (FRN:770542). Maven \
> > > Asia (Hong Kong) Ltd is registered and regulated by the Securities and Futures \
> > > Commission (CE No: BJF060).&nbsp;Maven Derivatives Amsterdam B.V. is licensed \
> > > and regulated by the&nbsp;Dutch Authority for the Financial \
> > > Markets.</span></i></p></blockquote>
<div dir="ltr" >&nbsp;</div></div><BR>



_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-leave@ceph.io


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic