[Engine-devel] Unable to view the storage domains - SQL error
by Morrissey, Christopher
--_000_D290AD8432118048947689BA3AE8A9B3EBA578SACEXCMBX04PRDhqn_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi All,
I'm getting an error when trying to view the storage domains using the REST=
API:
<?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"yes"?>
<fault>
<reason>Operation Failed</reason>
<detail>statementcallback; bad sql grammar [select * from (select * fro=
m storage domains for search where ( id in (select storage domains with hos=
ts view.id from storage domains with hosts view )) order by storage name as=
c ) as t1 offset (1 -1) limit 100]; nested exception is org.postgresql.util=
.psqlexception: error: relation "storage domains for search" does not exist=
position: 30</detail>
</fault>
Also, through the web admin console, when viewing the storage domains the l=
ist never loads.
Did something change in the DB recently such that I would need to rebuild i=
t?
-Chris
Chris Morrissey
Software Engineer
NetApp Inc.
919.476.4428
--_000_D290AD8432118048947689BA3AE8A9B3EBA578SACEXCMBX04PRDhqn_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi All,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I’m getting an error when trying to view the s=
torage domains using the REST API:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><?xml version=3D"1.0" encoding=3D"=
UTF-8" standalone=3D"yes"?><o:p></o:p></p>
<p class=3D"MsoNormal"><fault><o:p></o:p></p>
<p class=3D"MsoNormal"> <reason>Operation Failed<=
;/reason><o:p></o:p></p>
<p class=3D"MsoNormal"> <detail>statementcallback; =
bad sql grammar [select * from (select * from storage domains for search wh=
ere ( id in (select storage domains with hosts view.id from storage domains=
with hosts view )) order by storage name asc ) as t1 offset
(1 -1) limit 100]; nested exception is org.postgresql.util.psqlexception: =
error: relation "storage domains for search" does not exist posit=
ion: 30</detail><o:p></o:p></p>
<p class=3D"MsoNormal"></fault><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Also, through the web admin console, when viewing th=
e storage domains the list never loads.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Did something change in the DB recently such that I =
would need to rebuild it?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">-Chris<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><b>Chris Morrissey<o:p></o:p></b></p>
<p class=3D"MsoNormal">Software Engineer<o:p></o:p></p>
<p class=3D"MsoNormal">NetApp Inc.<o:p></o:p></p>
<p class=3D"MsoNormal">919.476.4428<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>
--_000_D290AD8432118048947689BA3AE8A9B3EBA578SACEXCMBX04PRDhqn_--