<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I have put Openstack on a separate
machine to try and separate and isolate the various components I
need to work with in the interests of making my debugging easier.<br>
This in retrospect may not have been the best idea.<br>
<br>
I have had a very long history with xen and that may be more of an
impediment because I think I know things about it that are no
longer true.<br>
<br>
I am using the default devstack scripts as of a few weeks ago so
it should be grabbing the latest version of Openstack or at least
that is my belief.<br>
<br>
Here is my sr-param-list.<br>
<br>
uuid ( RO) :
7d56f548-174b-d42b-12f2-e0849588e503<br>
name-label ( RW): Ceph Storage<br>
name-description ( RW): <br>
host ( RO): localhost<br>
allowed-operations (SRO): unplug; plug; PBD.create;
PBD.destroy; VDI.clone; scan; VDI.create; VDI.destroy<br>
current-operations (SRO): <br>
VDIs (SRO): <br>
PBDs (SRO):
40dd29a3-154a-e841-ce52-4547c817d856<br>
virtual-allocation ( RO): 348064577384<br>
physical-utilisation ( RO): 342363992064<br>
physical-size ( RO): 18986006446080<br>
type ( RO): libvirt<br>
content-type ( RO): <br>
shared ( RW): true<br>
introduced-by ( RO): <not in database><br>
other-config (MRW): ceph_sr: true<br>
sm-config (MRO): <br>
blobs ( RO): <br>
local-cache-enabled ( RO): false<br>
tags (SRW): <br>
<br>
<br>
I started tracing the xenapi transactions over the network and
could see the pool.get_all and pool.get_default when the sr_filter
was not set but once I set it nova would crash complaining about
no repository.<br>
I checked the TCP transactions and did not see any SR.get_all
while some debugging prints assured me that the code was being
exercised.<br>
<br>
<br>
<br>
On 11/22/2013 04:40 AM, Bob Ball wrote:<br>
</div>
<blockquote
cite="mid:BB824EA959B82F43820FFEE5E6B00AA615E75D@AMSPEX01CL01.citrite.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="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;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
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;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1707221489;
mso-list-template-ids:-1537330018;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi
Alvin,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Yes,
we typically do expect Nova to be running in a DomU. It’s
worth checking out
<a moz-do-not-send="true"
href="http://docs.openstack.org/trunk/openstack-compute/install/yum/content/introduction-to-xen.html">http://docs.openstack.org/trunk/openstack-compute/install/yum/content/introduction-to-xen.html</a>
just to make sure you’ve got everything covered there.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
say typically because in some configurations (notably using
xenserver-core) it may be possible to run Nova in dom0 by
setting the connection URL to “unix://local”. This is an
experimental configuration and was added near the end of
Havana – see
<a moz-do-not-send="true"
href="https://blueprints.launchpad.net/nova/+spec/xenserver-core">https://blueprints.launchpad.net/nova/+spec/xenserver-core</a>.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">In
terms of sr_matching_filter, check that you’re setting it in
the right group. If you’re using the latest builds of
Icehouse then it should be in the xenserver group. I’m also
assuming that the other-config for the SR does indeed
contain ceph-sr=true?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Is
the SR that is used for VMs still the default-SR?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Bob<o:p></o:p></span></p>
<p class="MsoNormal"><a moz-do-not-send="true"
name="_MailEndCompose"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></a></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm
0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> Alvin Starr [<a class="moz-txt-link-freetext" href="mailto:alvin@netvel.net">mailto:alvin@netvel.net</a>]
<br>
<b>Sent:</b> 22 November 2013 01:32<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack] Openstack and xen issues.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
I am trying to use xen with Ceph and openstack using the
devstack package.<br>
I am slowly wacking my way through things and have noticed a
few issues.<o:p></o:p></p>
<ol start="1" type="1">
<li class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1">
openstack expects to be running in a domU and generates
error messages even if xenapi_check_host is false. I am
not sure if this causes other side effects. The tests for
the local dom0 should be completley bypassed if the check
is disabled.<o:p></o:p></li>
<li class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1">
Open stack tries to read the xen SRs and checks the
default one which ends up being the xen local storage and
not any other SR. If I set the sr_matching_filter =
other-config:ceph-sr=true there should be a xapi
SR.get_all request generated but it looks like it is not
generated at all. I have tracked the http traffic and no
out put is generated even though the approprate code is
being called.<o:p></o:p></li>
</ol>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Alvin Starr || voice: (905)513-7688<o:p></o:p></pre>
<pre>Netvel Inc. || Cell: (416)806-0133<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:alvin@netvel.net">alvin@netvel.net</a> ||<o:p></o:p></pre>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Alvin Starr || voice: (905)513-7688
Netvel Inc. || Cell: (416)806-0133
<a class="moz-txt-link-abbreviated" href="mailto:alvin@netvel.net">alvin@netvel.net</a> ||
</pre>
</body>
</html>