<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>
</p>
<div class="moz-cite-prefix">On 2019/09/19 7:17 PM, Chen CH Ji
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:OFD9ABB86B.C0989509-ON0025847A.00381244-0025847A.00387E4F@notes.na.collabserv.com">
<div class="socmaildefaultfont" dir="ltr"
style="font-family:Arial, Helvetica, sans-serif;font-size:10pt">
<div dir="ltr">
<div>compute node1 and node 2 both use this backend and I can
see only 1 compute services</div>
</div>
</div>
</blockquote>
It's not quite clear to me what you mean by "backend" for compute
nodes 1 and 2. But see my guess below.<br>
<blockquote type="cite"
cite="mid:OFD9ABB86B.C0989509-ON0025847A.00381244-0025847A.00387E4F@notes.na.collabserv.com">
<div class="socmaildefaultfont" dir="ltr"
style="font-family:Arial, Helvetica, sans-serif;font-size:10pt">
<div dir="ltr">
<div>[root@controller ~]# cinder service-list<br>
+------------------+----------------+------+---------+-------+----------------------------+-----------------+<br>
| Binary | Host | Zone | Status | State
| Updated_at | Disabled Reason |<br>
+------------------+----------------+------+---------+-------+----------------------------+-----------------+<br>
| cinder-scheduler | controller | nova | enabled | up
| 2019-09-19T09:16:21.000000 | - |<br>
| cinder-volume | FC@POWERMAX_FC | nova | enabled | up
| 2019-09-19T09:16:30.000000 | - |<br>
+------------------+----------------+------+---------+-------+----------------------------+-----------------+</div>
</div>
</div>
</blockquote>
<p>You say that you can see only one compute service, but here you
are listing Cinder services, not Nova services.</p>
<blockquote type="cite"
cite="mid:OFD9ABB86B.C0989509-ON0025847A.00381244-0025847A.00387E4F@notes.na.collabserv.com">
<div class="socmaildefaultfont" dir="ltr"
style="font-family:Arial, Helvetica, sans-serif;font-size:10pt">
<div dir="ltr">and now I am creating 5 instances from nova at
same time (boot from volume) , the scheduler will report those
error time to time like following ,but actually the 2 services
on both 2 compute nodes runs fine ..
</div>
</div>
</blockquote>
<p>I guess that you are running cinder-volume on both compute nodes,
and your problem is that only one of the cinder-volume services is
up. Is that correct?</p>
<p>If I am guessing correctly, one of the two cinder-volume services
is unable to reach cinder-api or is not running fine or not
running at all. As a result, cinder-api is not aware of it and
doesn't list it.<br>
</p>
<blockquote type="cite"
cite="mid:OFD9ABB86B.C0989509-ON0025847A.00381244-0025847A.00387E4F@notes.na.collabserv.com">
<div class="socmaildefaultfont" dir="ltr"
style="font-family:Arial, Helvetica, sans-serif;font-size:10pt">
<div dir="ltr">
<div>2019-09-19 17:53:10.951 20916 WARNING
cinder.scheduler.host_manager
[req-19e722e8-1523-4121-8987-3cb450a8038e
071294a19fa8463788822565e0927fce
f43175c07dc8415899d6b350dbede772 - default default] volume
service is down. (host: FC@POWERMAX_FC)<br>
</div>
</div>
</div>
</blockquote>
<p>Where do you see this warning message? It looks like this
particular service is not running fine.<br>
</p>
<p>If my guess is correct, I would expect to see additional
information in the log of the problematic cinder-volume service.</p>
<p>Bernd.<br>
</p>
</body>
</html>