<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
{font-family:SimSun}
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
.MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,
<div><br>
</div>
<div>On StarlingX, glance-api is managed by SM (short for service management).</div>
<div><br>
</div>
<div>You can see a list of all the services by using "sm-dump" (from a root prompt or use sudo). If it is working, the sate should be "enabled-active". To restart the service us "sm-restart service glance-api".</div>
<div><br>
</div>
<div>Also check the logs (/var/log/glance/glance-api.log) for any obvious errors that prevent the service from restarting.<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF970727" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Fang, Liang A [liang.a.fang@intel.com]<br>
<b>Sent:</b> Friday, November 02, 2018 11:34 AM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> [Starlingx-discuss] glance api service is not started in all-in-one deployment<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hi</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I deployed an starlingx all-in-one environment, and it seems glance api service has not been started.</p>
<p class="MsoNormal">I also checked other services such as cinder api / cinder volume, there are started.</p>
<p class="MsoNormal"><i><span style="background:silver">/bin/sh /usr/lib/ocf/resource.d/openstack/cinder-schedule start</span></i></p>
<p class="MsoNormal"><i><span style="background:silver">/bin/sh /usr/lib/ocf/resource.d/openstack/cinder-volume start</span></i></p>
<p class="MsoNormal"><i><span style="background:silver">/bin/sh /usr/lib/ocf/resource.d/openstack/cinder-backup start</span></i></p>
<p class="MsoNormal">But these are not started by service file such as openstack-cinder-api.service / openstack-cinder-scheduler.service. This is really different with the deployment by devstack.</p>
<p class="MsoNormal">Could anybody point out how the services are started? How to restart cinder/glance service in starlingx deployment? Thanks.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Regards</p>
<p class="MsoNormal">Liang</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>