<div dir="ltr">When you're doing testing like this, the easiest solution is to disable authentication. Here are the instructions from the previous email:<div><br></div><div><div style="font-family:'helvetica neue',helvetica,arial,sans-serif">To use curl, the easiest thing to do is go into /etc/congress/congress.conf and change the auth_strategy from keystone to noauth, and restart the congress server. Then Congress won't ask for authentication credentials.</div><div style="font-family:'helvetica neue',helvetica,arial,sans-serif"><br></div><div style="font-family:'helvetica neue',helvetica,arial,sans-serif">auth_strategy = noauth </div><br class="inbox-inbox-Apple-interchange-newline"></div><div>Tim</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, May 17, 2016 at 8:36 PM Yue Xin <<a href="mailto:xinyuefeiyang@gmail.com">xinyuefeiyang@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Tim and all,<div><br></div><div>Thank you very much. I put congress in a tag so I missed your email and relay late. Sorry about that.<br></div><div><br></div><div>My problem here is that i want to use the command line to put the data into the congress datasource. </div><div>I use the command openstack congress datasource create test test(i have a test_driver), and successed in creating a table.</div><div>Then I want to check the table use the command(openstack congress datasource list table test) the errer is (internal server error 501).</div><div>Then I try to push the data to the test table, use </div><div><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;font-size:12.0012px;font-family:'andale mono','lucida console',monospace;vertical-align:baseline;white-space:pre-wrap;font-stretch:normal;line-height:18.0018px;color:rgb(83,83,83)">curl -g -i -X PUT
<a href="http://localhost:1789/v1/data-sources/3717095c-25a7-4fe2-8f18-25d845b11c60/tables/events/rows" style="margin:0px;padding:0px;border:0px;font-weight:inherit;font-style:inherit;font-size:12.0012px;font-family:inherit;vertical-align:baseline;color:rgb(188,21,24);text-decoration:none" target="_blank">http://localhost:1789/v1/data-sources/id/tables/</a></pre><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;font-size:12.0012px;font-family:'andale mono','lucida console',monospace;vertical-align:baseline;white-space:pre-wrap;font-stretch:normal;line-height:18.0018px;color:rgb(83,83,83)">the response is "authentication required" which means I can't push data into congress datasource. I have no idea how to fix it. Can you give me some hints?</pre><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:0px;border:0px;font-size:12.0012px;font-family:'andale mono','lucida console',monospace;vertical-align:baseline;white-space:pre-wrap;font-stretch:normal;line-height:18.0018px;color:rgb(83,83,83)">Thank you very much.</pre></div><div><br></div></div>
</blockquote></div>