<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
/* 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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.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="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]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Here’s a novice question. <o:p></o:p></p>
<p class="MsoNormal">My stack has 2 swift nodes. As expect curl commands addressed to the controller node to get auth and url information bounce between the 2 swift nodes as expected.<o:p></o:p></p>
<p class="MsoNormal">However object data always ends up on the 2<sup>nd</sup> (.209) swift node even when the curl command is addressed to the 1<sup>st</sup> node (.208).
<o:p></o:p></p>
<p class="MsoNormal">I’ve confirmed thru “ls –lR /srv/|wc” on both nodes. <o:p></o:p></p>
<p class="MsoNormal">What is causing this behavior :<o:p></o:p></p>
<p class="MsoNormal"> configuration option / setting on the controller node? If so what?
<o:p></o:p></p>
<p class="MsoNormal"> Malformed curl command for the put?<o:p></o:p></p>
<p class="MsoNormal"> Pilot error?<o:p></o:p></p>
<p class="MsoNormal">(I probably vote for the last one <span style="font-family:Wingdings">
J</span> ) .<o:p></o:p></p>
<p class="MsoNormal">I’d like to understand this behavior.<o:p></o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Painful details below:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Connection info for node 2:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://192.168.10.189:8080/auth/v1.0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* About to connect() to 192.168.10.189 port 8080 (#0)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* Trying 192.168.10.189... connected<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> GET /auth/v1.0 HTTP/1.1<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Host: 192.168.10.189:8080<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Accept: */*<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> X-Storage-User: test:tester<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> X-Storage-Pass: testing<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< HTTP/1.1 200 OK<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< X-Storage-Url: http://192.168.10.<b><u><span style="background:yellow;mso-highlight:yellow">209</span></u></b>:8080/v1/AUTH_test<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< X-Storage-Token: AUTH_tkb285072ed44848e7807434ae121c3105<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< X-Auth-Token: AUTH_tkb285072ed44848e7807434ae121c3105<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< X-Trans-Id: tx839599572bd44156b332545811732dd8<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Content-Length: 0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Date: Wed, 10 Jul 2013 19:34:39 GMT<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* Connection #0 to host 192.168.10.189 left intact<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* Closing connection #0<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Connection info for node 1:<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">root@controller21:~/ssbench-0.2.16# curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://192.168.10.189:8080/auth/v1.0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* About to connect() to 192.168.10.189 port 8080 (#0)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* Trying 192.168.10.189... connected<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> GET /auth/v1.0 HTTP/1.1<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Host: 192.168.10.189:8080<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Accept: */*<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> X-Storage-User: test:tester<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> X-Storage-Pass: testing<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< HTTP/1.1 200 OK<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< X-Storage-Url: http://192.168.10.<b><u><span style="background:yellow;mso-highlight:yellow">208</span></u></b>:8080/v1/AUTH_test<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< X-Storage-Token: AUTH_tkb285072ed44848e7807434ae121c3105<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< X-Auth-Token: AUTH_tkb285072ed44848e7807434ae121c3105<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< X-Trans-Id: tx4e41ed42e3ce4df8b8398a0290c761c3<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Content-Length: 0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Date: Wed, 10 Jul 2013 19:34:57 GMT<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* Connection #0 to host 192.168.10.189 left intact<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* Closing connection #0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal">PUT command to node 2:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">root@controller21:~/ssbench-0.2.16# curl -v -X PUT -T "/x" -H 'X-Auth-Token: AUTH_tkb285072ed44848e7807434ae121c3105' http://192.168.10.209:8080/v1/AUTH_test/container1/xxaa
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* About to connect() to 192.168.10.209 port 8080 (#0)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* Trying 192.168.10.209... connected<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> PUT /v1/AUTH_test/container1/xxaa HTTP/1.1<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Host: 192.168.10.209:8080<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Accept: */*<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> X-Auth-Token: AUTH_tkb285072ed44848e7807434ae121c3105<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Content-Length: 121290<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Expect: 100-continue<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< HTTP/1.1 100 Continue<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* We are completely uploaded and fine<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< HTTP/1.1 201 Created<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Content-Length: 118<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Content-Type: text/html; charset=UTF-8<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Etag: 662585fdfb794ff483fe4e59229270b2<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Last-Modified: Wed, 10 Jul 2013 19:47:56 GMT<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< X-Trans-Id: txe7d9485971824e4abf87b1e64d591e78<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Date: Wed, 10 Jul 2013 19:47:56 GMT<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><html><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><head><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <title>201 Created</title><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"></head><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><body><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <h1>201 Created</h1><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <br /><br /><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"></body><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* Connection #0 to host 192.168.10.209 left intact<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* Closing connection #0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"></html><a href="mailto:root@controller21:~/ssbench-0.2.16#">root@controller21:~/ssbench-0.2.16#</a>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal">PUT command to node 1:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">root@controller21:~/ssbench-0.2.16# curl -v -X PUT -T "/x" -H 'X-Auth-Token: AUTH_tkb285072ed44848e7807434ae121c3105' http://192.168.10.<b>208</b>:8080/v1/AUTH_test/container1/xxaa<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* About to connect() to 192.168.10.208 port 8080 (#0)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* Trying 192.168.10.208... connected<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> PUT /v1/AUTH_test/container1/xxaa HTTP/1.1<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Host: 192.168.10.208:8080<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Accept: */*<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> X-Auth-Token: AUTH_tkb285072ed44848e7807434ae121c3105<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Content-Length: 121290<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> Expect: 100-continue<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< HTTP/1.1 100 Continue<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* We are completely uploaded and fine<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< HTTP/1.1 201 Created<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Content-Length: 118<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Content-Type: text/html; charset=UTF-8<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Etag: 662585fdfb794ff483fe4e59229270b2<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Last-Modified: Wed, 10 Jul 2013 19:48:07 GMT<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< X-Trans-Id: tx9df884333d5b472996780167d76f380e<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< Date: Wed, 10 Jul 2013 19:48:07 GMT<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">< <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><html><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><head><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <title>201 Created</title><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"></head><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><body><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <h1>201 Created</h1><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <br /><br /><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"></body><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">* Connection #0 to host 192.168.10.208 left intact<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Node 1 Evidence for no objects stored:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">root@swift21:~# ls -lR /srv/|wc<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> 114 339 2031<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">root@swift21:~# ls -lR /srv/|wc<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> 114 339 2031<b><o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Node 2 gets all the objects:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">root@swift22:/srv# ls -lR /srv/|wc<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">108988 418269 3537920<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">root@swift22:/srv# <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">root@swift22:/srv# ls -lR /srv/|wc<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">109030 418431 3539291<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Tim<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Timothy Snider</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
Strategic Planning & Architecture - Advanced Development</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">NetApp</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
316-636-8736 Direct Phone<br>
316-213-0223 Mobile Phone<br>
tim.snider@netapp.com</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
<a href="http://www.netapp.com/?ref_source=eSig"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">netapp.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><img border="0" width="124" height="35" id="Picture_x0020_1" src="cid:image001.gif@01CE7D7A.A0F27750" alt="Description: http://media.netapp.com/images/netapp-logo-sig-5.gif"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>